]> git.saurik.com Git - wxWidgets.git/blob - configure
Remove docs for the removed CodeWarrior projects.
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 59381 2009-03-06 20:06:59Z 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 if test "$cross_compiling" = "yes"; then
2539 HOST_PREFIX="${host_alias}-"
2540 HOST_SUFFIX="-$host_alias"
2541 else
2542 HOST_PREFIX=
2543 HOST_SUFFIX=
2544 fi
2545
2546
2547 wx_major_version_number=2
2548 wx_minor_version_number=9
2549 wx_release_number=0
2550 wx_subrelease_number=0
2551
2552 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2553 WX_VERSION=$WX_RELEASE.$wx_release_number
2554 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2555
2556 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2557
2558
2559 wx_top_builddir="`pwd`"
2560
2561
2562
2563
2564 USE_UNIX=1
2565 USE_OS2=0
2566 USE_WIN32=0
2567 USE_DOS=0
2568 USE_BEOS=0
2569 USE_MAC=0
2570
2571 USE_AIX=
2572 USE_BSD= USE_DARWIN= USE_FREEBSD=
2573 USE_GNU= USE_HPUX=
2574 USE_LINUX=
2575 USE_NETBSD=
2576 USE_OPENBSD=
2577 USE_OSF= USE_SGI=
2578 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2579 USE_ULTRIX=
2580 USE_UNIXWARE=
2581
2582 USE_ALPHA=
2583
2584 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2585
2586 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2587
2588 DEFAULT_wxUSE_COCOA=0
2589 DEFAULT_wxUSE_GTK=0
2590 DEFAULT_wxUSE_OSX_CARBON=0
2591 DEFAULT_wxUSE_OSX_COCOA=0
2592 DEFAULT_wxUSE_MGL=0
2593 DEFAULT_wxUSE_MICROWIN=0
2594 DEFAULT_wxUSE_MOTIF=0
2595 DEFAULT_wxUSE_MSW=0
2596 DEFAULT_wxUSE_PM=0
2597 DEFAULT_wxUSE_X11=0
2598 DEFAULT_wxUSE_DFB=0
2599
2600 DEFAULT_DEFAULT_wxUSE_COCOA=0
2601 DEFAULT_DEFAULT_wxUSE_GTK=0
2602 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2603 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2604 DEFAULT_DEFAULT_wxUSE_MGL=0
2605 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2606 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2607 DEFAULT_DEFAULT_wxUSE_MSW=0
2608 DEFAULT_DEFAULT_wxUSE_PM=0
2609 DEFAULT_DEFAULT_wxUSE_X11=0
2610 DEFAULT_DEFAULT_wxUSE_DFB=0
2611
2612 PROGRAM_EXT=
2613 SAMPLES_RPATH_FLAG=
2614 SAMPLES_RPATH_POSTLINK=
2615
2616 DEFAULT_STD_FLAG=yes
2617
2618 case "${host}" in
2619 *-hp-hpux* )
2620 USE_HPUX=1
2621 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2622 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2623 cat >>confdefs.h <<\_ACEOF
2624 #define __HPUX__ 1
2625 _ACEOF
2626
2627
2628 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2629 ;;
2630 *-*-linux* )
2631 USE_LINUX=1
2632 cat >>confdefs.h <<\_ACEOF
2633 #define __LINUX__ 1
2634 _ACEOF
2635
2636 TMP=`uname -m`
2637 if test "x$TMP" = "xalpha"; then
2638 USE_ALPHA=1
2639 cat >>confdefs.h <<\_ACEOF
2640 #define __ALPHA__ 1
2641 _ACEOF
2642
2643 fi
2644 DEFAULT_DEFAULT_wxUSE_GTK=1
2645 ;;
2646 *-*-gnu* | *-*-k*bsd*-gnu )
2647 USE_GNU=1
2648 TMP=`uname -m`
2649 if test "x$TMP" = "xalpha"; then
2650 USE_ALPHA=1
2651 cat >>confdefs.h <<\_ACEOF
2652 #define __ALPHA__ 1
2653 _ACEOF
2654
2655 fi
2656 DEFAULT_DEFAULT_wxUSE_GTK=1
2657 ;;
2658 *-*-irix5* | *-*-irix6* )
2659 USE_SGI=1
2660 USE_SVR4=1
2661 cat >>confdefs.h <<\_ACEOF
2662 #define __SGI__ 1
2663 _ACEOF
2664
2665 cat >>confdefs.h <<\_ACEOF
2666 #define __SVR4__ 1
2667 _ACEOF
2668
2669 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2670 ;;
2671 *-*-solaris2* )
2672 USE_SUN=1
2673 USE_SOLARIS=1
2674 USE_SVR4=1
2675 cat >>confdefs.h <<\_ACEOF
2676 #define __SUN__ 1
2677 _ACEOF
2678
2679 cat >>confdefs.h <<\_ACEOF
2680 #define __SOLARIS__ 1
2681 _ACEOF
2682
2683 cat >>confdefs.h <<\_ACEOF
2684 #define __SVR4__ 1
2685 _ACEOF
2686
2687 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2688 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2689 ;;
2690 *-*-sunos4* )
2691 USE_SUN=1
2692 USE_SUNOS=1
2693 USE_BSD=1
2694 cat >>confdefs.h <<\_ACEOF
2695 #define __SUN__ 1
2696 _ACEOF
2697
2698 cat >>confdefs.h <<\_ACEOF
2699 #define __SUNOS__ 1
2700 _ACEOF
2701
2702 cat >>confdefs.h <<\_ACEOF
2703 #define __BSD__ 1
2704 _ACEOF
2705
2706 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2707 ;;
2708 *-*-freebsd*)
2709 USE_BSD=1
2710 USE_FREEBSD=1
2711 cat >>confdefs.h <<\_ACEOF
2712 #define __FREEBSD__ 1
2713 _ACEOF
2714
2715 cat >>confdefs.h <<\_ACEOF
2716 #define __BSD__ 1
2717 _ACEOF
2718
2719 DEFAULT_DEFAULT_wxUSE_GTK=1
2720 ;;
2721 *-*-openbsd*|*-*-mirbsd*)
2722 USE_BSD=1
2723 USE_OPENBSD=1
2724 cat >>confdefs.h <<\_ACEOF
2725 #define __OPENBSD__ 1
2726 _ACEOF
2727
2728 cat >>confdefs.h <<\_ACEOF
2729 #define __BSD__ 1
2730 _ACEOF
2731
2732 DEFAULT_DEFAULT_wxUSE_GTK=1
2733 ;;
2734 *-*-netbsd*)
2735 USE_BSD=1
2736 USE_NETBSD=1
2737 cat >>confdefs.h <<\_ACEOF
2738 #define __NETBSD__ 1
2739 _ACEOF
2740
2741 cat >>confdefs.h <<\_ACEOF
2742 #define __BSD__ 1
2743 _ACEOF
2744
2745 DEFAULT_DEFAULT_wxUSE_GTK=1
2746 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2747
2748 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2749 ;;
2750 *-*-osf* )
2751 USE_ALPHA=1
2752 USE_OSF=1
2753 cat >>confdefs.h <<\_ACEOF
2754 #define __ALPHA__ 1
2755 _ACEOF
2756
2757 cat >>confdefs.h <<\_ACEOF
2758 #define __OSF__ 1
2759 _ACEOF
2760
2761 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2762 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2763 ;;
2764 *-*-dgux5* )
2765 USE_ALPHA=1
2766 USE_SVR4=1
2767 cat >>confdefs.h <<\_ACEOF
2768 #define __ALPHA__ 1
2769 _ACEOF
2770
2771 cat >>confdefs.h <<\_ACEOF
2772 #define __SVR4__ 1
2773 _ACEOF
2774
2775 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2776 ;;
2777 *-*-sysv5* )
2778 USE_SYSV=1
2779 USE_SVR4=1
2780 cat >>confdefs.h <<\_ACEOF
2781 #define __SYSV__ 1
2782 _ACEOF
2783
2784 cat >>confdefs.h <<\_ACEOF
2785 #define __SVR4__ 1
2786 _ACEOF
2787
2788 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2789 ;;
2790 *-*-aix* )
2791 USE_AIX=1
2792 USE_SYSV=1
2793 USE_SVR4=1
2794 cat >>confdefs.h <<\_ACEOF
2795 #define __AIX__ 1
2796 _ACEOF
2797
2798 cat >>confdefs.h <<\_ACEOF
2799 #define __SYSV__ 1
2800 _ACEOF
2801
2802 cat >>confdefs.h <<\_ACEOF
2803 #define __SVR4__ 1
2804 _ACEOF
2805
2806 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2807 ;;
2808
2809 *-*-*UnixWare*)
2810 USE_SYSV=1
2811 USE_SVR4=1
2812 USE_UNIXWARE=1
2813 cat >>confdefs.h <<\_ACEOF
2814 #define __UNIXWARE__ 1
2815 _ACEOF
2816
2817 ;;
2818
2819 *-*-cygwin* | *-*-mingw32* )
2820 PROGRAM_EXT=".exe"
2821 DEFAULT_DEFAULT_wxUSE_MSW=1
2822 ;;
2823
2824 *-pc-msdosdjgpp )
2825 USE_UNIX=0
2826 USE_DOS=1
2827 cat >>confdefs.h <<\_ACEOF
2828 #define __DOS__ 1
2829 _ACEOF
2830
2831 PROGRAM_EXT=".exe"
2832 DEFAULT_DEFAULT_wxUSE_MGL=1
2833 ;;
2834
2835 *-pc-os2_emx | *-pc-os2-emx )
2836 cat >>confdefs.h <<\_ACEOF
2837 #define __EMX__ 1
2838 _ACEOF
2839
2840 USE_OS2=1
2841 cat >>confdefs.h <<\_ACEOF
2842 #define __OS2__ 1
2843 _ACEOF
2844
2845 PROGRAM_EXT=".exe"
2846 DEFAULT_DEFAULT_wxUSE_PM=1
2847 CXX=gcc
2848 LDFLAGS="$LDFLAGS -Zcrtdll"
2849 ac_executable_extensions=".exe"
2850 export ac_executable_extensions
2851 ac_save_IFS="$IFS"
2852 IFS='\\'
2853 ac_TEMP_PATH=
2854 for ac_dir in $PATH; do
2855 IFS=$ac_save_IFS
2856 if test -z "$ac_TEMP_PATH"; then
2857 ac_TEMP_PATH="$ac_dir"
2858 else
2859 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2860 fi
2861 done
2862 export PATH="$ac_TEMP_PATH"
2863 unset ac_TEMP_PATH
2864 DEFAULT_STD_FLAG=no
2865 ;;
2866
2867 *-*-darwin* )
2868 USE_BSD=1
2869 USE_DARWIN=1
2870 cat >>confdefs.h <<\_ACEOF
2871 #define __BSD__ 1
2872 _ACEOF
2873
2874 cat >>confdefs.h <<\_ACEOF
2875 #define __DARWIN__ 1
2876 _ACEOF
2877
2878 cat >>confdefs.h <<\_ACEOF
2879 #define TARGET_CARBON 1
2880 _ACEOF
2881
2882 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2883 DEFAULT_STD_FLAG=no
2884 ;;
2885 powerpc-apple-macos* )
2886 USE_UNIX=0
2887 ac_cv_c_bigendian=yes
2888 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2889 DEFAULT_STD_FLAG=no
2890 ;;
2891
2892 *-*-beos* )
2893 USE_BEOS=1
2894 cat >>confdefs.h <<\_ACEOF
2895 #define __BEOS__ 1
2896 _ACEOF
2897
2898 ;;
2899
2900 *)
2901 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2902 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2903 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2904 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2905
2906 DEFAULT_DEFAULT_wxUSE_X11=1
2907 DEFAULT_wxUSE_SHARED=no
2908 esac
2909
2910
2911
2912 DEFAULT_wxUSE_ALL_FEATURES=yes
2913
2914 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2915 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2916
2917 DEFAULT_wxUSE_DMALLOC=no
2918 DEFAULT_wxUSE_LIBGNOMEVFS=no
2919 DEFAULT_wxUSE_LIBHILDON=no
2920 DEFAULT_wxUSE_LIBMSPACK=no
2921 DEFAULT_wxUSE_LIBSDL=no
2922
2923 DEFAULT_wxUSE_ACCESSIBILITY=no
2924 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2925 DEFAULT_wxUSE_IPV6=no
2926 DEFAULT_wxUSE_GSTREAMER8=no
2927
2928 DEFAULT_wxUSE_UNICODE_UTF8=auto
2929 DEFAULT_wxUSE_OPENGL=auto
2930 DEFAULT_wxUSE_MEDIACTRL=auto
2931
2932 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2933
2934 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2935
2936 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2937
2938 DEFAULT_wxUSE_GTK2=yes
2939
2940 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2941
2942
2943
2944
2945
2946 enablestring=disable
2947 defaultval=
2948 if test -z "$defaultval"; then
2949 if test x"$enablestring" = xdisable; then
2950 defaultval=yes
2951 else
2952 defaultval=no
2953 fi
2954 fi
2955
2956 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2957 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2958 # Check whether --enable-gui was given.
2959 if test "${enable_gui+set}" = set; then
2960 enableval=$enable_gui;
2961 if test "$enableval" = yes; then
2962 wx_cv_use_gui='wxUSE_GUI=yes'
2963 else
2964 wx_cv_use_gui='wxUSE_GUI=no'
2965 fi
2966
2967 else
2968
2969 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2970
2971 fi
2972
2973
2974 eval "$wx_cv_use_gui"
2975
2976 if test x"$enablestring" = xdisable; then
2977 if test $wxUSE_GUI = yes; then
2978 result=no
2979 else
2980 result=yes
2981 fi
2982 else
2983 result=$wxUSE_GUI
2984 fi
2985
2986 { echo "$as_me:$LINENO: result: $result" >&5
2987 echo "${ECHO_T}$result" >&6; }
2988
2989
2990 enablestring=
2991 defaultval=
2992 if test -z "$defaultval"; then
2993 if test x"$enablestring" = xdisable; then
2994 defaultval=yes
2995 else
2996 defaultval=no
2997 fi
2998 fi
2999
3000 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3001 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3002 # Check whether --enable-monolithic was given.
3003 if test "${enable_monolithic+set}" = set; then
3004 enableval=$enable_monolithic;
3005 if test "$enableval" = yes; then
3006 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3007 else
3008 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3009 fi
3010
3011 else
3012
3013 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3014
3015 fi
3016
3017
3018 eval "$wx_cv_use_monolithic"
3019
3020 if test x"$enablestring" = xdisable; then
3021 if test $wxUSE_MONOLITHIC = yes; then
3022 result=no
3023 else
3024 result=yes
3025 fi
3026 else
3027 result=$wxUSE_MONOLITHIC
3028 fi
3029
3030 { echo "$as_me:$LINENO: result: $result" >&5
3031 echo "${ECHO_T}$result" >&6; }
3032
3033
3034 enablestring=
3035 defaultval=
3036 if test -z "$defaultval"; then
3037 if test x"$enablestring" = xdisable; then
3038 defaultval=yes
3039 else
3040 defaultval=no
3041 fi
3042 fi
3043
3044 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3045 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3046 # Check whether --enable-plugins was given.
3047 if test "${enable_plugins+set}" = set; then
3048 enableval=$enable_plugins;
3049 if test "$enableval" = yes; then
3050 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3051 else
3052 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3053 fi
3054
3055 else
3056
3057 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3058
3059 fi
3060
3061
3062 eval "$wx_cv_use_plugins"
3063
3064 if test x"$enablestring" = xdisable; then
3065 if test $wxUSE_PLUGINS = yes; then
3066 result=no
3067 else
3068 result=yes
3069 fi
3070 else
3071 result=$wxUSE_PLUGINS
3072 fi
3073
3074 { echo "$as_me:$LINENO: result: $result" >&5
3075 echo "${ECHO_T}$result" >&6; }
3076
3077
3078 withstring=without
3079 defaultval=$wxUSE_ALL_FEATURES
3080 if test -z "$defaultval"; then
3081 if test x"$withstring" = xwithout; then
3082 defaultval=yes
3083 else
3084 defaultval=no
3085 fi
3086 fi
3087 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3088 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3089
3090 # Check whether --with-subdirs was given.
3091 if test "${with_subdirs+set}" = set; then
3092 withval=$with_subdirs;
3093 if test "$withval" = yes; then
3094 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3095 else
3096 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3097 fi
3098
3099 else
3100
3101 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3102
3103 fi
3104
3105
3106 eval "$wx_cv_use_subdirs"
3107
3108 if test x"$withstring" = xwithout; then
3109 if test $wxWITH_SUBDIRS = yes; then
3110 result=no
3111 else
3112 result=yes
3113 fi
3114 else
3115 result=$wxWITH_SUBDIRS
3116 fi
3117
3118 { echo "$as_me:$LINENO: result: $result" >&5
3119 echo "${ECHO_T}$result" >&6; }
3120
3121
3122 # Check whether --with-flavour was given.
3123 if test "${with_flavour+set}" = set; then
3124 withval=$with_flavour; WX_FLAVOUR="$withval"
3125 fi
3126
3127
3128 enablestring=
3129 defaultval=
3130 if test -z "$defaultval"; then
3131 if test x"$enablestring" = xdisable; then
3132 defaultval=yes
3133 else
3134 defaultval=no
3135 fi
3136 fi
3137
3138 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3139 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3140 # Check whether --enable-official_build was given.
3141 if test "${enable_official_build+set}" = set; then
3142 enableval=$enable_official_build;
3143 if test "$enableval" = yes; then
3144 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3145 else
3146 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3147 fi
3148
3149 else
3150
3151 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3152
3153 fi
3154
3155
3156 eval "$wx_cv_use_official_build"
3157
3158 if test x"$enablestring" = xdisable; then
3159 if test $wxUSE_OFFICIAL_BUILD = yes; then
3160 result=no
3161 else
3162 result=yes
3163 fi
3164 else
3165 result=$wxUSE_OFFICIAL_BUILD
3166 fi
3167
3168 { echo "$as_me:$LINENO: result: $result" >&5
3169 echo "${ECHO_T}$result" >&6; }
3170
3171 # Check whether --enable-vendor was given.
3172 if test "${enable_vendor+set}" = set; then
3173 enableval=$enable_vendor; VENDOR="$enableval"
3174 fi
3175
3176 if test "x$VENDOR" = "x"; then
3177 VENDOR="custom"
3178 fi
3179
3180
3181 enablestring=disable
3182 defaultval=
3183 if test -z "$defaultval"; then
3184 if test x"$enablestring" = xdisable; then
3185 defaultval=yes
3186 else
3187 defaultval=no
3188 fi
3189 fi
3190
3191 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3192 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3193 # Check whether --enable-all-features was given.
3194 if test "${enable_all_features+set}" = set; then
3195 enableval=$enable_all_features;
3196 if test "$enableval" = yes; then
3197 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3198 else
3199 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3200 fi
3201
3202 else
3203
3204 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3205
3206 fi
3207
3208
3209 eval "$wx_cv_use_all_features"
3210
3211 if test x"$enablestring" = xdisable; then
3212 if test $wxUSE_ALL_FEATURES = yes; then
3213 result=no
3214 else
3215 result=yes
3216 fi
3217 else
3218 result=$wxUSE_ALL_FEATURES
3219 fi
3220
3221 { echo "$as_me:$LINENO: result: $result" >&5
3222 echo "${ECHO_T}$result" >&6; }
3223
3224
3225 if test "$wxUSE_ALL_FEATURES" = "no"; then
3226 DEFAULT_wxUSE_MEDIACTRL=no
3227 fi
3228
3229
3230 if test "$wxUSE_GUI" = "yes"; then
3231
3232
3233 enablestring=
3234 defaultval=
3235 if test -z "$defaultval"; then
3236 if test x"$enablestring" = xdisable; then
3237 defaultval=yes
3238 else
3239 defaultval=no
3240 fi
3241 fi
3242
3243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3244 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3245 # Check whether --enable-universal was given.
3246 if test "${enable_universal+set}" = set; then
3247 enableval=$enable_universal;
3248 if test "$enableval" = yes; then
3249 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3250 else
3251 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3252 fi
3253
3254 else
3255
3256 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3257
3258 fi
3259
3260
3261 eval "$wx_cv_use_universal"
3262
3263 if test x"$enablestring" = xdisable; then
3264 if test $wxUSE_UNIVERSAL = yes; then
3265 result=no
3266 else
3267 result=yes
3268 fi
3269 else
3270 result=$wxUSE_UNIVERSAL
3271 fi
3272
3273 { echo "$as_me:$LINENO: result: $result" >&5
3274 echo "${ECHO_T}$result" >&6; }
3275
3276 if test "$wxUSE_UNIVERSAL" = "yes"; then
3277
3278 # Check whether --with-themes was given.
3279 if test "${with_themes+set}" = set; then
3280 withval=$with_themes; wxUNIV_THEMES="$withval"
3281 fi
3282
3283 fi
3284
3285
3286 # Check whether --with-gtk was given.
3287 if test "${with_gtk+set}" = set; then
3288 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3289 fi
3290
3291
3292 # Check whether --with-motif was given.
3293 if test "${with_motif+set}" = set; then
3294 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3295 fi
3296
3297
3298 # Check whether --with-osx_carbon was given.
3299 if test "${with_osx_carbon+set}" = set; then
3300 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3301 fi
3302
3303
3304 # Check whether --with-osx_cocoa was given.
3305 if test "${with_osx_cocoa+set}" = set; then
3306 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3307 fi
3308
3309
3310 # Check whether --with-mac was given.
3311 if test "${with_mac+set}" = set; then
3312 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3313 fi
3314
3315
3316 # Check whether --with-cocoa was given.
3317 if test "${with_cocoa+set}" = set; then
3318 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3319 fi
3320
3321
3322 # Check whether --with-wine was given.
3323 if test "${with_wine+set}" = set; then
3324 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3325 fi
3326
3327
3328 # Check whether --with-msw was given.
3329 if test "${with_msw+set}" = set; then
3330 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3331 fi
3332
3333
3334 # Check whether --with-pm was given.
3335 if test "${with_pm+set}" = set; then
3336 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3337 fi
3338
3339
3340 # Check whether --with-mgl was given.
3341 if test "${with_mgl+set}" = set; then
3342 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3343 fi
3344
3345
3346 # Check whether --with-directfb was given.
3347 if test "${with_directfb+set}" = set; then
3348 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3349 fi
3350
3351
3352 # Check whether --with-microwin was given.
3353 if test "${with_microwin+set}" = set; then
3354 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3355 fi
3356
3357
3358 # Check whether --with-x11 was given.
3359 if test "${with_x11+set}" = set; then
3360 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3361 fi
3362
3363
3364 enablestring=
3365 defaultval=
3366 if test -z "$defaultval"; then
3367 if test x"$enablestring" = xdisable; then
3368 defaultval=yes
3369 else
3370 defaultval=no
3371 fi
3372 fi
3373
3374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3375 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3376 # Check whether --enable-nanox was given.
3377 if test "${enable_nanox+set}" = set; then
3378 enableval=$enable_nanox;
3379 if test "$enableval" = yes; then
3380 wx_cv_use_nanox='wxUSE_NANOX=yes'
3381 else
3382 wx_cv_use_nanox='wxUSE_NANOX=no'
3383 fi
3384
3385 else
3386
3387 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3388
3389 fi
3390
3391
3392 eval "$wx_cv_use_nanox"
3393
3394 if test x"$enablestring" = xdisable; then
3395 if test $wxUSE_NANOX = yes; then
3396 result=no
3397 else
3398 result=yes
3399 fi
3400 else
3401 result=$wxUSE_NANOX
3402 fi
3403
3404 { echo "$as_me:$LINENO: result: $result" >&5
3405 echo "${ECHO_T}$result" >&6; }
3406
3407
3408 # Check whether --enable-gtk2 was given.
3409 if test "${enable_gtk2+set}" = set; then
3410 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3411 fi
3412
3413
3414 enablestring=
3415 defaultval=
3416 if test -z "$defaultval"; then
3417 if test x"$enablestring" = xdisable; then
3418 defaultval=yes
3419 else
3420 defaultval=no
3421 fi
3422 fi
3423
3424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3425 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3426 # Check whether --enable-gpe was given.
3427 if test "${enable_gpe+set}" = set; then
3428 enableval=$enable_gpe;
3429 if test "$enableval" = yes; then
3430 wx_cv_use_gpe='wxUSE_GPE=yes'
3431 else
3432 wx_cv_use_gpe='wxUSE_GPE=no'
3433 fi
3434
3435 else
3436
3437 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3438
3439 fi
3440
3441
3442 eval "$wx_cv_use_gpe"
3443
3444 if test x"$enablestring" = xdisable; then
3445 if test $wxUSE_GPE = yes; then
3446 result=no
3447 else
3448 result=yes
3449 fi
3450 else
3451 result=$wxUSE_GPE
3452 fi
3453
3454 { echo "$as_me:$LINENO: result: $result" >&5
3455 echo "${ECHO_T}$result" >&6; }
3456
3457
3458
3459 { echo "$as_me:$LINENO: checking for toolkit" >&5
3460 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3461
3462
3463
3464 # In Wine, we need to default to MSW, not GTK or MOTIF
3465 if test "$wxUSE_WINE" = "yes"; then
3466 DEFAULT_DEFAULT_wxUSE_GTK=0
3467 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3468 DEFAULT_DEFAULT_wxUSE_MSW=1
3469 wxUSE_SHARED=no
3470 CC=${CC:-winegcc}
3471 CXX=${CXX:-wineg++}
3472 fi
3473
3474
3475 if test "$wxUSE_GUI" = "yes"; then
3476
3477 if test "$USE_BEOS" = 1; then
3478 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3479 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3480 { (exit 1); exit 1; }; }
3481 fi
3482
3483 if test "$TOOLKIT_GIVEN" = 1; then
3484 for toolkit in $ALL_TOOLKITS; do
3485 var=wxUSE_$toolkit
3486 eval "value=\$${var}"
3487 if test "x$value" = "xno"; then
3488 eval "$var=0"
3489 elif test "x$value" != "x"; then
3490 eval "$var=1"
3491 fi
3492
3493 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3494 eval "wx${toolkit}_VERSION=$value"
3495 fi
3496 done
3497 else
3498 for toolkit in $ALL_TOOLKITS; do
3499 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3500 eval "wxUSE_$toolkit=\$${var}"
3501 done
3502 fi
3503
3504 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3505 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3506 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3507
3508 case "${host}" in
3509 *-pc-os2_emx | *-pc-os2-emx )
3510 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3511 esac
3512
3513 case "$NUM_TOOLKITS" in
3514 1)
3515 ;;
3516 0)
3517 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3518 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3519 { (exit 1); exit 1; }; }
3520 ;;
3521 *)
3522 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3523 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3524 { (exit 1); exit 1; }; }
3525 esac
3526
3527 # to be removed when --disable-gtk2 isn't needed
3528 if test "x$wxUSE_GTK2" = "xyes"; then
3529 wxGTK_VERSION=2
3530 elif test "x$wxUSE_GTK2" = "xno"; then
3531 wxGTK_VERSION=1
3532 fi
3533
3534 for toolkit in $ALL_TOOLKITS; do
3535 var=wxUSE_$toolkit
3536 eval "value=\$${var}"
3537 if test "$value" = 1; then
3538 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3539 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3540 echo "${ECHO_T}$toolkit_echo" >&6; }
3541 fi
3542 done
3543 else
3544 if test "x$host_alias" != "x"; then
3545 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3546 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3547 else
3548 { echo "$as_me:$LINENO: result: base only" >&5
3549 echo "${ECHO_T}base only" >&6; }
3550 fi
3551 fi
3552
3553 wxUSE_MAC=0
3554 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3555 wxUSE_MAC=1
3556 fi
3557
3558
3559
3560 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3561 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3562
3563 # Check whether --with-libpng was given.
3564 if test "${with_libpng+set}" = set; then
3565 withval=$with_libpng;
3566 if test "$withval" = yes; then
3567 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3568 elif test "$withval" = no; then
3569 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3570 elif test "$withval" = sys; then
3571 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3572 elif test "$withval" = builtin; then
3573 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3574 else
3575 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3576 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3577 { (exit 1); exit 1; }; }
3578 fi
3579
3580 else
3581
3582 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3583
3584 fi
3585
3586
3587 eval "$wx_cv_use_libpng"
3588
3589 if test "$wxUSE_LIBPNG" = yes; then
3590 { echo "$as_me:$LINENO: result: yes" >&5
3591 echo "${ECHO_T}yes" >&6; }
3592 elif test "$wxUSE_LIBPNG" = no; then
3593 { echo "$as_me:$LINENO: result: no" >&5
3594 echo "${ECHO_T}no" >&6; }
3595 elif test "$wxUSE_LIBPNG" = sys; then
3596 { echo "$as_me:$LINENO: result: system version" >&5
3597 echo "${ECHO_T}system version" >&6; }
3598 elif test "$wxUSE_LIBPNG" = builtin; then
3599 { echo "$as_me:$LINENO: result: builtin version" >&5
3600 echo "${ECHO_T}builtin version" >&6; }
3601 else
3602 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3603 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3604 { (exit 1); exit 1; }; }
3605 fi
3606
3607
3608 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3609 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3610
3611 # Check whether --with-libjpeg was given.
3612 if test "${with_libjpeg+set}" = set; then
3613 withval=$with_libjpeg;
3614 if test "$withval" = yes; then
3615 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3616 elif test "$withval" = no; then
3617 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3618 elif test "$withval" = sys; then
3619 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3620 elif test "$withval" = builtin; then
3621 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3622 else
3623 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3624 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3625 { (exit 1); exit 1; }; }
3626 fi
3627
3628 else
3629
3630 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3631
3632 fi
3633
3634
3635 eval "$wx_cv_use_libjpeg"
3636
3637 if test "$wxUSE_LIBJPEG" = yes; then
3638 { echo "$as_me:$LINENO: result: yes" >&5
3639 echo "${ECHO_T}yes" >&6; }
3640 elif test "$wxUSE_LIBJPEG" = no; then
3641 { echo "$as_me:$LINENO: result: no" >&5
3642 echo "${ECHO_T}no" >&6; }
3643 elif test "$wxUSE_LIBJPEG" = sys; then
3644 { echo "$as_me:$LINENO: result: system version" >&5
3645 echo "${ECHO_T}system version" >&6; }
3646 elif test "$wxUSE_LIBJPEG" = builtin; then
3647 { echo "$as_me:$LINENO: result: builtin version" >&5
3648 echo "${ECHO_T}builtin version" >&6; }
3649 else
3650 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3651 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3652 { (exit 1); exit 1; }; }
3653 fi
3654
3655
3656 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3657 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3658
3659 # Check whether --with-libtiff was given.
3660 if test "${with_libtiff+set}" = set; then
3661 withval=$with_libtiff;
3662 if test "$withval" = yes; then
3663 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3664 elif test "$withval" = no; then
3665 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3666 elif test "$withval" = sys; then
3667 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3668 elif test "$withval" = builtin; then
3669 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3670 else
3671 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3672 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3673 { (exit 1); exit 1; }; }
3674 fi
3675
3676 else
3677
3678 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3679
3680 fi
3681
3682
3683 eval "$wx_cv_use_libtiff"
3684
3685 if test "$wxUSE_LIBTIFF" = yes; then
3686 { echo "$as_me:$LINENO: result: yes" >&5
3687 echo "${ECHO_T}yes" >&6; }
3688 elif test "$wxUSE_LIBTIFF" = no; then
3689 { echo "$as_me:$LINENO: result: no" >&5
3690 echo "${ECHO_T}no" >&6; }
3691 elif test "$wxUSE_LIBTIFF" = sys; then
3692 { echo "$as_me:$LINENO: result: system version" >&5
3693 echo "${ECHO_T}system version" >&6; }
3694 elif test "$wxUSE_LIBTIFF" = builtin; then
3695 { echo "$as_me:$LINENO: result: builtin version" >&5
3696 echo "${ECHO_T}builtin version" >&6; }
3697 else
3698 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3699 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3700 { (exit 1); exit 1; }; }
3701 fi
3702
3703
3704 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3705 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3706
3707 # Check whether --with-libxpm was given.
3708 if test "${with_libxpm+set}" = set; then
3709 withval=$with_libxpm;
3710 if test "$withval" = yes; then
3711 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3712 elif test "$withval" = no; then
3713 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3714 elif test "$withval" = sys; then
3715 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3716 elif test "$withval" = builtin; then
3717 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3718 else
3719 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3720 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3721 { (exit 1); exit 1; }; }
3722 fi
3723
3724 else
3725
3726 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3727
3728 fi
3729
3730
3731 eval "$wx_cv_use_libxpm"
3732
3733 if test "$wxUSE_LIBXPM" = yes; then
3734 { echo "$as_me:$LINENO: result: yes" >&5
3735 echo "${ECHO_T}yes" >&6; }
3736 elif test "$wxUSE_LIBXPM" = no; then
3737 { echo "$as_me:$LINENO: result: no" >&5
3738 echo "${ECHO_T}no" >&6; }
3739 elif test "$wxUSE_LIBXPM" = sys; then
3740 { echo "$as_me:$LINENO: result: system version" >&5
3741 echo "${ECHO_T}system version" >&6; }
3742 elif test "$wxUSE_LIBXPM" = builtin; then
3743 { echo "$as_me:$LINENO: result: builtin version" >&5
3744 echo "${ECHO_T}builtin version" >&6; }
3745 else
3746 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3747 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3748 { (exit 1); exit 1; }; }
3749 fi
3750
3751
3752 withstring=
3753 defaultval=$wxUSE_ALL_FEATURES
3754 if test -z "$defaultval"; then
3755 if test x"$withstring" = xwithout; then
3756 defaultval=yes
3757 else
3758 defaultval=no
3759 fi
3760 fi
3761 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3762 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3763
3764 # Check whether --with-libiconv was given.
3765 if test "${with_libiconv+set}" = set; then
3766 withval=$with_libiconv;
3767 if test "$withval" = yes; then
3768 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3769 else
3770 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3771 fi
3772
3773 else
3774
3775 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3776
3777 fi
3778
3779
3780 eval "$wx_cv_use_libiconv"
3781
3782 if test x"$withstring" = xwithout; then
3783 if test $wxUSE_LIBICONV = yes; then
3784 result=no
3785 else
3786 result=yes
3787 fi
3788 else
3789 result=$wxUSE_LIBICONV
3790 fi
3791
3792 { echo "$as_me:$LINENO: result: $result" >&5
3793 echo "${ECHO_T}$result" >&6; }
3794
3795
3796 withstring=
3797 defaultval=$wxUSE_ALL_FEATURES
3798 if test -z "$defaultval"; then
3799 if test x"$withstring" = xwithout; then
3800 defaultval=yes
3801 else
3802 defaultval=no
3803 fi
3804 fi
3805 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3806 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3807
3808 # Check whether --with-libmspack was given.
3809 if test "${with_libmspack+set}" = set; then
3810 withval=$with_libmspack;
3811 if test "$withval" = yes; then
3812 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3813 else
3814 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3815 fi
3816
3817 else
3818
3819 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3820
3821 fi
3822
3823
3824 eval "$wx_cv_use_libmspack"
3825
3826 if test x"$withstring" = xwithout; then
3827 if test $wxUSE_LIBMSPACK = yes; then
3828 result=no
3829 else
3830 result=yes
3831 fi
3832 else
3833 result=$wxUSE_LIBMSPACK
3834 fi
3835
3836 { echo "$as_me:$LINENO: result: $result" >&5
3837 echo "${ECHO_T}$result" >&6; }
3838
3839
3840 withstring=without
3841 defaultval=$wxUSE_ALL_FEATURES
3842 if test -z "$defaultval"; then
3843 if test x"$withstring" = xwithout; then
3844 defaultval=yes
3845 else
3846 defaultval=no
3847 fi
3848 fi
3849 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3850 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3851
3852 # Check whether --with-gtkprint was given.
3853 if test "${with_gtkprint+set}" = set; then
3854 withval=$with_gtkprint;
3855 if test "$withval" = yes; then
3856 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3857 else
3858 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3859 fi
3860
3861 else
3862
3863 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3864
3865 fi
3866
3867
3868 eval "$wx_cv_use_gtkprint"
3869
3870 if test x"$withstring" = xwithout; then
3871 if test $wxUSE_GTKPRINT = yes; then
3872 result=no
3873 else
3874 result=yes
3875 fi
3876 else
3877 result=$wxUSE_GTKPRINT
3878 fi
3879
3880 { echo "$as_me:$LINENO: result: $result" >&5
3881 echo "${ECHO_T}$result" >&6; }
3882
3883
3884 withstring=without
3885 defaultval=$wxUSE_ALL_FEATURES
3886 if test -z "$defaultval"; then
3887 if test x"$withstring" = xwithout; then
3888 defaultval=yes
3889 else
3890 defaultval=no
3891 fi
3892 fi
3893 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3894 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3895
3896 # Check whether --with-gnomeprint was given.
3897 if test "${with_gnomeprint+set}" = set; then
3898 withval=$with_gnomeprint;
3899 if test "$withval" = yes; then
3900 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3901 else
3902 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3903 fi
3904
3905 else
3906
3907 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3908
3909 fi
3910
3911
3912 eval "$wx_cv_use_gnomeprint"
3913
3914 if test x"$withstring" = xwithout; then
3915 if test $wxUSE_LIBGNOMEPRINT = yes; then
3916 result=no
3917 else
3918 result=yes
3919 fi
3920 else
3921 result=$wxUSE_LIBGNOMEPRINT
3922 fi
3923
3924 { echo "$as_me:$LINENO: result: $result" >&5
3925 echo "${ECHO_T}$result" >&6; }
3926
3927
3928 withstring=
3929 defaultval=$wxUSE_ALL_FEATURES
3930 if test -z "$defaultval"; then
3931 if test x"$withstring" = xwithout; then
3932 defaultval=yes
3933 else
3934 defaultval=no
3935 fi
3936 fi
3937 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3938 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3939
3940 # Check whether --with-gnomevfs was given.
3941 if test "${with_gnomevfs+set}" = set; then
3942 withval=$with_gnomevfs;
3943 if test "$withval" = yes; then
3944 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3945 else
3946 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3947 fi
3948
3949 else
3950
3951 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3952
3953 fi
3954
3955
3956 eval "$wx_cv_use_gnomevfs"
3957
3958 if test x"$withstring" = xwithout; then
3959 if test $wxUSE_LIBGNOMEVFS = yes; then
3960 result=no
3961 else
3962 result=yes
3963 fi
3964 else
3965 result=$wxUSE_LIBGNOMEVFS
3966 fi
3967
3968 { echo "$as_me:$LINENO: result: $result" >&5
3969 echo "${ECHO_T}$result" >&6; }
3970
3971
3972 withstring=
3973 defaultval=$wxUSE_ALL_FEATURES
3974 if test -z "$defaultval"; then
3975 if test x"$withstring" = xwithout; then
3976 defaultval=yes
3977 else
3978 defaultval=no
3979 fi
3980 fi
3981 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3982 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3983
3984 # Check whether --with-hildon was given.
3985 if test "${with_hildon+set}" = set; then
3986 withval=$with_hildon;
3987 if test "$withval" = yes; then
3988 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3989 else
3990 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3991 fi
3992
3993 else
3994
3995 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3996
3997 fi
3998
3999
4000 eval "$wx_cv_use_hildon"
4001
4002 if test x"$withstring" = xwithout; then
4003 if test $wxUSE_LIBHILDON = yes; then
4004 result=no
4005 else
4006 result=yes
4007 fi
4008 else
4009 result=$wxUSE_LIBHILDON
4010 fi
4011
4012 { echo "$as_me:$LINENO: result: $result" >&5
4013 echo "${ECHO_T}$result" >&6; }
4014
4015
4016 withstring=
4017 defaultval=$wxUSE_ALL_FEATURES
4018 if test -z "$defaultval"; then
4019 if test x"$withstring" = xwithout; then
4020 defaultval=yes
4021 else
4022 defaultval=no
4023 fi
4024 fi
4025 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4026 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4027
4028 # Check whether --with-opengl was given.
4029 if test "${with_opengl+set}" = set; then
4030 withval=$with_opengl;
4031 if test "$withval" = yes; then
4032 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4033 else
4034 wx_cv_use_opengl='wxUSE_OPENGL=no'
4035 fi
4036
4037 else
4038
4039 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4040
4041 fi
4042
4043
4044 eval "$wx_cv_use_opengl"
4045
4046 if test x"$withstring" = xwithout; then
4047 if test $wxUSE_OPENGL = yes; then
4048 result=no
4049 else
4050 result=yes
4051 fi
4052 else
4053 result=$wxUSE_OPENGL
4054 fi
4055
4056 { echo "$as_me:$LINENO: result: $result" >&5
4057 echo "${ECHO_T}$result" >&6; }
4058
4059
4060 fi
4061
4062
4063 withstring=
4064 defaultval=$wxUSE_ALL_FEATURES
4065 if test -z "$defaultval"; then
4066 if test x"$withstring" = xwithout; then
4067 defaultval=yes
4068 else
4069 defaultval=no
4070 fi
4071 fi
4072 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4073 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4074
4075 # Check whether --with-dmalloc was given.
4076 if test "${with_dmalloc+set}" = set; then
4077 withval=$with_dmalloc;
4078 if test "$withval" = yes; then
4079 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4080 else
4081 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4082 fi
4083
4084 else
4085
4086 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4087
4088 fi
4089
4090
4091 eval "$wx_cv_use_dmalloc"
4092
4093 if test x"$withstring" = xwithout; then
4094 if test $wxUSE_DMALLOC = yes; then
4095 result=no
4096 else
4097 result=yes
4098 fi
4099 else
4100 result=$wxUSE_DMALLOC
4101 fi
4102
4103 { echo "$as_me:$LINENO: result: $result" >&5
4104 echo "${ECHO_T}$result" >&6; }
4105
4106
4107 withstring=
4108 defaultval=$wxUSE_ALL_FEATURES
4109 if test -z "$defaultval"; then
4110 if test x"$withstring" = xwithout; then
4111 defaultval=yes
4112 else
4113 defaultval=no
4114 fi
4115 fi
4116 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4117 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4118
4119 # Check whether --with-sdl was given.
4120 if test "${with_sdl+set}" = set; then
4121 withval=$with_sdl;
4122 if test "$withval" = yes; then
4123 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4124 else
4125 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4126 fi
4127
4128 else
4129
4130 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4131
4132 fi
4133
4134
4135 eval "$wx_cv_use_sdl"
4136
4137 if test x"$withstring" = xwithout; then
4138 if test $wxUSE_LIBSDL = yes; then
4139 result=no
4140 else
4141 result=yes
4142 fi
4143 else
4144 result=$wxUSE_LIBSDL
4145 fi
4146
4147 { echo "$as_me:$LINENO: result: $result" >&5
4148 echo "${ECHO_T}$result" >&6; }
4149
4150
4151 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4152 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4153
4154 # Check whether --with-regex was given.
4155 if test "${with_regex+set}" = set; then
4156 withval=$with_regex;
4157 if test "$withval" = yes; then
4158 wx_cv_use_regex='wxUSE_REGEX=yes'
4159 elif test "$withval" = no; then
4160 wx_cv_use_regex='wxUSE_REGEX=no'
4161 elif test "$withval" = sys; then
4162 wx_cv_use_regex='wxUSE_REGEX=sys'
4163 elif test "$withval" = builtin; then
4164 wx_cv_use_regex='wxUSE_REGEX=builtin'
4165 else
4166 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4167 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4168 { (exit 1); exit 1; }; }
4169 fi
4170
4171 else
4172
4173 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4174
4175 fi
4176
4177
4178 eval "$wx_cv_use_regex"
4179
4180 if test "$wxUSE_REGEX" = yes; then
4181 { echo "$as_me:$LINENO: result: yes" >&5
4182 echo "${ECHO_T}yes" >&6; }
4183 elif test "$wxUSE_REGEX" = no; then
4184 { echo "$as_me:$LINENO: result: no" >&5
4185 echo "${ECHO_T}no" >&6; }
4186 elif test "$wxUSE_REGEX" = sys; then
4187 { echo "$as_me:$LINENO: result: system version" >&5
4188 echo "${ECHO_T}system version" >&6; }
4189 elif test "$wxUSE_REGEX" = builtin; then
4190 { echo "$as_me:$LINENO: result: builtin version" >&5
4191 echo "${ECHO_T}builtin version" >&6; }
4192 else
4193 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4194 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4195 { (exit 1); exit 1; }; }
4196 fi
4197
4198
4199 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4200 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4201
4202 # Check whether --with-zlib was given.
4203 if test "${with_zlib+set}" = set; then
4204 withval=$with_zlib;
4205 if test "$withval" = yes; then
4206 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4207 elif test "$withval" = no; then
4208 wx_cv_use_zlib='wxUSE_ZLIB=no'
4209 elif test "$withval" = sys; then
4210 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4211 elif test "$withval" = builtin; then
4212 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4213 else
4214 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4215 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4216 { (exit 1); exit 1; }; }
4217 fi
4218
4219 else
4220
4221 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4222
4223 fi
4224
4225
4226 eval "$wx_cv_use_zlib"
4227
4228 if test "$wxUSE_ZLIB" = yes; then
4229 { echo "$as_me:$LINENO: result: yes" >&5
4230 echo "${ECHO_T}yes" >&6; }
4231 elif test "$wxUSE_ZLIB" = no; then
4232 { echo "$as_me:$LINENO: result: no" >&5
4233 echo "${ECHO_T}no" >&6; }
4234 elif test "$wxUSE_ZLIB" = sys; then
4235 { echo "$as_me:$LINENO: result: system version" >&5
4236 echo "${ECHO_T}system version" >&6; }
4237 elif test "$wxUSE_ZLIB" = builtin; then
4238 { echo "$as_me:$LINENO: result: builtin version" >&5
4239 echo "${ECHO_T}builtin version" >&6; }
4240 else
4241 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4242 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4243 { (exit 1); exit 1; }; }
4244 fi
4245
4246
4247 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4248 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4249
4250 # Check whether --with-expat was given.
4251 if test "${with_expat+set}" = set; then
4252 withval=$with_expat;
4253 if test "$withval" = yes; then
4254 wx_cv_use_expat='wxUSE_EXPAT=yes'
4255 elif test "$withval" = no; then
4256 wx_cv_use_expat='wxUSE_EXPAT=no'
4257 elif test "$withval" = sys; then
4258 wx_cv_use_expat='wxUSE_EXPAT=sys'
4259 elif test "$withval" = builtin; then
4260 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4261 else
4262 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4263 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4264 { (exit 1); exit 1; }; }
4265 fi
4266
4267 else
4268
4269 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4270
4271 fi
4272
4273
4274 eval "$wx_cv_use_expat"
4275
4276 if test "$wxUSE_EXPAT" = yes; then
4277 { echo "$as_me:$LINENO: result: yes" >&5
4278 echo "${ECHO_T}yes" >&6; }
4279 elif test "$wxUSE_EXPAT" = no; then
4280 { echo "$as_me:$LINENO: result: no" >&5
4281 echo "${ECHO_T}no" >&6; }
4282 elif test "$wxUSE_EXPAT" = sys; then
4283 { echo "$as_me:$LINENO: result: system version" >&5
4284 echo "${ECHO_T}system version" >&6; }
4285 elif test "$wxUSE_EXPAT" = builtin; then
4286 { echo "$as_me:$LINENO: result: builtin version" >&5
4287 echo "${ECHO_T}builtin version" >&6; }
4288 else
4289 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4290 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4291 { (exit 1); exit 1; }; }
4292 fi
4293
4294
4295 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4296 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4297
4298 # Check whether --with-macosx-sdk was given.
4299 if test "${with_macosx_sdk+set}" = set; then
4300 withval=$with_macosx_sdk;
4301 wxUSE_MACOSX_SDK=$withval
4302 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4303
4304 fi
4305
4306 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4307 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4308
4309 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4310 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4311
4312 # Check whether --with-macosx-version-min was given.
4313 if test "${with_macosx_version_min+set}" = set; then
4314 withval=$with_macosx_version_min;
4315 wxUSE_MACOSX_VERSION_MIN=$withval
4316 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4317
4318 fi
4319
4320 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4321 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4322
4323
4324
4325 enablestring=disable
4326 defaultval=
4327 if test -z "$defaultval"; then
4328 if test x"$enablestring" = xdisable; then
4329 defaultval=yes
4330 else
4331 defaultval=no
4332 fi
4333 fi
4334
4335 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4336 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4337 # Check whether --enable-shared was given.
4338 if test "${enable_shared+set}" = set; then
4339 enableval=$enable_shared;
4340 if test "$enableval" = yes; then
4341 wx_cv_use_shared='wxUSE_SHARED=yes'
4342 else
4343 wx_cv_use_shared='wxUSE_SHARED=no'
4344 fi
4345
4346 else
4347
4348 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4349
4350 fi
4351
4352
4353 eval "$wx_cv_use_shared"
4354
4355 if test x"$enablestring" = xdisable; then
4356 if test $wxUSE_SHARED = yes; then
4357 result=no
4358 else
4359 result=yes
4360 fi
4361 else
4362 result=$wxUSE_SHARED
4363 fi
4364
4365 { echo "$as_me:$LINENO: result: $result" >&5
4366 echo "${ECHO_T}$result" >&6; }
4367
4368
4369 enablestring=
4370 defaultval=
4371 if test -z "$defaultval"; then
4372 if test x"$enablestring" = xdisable; then
4373 defaultval=yes
4374 else
4375 defaultval=no
4376 fi
4377 fi
4378
4379 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4380 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4381 # Check whether --enable-debug was given.
4382 if test "${enable_debug+set}" = set; then
4383 enableval=$enable_debug;
4384 if test "$enableval" = yes; then
4385 wx_cv_use_debug='wxUSE_DEBUG=yes'
4386 else
4387 wx_cv_use_debug='wxUSE_DEBUG=no'
4388 fi
4389
4390 else
4391
4392 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4393
4394 fi
4395
4396
4397 eval "$wx_cv_use_debug"
4398
4399 if test x"$enablestring" = xdisable; then
4400 if test $wxUSE_DEBUG = yes; then
4401 result=no
4402 else
4403 result=yes
4404 fi
4405 else
4406 result=$wxUSE_DEBUG
4407 fi
4408
4409 { echo "$as_me:$LINENO: result: $result" >&5
4410 echo "${ECHO_T}$result" >&6; }
4411
4412
4413 enablestring=
4414 defaultval=
4415 if test -z "$defaultval"; then
4416 if test x"$enablestring" = xdisable; then
4417 defaultval=yes
4418 else
4419 defaultval=no
4420 fi
4421 fi
4422
4423 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4424 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4425 # Check whether --enable-stl was given.
4426 if test "${enable_stl+set}" = set; then
4427 enableval=$enable_stl;
4428 if test "$enableval" = yes; then
4429 wx_cv_use_stl='wxUSE_STL=yes'
4430 else
4431 wx_cv_use_stl='wxUSE_STL=no'
4432 fi
4433
4434 else
4435
4436 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4437
4438 fi
4439
4440
4441 eval "$wx_cv_use_stl"
4442
4443 if test x"$enablestring" = xdisable; then
4444 if test $wxUSE_STL = yes; then
4445 result=no
4446 else
4447 result=yes
4448 fi
4449 else
4450 result=$wxUSE_STL
4451 fi
4452
4453 { echo "$as_me:$LINENO: result: $result" >&5
4454 echo "${ECHO_T}$result" >&6; }
4455
4456
4457 enablestring=
4458 defaultval=
4459 if test -z "$defaultval"; then
4460 if test x"$enablestring" = xdisable; then
4461 defaultval=yes
4462 else
4463 defaultval=no
4464 fi
4465 fi
4466
4467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4468 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4469 # Check whether --enable-std_iostreams was given.
4470 if test "${enable_std_iostreams+set}" = set; then
4471 enableval=$enable_std_iostreams;
4472 if test "$enableval" = yes; then
4473 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4474 else
4475 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4476 fi
4477
4478 else
4479
4480 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4481
4482 fi
4483
4484
4485 eval "$wx_cv_use_std_iostreams"
4486
4487 if test x"$enablestring" = xdisable; then
4488 if test $wxUSE_STD_IOSTREAM = yes; then
4489 result=no
4490 else
4491 result=yes
4492 fi
4493 else
4494 result=$wxUSE_STD_IOSTREAM
4495 fi
4496
4497 { echo "$as_me:$LINENO: result: $result" >&5
4498 echo "${ECHO_T}$result" >&6; }
4499
4500
4501 enablestring=
4502 defaultval=
4503 if test -z "$defaultval"; then
4504 if test x"$enablestring" = xdisable; then
4505 defaultval=yes
4506 else
4507 defaultval=no
4508 fi
4509 fi
4510
4511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4512 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4513 # Check whether --enable-std_string was given.
4514 if test "${enable_std_string+set}" = set; then
4515 enableval=$enable_std_string;
4516 if test "$enableval" = yes; then
4517 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4518 else
4519 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4520 fi
4521
4522 else
4523
4524 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4525
4526 fi
4527
4528
4529 eval "$wx_cv_use_std_string"
4530
4531 if test x"$enablestring" = xdisable; then
4532 if test $wxUSE_STD_STRING = yes; then
4533 result=no
4534 else
4535 result=yes
4536 fi
4537 else
4538 result=$wxUSE_STD_STRING
4539 fi
4540
4541 { echo "$as_me:$LINENO: result: $result" >&5
4542 echo "${ECHO_T}$result" >&6; }
4543
4544
4545 enablestring=disable
4546 defaultval=
4547 if test -z "$defaultval"; then
4548 if test x"$enablestring" = xdisable; then
4549 defaultval=yes
4550 else
4551 defaultval=no
4552 fi
4553 fi
4554
4555 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4556 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4557 # Check whether --enable-unicode was given.
4558 if test "${enable_unicode+set}" = set; then
4559 enableval=$enable_unicode;
4560 if test "$enableval" = yes; then
4561 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4562 else
4563 wx_cv_use_unicode='wxUSE_UNICODE=no'
4564 fi
4565
4566 else
4567
4568 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4569
4570 fi
4571
4572
4573 eval "$wx_cv_use_unicode"
4574
4575 if test x"$enablestring" = xdisable; then
4576 if test $wxUSE_UNICODE = yes; then
4577 result=no
4578 else
4579 result=yes
4580 fi
4581 else
4582 result=$wxUSE_UNICODE
4583 fi
4584
4585 { echo "$as_me:$LINENO: result: $result" >&5
4586 echo "${ECHO_T}$result" >&6; }
4587
4588
4589 enablestring=
4590 defaultval=
4591 if test -z "$defaultval"; then
4592 if test x"$enablestring" = xdisable; then
4593 defaultval=yes
4594 else
4595 defaultval=no
4596 fi
4597 fi
4598
4599 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4600 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4601 # Check whether --enable-mslu was given.
4602 if test "${enable_mslu+set}" = set; then
4603 enableval=$enable_mslu;
4604 if test "$enableval" = yes; then
4605 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4606 else
4607 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4608 fi
4609
4610 else
4611
4612 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4613
4614 fi
4615
4616
4617 eval "$wx_cv_use_mslu"
4618
4619 if test x"$enablestring" = xdisable; then
4620 if test $wxUSE_UNICODE_MSLU = yes; then
4621 result=no
4622 else
4623 result=yes
4624 fi
4625 else
4626 result=$wxUSE_UNICODE_MSLU
4627 fi
4628
4629 { echo "$as_me:$LINENO: result: $result" >&5
4630 echo "${ECHO_T}$result" >&6; }
4631
4632
4633 enablestring=
4634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4635 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4636 # Check whether --enable-utf8 was given.
4637 if test "${enable_utf8+set}" = set; then
4638 enableval=$enable_utf8;
4639 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4640
4641 else
4642
4643 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4644
4645 fi
4646
4647
4648 eval "$wx_cv_use_utf8"
4649
4650 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4651 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4652
4653
4654 enablestring=
4655 defaultval=
4656 if test -z "$defaultval"; then
4657 if test x"$enablestring" = xdisable; then
4658 defaultval=yes
4659 else
4660 defaultval=no
4661 fi
4662 fi
4663
4664 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4665 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4666 # Check whether --enable-utf8only was given.
4667 if test "${enable_utf8only+set}" = set; then
4668 enableval=$enable_utf8only;
4669 if test "$enableval" = yes; then
4670 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4671 else
4672 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4673 fi
4674
4675 else
4676
4677 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4678
4679 fi
4680
4681
4682 eval "$wx_cv_use_utf8only"
4683
4684 if test x"$enablestring" = xdisable; then
4685 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4686 result=no
4687 else
4688 result=yes
4689 fi
4690 else
4691 result=$wxUSE_UNICODE_UTF8_LOCALE
4692 fi
4693
4694 { echo "$as_me:$LINENO: result: $result" >&5
4695 echo "${ECHO_T}$result" >&6; }
4696
4697
4698 enablestring=
4699 defaultval=
4700 if test -z "$defaultval"; then
4701 if test x"$enablestring" = xdisable; then
4702 defaultval=yes
4703 else
4704 defaultval=no
4705 fi
4706 fi
4707
4708 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4709 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4710 # Check whether --enable-extended_rtti was given.
4711 if test "${enable_extended_rtti+set}" = set; then
4712 enableval=$enable_extended_rtti;
4713 if test "$enableval" = yes; then
4714 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4715 else
4716 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4717 fi
4718
4719 else
4720
4721 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4722
4723 fi
4724
4725
4726 eval "$wx_cv_use_extended_rtti"
4727
4728 if test x"$enablestring" = xdisable; then
4729 if test $wxUSE_EXTENDED_RTTI = yes; then
4730 result=no
4731 else
4732 result=yes
4733 fi
4734 else
4735 result=$wxUSE_EXTENDED_RTTI
4736 fi
4737
4738 { echo "$as_me:$LINENO: result: $result" >&5
4739 echo "${ECHO_T}$result" >&6; }
4740
4741 if test "$USE_OS2" = 1; then
4742 DEFAULT_wxUSE_OMF=no
4743
4744 enablestring=
4745 defaultval=
4746 if test -z "$defaultval"; then
4747 if test x"$enablestring" = xdisable; then
4748 defaultval=yes
4749 else
4750 defaultval=no
4751 fi
4752 fi
4753
4754 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4755 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4756 # Check whether --enable-omf was given.
4757 if test "${enable_omf+set}" = set; then
4758 enableval=$enable_omf;
4759 if test "$enableval" = yes; then
4760 wx_cv_use_omf='wxUSE_OMF=yes'
4761 else
4762 wx_cv_use_omf='wxUSE_OMF=no'
4763 fi
4764
4765 else
4766
4767 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4768
4769 fi
4770
4771
4772 eval "$wx_cv_use_omf"
4773
4774 if test x"$enablestring" = xdisable; then
4775 if test $wxUSE_OMF = yes; then
4776 result=no
4777 else
4778 result=yes
4779 fi
4780 else
4781 result=$wxUSE_OMF
4782 fi
4783
4784 { echo "$as_me:$LINENO: result: $result" >&5
4785 echo "${ECHO_T}$result" >&6; }
4786
4787 fi
4788
4789 if test "$wxUSE_DEBUG" = "yes"; then
4790 DEFAULT_wxUSE_DEBUG_FLAG=yes
4791 DEFAULT_wxUSE_DEBUG_INFO=yes
4792 BUILD=debug
4793 elif test "$wxUSE_DEBUG" = "no"; then
4794 DEFAULT_wxUSE_DEBUG_FLAG=no
4795 DEFAULT_wxUSE_DEBUG_INFO=no
4796 BUILD=release
4797 fi
4798
4799
4800 enablestring=
4801 defaultval=
4802 if test -z "$defaultval"; then
4803 if test x"$enablestring" = xdisable; then
4804 defaultval=yes
4805 else
4806 defaultval=no
4807 fi
4808 fi
4809
4810 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4811 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4812 # Check whether --enable-debug_flag was given.
4813 if test "${enable_debug_flag+set}" = set; then
4814 enableval=$enable_debug_flag;
4815 if test "$enableval" = yes; then
4816 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4817 else
4818 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4819 fi
4820
4821 else
4822
4823 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4824
4825 fi
4826
4827
4828 eval "$wx_cv_use_debug_flag"
4829
4830 if test x"$enablestring" = xdisable; then
4831 if test $wxUSE_DEBUG_FLAG = yes; then
4832 result=no
4833 else
4834 result=yes
4835 fi
4836 else
4837 result=$wxUSE_DEBUG_FLAG
4838 fi
4839
4840 { echo "$as_me:$LINENO: result: $result" >&5
4841 echo "${ECHO_T}$result" >&6; }
4842
4843
4844 enablestring=
4845 defaultval=
4846 if test -z "$defaultval"; then
4847 if test x"$enablestring" = xdisable; then
4848 defaultval=yes
4849 else
4850 defaultval=no
4851 fi
4852 fi
4853
4854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4855 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4856 # Check whether --enable-debug_info was given.
4857 if test "${enable_debug_info+set}" = set; then
4858 enableval=$enable_debug_info;
4859 if test "$enableval" = yes; then
4860 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4861 else
4862 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4863 fi
4864
4865 else
4866
4867 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4868
4869 fi
4870
4871
4872 eval "$wx_cv_use_debug_info"
4873
4874 if test x"$enablestring" = xdisable; then
4875 if test $wxUSE_DEBUG_INFO = yes; then
4876 result=no
4877 else
4878 result=yes
4879 fi
4880 else
4881 result=$wxUSE_DEBUG_INFO
4882 fi
4883
4884 { echo "$as_me:$LINENO: result: $result" >&5
4885 echo "${ECHO_T}$result" >&6; }
4886
4887
4888 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4889 wxUSE_DEBUG=yes
4890 BUILD=debug
4891 fi
4892
4893 if test "$wxUSE_DEBUG" = "yes"; then
4894 DEFAULT_wxUSE_OPTIMISE=no
4895 fi
4896
4897
4898 enablestring=disable
4899 defaultval=
4900 if test -z "$defaultval"; then
4901 if test x"$enablestring" = xdisable; then
4902 defaultval=yes
4903 else
4904 defaultval=no
4905 fi
4906 fi
4907
4908 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4909 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4910 # Check whether --enable-optimise was given.
4911 if test "${enable_optimise+set}" = set; then
4912 enableval=$enable_optimise;
4913 if test "$enableval" = yes; then
4914 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4915 else
4916 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4917 fi
4918
4919 else
4920
4921 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4922
4923 fi
4924
4925
4926 eval "$wx_cv_use_optimise"
4927
4928 if test x"$enablestring" = xdisable; then
4929 if test $wxUSE_OPTIMISE = yes; then
4930 result=no
4931 else
4932 result=yes
4933 fi
4934 else
4935 result=$wxUSE_OPTIMISE
4936 fi
4937
4938 { echo "$as_me:$LINENO: result: $result" >&5
4939 echo "${ECHO_T}$result" >&6; }
4940
4941
4942
4943 enablestring=
4944 defaultval=
4945 if test -z "$defaultval"; then
4946 if test x"$enablestring" = xdisable; then
4947 defaultval=yes
4948 else
4949 defaultval=no
4950 fi
4951 fi
4952
4953 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4954 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4955 # Check whether --enable-debug_gdb was given.
4956 if test "${enable_debug_gdb+set}" = set; then
4957 enableval=$enable_debug_gdb;
4958 if test "$enableval" = yes; then
4959 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4960 else
4961 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4962 fi
4963
4964 else
4965
4966 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4967
4968 fi
4969
4970
4971 eval "$wx_cv_use_debug_gdb"
4972
4973 if test x"$enablestring" = xdisable; then
4974 if test $wxUSE_DEBUG_GDB = yes; then
4975 result=no
4976 else
4977 result=yes
4978 fi
4979 else
4980 result=$wxUSE_DEBUG_GDB
4981 fi
4982
4983 { echo "$as_me:$LINENO: result: $result" >&5
4984 echo "${ECHO_T}$result" >&6; }
4985
4986
4987 enablestring=
4988 defaultval=
4989 if test -z "$defaultval"; then
4990 if test x"$enablestring" = xdisable; then
4991 defaultval=yes
4992 else
4993 defaultval=no
4994 fi
4995 fi
4996
4997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4998 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4999 # Check whether --enable-debug_cntxt was given.
5000 if test "${enable_debug_cntxt+set}" = set; then
5001 enableval=$enable_debug_cntxt;
5002 if test "$enableval" = yes; then
5003 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5004 else
5005 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5006 fi
5007
5008 else
5009
5010 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5011
5012 fi
5013
5014
5015 eval "$wx_cv_use_debug_cntxt"
5016
5017 if test x"$enablestring" = xdisable; then
5018 if test $wxUSE_DEBUG_CONTEXT = yes; then
5019 result=no
5020 else
5021 result=yes
5022 fi
5023 else
5024 result=$wxUSE_DEBUG_CONTEXT
5025 fi
5026
5027 { echo "$as_me:$LINENO: result: $result" >&5
5028 echo "${ECHO_T}$result" >&6; }
5029
5030
5031 enablestring=
5032 defaultval=
5033 if test -z "$defaultval"; then
5034 if test x"$enablestring" = xdisable; then
5035 defaultval=yes
5036 else
5037 defaultval=no
5038 fi
5039 fi
5040
5041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5042 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5043 # Check whether --enable-mem_tracing was given.
5044 if test "${enable_mem_tracing+set}" = set; then
5045 enableval=$enable_mem_tracing;
5046 if test "$enableval" = yes; then
5047 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5048 else
5049 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5050 fi
5051
5052 else
5053
5054 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5055
5056 fi
5057
5058
5059 eval "$wx_cv_use_mem_tracing"
5060
5061 if test x"$enablestring" = xdisable; then
5062 if test $wxUSE_MEM_TRACING = yes; then
5063 result=no
5064 else
5065 result=yes
5066 fi
5067 else
5068 result=$wxUSE_MEM_TRACING
5069 fi
5070
5071 { echo "$as_me:$LINENO: result: $result" >&5
5072 echo "${ECHO_T}$result" >&6; }
5073
5074
5075 enablestring=
5076 defaultval=
5077 if test -z "$defaultval"; then
5078 if test x"$enablestring" = xdisable; then
5079 defaultval=yes
5080 else
5081 defaultval=no
5082 fi
5083 fi
5084
5085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5086 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5087 # Check whether --enable-profile was given.
5088 if test "${enable_profile+set}" = set; then
5089 enableval=$enable_profile;
5090 if test "$enableval" = yes; then
5091 wx_cv_use_profile='wxUSE_PROFILE=yes'
5092 else
5093 wx_cv_use_profile='wxUSE_PROFILE=no'
5094 fi
5095
5096 else
5097
5098 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5099
5100 fi
5101
5102
5103 eval "$wx_cv_use_profile"
5104
5105 if test x"$enablestring" = xdisable; then
5106 if test $wxUSE_PROFILE = yes; then
5107 result=no
5108 else
5109 result=yes
5110 fi
5111 else
5112 result=$wxUSE_PROFILE
5113 fi
5114
5115 { echo "$as_me:$LINENO: result: $result" >&5
5116 echo "${ECHO_T}$result" >&6; }
5117
5118
5119 enablestring=
5120 defaultval=
5121 if test -z "$defaultval"; then
5122 if test x"$enablestring" = xdisable; then
5123 defaultval=yes
5124 else
5125 defaultval=no
5126 fi
5127 fi
5128
5129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5130 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5131 # Check whether --enable-no_rtti was given.
5132 if test "${enable_no_rtti+set}" = set; then
5133 enableval=$enable_no_rtti;
5134 if test "$enableval" = yes; then
5135 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5136 else
5137 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5138 fi
5139
5140 else
5141
5142 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5143
5144 fi
5145
5146
5147 eval "$wx_cv_use_no_rtti"
5148
5149 if test x"$enablestring" = xdisable; then
5150 if test $wxUSE_NO_RTTI = yes; then
5151 result=no
5152 else
5153 result=yes
5154 fi
5155 else
5156 result=$wxUSE_NO_RTTI
5157 fi
5158
5159 { echo "$as_me:$LINENO: result: $result" >&5
5160 echo "${ECHO_T}$result" >&6; }
5161
5162
5163 enablestring=
5164 defaultval=
5165 if test -z "$defaultval"; then
5166 if test x"$enablestring" = xdisable; then
5167 defaultval=yes
5168 else
5169 defaultval=no
5170 fi
5171 fi
5172
5173 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5174 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5175 # Check whether --enable-no_exceptions was given.
5176 if test "${enable_no_exceptions+set}" = set; then
5177 enableval=$enable_no_exceptions;
5178 if test "$enableval" = yes; then
5179 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5180 else
5181 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5182 fi
5183
5184 else
5185
5186 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5187
5188 fi
5189
5190
5191 eval "$wx_cv_use_no_exceptions"
5192
5193 if test x"$enablestring" = xdisable; then
5194 if test $wxUSE_NO_EXCEPTIONS = yes; then
5195 result=no
5196 else
5197 result=yes
5198 fi
5199 else
5200 result=$wxUSE_NO_EXCEPTIONS
5201 fi
5202
5203 { echo "$as_me:$LINENO: result: $result" >&5
5204 echo "${ECHO_T}$result" >&6; }
5205
5206
5207 enablestring=
5208 defaultval=
5209 if test -z "$defaultval"; then
5210 if test x"$enablestring" = xdisable; then
5211 defaultval=yes
5212 else
5213 defaultval=no
5214 fi
5215 fi
5216
5217 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5218 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5219 # Check whether --enable-permissive was given.
5220 if test "${enable_permissive+set}" = set; then
5221 enableval=$enable_permissive;
5222 if test "$enableval" = yes; then
5223 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5224 else
5225 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5226 fi
5227
5228 else
5229
5230 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5231
5232 fi
5233
5234
5235 eval "$wx_cv_use_permissive"
5236
5237 if test x"$enablestring" = xdisable; then
5238 if test $wxUSE_PERMISSIVE = yes; then
5239 result=no
5240 else
5241 result=yes
5242 fi
5243 else
5244 result=$wxUSE_PERMISSIVE
5245 fi
5246
5247 { echo "$as_me:$LINENO: result: $result" >&5
5248 echo "${ECHO_T}$result" >&6; }
5249
5250
5251 enablestring=
5252 defaultval=
5253 if test -z "$defaultval"; then
5254 if test x"$enablestring" = xdisable; then
5255 defaultval=yes
5256 else
5257 defaultval=no
5258 fi
5259 fi
5260
5261 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5262 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5263 # Check whether --enable-no_deps was given.
5264 if test "${enable_no_deps+set}" = set; then
5265 enableval=$enable_no_deps;
5266 if test "$enableval" = yes; then
5267 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5268 else
5269 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5270 fi
5271
5272 else
5273
5274 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5275
5276 fi
5277
5278
5279 eval "$wx_cv_use_no_deps"
5280
5281 if test x"$enablestring" = xdisable; then
5282 if test $wxUSE_NO_DEPS = yes; then
5283 result=no
5284 else
5285 result=yes
5286 fi
5287 else
5288 result=$wxUSE_NO_DEPS
5289 fi
5290
5291 { echo "$as_me:$LINENO: result: $result" >&5
5292 echo "${ECHO_T}$result" >&6; }
5293
5294
5295 enablestring=disable
5296 defaultval=
5297 if test -z "$defaultval"; then
5298 if test x"$enablestring" = xdisable; then
5299 defaultval=yes
5300 else
5301 defaultval=no
5302 fi
5303 fi
5304
5305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5306 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5307 # Check whether --enable-vararg_macros was given.
5308 if test "${enable_vararg_macros+set}" = set; then
5309 enableval=$enable_vararg_macros;
5310 if test "$enableval" = yes; then
5311 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5312 else
5313 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5314 fi
5315
5316 else
5317
5318 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5319
5320 fi
5321
5322
5323 eval "$wx_cv_use_vararg_macros"
5324
5325 if test x"$enablestring" = xdisable; then
5326 if test $wxUSE_VARARG_MACROS = yes; then
5327 result=no
5328 else
5329 result=yes
5330 fi
5331 else
5332 result=$wxUSE_VARARG_MACROS
5333 fi
5334
5335 { echo "$as_me:$LINENO: result: $result" >&5
5336 echo "${ECHO_T}$result" >&6; }
5337
5338
5339 enablestring=
5340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5341 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5342 # Check whether --enable-universal_binary was given.
5343 if test "${enable_universal_binary+set}" = set; then
5344 enableval=$enable_universal_binary;
5345 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5346
5347 else
5348
5349 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5350
5351 fi
5352
5353
5354 eval "$wx_cv_use_universal_binary"
5355
5356 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5357 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5358
5359
5360
5361 enablestring=
5362 defaultval=
5363 if test -z "$defaultval"; then
5364 if test x"$enablestring" = xdisable; then
5365 defaultval=yes
5366 else
5367 defaultval=no
5368 fi
5369 fi
5370
5371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5372 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5373 # Check whether --enable-compat26 was given.
5374 if test "${enable_compat26+set}" = set; then
5375 enableval=$enable_compat26;
5376 if test "$enableval" = yes; then
5377 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5378 else
5379 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5380 fi
5381
5382 else
5383
5384 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5385
5386 fi
5387
5388
5389 eval "$wx_cv_use_compat26"
5390
5391 if test x"$enablestring" = xdisable; then
5392 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5393 result=no
5394 else
5395 result=yes
5396 fi
5397 else
5398 result=$WXWIN_COMPATIBILITY_2_6
5399 fi
5400
5401 { echo "$as_me:$LINENO: result: $result" >&5
5402 echo "${ECHO_T}$result" >&6; }
5403
5404
5405 enablestring=disable
5406 defaultval=
5407 if test -z "$defaultval"; then
5408 if test x"$enablestring" = xdisable; then
5409 defaultval=yes
5410 else
5411 defaultval=no
5412 fi
5413 fi
5414
5415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5416 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5417 # Check whether --enable-compat28 was given.
5418 if test "${enable_compat28+set}" = set; then
5419 enableval=$enable_compat28;
5420 if test "$enableval" = yes; then
5421 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5422 else
5423 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5424 fi
5425
5426 else
5427
5428 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5429
5430 fi
5431
5432
5433 eval "$wx_cv_use_compat28"
5434
5435 if test x"$enablestring" = xdisable; then
5436 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5437 result=no
5438 else
5439 result=yes
5440 fi
5441 else
5442 result=$WXWIN_COMPATIBILITY_2_8
5443 fi
5444
5445 { echo "$as_me:$LINENO: result: $result" >&5
5446 echo "${ECHO_T}$result" >&6; }
5447
5448
5449 cat >>confdefs.h <<\_ACEOF
5450 #define wxEVENTS_COMPATIBILITY_2_8 0
5451 _ACEOF
5452
5453
5454
5455 enablestring=disable
5456 defaultval=
5457 if test -z "$defaultval"; then
5458 if test x"$enablestring" = xdisable; then
5459 defaultval=yes
5460 else
5461 defaultval=no
5462 fi
5463 fi
5464
5465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5466 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5467 # Check whether --enable-rpath was given.
5468 if test "${enable_rpath+set}" = set; then
5469 enableval=$enable_rpath;
5470 if test "$enableval" = yes; then
5471 wx_cv_use_rpath='wxUSE_RPATH=yes'
5472 else
5473 wx_cv_use_rpath='wxUSE_RPATH=no'
5474 fi
5475
5476 else
5477
5478 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5479
5480 fi
5481
5482
5483 eval "$wx_cv_use_rpath"
5484
5485 if test x"$enablestring" = xdisable; then
5486 if test $wxUSE_RPATH = yes; then
5487 result=no
5488 else
5489 result=yes
5490 fi
5491 else
5492 result=$wxUSE_RPATH
5493 fi
5494
5495 { echo "$as_me:$LINENO: result: $result" >&5
5496 echo "${ECHO_T}$result" >&6; }
5497
5498
5499
5500 enablestring=
5501 defaultval=
5502 if test -z "$defaultval"; then
5503 if test x"$enablestring" = xdisable; then
5504 defaultval=yes
5505 else
5506 defaultval=no
5507 fi
5508 fi
5509
5510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5511 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5512 # Check whether --enable-objc_uniquifying was given.
5513 if test "${enable_objc_uniquifying+set}" = set; then
5514 enableval=$enable_objc_uniquifying;
5515 if test "$enableval" = yes; then
5516 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5517 else
5518 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5519 fi
5520
5521 else
5522
5523 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5524
5525 fi
5526
5527
5528 eval "$wx_cv_use_objc_uniquifying"
5529
5530 if test x"$enablestring" = xdisable; then
5531 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5532 result=no
5533 else
5534 result=yes
5535 fi
5536 else
5537 result=$wxUSE_OBJC_UNIQUIFYING
5538 fi
5539
5540 { echo "$as_me:$LINENO: result: $result" >&5
5541 echo "${ECHO_T}$result" >&6; }
5542
5543
5544
5545 enablestring=disable
5546 defaultval=
5547 if test -z "$defaultval"; then
5548 if test x"$enablestring" = xdisable; then
5549 defaultval=yes
5550 else
5551 defaultval=no
5552 fi
5553 fi
5554
5555 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5556 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5557 # Check whether --enable-visibility was given.
5558 if test "${enable_visibility+set}" = set; then
5559 enableval=$enable_visibility;
5560 if test "$enableval" = yes; then
5561 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5562 else
5563 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5564 fi
5565
5566 else
5567
5568 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5569
5570 fi
5571
5572
5573 eval "$wx_cv_use_visibility"
5574
5575 if test x"$enablestring" = xdisable; then
5576 if test $wxUSE_VISIBILITY = yes; then
5577 result=no
5578 else
5579 result=yes
5580 fi
5581 else
5582 result=$wxUSE_VISIBILITY
5583 fi
5584
5585 { echo "$as_me:$LINENO: result: $result" >&5
5586 echo "${ECHO_T}$result" >&6; }
5587
5588
5589
5590
5591 enablestring=
5592 defaultval=$wxUSE_ALL_FEATURES
5593 if test -z "$defaultval"; then
5594 if test x"$enablestring" = xdisable; then
5595 defaultval=yes
5596 else
5597 defaultval=no
5598 fi
5599 fi
5600
5601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5602 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5603 # Check whether --enable-intl was given.
5604 if test "${enable_intl+set}" = set; then
5605 enableval=$enable_intl;
5606 if test "$enableval" = yes; then
5607 wx_cv_use_intl='wxUSE_INTL=yes'
5608 else
5609 wx_cv_use_intl='wxUSE_INTL=no'
5610 fi
5611
5612 else
5613
5614 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5615
5616 fi
5617
5618
5619 eval "$wx_cv_use_intl"
5620
5621 if test x"$enablestring" = xdisable; then
5622 if test $wxUSE_INTL = yes; then
5623 result=no
5624 else
5625 result=yes
5626 fi
5627 else
5628 result=$wxUSE_INTL
5629 fi
5630
5631 { echo "$as_me:$LINENO: result: $result" >&5
5632 echo "${ECHO_T}$result" >&6; }
5633
5634
5635 enablestring=
5636 defaultval=$wxUSE_ALL_FEATURES
5637 if test -z "$defaultval"; then
5638 if test x"$enablestring" = xdisable; then
5639 defaultval=yes
5640 else
5641 defaultval=no
5642 fi
5643 fi
5644
5645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5646 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5647 # Check whether --enable-xlocale was given.
5648 if test "${enable_xlocale+set}" = set; then
5649 enableval=$enable_xlocale;
5650 if test "$enableval" = yes; then
5651 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5652 else
5653 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5654 fi
5655
5656 else
5657
5658 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5659
5660 fi
5661
5662
5663 eval "$wx_cv_use_xlocale"
5664
5665 if test x"$enablestring" = xdisable; then
5666 if test $wxUSE_XLOCALE = yes; then
5667 result=no
5668 else
5669 result=yes
5670 fi
5671 else
5672 result=$wxUSE_XLOCALE
5673 fi
5674
5675 { echo "$as_me:$LINENO: result: $result" >&5
5676 echo "${ECHO_T}$result" >&6; }
5677
5678
5679 enablestring=
5680 defaultval=$wxUSE_ALL_FEATURES
5681 if test -z "$defaultval"; then
5682 if test x"$enablestring" = xdisable; then
5683 defaultval=yes
5684 else
5685 defaultval=no
5686 fi
5687 fi
5688
5689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5690 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5691 # Check whether --enable-config was given.
5692 if test "${enable_config+set}" = set; then
5693 enableval=$enable_config;
5694 if test "$enableval" = yes; then
5695 wx_cv_use_config='wxUSE_CONFIG=yes'
5696 else
5697 wx_cv_use_config='wxUSE_CONFIG=no'
5698 fi
5699
5700 else
5701
5702 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5703
5704 fi
5705
5706
5707 eval "$wx_cv_use_config"
5708
5709 if test x"$enablestring" = xdisable; then
5710 if test $wxUSE_CONFIG = yes; then
5711 result=no
5712 else
5713 result=yes
5714 fi
5715 else
5716 result=$wxUSE_CONFIG
5717 fi
5718
5719 { echo "$as_me:$LINENO: result: $result" >&5
5720 echo "${ECHO_T}$result" >&6; }
5721
5722
5723
5724 enablestring=
5725 defaultval=$wxUSE_ALL_FEATURES
5726 if test -z "$defaultval"; then
5727 if test x"$enablestring" = xdisable; then
5728 defaultval=yes
5729 else
5730 defaultval=no
5731 fi
5732 fi
5733
5734 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5735 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5736 # Check whether --enable-protocols was given.
5737 if test "${enable_protocols+set}" = set; then
5738 enableval=$enable_protocols;
5739 if test "$enableval" = yes; then
5740 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5741 else
5742 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5743 fi
5744
5745 else
5746
5747 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5748
5749 fi
5750
5751
5752 eval "$wx_cv_use_protocols"
5753
5754 if test x"$enablestring" = xdisable; then
5755 if test $wxUSE_PROTOCOL = yes; then
5756 result=no
5757 else
5758 result=yes
5759 fi
5760 else
5761 result=$wxUSE_PROTOCOL
5762 fi
5763
5764 { echo "$as_me:$LINENO: result: $result" >&5
5765 echo "${ECHO_T}$result" >&6; }
5766
5767
5768 enablestring=
5769 defaultval=$wxUSE_ALL_FEATURES
5770 if test -z "$defaultval"; then
5771 if test x"$enablestring" = xdisable; then
5772 defaultval=yes
5773 else
5774 defaultval=no
5775 fi
5776 fi
5777
5778 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5779 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5780 # Check whether --enable-ftp was given.
5781 if test "${enable_ftp+set}" = set; then
5782 enableval=$enable_ftp;
5783 if test "$enableval" = yes; then
5784 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5785 else
5786 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5787 fi
5788
5789 else
5790
5791 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5792
5793 fi
5794
5795
5796 eval "$wx_cv_use_ftp"
5797
5798 if test x"$enablestring" = xdisable; then
5799 if test $wxUSE_PROTOCOL_FTP = yes; then
5800 result=no
5801 else
5802 result=yes
5803 fi
5804 else
5805 result=$wxUSE_PROTOCOL_FTP
5806 fi
5807
5808 { echo "$as_me:$LINENO: result: $result" >&5
5809 echo "${ECHO_T}$result" >&6; }
5810
5811
5812 enablestring=
5813 defaultval=$wxUSE_ALL_FEATURES
5814 if test -z "$defaultval"; then
5815 if test x"$enablestring" = xdisable; then
5816 defaultval=yes
5817 else
5818 defaultval=no
5819 fi
5820 fi
5821
5822 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5823 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5824 # Check whether --enable-http was given.
5825 if test "${enable_http+set}" = set; then
5826 enableval=$enable_http;
5827 if test "$enableval" = yes; then
5828 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5829 else
5830 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5831 fi
5832
5833 else
5834
5835 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5836
5837 fi
5838
5839
5840 eval "$wx_cv_use_http"
5841
5842 if test x"$enablestring" = xdisable; then
5843 if test $wxUSE_PROTOCOL_HTTP = yes; then
5844 result=no
5845 else
5846 result=yes
5847 fi
5848 else
5849 result=$wxUSE_PROTOCOL_HTTP
5850 fi
5851
5852 { echo "$as_me:$LINENO: result: $result" >&5
5853 echo "${ECHO_T}$result" >&6; }
5854
5855
5856 enablestring=
5857 defaultval=$wxUSE_ALL_FEATURES
5858 if test -z "$defaultval"; then
5859 if test x"$enablestring" = xdisable; then
5860 defaultval=yes
5861 else
5862 defaultval=no
5863 fi
5864 fi
5865
5866 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5867 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5868 # Check whether --enable-fileproto was given.
5869 if test "${enable_fileproto+set}" = set; then
5870 enableval=$enable_fileproto;
5871 if test "$enableval" = yes; then
5872 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5873 else
5874 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5875 fi
5876
5877 else
5878
5879 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5880
5881 fi
5882
5883
5884 eval "$wx_cv_use_fileproto"
5885
5886 if test x"$enablestring" = xdisable; then
5887 if test $wxUSE_PROTOCOL_FILE = yes; then
5888 result=no
5889 else
5890 result=yes
5891 fi
5892 else
5893 result=$wxUSE_PROTOCOL_FILE
5894 fi
5895
5896 { echo "$as_me:$LINENO: result: $result" >&5
5897 echo "${ECHO_T}$result" >&6; }
5898
5899
5900 enablestring=
5901 defaultval=$wxUSE_ALL_FEATURES
5902 if test -z "$defaultval"; then
5903 if test x"$enablestring" = xdisable; then
5904 defaultval=yes
5905 else
5906 defaultval=no
5907 fi
5908 fi
5909
5910 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5911 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5912 # Check whether --enable-sockets was given.
5913 if test "${enable_sockets+set}" = set; then
5914 enableval=$enable_sockets;
5915 if test "$enableval" = yes; then
5916 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5917 else
5918 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5919 fi
5920
5921 else
5922
5923 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5924
5925 fi
5926
5927
5928 eval "$wx_cv_use_sockets"
5929
5930 if test x"$enablestring" = xdisable; then
5931 if test $wxUSE_SOCKETS = yes; then
5932 result=no
5933 else
5934 result=yes
5935 fi
5936 else
5937 result=$wxUSE_SOCKETS
5938 fi
5939
5940 { echo "$as_me:$LINENO: result: $result" >&5
5941 echo "${ECHO_T}$result" >&6; }
5942
5943
5944 enablestring=
5945 defaultval=$wxUSE_ALL_FEATURES
5946 if test -z "$defaultval"; then
5947 if test x"$enablestring" = xdisable; then
5948 defaultval=yes
5949 else
5950 defaultval=no
5951 fi
5952 fi
5953
5954 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5955 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5956 # Check whether --enable-ipv6 was given.
5957 if test "${enable_ipv6+set}" = set; then
5958 enableval=$enable_ipv6;
5959 if test "$enableval" = yes; then
5960 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5961 else
5962 wx_cv_use_ipv6='wxUSE_IPV6=no'
5963 fi
5964
5965 else
5966
5967 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5968
5969 fi
5970
5971
5972 eval "$wx_cv_use_ipv6"
5973
5974 if test x"$enablestring" = xdisable; then
5975 if test $wxUSE_IPV6 = yes; then
5976 result=no
5977 else
5978 result=yes
5979 fi
5980 else
5981 result=$wxUSE_IPV6
5982 fi
5983
5984 { echo "$as_me:$LINENO: result: $result" >&5
5985 echo "${ECHO_T}$result" >&6; }
5986
5987
5988 enablestring=
5989 defaultval=$wxUSE_ALL_FEATURES
5990 if test -z "$defaultval"; then
5991 if test x"$enablestring" = xdisable; then
5992 defaultval=yes
5993 else
5994 defaultval=no
5995 fi
5996 fi
5997
5998 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5999 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6000 # Check whether --enable-ole was given.
6001 if test "${enable_ole+set}" = set; then
6002 enableval=$enable_ole;
6003 if test "$enableval" = yes; then
6004 wx_cv_use_ole='wxUSE_OLE=yes'
6005 else
6006 wx_cv_use_ole='wxUSE_OLE=no'
6007 fi
6008
6009 else
6010
6011 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6012
6013 fi
6014
6015
6016 eval "$wx_cv_use_ole"
6017
6018 if test x"$enablestring" = xdisable; then
6019 if test $wxUSE_OLE = yes; then
6020 result=no
6021 else
6022 result=yes
6023 fi
6024 else
6025 result=$wxUSE_OLE
6026 fi
6027
6028 { echo "$as_me:$LINENO: result: $result" >&5
6029 echo "${ECHO_T}$result" >&6; }
6030
6031
6032 enablestring=
6033 defaultval=$wxUSE_ALL_FEATURES
6034 if test -z "$defaultval"; then
6035 if test x"$enablestring" = xdisable; then
6036 defaultval=yes
6037 else
6038 defaultval=no
6039 fi
6040 fi
6041
6042 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6043 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6044 # Check whether --enable-dataobj was given.
6045 if test "${enable_dataobj+set}" = set; then
6046 enableval=$enable_dataobj;
6047 if test "$enableval" = yes; then
6048 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6049 else
6050 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6051 fi
6052
6053 else
6054
6055 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6056
6057 fi
6058
6059
6060 eval "$wx_cv_use_dataobj"
6061
6062 if test x"$enablestring" = xdisable; then
6063 if test $wxUSE_DATAOBJ = yes; then
6064 result=no
6065 else
6066 result=yes
6067 fi
6068 else
6069 result=$wxUSE_DATAOBJ
6070 fi
6071
6072 { echo "$as_me:$LINENO: result: $result" >&5
6073 echo "${ECHO_T}$result" >&6; }
6074
6075
6076
6077 enablestring=
6078 defaultval=$wxUSE_ALL_FEATURES
6079 if test -z "$defaultval"; then
6080 if test x"$enablestring" = xdisable; then
6081 defaultval=yes
6082 else
6083 defaultval=no
6084 fi
6085 fi
6086
6087 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6088 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6089 # Check whether --enable-ipc was given.
6090 if test "${enable_ipc+set}" = set; then
6091 enableval=$enable_ipc;
6092 if test "$enableval" = yes; then
6093 wx_cv_use_ipc='wxUSE_IPC=yes'
6094 else
6095 wx_cv_use_ipc='wxUSE_IPC=no'
6096 fi
6097
6098 else
6099
6100 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6101
6102 fi
6103
6104
6105 eval "$wx_cv_use_ipc"
6106
6107 if test x"$enablestring" = xdisable; then
6108 if test $wxUSE_IPC = yes; then
6109 result=no
6110 else
6111 result=yes
6112 fi
6113 else
6114 result=$wxUSE_IPC
6115 fi
6116
6117 { echo "$as_me:$LINENO: result: $result" >&5
6118 echo "${ECHO_T}$result" >&6; }
6119
6120
6121
6122 enablestring=
6123 defaultval=$wxUSE_ALL_FEATURES
6124 if test -z "$defaultval"; then
6125 if test x"$enablestring" = xdisable; then
6126 defaultval=yes
6127 else
6128 defaultval=no
6129 fi
6130 fi
6131
6132 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6133 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6134 # Check whether --enable-baseevtloop was given.
6135 if test "${enable_baseevtloop+set}" = set; then
6136 enableval=$enable_baseevtloop;
6137 if test "$enableval" = yes; then
6138 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6139 else
6140 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6141 fi
6142
6143 else
6144
6145 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6146
6147 fi
6148
6149
6150 eval "$wx_cv_use_baseevtloop"
6151
6152 if test x"$enablestring" = xdisable; then
6153 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6154 result=no
6155 else
6156 result=yes
6157 fi
6158 else
6159 result=$wxUSE_CONSOLE_EVENTLOOP
6160 fi
6161
6162 { echo "$as_me:$LINENO: result: $result" >&5
6163 echo "${ECHO_T}$result" >&6; }
6164
6165
6166 enablestring=
6167 defaultval=$wxUSE_ALL_FEATURES
6168 if test -z "$defaultval"; then
6169 if test x"$enablestring" = xdisable; then
6170 defaultval=yes
6171 else
6172 defaultval=no
6173 fi
6174 fi
6175
6176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6177 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6178 # Check whether --enable-epollloop was given.
6179 if test "${enable_epollloop+set}" = set; then
6180 enableval=$enable_epollloop;
6181 if test "$enableval" = yes; then
6182 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6183 else
6184 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6185 fi
6186
6187 else
6188
6189 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6190
6191 fi
6192
6193
6194 eval "$wx_cv_use_epollloop"
6195
6196 if test x"$enablestring" = xdisable; then
6197 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6198 result=no
6199 else
6200 result=yes
6201 fi
6202 else
6203 result=$wxUSE_EPOLL_DISPATCHER
6204 fi
6205
6206 { echo "$as_me:$LINENO: result: $result" >&5
6207 echo "${ECHO_T}$result" >&6; }
6208
6209
6210 enablestring=
6211 defaultval=$wxUSE_ALL_FEATURES
6212 if test -z "$defaultval"; then
6213 if test x"$enablestring" = xdisable; then
6214 defaultval=yes
6215 else
6216 defaultval=no
6217 fi
6218 fi
6219
6220 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6221 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6222 # Check whether --enable-selectloop was given.
6223 if test "${enable_selectloop+set}" = set; then
6224 enableval=$enable_selectloop;
6225 if test "$enableval" = yes; then
6226 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6227 else
6228 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6229 fi
6230
6231 else
6232
6233 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6234
6235 fi
6236
6237
6238 eval "$wx_cv_use_selectloop"
6239
6240 if test x"$enablestring" = xdisable; then
6241 if test $wxUSE_SELECT_DISPATCHER = yes; then
6242 result=no
6243 else
6244 result=yes
6245 fi
6246 else
6247 result=$wxUSE_SELECT_DISPATCHER
6248 fi
6249
6250 { echo "$as_me:$LINENO: result: $result" >&5
6251 echo "${ECHO_T}$result" >&6; }
6252
6253
6254
6255 enablestring=
6256 defaultval=$wxUSE_ALL_FEATURES
6257 if test -z "$defaultval"; then
6258 if test x"$enablestring" = xdisable; then
6259 defaultval=yes
6260 else
6261 defaultval=no
6262 fi
6263 fi
6264
6265 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6266 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6267 # Check whether --enable-apple_ieee was given.
6268 if test "${enable_apple_ieee+set}" = set; then
6269 enableval=$enable_apple_ieee;
6270 if test "$enableval" = yes; then
6271 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6272 else
6273 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6274 fi
6275
6276 else
6277
6278 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6279
6280 fi
6281
6282
6283 eval "$wx_cv_use_apple_ieee"
6284
6285 if test x"$enablestring" = xdisable; then
6286 if test $wxUSE_APPLE_IEEE = yes; then
6287 result=no
6288 else
6289 result=yes
6290 fi
6291 else
6292 result=$wxUSE_APPLE_IEEE
6293 fi
6294
6295 { echo "$as_me:$LINENO: result: $result" >&5
6296 echo "${ECHO_T}$result" >&6; }
6297
6298
6299 enablestring=
6300 defaultval=$wxUSE_ALL_FEATURES
6301 if test -z "$defaultval"; then
6302 if test x"$enablestring" = xdisable; then
6303 defaultval=yes
6304 else
6305 defaultval=no
6306 fi
6307 fi
6308
6309 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6310 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6311 # Check whether --enable-arcstream was given.
6312 if test "${enable_arcstream+set}" = set; then
6313 enableval=$enable_arcstream;
6314 if test "$enableval" = yes; then
6315 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6316 else
6317 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6318 fi
6319
6320 else
6321
6322 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6323
6324 fi
6325
6326
6327 eval "$wx_cv_use_arcstream"
6328
6329 if test x"$enablestring" = xdisable; then
6330 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6331 result=no
6332 else
6333 result=yes
6334 fi
6335 else
6336 result=$wxUSE_ARCHIVE_STREAMS
6337 fi
6338
6339 { echo "$as_me:$LINENO: result: $result" >&5
6340 echo "${ECHO_T}$result" >&6; }
6341
6342
6343 enablestring=
6344 defaultval=$wxUSE_ALL_FEATURES
6345 if test -z "$defaultval"; then
6346 if test x"$enablestring" = xdisable; then
6347 defaultval=yes
6348 else
6349 defaultval=no
6350 fi
6351 fi
6352
6353 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6354 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6355 # Check whether --enable-base64 was given.
6356 if test "${enable_base64+set}" = set; then
6357 enableval=$enable_base64;
6358 if test "$enableval" = yes; then
6359 wx_cv_use_base64='wxUSE_BASE64=yes'
6360 else
6361 wx_cv_use_base64='wxUSE_BASE64=no'
6362 fi
6363
6364 else
6365
6366 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6367
6368 fi
6369
6370
6371 eval "$wx_cv_use_base64"
6372
6373 if test x"$enablestring" = xdisable; then
6374 if test $wxUSE_BASE64 = yes; then
6375 result=no
6376 else
6377 result=yes
6378 fi
6379 else
6380 result=$wxUSE_BASE64
6381 fi
6382
6383 { echo "$as_me:$LINENO: result: $result" >&5
6384 echo "${ECHO_T}$result" >&6; }
6385
6386
6387 enablestring=
6388 defaultval=$wxUSE_ALL_FEATURES
6389 if test -z "$defaultval"; then
6390 if test x"$enablestring" = xdisable; then
6391 defaultval=yes
6392 else
6393 defaultval=no
6394 fi
6395 fi
6396
6397 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6398 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6399 # Check whether --enable-backtrace was given.
6400 if test "${enable_backtrace+set}" = set; then
6401 enableval=$enable_backtrace;
6402 if test "$enableval" = yes; then
6403 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6404 else
6405 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6406 fi
6407
6408 else
6409
6410 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6411
6412 fi
6413
6414
6415 eval "$wx_cv_use_backtrace"
6416
6417 if test x"$enablestring" = xdisable; then
6418 if test $wxUSE_STACKWALKER = yes; then
6419 result=no
6420 else
6421 result=yes
6422 fi
6423 else
6424 result=$wxUSE_STACKWALKER
6425 fi
6426
6427 { echo "$as_me:$LINENO: result: $result" >&5
6428 echo "${ECHO_T}$result" >&6; }
6429
6430
6431 enablestring=
6432 defaultval=$wxUSE_ALL_FEATURES
6433 if test -z "$defaultval"; then
6434 if test x"$enablestring" = xdisable; then
6435 defaultval=yes
6436 else
6437 defaultval=no
6438 fi
6439 fi
6440
6441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6442 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6443 # Check whether --enable-catch_segvs was given.
6444 if test "${enable_catch_segvs+set}" = set; then
6445 enableval=$enable_catch_segvs;
6446 if test "$enableval" = yes; then
6447 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6448 else
6449 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6450 fi
6451
6452 else
6453
6454 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6455
6456 fi
6457
6458
6459 eval "$wx_cv_use_catch_segvs"
6460
6461 if test x"$enablestring" = xdisable; then
6462 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6463 result=no
6464 else
6465 result=yes
6466 fi
6467 else
6468 result=$wxUSE_ON_FATAL_EXCEPTION
6469 fi
6470
6471 { echo "$as_me:$LINENO: result: $result" >&5
6472 echo "${ECHO_T}$result" >&6; }
6473
6474
6475 enablestring=
6476 defaultval=$wxUSE_ALL_FEATURES
6477 if test -z "$defaultval"; then
6478 if test x"$enablestring" = xdisable; then
6479 defaultval=yes
6480 else
6481 defaultval=no
6482 fi
6483 fi
6484
6485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6486 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6487 # Check whether --enable-cmdline was given.
6488 if test "${enable_cmdline+set}" = set; then
6489 enableval=$enable_cmdline;
6490 if test "$enableval" = yes; then
6491 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6492 else
6493 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6494 fi
6495
6496 else
6497
6498 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6499
6500 fi
6501
6502
6503 eval "$wx_cv_use_cmdline"
6504
6505 if test x"$enablestring" = xdisable; then
6506 if test $wxUSE_CMDLINE_PARSER = yes; then
6507 result=no
6508 else
6509 result=yes
6510 fi
6511 else
6512 result=$wxUSE_CMDLINE_PARSER
6513 fi
6514
6515 { echo "$as_me:$LINENO: result: $result" >&5
6516 echo "${ECHO_T}$result" >&6; }
6517
6518
6519 enablestring=
6520 defaultval=$wxUSE_ALL_FEATURES
6521 if test -z "$defaultval"; then
6522 if test x"$enablestring" = xdisable; then
6523 defaultval=yes
6524 else
6525 defaultval=no
6526 fi
6527 fi
6528
6529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6530 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6531 # Check whether --enable-datetime was given.
6532 if test "${enable_datetime+set}" = set; then
6533 enableval=$enable_datetime;
6534 if test "$enableval" = yes; then
6535 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6536 else
6537 wx_cv_use_datetime='wxUSE_DATETIME=no'
6538 fi
6539
6540 else
6541
6542 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6543
6544 fi
6545
6546
6547 eval "$wx_cv_use_datetime"
6548
6549 if test x"$enablestring" = xdisable; then
6550 if test $wxUSE_DATETIME = yes; then
6551 result=no
6552 else
6553 result=yes
6554 fi
6555 else
6556 result=$wxUSE_DATETIME
6557 fi
6558
6559 { echo "$as_me:$LINENO: result: $result" >&5
6560 echo "${ECHO_T}$result" >&6; }
6561
6562
6563 enablestring=
6564 defaultval=$wxUSE_ALL_FEATURES
6565 if test -z "$defaultval"; then
6566 if test x"$enablestring" = xdisable; then
6567 defaultval=yes
6568 else
6569 defaultval=no
6570 fi
6571 fi
6572
6573 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6574 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6575 # Check whether --enable-debugreport was given.
6576 if test "${enable_debugreport+set}" = set; then
6577 enableval=$enable_debugreport;
6578 if test "$enableval" = yes; then
6579 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6580 else
6581 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6582 fi
6583
6584 else
6585
6586 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6587
6588 fi
6589
6590
6591 eval "$wx_cv_use_debugreport"
6592
6593 if test x"$enablestring" = xdisable; then
6594 if test $wxUSE_DEBUGREPORT = yes; then
6595 result=no
6596 else
6597 result=yes
6598 fi
6599 else
6600 result=$wxUSE_DEBUGREPORT
6601 fi
6602
6603 { echo "$as_me:$LINENO: result: $result" >&5
6604 echo "${ECHO_T}$result" >&6; }
6605
6606
6607 enablestring=
6608 defaultval=$wxUSE_ALL_FEATURES
6609 if test -z "$defaultval"; then
6610 if test x"$enablestring" = xdisable; then
6611 defaultval=yes
6612 else
6613 defaultval=no
6614 fi
6615 fi
6616
6617 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6618 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6619 # Check whether --enable-dialupman was given.
6620 if test "${enable_dialupman+set}" = set; then
6621 enableval=$enable_dialupman;
6622 if test "$enableval" = yes; then
6623 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6624 else
6625 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6626 fi
6627
6628 else
6629
6630 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6631
6632 fi
6633
6634
6635 eval "$wx_cv_use_dialupman"
6636
6637 if test x"$enablestring" = xdisable; then
6638 if test $wxUSE_DIALUP_MANAGER = yes; then
6639 result=no
6640 else
6641 result=yes
6642 fi
6643 else
6644 result=$wxUSE_DIALUP_MANAGER
6645 fi
6646
6647 { echo "$as_me:$LINENO: result: $result" >&5
6648 echo "${ECHO_T}$result" >&6; }
6649
6650
6651 enablestring=
6652 defaultval=$wxUSE_ALL_FEATURES
6653 if test -z "$defaultval"; then
6654 if test x"$enablestring" = xdisable; then
6655 defaultval=yes
6656 else
6657 defaultval=no
6658 fi
6659 fi
6660
6661 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6662 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6663 # Check whether --enable-dynlib was given.
6664 if test "${enable_dynlib+set}" = set; then
6665 enableval=$enable_dynlib;
6666 if test "$enableval" = yes; then
6667 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6668 else
6669 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6670 fi
6671
6672 else
6673
6674 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6675
6676 fi
6677
6678
6679 eval "$wx_cv_use_dynlib"
6680
6681 if test x"$enablestring" = xdisable; then
6682 if test $wxUSE_DYNLIB_CLASS = yes; then
6683 result=no
6684 else
6685 result=yes
6686 fi
6687 else
6688 result=$wxUSE_DYNLIB_CLASS
6689 fi
6690
6691 { echo "$as_me:$LINENO: result: $result" >&5
6692 echo "${ECHO_T}$result" >&6; }
6693
6694
6695 enablestring=
6696 defaultval=$wxUSE_ALL_FEATURES
6697 if test -z "$defaultval"; then
6698 if test x"$enablestring" = xdisable; then
6699 defaultval=yes
6700 else
6701 defaultval=no
6702 fi
6703 fi
6704
6705 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6706 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6707 # Check whether --enable-dynamicloader was given.
6708 if test "${enable_dynamicloader+set}" = set; then
6709 enableval=$enable_dynamicloader;
6710 if test "$enableval" = yes; then
6711 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6712 else
6713 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6714 fi
6715
6716 else
6717
6718 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6719
6720 fi
6721
6722
6723 eval "$wx_cv_use_dynamicloader"
6724
6725 if test x"$enablestring" = xdisable; then
6726 if test $wxUSE_DYNAMIC_LOADER = yes; then
6727 result=no
6728 else
6729 result=yes
6730 fi
6731 else
6732 result=$wxUSE_DYNAMIC_LOADER
6733 fi
6734
6735 { echo "$as_me:$LINENO: result: $result" >&5
6736 echo "${ECHO_T}$result" >&6; }
6737
6738
6739 enablestring=
6740 defaultval=$wxUSE_ALL_FEATURES
6741 if test -z "$defaultval"; then
6742 if test x"$enablestring" = xdisable; then
6743 defaultval=yes
6744 else
6745 defaultval=no
6746 fi
6747 fi
6748
6749 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6750 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6751 # Check whether --enable-exceptions was given.
6752 if test "${enable_exceptions+set}" = set; then
6753 enableval=$enable_exceptions;
6754 if test "$enableval" = yes; then
6755 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6756 else
6757 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6758 fi
6759
6760 else
6761
6762 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6763
6764 fi
6765
6766
6767 eval "$wx_cv_use_exceptions"
6768
6769 if test x"$enablestring" = xdisable; then
6770 if test $wxUSE_EXCEPTIONS = yes; then
6771 result=no
6772 else
6773 result=yes
6774 fi
6775 else
6776 result=$wxUSE_EXCEPTIONS
6777 fi
6778
6779 { echo "$as_me:$LINENO: result: $result" >&5
6780 echo "${ECHO_T}$result" >&6; }
6781
6782
6783 enablestring=
6784 defaultval=$wxUSE_ALL_FEATURES
6785 if test -z "$defaultval"; then
6786 if test x"$enablestring" = xdisable; then
6787 defaultval=yes
6788 else
6789 defaultval=no
6790 fi
6791 fi
6792
6793 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6794 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6795 # Check whether --enable-ffile was given.
6796 if test "${enable_ffile+set}" = set; then
6797 enableval=$enable_ffile;
6798 if test "$enableval" = yes; then
6799 wx_cv_use_ffile='wxUSE_FFILE=yes'
6800 else
6801 wx_cv_use_ffile='wxUSE_FFILE=no'
6802 fi
6803
6804 else
6805
6806 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6807
6808 fi
6809
6810
6811 eval "$wx_cv_use_ffile"
6812
6813 if test x"$enablestring" = xdisable; then
6814 if test $wxUSE_FFILE = yes; then
6815 result=no
6816 else
6817 result=yes
6818 fi
6819 else
6820 result=$wxUSE_FFILE
6821 fi
6822
6823 { echo "$as_me:$LINENO: result: $result" >&5
6824 echo "${ECHO_T}$result" >&6; }
6825
6826
6827 enablestring=
6828 defaultval=$wxUSE_ALL_FEATURES
6829 if test -z "$defaultval"; then
6830 if test x"$enablestring" = xdisable; then
6831 defaultval=yes
6832 else
6833 defaultval=no
6834 fi
6835 fi
6836
6837 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6838 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6839 # Check whether --enable-file was given.
6840 if test "${enable_file+set}" = set; then
6841 enableval=$enable_file;
6842 if test "$enableval" = yes; then
6843 wx_cv_use_file='wxUSE_FILE=yes'
6844 else
6845 wx_cv_use_file='wxUSE_FILE=no'
6846 fi
6847
6848 else
6849
6850 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6851
6852 fi
6853
6854
6855 eval "$wx_cv_use_file"
6856
6857 if test x"$enablestring" = xdisable; then
6858 if test $wxUSE_FILE = yes; then
6859 result=no
6860 else
6861 result=yes
6862 fi
6863 else
6864 result=$wxUSE_FILE
6865 fi
6866
6867 { echo "$as_me:$LINENO: result: $result" >&5
6868 echo "${ECHO_T}$result" >&6; }
6869
6870
6871 enablestring=
6872 defaultval=$wxUSE_ALL_FEATURES
6873 if test -z "$defaultval"; then
6874 if test x"$enablestring" = xdisable; then
6875 defaultval=yes
6876 else
6877 defaultval=no
6878 fi
6879 fi
6880
6881 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6882 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6883 # Check whether --enable-filesystem was given.
6884 if test "${enable_filesystem+set}" = set; then
6885 enableval=$enable_filesystem;
6886 if test "$enableval" = yes; then
6887 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6888 else
6889 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6890 fi
6891
6892 else
6893
6894 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6895
6896 fi
6897
6898
6899 eval "$wx_cv_use_filesystem"
6900
6901 if test x"$enablestring" = xdisable; then
6902 if test $wxUSE_FILESYSTEM = yes; then
6903 result=no
6904 else
6905 result=yes
6906 fi
6907 else
6908 result=$wxUSE_FILESYSTEM
6909 fi
6910
6911 { echo "$as_me:$LINENO: result: $result" >&5
6912 echo "${ECHO_T}$result" >&6; }
6913
6914
6915 enablestring=
6916 defaultval=$wxUSE_ALL_FEATURES
6917 if test -z "$defaultval"; then
6918 if test x"$enablestring" = xdisable; then
6919 defaultval=yes
6920 else
6921 defaultval=no
6922 fi
6923 fi
6924
6925 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6926 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6927 # Check whether --enable-fontenum was given.
6928 if test "${enable_fontenum+set}" = set; then
6929 enableval=$enable_fontenum;
6930 if test "$enableval" = yes; then
6931 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6932 else
6933 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6934 fi
6935
6936 else
6937
6938 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6939
6940 fi
6941
6942
6943 eval "$wx_cv_use_fontenum"
6944
6945 if test x"$enablestring" = xdisable; then
6946 if test $wxUSE_FONTENUM = yes; then
6947 result=no
6948 else
6949 result=yes
6950 fi
6951 else
6952 result=$wxUSE_FONTENUM
6953 fi
6954
6955 { echo "$as_me:$LINENO: result: $result" >&5
6956 echo "${ECHO_T}$result" >&6; }
6957
6958
6959 enablestring=
6960 defaultval=$wxUSE_ALL_FEATURES
6961 if test -z "$defaultval"; then
6962 if test x"$enablestring" = xdisable; then
6963 defaultval=yes
6964 else
6965 defaultval=no
6966 fi
6967 fi
6968
6969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6970 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6971 # Check whether --enable-fontmap was given.
6972 if test "${enable_fontmap+set}" = set; then
6973 enableval=$enable_fontmap;
6974 if test "$enableval" = yes; then
6975 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
6976 else
6977 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
6978 fi
6979
6980 else
6981
6982 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6983
6984 fi
6985
6986
6987 eval "$wx_cv_use_fontmap"
6988
6989 if test x"$enablestring" = xdisable; then
6990 if test $wxUSE_FONTMAP = yes; then
6991 result=no
6992 else
6993 result=yes
6994 fi
6995 else
6996 result=$wxUSE_FONTMAP
6997 fi
6998
6999 { echo "$as_me:$LINENO: result: $result" >&5
7000 echo "${ECHO_T}$result" >&6; }
7001
7002
7003 enablestring=
7004 defaultval=$wxUSE_ALL_FEATURES
7005 if test -z "$defaultval"; then
7006 if test x"$enablestring" = xdisable; then
7007 defaultval=yes
7008 else
7009 defaultval=no
7010 fi
7011 fi
7012
7013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7014 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7015 # Check whether --enable-fs_archive was given.
7016 if test "${enable_fs_archive+set}" = set; then
7017 enableval=$enable_fs_archive;
7018 if test "$enableval" = yes; then
7019 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7020 else
7021 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7022 fi
7023
7024 else
7025
7026 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7027
7028 fi
7029
7030
7031 eval "$wx_cv_use_fs_archive"
7032
7033 if test x"$enablestring" = xdisable; then
7034 if test $wxUSE_FS_ARCHIVE = yes; then
7035 result=no
7036 else
7037 result=yes
7038 fi
7039 else
7040 result=$wxUSE_FS_ARCHIVE
7041 fi
7042
7043 { echo "$as_me:$LINENO: result: $result" >&5
7044 echo "${ECHO_T}$result" >&6; }
7045
7046
7047 enablestring=
7048 defaultval=$wxUSE_ALL_FEATURES
7049 if test -z "$defaultval"; then
7050 if test x"$enablestring" = xdisable; then
7051 defaultval=yes
7052 else
7053 defaultval=no
7054 fi
7055 fi
7056
7057 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7058 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7059 # Check whether --enable-fs_inet was given.
7060 if test "${enable_fs_inet+set}" = set; then
7061 enableval=$enable_fs_inet;
7062 if test "$enableval" = yes; then
7063 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7064 else
7065 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7066 fi
7067
7068 else
7069
7070 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7071
7072 fi
7073
7074
7075 eval "$wx_cv_use_fs_inet"
7076
7077 if test x"$enablestring" = xdisable; then
7078 if test $wxUSE_FS_INET = yes; then
7079 result=no
7080 else
7081 result=yes
7082 fi
7083 else
7084 result=$wxUSE_FS_INET
7085 fi
7086
7087 { echo "$as_me:$LINENO: result: $result" >&5
7088 echo "${ECHO_T}$result" >&6; }
7089
7090
7091 enablestring=
7092 defaultval=$wxUSE_ALL_FEATURES
7093 if test -z "$defaultval"; then
7094 if test x"$enablestring" = xdisable; then
7095 defaultval=yes
7096 else
7097 defaultval=no
7098 fi
7099 fi
7100
7101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7102 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7103 # Check whether --enable-fs_zip was given.
7104 if test "${enable_fs_zip+set}" = set; then
7105 enableval=$enable_fs_zip;
7106 if test "$enableval" = yes; then
7107 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7108 else
7109 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7110 fi
7111
7112 else
7113
7114 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7115
7116 fi
7117
7118
7119 eval "$wx_cv_use_fs_zip"
7120
7121 if test x"$enablestring" = xdisable; then
7122 if test $wxUSE_FS_ZIP = yes; then
7123 result=no
7124 else
7125 result=yes
7126 fi
7127 else
7128 result=$wxUSE_FS_ZIP
7129 fi
7130
7131 { echo "$as_me:$LINENO: result: $result" >&5
7132 echo "${ECHO_T}$result" >&6; }
7133
7134
7135 enablestring=
7136 defaultval=$wxUSE_ALL_FEATURES
7137 if test -z "$defaultval"; then
7138 if test x"$enablestring" = xdisable; then
7139 defaultval=yes
7140 else
7141 defaultval=no
7142 fi
7143 fi
7144
7145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7146 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7147 # Check whether --enable-geometry was given.
7148 if test "${enable_geometry+set}" = set; then
7149 enableval=$enable_geometry;
7150 if test "$enableval" = yes; then
7151 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7152 else
7153 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7154 fi
7155
7156 else
7157
7158 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7159
7160 fi
7161
7162
7163 eval "$wx_cv_use_geometry"
7164
7165 if test x"$enablestring" = xdisable; then
7166 if test $wxUSE_GEOMETRY = yes; then
7167 result=no
7168 else
7169 result=yes
7170 fi
7171 else
7172 result=$wxUSE_GEOMETRY
7173 fi
7174
7175 { echo "$as_me:$LINENO: result: $result" >&5
7176 echo "${ECHO_T}$result" >&6; }
7177
7178
7179 enablestring=
7180 defaultval=$wxUSE_ALL_FEATURES
7181 if test -z "$defaultval"; then
7182 if test x"$enablestring" = xdisable; then
7183 defaultval=yes
7184 else
7185 defaultval=no
7186 fi
7187 fi
7188
7189 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7190 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7191 # Check whether --enable-log was given.
7192 if test "${enable_log+set}" = set; then
7193 enableval=$enable_log;
7194 if test "$enableval" = yes; then
7195 wx_cv_use_log='wxUSE_LOG=yes'
7196 else
7197 wx_cv_use_log='wxUSE_LOG=no'
7198 fi
7199
7200 else
7201
7202 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7203
7204 fi
7205
7206
7207 eval "$wx_cv_use_log"
7208
7209 if test x"$enablestring" = xdisable; then
7210 if test $wxUSE_LOG = yes; then
7211 result=no
7212 else
7213 result=yes
7214 fi
7215 else
7216 result=$wxUSE_LOG
7217 fi
7218
7219 { echo "$as_me:$LINENO: result: $result" >&5
7220 echo "${ECHO_T}$result" >&6; }
7221
7222
7223 enablestring=
7224 defaultval=$wxUSE_ALL_FEATURES
7225 if test -z "$defaultval"; then
7226 if test x"$enablestring" = xdisable; then
7227 defaultval=yes
7228 else
7229 defaultval=no
7230 fi
7231 fi
7232
7233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7234 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7235 # Check whether --enable-longlong was given.
7236 if test "${enable_longlong+set}" = set; then
7237 enableval=$enable_longlong;
7238 if test "$enableval" = yes; then
7239 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7240 else
7241 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7242 fi
7243
7244 else
7245
7246 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7247
7248 fi
7249
7250
7251 eval "$wx_cv_use_longlong"
7252
7253 if test x"$enablestring" = xdisable; then
7254 if test $wxUSE_LONGLONG = yes; then
7255 result=no
7256 else
7257 result=yes
7258 fi
7259 else
7260 result=$wxUSE_LONGLONG
7261 fi
7262
7263 { echo "$as_me:$LINENO: result: $result" >&5
7264 echo "${ECHO_T}$result" >&6; }
7265
7266
7267 enablestring=
7268 defaultval=$wxUSE_ALL_FEATURES
7269 if test -z "$defaultval"; then
7270 if test x"$enablestring" = xdisable; then
7271 defaultval=yes
7272 else
7273 defaultval=no
7274 fi
7275 fi
7276
7277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7278 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7279 # Check whether --enable-mimetype was given.
7280 if test "${enable_mimetype+set}" = set; then
7281 enableval=$enable_mimetype;
7282 if test "$enableval" = yes; then
7283 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7284 else
7285 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7286 fi
7287
7288 else
7289
7290 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7291
7292 fi
7293
7294
7295 eval "$wx_cv_use_mimetype"
7296
7297 if test x"$enablestring" = xdisable; then
7298 if test $wxUSE_MIMETYPE = yes; then
7299 result=no
7300 else
7301 result=yes
7302 fi
7303 else
7304 result=$wxUSE_MIMETYPE
7305 fi
7306
7307 { echo "$as_me:$LINENO: result: $result" >&5
7308 echo "${ECHO_T}$result" >&6; }
7309
7310
7311 enablestring=
7312 defaultval=$wxUSE_ALL_FEATURES
7313 if test -z "$defaultval"; then
7314 if test x"$enablestring" = xdisable; then
7315 defaultval=yes
7316 else
7317 defaultval=no
7318 fi
7319 fi
7320
7321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7322 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7323 # Check whether --enable-printfposparam was given.
7324 if test "${enable_printfposparam+set}" = set; then
7325 enableval=$enable_printfposparam;
7326 if test "$enableval" = yes; then
7327 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7328 else
7329 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7330 fi
7331
7332 else
7333
7334 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7335
7336 fi
7337
7338
7339 eval "$wx_cv_use_printfposparam"
7340
7341 if test x"$enablestring" = xdisable; then
7342 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7343 result=no
7344 else
7345 result=yes
7346 fi
7347 else
7348 result=$wxUSE_PRINTF_POS_PARAMS
7349 fi
7350
7351 { echo "$as_me:$LINENO: result: $result" >&5
7352 echo "${ECHO_T}$result" >&6; }
7353
7354
7355 enablestring=
7356 defaultval=$wxUSE_ALL_FEATURES
7357 if test -z "$defaultval"; then
7358 if test x"$enablestring" = xdisable; then
7359 defaultval=yes
7360 else
7361 defaultval=no
7362 fi
7363 fi
7364
7365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7366 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7367 # Check whether --enable-snglinst was given.
7368 if test "${enable_snglinst+set}" = set; then
7369 enableval=$enable_snglinst;
7370 if test "$enableval" = yes; then
7371 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7372 else
7373 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7374 fi
7375
7376 else
7377
7378 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7379
7380 fi
7381
7382
7383 eval "$wx_cv_use_snglinst"
7384
7385 if test x"$enablestring" = xdisable; then
7386 if test $wxUSE_SNGLINST_CHECKER = yes; then
7387 result=no
7388 else
7389 result=yes
7390 fi
7391 else
7392 result=$wxUSE_SNGLINST_CHECKER
7393 fi
7394
7395 { echo "$as_me:$LINENO: result: $result" >&5
7396 echo "${ECHO_T}$result" >&6; }
7397
7398
7399 enablestring=
7400 defaultval=$wxUSE_ALL_FEATURES
7401 if test -z "$defaultval"; then
7402 if test x"$enablestring" = xdisable; then
7403 defaultval=yes
7404 else
7405 defaultval=no
7406 fi
7407 fi
7408
7409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7410 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7411 # Check whether --enable-sound was given.
7412 if test "${enable_sound+set}" = set; then
7413 enableval=$enable_sound;
7414 if test "$enableval" = yes; then
7415 wx_cv_use_sound='wxUSE_SOUND=yes'
7416 else
7417 wx_cv_use_sound='wxUSE_SOUND=no'
7418 fi
7419
7420 else
7421
7422 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7423
7424 fi
7425
7426
7427 eval "$wx_cv_use_sound"
7428
7429 if test x"$enablestring" = xdisable; then
7430 if test $wxUSE_SOUND = yes; then
7431 result=no
7432 else
7433 result=yes
7434 fi
7435 else
7436 result=$wxUSE_SOUND
7437 fi
7438
7439 { echo "$as_me:$LINENO: result: $result" >&5
7440 echo "${ECHO_T}$result" >&6; }
7441
7442
7443 enablestring=
7444 defaultval=$wxUSE_ALL_FEATURES
7445 if test -z "$defaultval"; then
7446 if test x"$enablestring" = xdisable; then
7447 defaultval=yes
7448 else
7449 defaultval=no
7450 fi
7451 fi
7452
7453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7454 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7455 # Check whether --enable-stdpaths was given.
7456 if test "${enable_stdpaths+set}" = set; then
7457 enableval=$enable_stdpaths;
7458 if test "$enableval" = yes; then
7459 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7460 else
7461 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7462 fi
7463
7464 else
7465
7466 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7467
7468 fi
7469
7470
7471 eval "$wx_cv_use_stdpaths"
7472
7473 if test x"$enablestring" = xdisable; then
7474 if test $wxUSE_STDPATHS = yes; then
7475 result=no
7476 else
7477 result=yes
7478 fi
7479 else
7480 result=$wxUSE_STDPATHS
7481 fi
7482
7483 { echo "$as_me:$LINENO: result: $result" >&5
7484 echo "${ECHO_T}$result" >&6; }
7485
7486
7487 enablestring=
7488 defaultval=$wxUSE_ALL_FEATURES
7489 if test -z "$defaultval"; then
7490 if test x"$enablestring" = xdisable; then
7491 defaultval=yes
7492 else
7493 defaultval=no
7494 fi
7495 fi
7496
7497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7498 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7499 # Check whether --enable-stopwatch was given.
7500 if test "${enable_stopwatch+set}" = set; then
7501 enableval=$enable_stopwatch;
7502 if test "$enableval" = yes; then
7503 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7504 else
7505 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7506 fi
7507
7508 else
7509
7510 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7511
7512 fi
7513
7514
7515 eval "$wx_cv_use_stopwatch"
7516
7517 if test x"$enablestring" = xdisable; then
7518 if test $wxUSE_STOPWATCH = yes; then
7519 result=no
7520 else
7521 result=yes
7522 fi
7523 else
7524 result=$wxUSE_STOPWATCH
7525 fi
7526
7527 { echo "$as_me:$LINENO: result: $result" >&5
7528 echo "${ECHO_T}$result" >&6; }
7529
7530
7531 enablestring=
7532 defaultval=$wxUSE_ALL_FEATURES
7533 if test -z "$defaultval"; then
7534 if test x"$enablestring" = xdisable; then
7535 defaultval=yes
7536 else
7537 defaultval=no
7538 fi
7539 fi
7540
7541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7542 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7543 # Check whether --enable-streams was given.
7544 if test "${enable_streams+set}" = set; then
7545 enableval=$enable_streams;
7546 if test "$enableval" = yes; then
7547 wx_cv_use_streams='wxUSE_STREAMS=yes'
7548 else
7549 wx_cv_use_streams='wxUSE_STREAMS=no'
7550 fi
7551
7552 else
7553
7554 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7555
7556 fi
7557
7558
7559 eval "$wx_cv_use_streams"
7560
7561 if test x"$enablestring" = xdisable; then
7562 if test $wxUSE_STREAMS = yes; then
7563 result=no
7564 else
7565 result=yes
7566 fi
7567 else
7568 result=$wxUSE_STREAMS
7569 fi
7570
7571 { echo "$as_me:$LINENO: result: $result" >&5
7572 echo "${ECHO_T}$result" >&6; }
7573
7574
7575 enablestring=
7576 defaultval=$wxUSE_ALL_FEATURES
7577 if test -z "$defaultval"; then
7578 if test x"$enablestring" = xdisable; then
7579 defaultval=yes
7580 else
7581 defaultval=no
7582 fi
7583 fi
7584
7585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7586 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7587 # Check whether --enable-system_options was given.
7588 if test "${enable_system_options+set}" = set; then
7589 enableval=$enable_system_options;
7590 if test "$enableval" = yes; then
7591 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7592 else
7593 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7594 fi
7595
7596 else
7597
7598 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7599
7600 fi
7601
7602
7603 eval "$wx_cv_use_system_options"
7604
7605 if test x"$enablestring" = xdisable; then
7606 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7607 result=no
7608 else
7609 result=yes
7610 fi
7611 else
7612 result=$wxUSE_SYSTEM_OPTIONS
7613 fi
7614
7615 { echo "$as_me:$LINENO: result: $result" >&5
7616 echo "${ECHO_T}$result" >&6; }
7617
7618
7619 enablestring=
7620 defaultval=$wxUSE_ALL_FEATURES
7621 if test -z "$defaultval"; then
7622 if test x"$enablestring" = xdisable; then
7623 defaultval=yes
7624 else
7625 defaultval=no
7626 fi
7627 fi
7628
7629 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7630 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7631 # Check whether --enable-tarstream was given.
7632 if test "${enable_tarstream+set}" = set; then
7633 enableval=$enable_tarstream;
7634 if test "$enableval" = yes; then
7635 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7636 else
7637 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7638 fi
7639
7640 else
7641
7642 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7643
7644 fi
7645
7646
7647 eval "$wx_cv_use_tarstream"
7648
7649 if test x"$enablestring" = xdisable; then
7650 if test $wxUSE_TARSTREAM = yes; then
7651 result=no
7652 else
7653 result=yes
7654 fi
7655 else
7656 result=$wxUSE_TARSTREAM
7657 fi
7658
7659 { echo "$as_me:$LINENO: result: $result" >&5
7660 echo "${ECHO_T}$result" >&6; }
7661
7662
7663 enablestring=
7664 defaultval=$wxUSE_ALL_FEATURES
7665 if test -z "$defaultval"; then
7666 if test x"$enablestring" = xdisable; then
7667 defaultval=yes
7668 else
7669 defaultval=no
7670 fi
7671 fi
7672
7673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7674 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7675 # Check whether --enable-textbuf was given.
7676 if test "${enable_textbuf+set}" = set; then
7677 enableval=$enable_textbuf;
7678 if test "$enableval" = yes; then
7679 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7680 else
7681 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7682 fi
7683
7684 else
7685
7686 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7687
7688 fi
7689
7690
7691 eval "$wx_cv_use_textbuf"
7692
7693 if test x"$enablestring" = xdisable; then
7694 if test $wxUSE_TEXTBUFFER = yes; then
7695 result=no
7696 else
7697 result=yes
7698 fi
7699 else
7700 result=$wxUSE_TEXTBUFFER
7701 fi
7702
7703 { echo "$as_me:$LINENO: result: $result" >&5
7704 echo "${ECHO_T}$result" >&6; }
7705
7706
7707 enablestring=
7708 defaultval=$wxUSE_ALL_FEATURES
7709 if test -z "$defaultval"; then
7710 if test x"$enablestring" = xdisable; then
7711 defaultval=yes
7712 else
7713 defaultval=no
7714 fi
7715 fi
7716
7717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7718 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7719 # Check whether --enable-textfile was given.
7720 if test "${enable_textfile+set}" = set; then
7721 enableval=$enable_textfile;
7722 if test "$enableval" = yes; then
7723 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7724 else
7725 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7726 fi
7727
7728 else
7729
7730 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7731
7732 fi
7733
7734
7735 eval "$wx_cv_use_textfile"
7736
7737 if test x"$enablestring" = xdisable; then
7738 if test $wxUSE_TEXTFILE = yes; then
7739 result=no
7740 else
7741 result=yes
7742 fi
7743 else
7744 result=$wxUSE_TEXTFILE
7745 fi
7746
7747 { echo "$as_me:$LINENO: result: $result" >&5
7748 echo "${ECHO_T}$result" >&6; }
7749
7750
7751 enablestring=
7752 defaultval=$wxUSE_ALL_FEATURES
7753 if test -z "$defaultval"; then
7754 if test x"$enablestring" = xdisable; then
7755 defaultval=yes
7756 else
7757 defaultval=no
7758 fi
7759 fi
7760
7761 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7762 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7763 # Check whether --enable-timer was given.
7764 if test "${enable_timer+set}" = set; then
7765 enableval=$enable_timer;
7766 if test "$enableval" = yes; then
7767 wx_cv_use_timer='wxUSE_TIMER=yes'
7768 else
7769 wx_cv_use_timer='wxUSE_TIMER=no'
7770 fi
7771
7772 else
7773
7774 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7775
7776 fi
7777
7778
7779 eval "$wx_cv_use_timer"
7780
7781 if test x"$enablestring" = xdisable; then
7782 if test $wxUSE_TIMER = yes; then
7783 result=no
7784 else
7785 result=yes
7786 fi
7787 else
7788 result=$wxUSE_TIMER
7789 fi
7790
7791 { echo "$as_me:$LINENO: result: $result" >&5
7792 echo "${ECHO_T}$result" >&6; }
7793
7794
7795 enablestring=
7796 defaultval=$wxUSE_ALL_FEATURES
7797 if test -z "$defaultval"; then
7798 if test x"$enablestring" = xdisable; then
7799 defaultval=yes
7800 else
7801 defaultval=no
7802 fi
7803 fi
7804
7805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7806 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7807 # Check whether --enable-variant was given.
7808 if test "${enable_variant+set}" = set; then
7809 enableval=$enable_variant;
7810 if test "$enableval" = yes; then
7811 wx_cv_use_variant='wxUSE_VARIANT=yes'
7812 else
7813 wx_cv_use_variant='wxUSE_VARIANT=no'
7814 fi
7815
7816 else
7817
7818 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7819
7820 fi
7821
7822
7823 eval "$wx_cv_use_variant"
7824
7825 if test x"$enablestring" = xdisable; then
7826 if test $wxUSE_VARIANT = yes; then
7827 result=no
7828 else
7829 result=yes
7830 fi
7831 else
7832 result=$wxUSE_VARIANT
7833 fi
7834
7835 { echo "$as_me:$LINENO: result: $result" >&5
7836 echo "${ECHO_T}$result" >&6; }
7837
7838
7839 enablestring=
7840 defaultval=$wxUSE_ALL_FEATURES
7841 if test -z "$defaultval"; then
7842 if test x"$enablestring" = xdisable; then
7843 defaultval=yes
7844 else
7845 defaultval=no
7846 fi
7847 fi
7848
7849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7850 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7851 # Check whether --enable-zipstream was given.
7852 if test "${enable_zipstream+set}" = set; then
7853 enableval=$enable_zipstream;
7854 if test "$enableval" = yes; then
7855 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7856 else
7857 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7858 fi
7859
7860 else
7861
7862 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7863
7864 fi
7865
7866
7867 eval "$wx_cv_use_zipstream"
7868
7869 if test x"$enablestring" = xdisable; then
7870 if test $wxUSE_ZIPSTREAM = yes; then
7871 result=no
7872 else
7873 result=yes
7874 fi
7875 else
7876 result=$wxUSE_ZIPSTREAM
7877 fi
7878
7879 { echo "$as_me:$LINENO: result: $result" >&5
7880 echo "${ECHO_T}$result" >&6; }
7881
7882
7883
7884 enablestring=
7885 defaultval=$wxUSE_ALL_FEATURES
7886 if test -z "$defaultval"; then
7887 if test x"$enablestring" = xdisable; then
7888 defaultval=yes
7889 else
7890 defaultval=no
7891 fi
7892 fi
7893
7894 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7895 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7896 # Check whether --enable-url was given.
7897 if test "${enable_url+set}" = set; then
7898 enableval=$enable_url;
7899 if test "$enableval" = yes; then
7900 wx_cv_use_url='wxUSE_URL=yes'
7901 else
7902 wx_cv_use_url='wxUSE_URL=no'
7903 fi
7904
7905 else
7906
7907 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7908
7909 fi
7910
7911
7912 eval "$wx_cv_use_url"
7913
7914 if test x"$enablestring" = xdisable; then
7915 if test $wxUSE_URL = yes; then
7916 result=no
7917 else
7918 result=yes
7919 fi
7920 else
7921 result=$wxUSE_URL
7922 fi
7923
7924 { echo "$as_me:$LINENO: result: $result" >&5
7925 echo "${ECHO_T}$result" >&6; }
7926
7927
7928 enablestring=
7929 defaultval=$wxUSE_ALL_FEATURES
7930 if test -z "$defaultval"; then
7931 if test x"$enablestring" = xdisable; then
7932 defaultval=yes
7933 else
7934 defaultval=no
7935 fi
7936 fi
7937
7938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7939 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7940 # Check whether --enable-protocol was given.
7941 if test "${enable_protocol+set}" = set; then
7942 enableval=$enable_protocol;
7943 if test "$enableval" = yes; then
7944 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
7945 else
7946 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
7947 fi
7948
7949 else
7950
7951 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7952
7953 fi
7954
7955
7956 eval "$wx_cv_use_protocol"
7957
7958 if test x"$enablestring" = xdisable; then
7959 if test $wxUSE_PROTOCOL = yes; then
7960 result=no
7961 else
7962 result=yes
7963 fi
7964 else
7965 result=$wxUSE_PROTOCOL
7966 fi
7967
7968 { echo "$as_me:$LINENO: result: $result" >&5
7969 echo "${ECHO_T}$result" >&6; }
7970
7971
7972 enablestring=
7973 defaultval=$wxUSE_ALL_FEATURES
7974 if test -z "$defaultval"; then
7975 if test x"$enablestring" = xdisable; then
7976 defaultval=yes
7977 else
7978 defaultval=no
7979 fi
7980 fi
7981
7982 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7983 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7984 # Check whether --enable-protocol_http was given.
7985 if test "${enable_protocol_http+set}" = set; then
7986 enableval=$enable_protocol_http;
7987 if test "$enableval" = yes; then
7988 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7989 else
7990 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7991 fi
7992
7993 else
7994
7995 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7996
7997 fi
7998
7999
8000 eval "$wx_cv_use_protocol_http"
8001
8002 if test x"$enablestring" = xdisable; then
8003 if test $wxUSE_PROTOCOL_HTTP = yes; then
8004 result=no
8005 else
8006 result=yes
8007 fi
8008 else
8009 result=$wxUSE_PROTOCOL_HTTP
8010 fi
8011
8012 { echo "$as_me:$LINENO: result: $result" >&5
8013 echo "${ECHO_T}$result" >&6; }
8014
8015
8016 enablestring=
8017 defaultval=$wxUSE_ALL_FEATURES
8018 if test -z "$defaultval"; then
8019 if test x"$enablestring" = xdisable; then
8020 defaultval=yes
8021 else
8022 defaultval=no
8023 fi
8024 fi
8025
8026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8027 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8028 # Check whether --enable-protocol_ftp was given.
8029 if test "${enable_protocol_ftp+set}" = set; then
8030 enableval=$enable_protocol_ftp;
8031 if test "$enableval" = yes; then
8032 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8033 else
8034 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8035 fi
8036
8037 else
8038
8039 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8040
8041 fi
8042
8043
8044 eval "$wx_cv_use_protocol_ftp"
8045
8046 if test x"$enablestring" = xdisable; then
8047 if test $wxUSE_PROTOCOL_FTP = yes; then
8048 result=no
8049 else
8050 result=yes
8051 fi
8052 else
8053 result=$wxUSE_PROTOCOL_FTP
8054 fi
8055
8056 { echo "$as_me:$LINENO: result: $result" >&5
8057 echo "${ECHO_T}$result" >&6; }
8058
8059
8060 enablestring=
8061 defaultval=$wxUSE_ALL_FEATURES
8062 if test -z "$defaultval"; then
8063 if test x"$enablestring" = xdisable; then
8064 defaultval=yes
8065 else
8066 defaultval=no
8067 fi
8068 fi
8069
8070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8071 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8072 # Check whether --enable-protocol_file was given.
8073 if test "${enable_protocol_file+set}" = set; then
8074 enableval=$enable_protocol_file;
8075 if test "$enableval" = yes; then
8076 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8077 else
8078 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8079 fi
8080
8081 else
8082
8083 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8084
8085 fi
8086
8087
8088 eval "$wx_cv_use_protocol_file"
8089
8090 if test x"$enablestring" = xdisable; then
8091 if test $wxUSE_PROTOCOL_FILE = yes; then
8092 result=no
8093 else
8094 result=yes
8095 fi
8096 else
8097 result=$wxUSE_PROTOCOL_FILE
8098 fi
8099
8100 { echo "$as_me:$LINENO: result: $result" >&5
8101 echo "${ECHO_T}$result" >&6; }
8102
8103
8104
8105 enablestring=
8106 defaultval=$wxUSE_ALL_FEATURES
8107 if test -z "$defaultval"; then
8108 if test x"$enablestring" = xdisable; then
8109 defaultval=yes
8110 else
8111 defaultval=no
8112 fi
8113 fi
8114
8115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8116 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8117 # Check whether --enable-threads was given.
8118 if test "${enable_threads+set}" = set; then
8119 enableval=$enable_threads;
8120 if test "$enableval" = yes; then
8121 wx_cv_use_threads='wxUSE_THREADS=yes'
8122 else
8123 wx_cv_use_threads='wxUSE_THREADS=no'
8124 fi
8125
8126 else
8127
8128 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8129
8130 fi
8131
8132
8133 eval "$wx_cv_use_threads"
8134
8135 if test x"$enablestring" = xdisable; then
8136 if test $wxUSE_THREADS = yes; then
8137 result=no
8138 else
8139 result=yes
8140 fi
8141 else
8142 result=$wxUSE_THREADS
8143 fi
8144
8145 { echo "$as_me:$LINENO: result: $result" >&5
8146 echo "${ECHO_T}$result" >&6; }
8147
8148
8149
8150 enablestring=
8151 defaultval=
8152 if test -z "$defaultval"; then
8153 if test x"$enablestring" = xdisable; then
8154 defaultval=yes
8155 else
8156 defaultval=no
8157 fi
8158 fi
8159
8160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8161 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8162 # Check whether --enable-iniconf was given.
8163 if test "${enable_iniconf+set}" = set; then
8164 enableval=$enable_iniconf;
8165 if test "$enableval" = yes; then
8166 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8167 else
8168 wx_cv_use_iniconf='wxUSE_INICONF=no'
8169 fi
8170
8171 else
8172
8173 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8174
8175 fi
8176
8177
8178 eval "$wx_cv_use_iniconf"
8179
8180 if test x"$enablestring" = xdisable; then
8181 if test $wxUSE_INICONF = yes; then
8182 result=no
8183 else
8184 result=yes
8185 fi
8186 else
8187 result=$wxUSE_INICONF
8188 fi
8189
8190 { echo "$as_me:$LINENO: result: $result" >&5
8191 echo "${ECHO_T}$result" >&6; }
8192
8193
8194 enablestring=
8195 defaultval=$wxUSE_ALL_FEATURES
8196 if test -z "$defaultval"; then
8197 if test x"$enablestring" = xdisable; then
8198 defaultval=yes
8199 else
8200 defaultval=no
8201 fi
8202 fi
8203
8204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8205 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8206 # Check whether --enable-regkey was given.
8207 if test "${enable_regkey+set}" = set; then
8208 enableval=$enable_regkey;
8209 if test "$enableval" = yes; then
8210 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8211 else
8212 wx_cv_use_regkey='wxUSE_REGKEY=no'
8213 fi
8214
8215 else
8216
8217 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8218
8219 fi
8220
8221
8222 eval "$wx_cv_use_regkey"
8223
8224 if test x"$enablestring" = xdisable; then
8225 if test $wxUSE_REGKEY = yes; then
8226 result=no
8227 else
8228 result=yes
8229 fi
8230 else
8231 result=$wxUSE_REGKEY
8232 fi
8233
8234 { echo "$as_me:$LINENO: result: $result" >&5
8235 echo "${ECHO_T}$result" >&6; }
8236
8237
8238 if test "$wxUSE_GUI" = "yes"; then
8239
8240
8241
8242 enablestring=
8243 defaultval=$wxUSE_ALL_FEATURES
8244 if test -z "$defaultval"; then
8245 if test x"$enablestring" = xdisable; then
8246 defaultval=yes
8247 else
8248 defaultval=no
8249 fi
8250 fi
8251
8252 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8253 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8254 # Check whether --enable-docview was given.
8255 if test "${enable_docview+set}" = set; then
8256 enableval=$enable_docview;
8257 if test "$enableval" = yes; then
8258 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8259 else
8260 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8261 fi
8262
8263 else
8264
8265 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8266
8267 fi
8268
8269
8270 eval "$wx_cv_use_docview"
8271
8272 if test x"$enablestring" = xdisable; then
8273 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8274 result=no
8275 else
8276 result=yes
8277 fi
8278 else
8279 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8280 fi
8281
8282 { echo "$as_me:$LINENO: result: $result" >&5
8283 echo "${ECHO_T}$result" >&6; }
8284
8285
8286 enablestring=
8287 defaultval=$wxUSE_ALL_FEATURES
8288 if test -z "$defaultval"; then
8289 if test x"$enablestring" = xdisable; then
8290 defaultval=yes
8291 else
8292 defaultval=no
8293 fi
8294 fi
8295
8296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8297 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8298 # Check whether --enable-help was given.
8299 if test "${enable_help+set}" = set; then
8300 enableval=$enable_help;
8301 if test "$enableval" = yes; then
8302 wx_cv_use_help='wxUSE_HELP=yes'
8303 else
8304 wx_cv_use_help='wxUSE_HELP=no'
8305 fi
8306
8307 else
8308
8309 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8310
8311 fi
8312
8313
8314 eval "$wx_cv_use_help"
8315
8316 if test x"$enablestring" = xdisable; then
8317 if test $wxUSE_HELP = yes; then
8318 result=no
8319 else
8320 result=yes
8321 fi
8322 else
8323 result=$wxUSE_HELP
8324 fi
8325
8326 { echo "$as_me:$LINENO: result: $result" >&5
8327 echo "${ECHO_T}$result" >&6; }
8328
8329
8330 enablestring=
8331 defaultval=$wxUSE_ALL_FEATURES
8332 if test -z "$defaultval"; then
8333 if test x"$enablestring" = xdisable; then
8334 defaultval=yes
8335 else
8336 defaultval=no
8337 fi
8338 fi
8339
8340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8341 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8342 # Check whether --enable-mshtmlhelp was given.
8343 if test "${enable_mshtmlhelp+set}" = set; then
8344 enableval=$enable_mshtmlhelp;
8345 if test "$enableval" = yes; then
8346 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8347 else
8348 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8349 fi
8350
8351 else
8352
8353 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8354
8355 fi
8356
8357
8358 eval "$wx_cv_use_mshtmlhelp"
8359
8360 if test x"$enablestring" = xdisable; then
8361 if test $wxUSE_MS_HTML_HELP = yes; then
8362 result=no
8363 else
8364 result=yes
8365 fi
8366 else
8367 result=$wxUSE_MS_HTML_HELP
8368 fi
8369
8370 { echo "$as_me:$LINENO: result: $result" >&5
8371 echo "${ECHO_T}$result" >&6; }
8372
8373
8374 enablestring=
8375 defaultval=$wxUSE_ALL_FEATURES
8376 if test -z "$defaultval"; then
8377 if test x"$enablestring" = xdisable; then
8378 defaultval=yes
8379 else
8380 defaultval=no
8381 fi
8382 fi
8383
8384 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8385 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8386 # Check whether --enable-html was given.
8387 if test "${enable_html+set}" = set; then
8388 enableval=$enable_html;
8389 if test "$enableval" = yes; then
8390 wx_cv_use_html='wxUSE_HTML=yes'
8391 else
8392 wx_cv_use_html='wxUSE_HTML=no'
8393 fi
8394
8395 else
8396
8397 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8398
8399 fi
8400
8401
8402 eval "$wx_cv_use_html"
8403
8404 if test x"$enablestring" = xdisable; then
8405 if test $wxUSE_HTML = yes; then
8406 result=no
8407 else
8408 result=yes
8409 fi
8410 else
8411 result=$wxUSE_HTML
8412 fi
8413
8414 { echo "$as_me:$LINENO: result: $result" >&5
8415 echo "${ECHO_T}$result" >&6; }
8416
8417
8418 enablestring=
8419 defaultval=$wxUSE_ALL_FEATURES
8420 if test -z "$defaultval"; then
8421 if test x"$enablestring" = xdisable; then
8422 defaultval=yes
8423 else
8424 defaultval=no
8425 fi
8426 fi
8427
8428 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8429 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8430 # Check whether --enable-htmlhelp was given.
8431 if test "${enable_htmlhelp+set}" = set; then
8432 enableval=$enable_htmlhelp;
8433 if test "$enableval" = yes; then
8434 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8435 else
8436 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8437 fi
8438
8439 else
8440
8441 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8442
8443 fi
8444
8445
8446 eval "$wx_cv_use_htmlhelp"
8447
8448 if test x"$enablestring" = xdisable; then
8449 if test $wxUSE_WXHTML_HELP = yes; then
8450 result=no
8451 else
8452 result=yes
8453 fi
8454 else
8455 result=$wxUSE_WXHTML_HELP
8456 fi
8457
8458 { echo "$as_me:$LINENO: result: $result" >&5
8459 echo "${ECHO_T}$result" >&6; }
8460
8461
8462 enablestring=
8463 defaultval=$wxUSE_ALL_FEATURES
8464 if test -z "$defaultval"; then
8465 if test x"$enablestring" = xdisable; then
8466 defaultval=yes
8467 else
8468 defaultval=no
8469 fi
8470 fi
8471
8472 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8473 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8474 # Check whether --enable-xrc was given.
8475 if test "${enable_xrc+set}" = set; then
8476 enableval=$enable_xrc;
8477 if test "$enableval" = yes; then
8478 wx_cv_use_xrc='wxUSE_XRC=yes'
8479 else
8480 wx_cv_use_xrc='wxUSE_XRC=no'
8481 fi
8482
8483 else
8484
8485 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8486
8487 fi
8488
8489
8490 eval "$wx_cv_use_xrc"
8491
8492 if test x"$enablestring" = xdisable; then
8493 if test $wxUSE_XRC = yes; then
8494 result=no
8495 else
8496 result=yes
8497 fi
8498 else
8499 result=$wxUSE_XRC
8500 fi
8501
8502 { echo "$as_me:$LINENO: result: $result" >&5
8503 echo "${ECHO_T}$result" >&6; }
8504
8505
8506 enablestring=
8507 defaultval=$wxUSE_ALL_FEATURES
8508 if test -z "$defaultval"; then
8509 if test x"$enablestring" = xdisable; then
8510 defaultval=yes
8511 else
8512 defaultval=no
8513 fi
8514 fi
8515
8516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8517 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8518 # Check whether --enable-aui was given.
8519 if test "${enable_aui+set}" = set; then
8520 enableval=$enable_aui;
8521 if test "$enableval" = yes; then
8522 wx_cv_use_aui='wxUSE_AUI=yes'
8523 else
8524 wx_cv_use_aui='wxUSE_AUI=no'
8525 fi
8526
8527 else
8528
8529 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8530
8531 fi
8532
8533
8534 eval "$wx_cv_use_aui"
8535
8536 if test x"$enablestring" = xdisable; then
8537 if test $wxUSE_AUI = yes; then
8538 result=no
8539 else
8540 result=yes
8541 fi
8542 else
8543 result=$wxUSE_AUI
8544 fi
8545
8546 { echo "$as_me:$LINENO: result: $result" >&5
8547 echo "${ECHO_T}$result" >&6; }
8548
8549
8550 enablestring=
8551 defaultval=$wxUSE_ALL_FEATURES
8552 if test -z "$defaultval"; then
8553 if test x"$enablestring" = xdisable; then
8554 defaultval=yes
8555 else
8556 defaultval=no
8557 fi
8558 fi
8559
8560 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8561 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8562 # Check whether --enable-propgrid was given.
8563 if test "${enable_propgrid+set}" = set; then
8564 enableval=$enable_propgrid;
8565 if test "$enableval" = yes; then
8566 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8567 else
8568 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8569 fi
8570
8571 else
8572
8573 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8574
8575 fi
8576
8577
8578 eval "$wx_cv_use_propgrid"
8579
8580 if test x"$enablestring" = xdisable; then
8581 if test $wxUSE_PROPGRID = yes; then
8582 result=no
8583 else
8584 result=yes
8585 fi
8586 else
8587 result=$wxUSE_PROPGRID
8588 fi
8589
8590 { echo "$as_me:$LINENO: result: $result" >&5
8591 echo "${ECHO_T}$result" >&6; }
8592
8593
8594 enablestring=
8595 defaultval=$wxUSE_ALL_FEATURES
8596 if test -z "$defaultval"; then
8597 if test x"$enablestring" = xdisable; then
8598 defaultval=yes
8599 else
8600 defaultval=no
8601 fi
8602 fi
8603
8604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8605 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8606 # Check whether --enable-stc was given.
8607 if test "${enable_stc+set}" = set; then
8608 enableval=$enable_stc;
8609 if test "$enableval" = yes; then
8610 wx_cv_use_stc='wxUSE_STC=yes'
8611 else
8612 wx_cv_use_stc='wxUSE_STC=no'
8613 fi
8614
8615 else
8616
8617 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8618
8619 fi
8620
8621
8622 eval "$wx_cv_use_stc"
8623
8624 if test x"$enablestring" = xdisable; then
8625 if test $wxUSE_STC = yes; then
8626 result=no
8627 else
8628 result=yes
8629 fi
8630 else
8631 result=$wxUSE_STC
8632 fi
8633
8634 { echo "$as_me:$LINENO: result: $result" >&5
8635 echo "${ECHO_T}$result" >&6; }
8636
8637
8638 enablestring=
8639 defaultval=$wxUSE_ALL_FEATURES
8640 if test -z "$defaultval"; then
8641 if test x"$enablestring" = xdisable; then
8642 defaultval=yes
8643 else
8644 defaultval=no
8645 fi
8646 fi
8647
8648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8649 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8650 # Check whether --enable-constraints was given.
8651 if test "${enable_constraints+set}" = set; then
8652 enableval=$enable_constraints;
8653 if test "$enableval" = yes; then
8654 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8655 else
8656 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8657 fi
8658
8659 else
8660
8661 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8662
8663 fi
8664
8665
8666 eval "$wx_cv_use_constraints"
8667
8668 if test x"$enablestring" = xdisable; then
8669 if test $wxUSE_CONSTRAINTS = yes; then
8670 result=no
8671 else
8672 result=yes
8673 fi
8674 else
8675 result=$wxUSE_CONSTRAINTS
8676 fi
8677
8678 { echo "$as_me:$LINENO: result: $result" >&5
8679 echo "${ECHO_T}$result" >&6; }
8680
8681
8682 enablestring=
8683 defaultval=$wxUSE_ALL_FEATURES
8684 if test -z "$defaultval"; then
8685 if test x"$enablestring" = xdisable; then
8686 defaultval=yes
8687 else
8688 defaultval=no
8689 fi
8690 fi
8691
8692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8693 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8694 # Check whether --enable-loggui was given.
8695 if test "${enable_loggui+set}" = set; then
8696 enableval=$enable_loggui;
8697 if test "$enableval" = yes; then
8698 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8699 else
8700 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8701 fi
8702
8703 else
8704
8705 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8706
8707 fi
8708
8709
8710 eval "$wx_cv_use_loggui"
8711
8712 if test x"$enablestring" = xdisable; then
8713 if test $wxUSE_LOGGUI = yes; then
8714 result=no
8715 else
8716 result=yes
8717 fi
8718 else
8719 result=$wxUSE_LOGGUI
8720 fi
8721
8722 { echo "$as_me:$LINENO: result: $result" >&5
8723 echo "${ECHO_T}$result" >&6; }
8724
8725
8726 enablestring=
8727 defaultval=$wxUSE_ALL_FEATURES
8728 if test -z "$defaultval"; then
8729 if test x"$enablestring" = xdisable; then
8730 defaultval=yes
8731 else
8732 defaultval=no
8733 fi
8734 fi
8735
8736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8737 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8738 # Check whether --enable-logwin was given.
8739 if test "${enable_logwin+set}" = set; then
8740 enableval=$enable_logwin;
8741 if test "$enableval" = yes; then
8742 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8743 else
8744 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8745 fi
8746
8747 else
8748
8749 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8750
8751 fi
8752
8753
8754 eval "$wx_cv_use_logwin"
8755
8756 if test x"$enablestring" = xdisable; then
8757 if test $wxUSE_LOGWINDOW = yes; then
8758 result=no
8759 else
8760 result=yes
8761 fi
8762 else
8763 result=$wxUSE_LOGWINDOW
8764 fi
8765
8766 { echo "$as_me:$LINENO: result: $result" >&5
8767 echo "${ECHO_T}$result" >&6; }
8768
8769
8770 enablestring=
8771 defaultval=$wxUSE_ALL_FEATURES
8772 if test -z "$defaultval"; then
8773 if test x"$enablestring" = xdisable; then
8774 defaultval=yes
8775 else
8776 defaultval=no
8777 fi
8778 fi
8779
8780 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8781 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8782 # Check whether --enable-logdialog was given.
8783 if test "${enable_logdialog+set}" = set; then
8784 enableval=$enable_logdialog;
8785 if test "$enableval" = yes; then
8786 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8787 else
8788 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8789 fi
8790
8791 else
8792
8793 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8794
8795 fi
8796
8797
8798 eval "$wx_cv_use_logdialog"
8799
8800 if test x"$enablestring" = xdisable; then
8801 if test $wxUSE_LOGDIALOG = yes; then
8802 result=no
8803 else
8804 result=yes
8805 fi
8806 else
8807 result=$wxUSE_LOGDIALOG
8808 fi
8809
8810 { echo "$as_me:$LINENO: result: $result" >&5
8811 echo "${ECHO_T}$result" >&6; }
8812
8813
8814 enablestring=
8815 defaultval=$wxUSE_ALL_FEATURES
8816 if test -z "$defaultval"; then
8817 if test x"$enablestring" = xdisable; then
8818 defaultval=yes
8819 else
8820 defaultval=no
8821 fi
8822 fi
8823
8824 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8825 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8826 # Check whether --enable-mdi was given.
8827 if test "${enable_mdi+set}" = set; then
8828 enableval=$enable_mdi;
8829 if test "$enableval" = yes; then
8830 wx_cv_use_mdi='wxUSE_MDI=yes'
8831 else
8832 wx_cv_use_mdi='wxUSE_MDI=no'
8833 fi
8834
8835 else
8836
8837 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8838
8839 fi
8840
8841
8842 eval "$wx_cv_use_mdi"
8843
8844 if test x"$enablestring" = xdisable; then
8845 if test $wxUSE_MDI = yes; then
8846 result=no
8847 else
8848 result=yes
8849 fi
8850 else
8851 result=$wxUSE_MDI
8852 fi
8853
8854 { echo "$as_me:$LINENO: result: $result" >&5
8855 echo "${ECHO_T}$result" >&6; }
8856
8857
8858 enablestring=
8859 defaultval=$wxUSE_ALL_FEATURES
8860 if test -z "$defaultval"; then
8861 if test x"$enablestring" = xdisable; then
8862 defaultval=yes
8863 else
8864 defaultval=no
8865 fi
8866 fi
8867
8868 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8869 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8870 # Check whether --enable-mdidoc was given.
8871 if test "${enable_mdidoc+set}" = set; then
8872 enableval=$enable_mdidoc;
8873 if test "$enableval" = yes; then
8874 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8875 else
8876 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8877 fi
8878
8879 else
8880
8881 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8882
8883 fi
8884
8885
8886 eval "$wx_cv_use_mdidoc"
8887
8888 if test x"$enablestring" = xdisable; then
8889 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8890 result=no
8891 else
8892 result=yes
8893 fi
8894 else
8895 result=$wxUSE_MDI_ARCHITECTURE
8896 fi
8897
8898 { echo "$as_me:$LINENO: result: $result" >&5
8899 echo "${ECHO_T}$result" >&6; }
8900
8901
8902 enablestring=
8903 defaultval=$wxUSE_ALL_FEATURES
8904 if test -z "$defaultval"; then
8905 if test x"$enablestring" = xdisable; then
8906 defaultval=yes
8907 else
8908 defaultval=no
8909 fi
8910 fi
8911
8912 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8913 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8914 # Check whether --enable-mediactrl was given.
8915 if test "${enable_mediactrl+set}" = set; then
8916 enableval=$enable_mediactrl;
8917 if test "$enableval" = yes; then
8918 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8919 else
8920 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8921 fi
8922
8923 else
8924
8925 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8926
8927 fi
8928
8929
8930 eval "$wx_cv_use_mediactrl"
8931
8932 if test x"$enablestring" = xdisable; then
8933 if test $wxUSE_MEDIACTRL = yes; then
8934 result=no
8935 else
8936 result=yes
8937 fi
8938 else
8939 result=$wxUSE_MEDIACTRL
8940 fi
8941
8942 { echo "$as_me:$LINENO: result: $result" >&5
8943 echo "${ECHO_T}$result" >&6; }
8944
8945
8946 enablestring=
8947 defaultval=$wxUSE_ALL_FEATURES
8948 if test -z "$defaultval"; then
8949 if test x"$enablestring" = xdisable; then
8950 defaultval=yes
8951 else
8952 defaultval=no
8953 fi
8954 fi
8955
8956 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8957 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8958 # Check whether --enable-gstreamer8 was given.
8959 if test "${enable_gstreamer8+set}" = set; then
8960 enableval=$enable_gstreamer8;
8961 if test "$enableval" = yes; then
8962 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8963 else
8964 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8965 fi
8966
8967 else
8968
8969 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8970
8971 fi
8972
8973
8974 eval "$wx_cv_use_gstreamer8"
8975
8976 if test x"$enablestring" = xdisable; then
8977 if test $wxUSE_GSTREAMER8 = yes; then
8978 result=no
8979 else
8980 result=yes
8981 fi
8982 else
8983 result=$wxUSE_GSTREAMER8
8984 fi
8985
8986 { echo "$as_me:$LINENO: result: $result" >&5
8987 echo "${ECHO_T}$result" >&6; }
8988
8989
8990 enablestring=
8991 defaultval=$wxUSE_ALL_FEATURES
8992 if test -z "$defaultval"; then
8993 if test x"$enablestring" = xdisable; then
8994 defaultval=yes
8995 else
8996 defaultval=no
8997 fi
8998 fi
8999
9000 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9001 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9002 # Check whether --enable-webkit was given.
9003 if test "${enable_webkit+set}" = set; then
9004 enableval=$enable_webkit;
9005 if test "$enableval" = yes; then
9006 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9007 else
9008 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9009 fi
9010
9011 else
9012
9013 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9014
9015 fi
9016
9017
9018 eval "$wx_cv_use_webkit"
9019
9020 if test x"$enablestring" = xdisable; then
9021 if test $wxUSE_WEBKIT = yes; then
9022 result=no
9023 else
9024 result=yes
9025 fi
9026 else
9027 result=$wxUSE_WEBKIT
9028 fi
9029
9030 { echo "$as_me:$LINENO: result: $result" >&5
9031 echo "${ECHO_T}$result" >&6; }
9032
9033
9034 enablestring=
9035 defaultval=$wxUSE_ALL_FEATURES
9036 if test -z "$defaultval"; then
9037 if test x"$enablestring" = xdisable; then
9038 defaultval=yes
9039 else
9040 defaultval=no
9041 fi
9042 fi
9043
9044 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9045 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9046 # Check whether --enable-richtext was given.
9047 if test "${enable_richtext+set}" = set; then
9048 enableval=$enable_richtext;
9049 if test "$enableval" = yes; then
9050 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9051 else
9052 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9053 fi
9054
9055 else
9056
9057 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9058
9059 fi
9060
9061
9062 eval "$wx_cv_use_richtext"
9063
9064 if test x"$enablestring" = xdisable; then
9065 if test $wxUSE_RICHTEXT = yes; then
9066 result=no
9067 else
9068 result=yes
9069 fi
9070 else
9071 result=$wxUSE_RICHTEXT
9072 fi
9073
9074 { echo "$as_me:$LINENO: result: $result" >&5
9075 echo "${ECHO_T}$result" >&6; }
9076
9077
9078 enablestring=
9079 defaultval=$wxUSE_ALL_FEATURES
9080 if test -z "$defaultval"; then
9081 if test x"$enablestring" = xdisable; then
9082 defaultval=yes
9083 else
9084 defaultval=no
9085 fi
9086 fi
9087
9088 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9089 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9090 # Check whether --enable-graphics_ctx was given.
9091 if test "${enable_graphics_ctx+set}" = set; then
9092 enableval=$enable_graphics_ctx;
9093 if test "$enableval" = yes; then
9094 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9095 else
9096 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9097 fi
9098
9099 else
9100
9101 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9102
9103 fi
9104
9105
9106 eval "$wx_cv_use_graphics_ctx"
9107
9108 if test x"$enablestring" = xdisable; then
9109 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9110 result=no
9111 else
9112 result=yes
9113 fi
9114 else
9115 result=$wxUSE_GRAPHICS_CONTEXT
9116 fi
9117
9118 { echo "$as_me:$LINENO: result: $result" >&5
9119 echo "${ECHO_T}$result" >&6; }
9120
9121
9122 enablestring=
9123 defaultval=$wxUSE_ALL_FEATURES
9124 if test -z "$defaultval"; then
9125 if test x"$enablestring" = xdisable; then
9126 defaultval=yes
9127 else
9128 defaultval=no
9129 fi
9130 fi
9131
9132 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9133 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9134 # Check whether --enable-postscript was given.
9135 if test "${enable_postscript+set}" = set; then
9136 enableval=$enable_postscript;
9137 if test "$enableval" = yes; then
9138 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9139 else
9140 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9141 fi
9142
9143 else
9144
9145 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9146
9147 fi
9148
9149
9150 eval "$wx_cv_use_postscript"
9151
9152 if test x"$enablestring" = xdisable; then
9153 if test $wxUSE_POSTSCRIPT = yes; then
9154 result=no
9155 else
9156 result=yes
9157 fi
9158 else
9159 result=$wxUSE_POSTSCRIPT
9160 fi
9161
9162 { echo "$as_me:$LINENO: result: $result" >&5
9163 echo "${ECHO_T}$result" >&6; }
9164
9165
9166 enablestring=
9167 defaultval=$wxUSE_ALL_FEATURES
9168 if test -z "$defaultval"; then
9169 if test x"$enablestring" = xdisable; then
9170 defaultval=yes
9171 else
9172 defaultval=no
9173 fi
9174 fi
9175
9176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9177 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9178 # Check whether --enable-printarch was given.
9179 if test "${enable_printarch+set}" = set; then
9180 enableval=$enable_printarch;
9181 if test "$enableval" = yes; then
9182 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9183 else
9184 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9185 fi
9186
9187 else
9188
9189 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9190
9191 fi
9192
9193
9194 eval "$wx_cv_use_printarch"
9195
9196 if test x"$enablestring" = xdisable; then
9197 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9198 result=no
9199 else
9200 result=yes
9201 fi
9202 else
9203 result=$wxUSE_PRINTING_ARCHITECTURE
9204 fi
9205
9206 { echo "$as_me:$LINENO: result: $result" >&5
9207 echo "${ECHO_T}$result" >&6; }
9208
9209
9210 enablestring=
9211 defaultval=$wxUSE_ALL_FEATURES
9212 if test -z "$defaultval"; then
9213 if test x"$enablestring" = xdisable; then
9214 defaultval=yes
9215 else
9216 defaultval=no
9217 fi
9218 fi
9219
9220 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9221 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9222 # Check whether --enable-svg was given.
9223 if test "${enable_svg+set}" = set; then
9224 enableval=$enable_svg;
9225 if test "$enableval" = yes; then
9226 wx_cv_use_svg='wxUSE_SVG=yes'
9227 else
9228 wx_cv_use_svg='wxUSE_SVG=no'
9229 fi
9230
9231 else
9232
9233 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9234
9235 fi
9236
9237
9238 eval "$wx_cv_use_svg"
9239
9240 if test x"$enablestring" = xdisable; then
9241 if test $wxUSE_SVG = yes; then
9242 result=no
9243 else
9244 result=yes
9245 fi
9246 else
9247 result=$wxUSE_SVG
9248 fi
9249
9250 { echo "$as_me:$LINENO: result: $result" >&5
9251 echo "${ECHO_T}$result" >&6; }
9252
9253
9254
9255
9256 enablestring=
9257 defaultval=$wxUSE_ALL_FEATURES
9258 if test -z "$defaultval"; then
9259 if test x"$enablestring" = xdisable; then
9260 defaultval=yes
9261 else
9262 defaultval=no
9263 fi
9264 fi
9265
9266 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9267 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9268 # Check whether --enable-clipboard was given.
9269 if test "${enable_clipboard+set}" = set; then
9270 enableval=$enable_clipboard;
9271 if test "$enableval" = yes; then
9272 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9273 else
9274 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9275 fi
9276
9277 else
9278
9279 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9280
9281 fi
9282
9283
9284 eval "$wx_cv_use_clipboard"
9285
9286 if test x"$enablestring" = xdisable; then
9287 if test $wxUSE_CLIPBOARD = yes; then
9288 result=no
9289 else
9290 result=yes
9291 fi
9292 else
9293 result=$wxUSE_CLIPBOARD
9294 fi
9295
9296 { echo "$as_me:$LINENO: result: $result" >&5
9297 echo "${ECHO_T}$result" >&6; }
9298
9299
9300 enablestring=
9301 defaultval=$wxUSE_ALL_FEATURES
9302 if test -z "$defaultval"; then
9303 if test x"$enablestring" = xdisable; then
9304 defaultval=yes
9305 else
9306 defaultval=no
9307 fi
9308 fi
9309
9310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9311 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9312 # Check whether --enable-dnd was given.
9313 if test "${enable_dnd+set}" = set; then
9314 enableval=$enable_dnd;
9315 if test "$enableval" = yes; then
9316 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9317 else
9318 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9319 fi
9320
9321 else
9322
9323 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9324
9325 fi
9326
9327
9328 eval "$wx_cv_use_dnd"
9329
9330 if test x"$enablestring" = xdisable; then
9331 if test $wxUSE_DRAG_AND_DROP = yes; then
9332 result=no
9333 else
9334 result=yes
9335 fi
9336 else
9337 result=$wxUSE_DRAG_AND_DROP
9338 fi
9339
9340 { echo "$as_me:$LINENO: result: $result" >&5
9341 echo "${ECHO_T}$result" >&6; }
9342
9343
9344 enablestring=
9345 defaultval=$wxUSE_ALL_FEATURES
9346 if test -z "$defaultval"; then
9347 if test x"$enablestring" = xdisable; then
9348 defaultval=yes
9349 else
9350 defaultval=no
9351 fi
9352 fi
9353
9354 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9355 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9356 # Check whether --enable-metafile was given.
9357 if test "${enable_metafile+set}" = set; then
9358 enableval=$enable_metafile;
9359 if test "$enableval" = yes; then
9360 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9361 else
9362 wx_cv_use_metafile='wxUSE_METAFILE=no'
9363 fi
9364
9365 else
9366
9367 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9368
9369 fi
9370
9371
9372 eval "$wx_cv_use_metafile"
9373
9374 if test x"$enablestring" = xdisable; then
9375 if test $wxUSE_METAFILE = yes; then
9376 result=no
9377 else
9378 result=yes
9379 fi
9380 else
9381 result=$wxUSE_METAFILE
9382 fi
9383
9384 { echo "$as_me:$LINENO: result: $result" >&5
9385 echo "${ECHO_T}$result" >&6; }
9386
9387
9388
9389 DEFAULT_wxUSE_CONTROLS=none
9390
9391 enablestring=disable
9392 defaultval=
9393 if test -z "$defaultval"; then
9394 if test x"$enablestring" = xdisable; then
9395 defaultval=yes
9396 else
9397 defaultval=no
9398 fi
9399 fi
9400
9401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9402 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9403 # Check whether --enable-controls was given.
9404 if test "${enable_controls+set}" = set; then
9405 enableval=$enable_controls;
9406 if test "$enableval" = yes; then
9407 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9408 else
9409 wx_cv_use_controls='wxUSE_CONTROLS=no'
9410 fi
9411
9412 else
9413
9414 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9415
9416 fi
9417
9418
9419 eval "$wx_cv_use_controls"
9420
9421 if test x"$enablestring" = xdisable; then
9422 if test $wxUSE_CONTROLS = yes; then
9423 result=no
9424 else
9425 result=yes
9426 fi
9427 else
9428 result=$wxUSE_CONTROLS
9429 fi
9430
9431 { echo "$as_me:$LINENO: result: $result" >&5
9432 echo "${ECHO_T}$result" >&6; }
9433
9434
9435 if test "$wxUSE_CONTROLS" = "no"; then
9436 DEFAULT_wxUSE_ACCEL=no
9437 DEFAULT_wxUSE_ANIMATIONCTRL=no
9438 DEFAULT_wxUSE_BMPBUTTON=no
9439 DEFAULT_wxUSE_BUTTON=no
9440 DEFAULT_wxUSE_CALCTRL=no
9441 DEFAULT_wxUSE_CARET=no
9442 DEFAULT_wxUSE_CHECKBOX=no
9443 DEFAULT_wxUSE_CHECKLISTBOX=no
9444 DEFAULT_wxUSE_CHOICE=no
9445 DEFAULT_wxUSE_CHOICEBOOK=no
9446 DEFAULT_wxUSE_COLLPANE=no
9447 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9448 DEFAULT_wxUSE_COMBOBOX=no
9449 DEFAULT_wxUSE_COMBOBOX=no
9450 DEFAULT_wxUSE_DATAVIEWCTRL=no
9451 DEFAULT_wxUSE_DATEPICKCTRL=no
9452 DEFAULT_wxUSE_DETECT_SM=no
9453 DEFAULT_wxUSE_DIRPICKERCTRL=no
9454 DEFAULT_wxUSE_DISPLAY=no
9455 DEFAULT_wxUSE_FILECTRL=no
9456 DEFAULT_wxUSE_FILEPICKERCTRL=no
9457 DEFAULT_wxUSE_FONTPICKERCTRL=no
9458 DEFAULT_wxUSE_GAUGE=no
9459 DEFAULT_wxUSE_GRID=no
9460 DEFAULT_wxUSE_HEADERCTRL=no
9461 DEFAULT_wxUSE_HYPERLINKCTRL=no
9462 DEFAULT_wxUSE_IMAGLIST=no
9463 DEFAULT_wxUSE_LISTBOOK=no
9464 DEFAULT_wxUSE_LISTBOX=no
9465 DEFAULT_wxUSE_LISTCTRL=no
9466 DEFAULT_wxUSE_NOTEBOOK=no
9467 DEFAULT_wxUSE_POPUPWIN=no
9468 DEFAULT_wxUSE_RADIOBOX=no
9469 DEFAULT_wxUSE_RADIOBTN=no
9470 DEFAULT_wxUSE_REARRANGECTRL=no
9471 DEFAULT_wxUSE_SASH=no
9472 DEFAULT_wxUSE_SCROLLBAR=no
9473 DEFAULT_wxUSE_SEARCHCTRL=no
9474 DEFAULT_wxUSE_SLIDER=no
9475 DEFAULT_wxUSE_SPINBTN=no
9476 DEFAULT_wxUSE_SPINCTRL=no
9477 DEFAULT_wxUSE_SPLITTER=no
9478 DEFAULT_wxUSE_STATBMP=no
9479 DEFAULT_wxUSE_STATBOX=no
9480 DEFAULT_wxUSE_STATLINE=no
9481 DEFAULT_wxUSE_STATUSBAR=no
9482 DEFAULT_wxUSE_TIPWINDOW=no
9483 DEFAULT_wxUSE_TOGGLEBTN=no
9484 DEFAULT_wxUSE_TOOLBAR=no
9485 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9486 DEFAULT_wxUSE_TOOLBOOK=no
9487 DEFAULT_wxUSE_TOOLTIPS=no
9488 DEFAULT_wxUSE_TREEBOOK=no
9489 DEFAULT_wxUSE_TREECTRL=no
9490 fi
9491
9492
9493 enablestring=
9494 defaultval=$wxUSE_ALL_FEATURES
9495 if test -z "$defaultval"; then
9496 if test x"$enablestring" = xdisable; then
9497 defaultval=yes
9498 else
9499 defaultval=no
9500 fi
9501 fi
9502
9503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9504 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9505 # Check whether --enable-accel was given.
9506 if test "${enable_accel+set}" = set; then
9507 enableval=$enable_accel;
9508 if test "$enableval" = yes; then
9509 wx_cv_use_accel='wxUSE_ACCEL=yes'
9510 else
9511 wx_cv_use_accel='wxUSE_ACCEL=no'
9512 fi
9513
9514 else
9515
9516 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9517
9518 fi
9519
9520
9521 eval "$wx_cv_use_accel"
9522
9523 if test x"$enablestring" = xdisable; then
9524 if test $wxUSE_ACCEL = yes; then
9525 result=no
9526 else
9527 result=yes
9528 fi
9529 else
9530 result=$wxUSE_ACCEL
9531 fi
9532
9533 { echo "$as_me:$LINENO: result: $result" >&5
9534 echo "${ECHO_T}$result" >&6; }
9535
9536
9537 enablestring=
9538 defaultval=$wxUSE_ALL_FEATURES
9539 if test -z "$defaultval"; then
9540 if test x"$enablestring" = xdisable; then
9541 defaultval=yes
9542 else
9543 defaultval=no
9544 fi
9545 fi
9546
9547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9548 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9549 # Check whether --enable-animatectrl was given.
9550 if test "${enable_animatectrl+set}" = set; then
9551 enableval=$enable_animatectrl;
9552 if test "$enableval" = yes; then
9553 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9554 else
9555 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9556 fi
9557
9558 else
9559
9560 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9561
9562 fi
9563
9564
9565 eval "$wx_cv_use_animatectrl"
9566
9567 if test x"$enablestring" = xdisable; then
9568 if test $wxUSE_ANIMATIONCTRL = yes; then
9569 result=no
9570 else
9571 result=yes
9572 fi
9573 else
9574 result=$wxUSE_ANIMATIONCTRL
9575 fi
9576
9577 { echo "$as_me:$LINENO: result: $result" >&5
9578 echo "${ECHO_T}$result" >&6; }
9579
9580
9581 enablestring=
9582 defaultval=$wxUSE_ALL_FEATURES
9583 if test -z "$defaultval"; then
9584 if test x"$enablestring" = xdisable; then
9585 defaultval=yes
9586 else
9587 defaultval=no
9588 fi
9589 fi
9590
9591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9592 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9593 # Check whether --enable-bmpbutton was given.
9594 if test "${enable_bmpbutton+set}" = set; then
9595 enableval=$enable_bmpbutton;
9596 if test "$enableval" = yes; then
9597 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9598 else
9599 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9600 fi
9601
9602 else
9603
9604 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9605
9606 fi
9607
9608
9609 eval "$wx_cv_use_bmpbutton"
9610
9611 if test x"$enablestring" = xdisable; then
9612 if test $wxUSE_BMPBUTTON = yes; then
9613 result=no
9614 else
9615 result=yes
9616 fi
9617 else
9618 result=$wxUSE_BMPBUTTON
9619 fi
9620
9621 { echo "$as_me:$LINENO: result: $result" >&5
9622 echo "${ECHO_T}$result" >&6; }
9623
9624
9625 enablestring=
9626 defaultval=$wxUSE_ALL_FEATURES
9627 if test -z "$defaultval"; then
9628 if test x"$enablestring" = xdisable; then
9629 defaultval=yes
9630 else
9631 defaultval=no
9632 fi
9633 fi
9634
9635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9636 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9637 # Check whether --enable-bmpcombobox was given.
9638 if test "${enable_bmpcombobox+set}" = set; then
9639 enableval=$enable_bmpcombobox;
9640 if test "$enableval" = yes; then
9641 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9642 else
9643 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9644 fi
9645
9646 else
9647
9648 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9649
9650 fi
9651
9652
9653 eval "$wx_cv_use_bmpcombobox"
9654
9655 if test x"$enablestring" = xdisable; then
9656 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9657 result=no
9658 else
9659 result=yes
9660 fi
9661 else
9662 result=$wxUSE_BITMAPCOMBOBOX
9663 fi
9664
9665 { echo "$as_me:$LINENO: result: $result" >&5
9666 echo "${ECHO_T}$result" >&6; }
9667
9668
9669 enablestring=
9670 defaultval=$wxUSE_ALL_FEATURES
9671 if test -z "$defaultval"; then
9672 if test x"$enablestring" = xdisable; then
9673 defaultval=yes
9674 else
9675 defaultval=no
9676 fi
9677 fi
9678
9679 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9680 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9681 # Check whether --enable-button was given.
9682 if test "${enable_button+set}" = set; then
9683 enableval=$enable_button;
9684 if test "$enableval" = yes; then
9685 wx_cv_use_button='wxUSE_BUTTON=yes'
9686 else
9687 wx_cv_use_button='wxUSE_BUTTON=no'
9688 fi
9689
9690 else
9691
9692 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9693
9694 fi
9695
9696
9697 eval "$wx_cv_use_button"
9698
9699 if test x"$enablestring" = xdisable; then
9700 if test $wxUSE_BUTTON = yes; then
9701 result=no
9702 else
9703 result=yes
9704 fi
9705 else
9706 result=$wxUSE_BUTTON
9707 fi
9708
9709 { echo "$as_me:$LINENO: result: $result" >&5
9710 echo "${ECHO_T}$result" >&6; }
9711
9712
9713 enablestring=
9714 defaultval=$wxUSE_ALL_FEATURES
9715 if test -z "$defaultval"; then
9716 if test x"$enablestring" = xdisable; then
9717 defaultval=yes
9718 else
9719 defaultval=no
9720 fi
9721 fi
9722
9723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9724 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9725 # Check whether --enable-calendar was given.
9726 if test "${enable_calendar+set}" = set; then
9727 enableval=$enable_calendar;
9728 if test "$enableval" = yes; then
9729 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9730 else
9731 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9732 fi
9733
9734 else
9735
9736 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9737
9738 fi
9739
9740
9741 eval "$wx_cv_use_calendar"
9742
9743 if test x"$enablestring" = xdisable; then
9744 if test $wxUSE_CALCTRL = yes; then
9745 result=no
9746 else
9747 result=yes
9748 fi
9749 else
9750 result=$wxUSE_CALCTRL
9751 fi
9752
9753 { echo "$as_me:$LINENO: result: $result" >&5
9754 echo "${ECHO_T}$result" >&6; }
9755
9756
9757 enablestring=
9758 defaultval=$wxUSE_ALL_FEATURES
9759 if test -z "$defaultval"; then
9760 if test x"$enablestring" = xdisable; then
9761 defaultval=yes
9762 else
9763 defaultval=no
9764 fi
9765 fi
9766
9767 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9768 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9769 # Check whether --enable-caret was given.
9770 if test "${enable_caret+set}" = set; then
9771 enableval=$enable_caret;
9772 if test "$enableval" = yes; then
9773 wx_cv_use_caret='wxUSE_CARET=yes'
9774 else
9775 wx_cv_use_caret='wxUSE_CARET=no'
9776 fi
9777
9778 else
9779
9780 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9781
9782 fi
9783
9784
9785 eval "$wx_cv_use_caret"
9786
9787 if test x"$enablestring" = xdisable; then
9788 if test $wxUSE_CARET = yes; then
9789 result=no
9790 else
9791 result=yes
9792 fi
9793 else
9794 result=$wxUSE_CARET
9795 fi
9796
9797 { echo "$as_me:$LINENO: result: $result" >&5
9798 echo "${ECHO_T}$result" >&6; }
9799
9800
9801 enablestring=
9802 defaultval=$wxUSE_ALL_FEATURES
9803 if test -z "$defaultval"; then
9804 if test x"$enablestring" = xdisable; then
9805 defaultval=yes
9806 else
9807 defaultval=no
9808 fi
9809 fi
9810
9811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9812 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9813 # Check whether --enable-checkbox was given.
9814 if test "${enable_checkbox+set}" = set; then
9815 enableval=$enable_checkbox;
9816 if test "$enableval" = yes; then
9817 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9818 else
9819 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9820 fi
9821
9822 else
9823
9824 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9825
9826 fi
9827
9828
9829 eval "$wx_cv_use_checkbox"
9830
9831 if test x"$enablestring" = xdisable; then
9832 if test $wxUSE_CHECKBOX = yes; then
9833 result=no
9834 else
9835 result=yes
9836 fi
9837 else
9838 result=$wxUSE_CHECKBOX
9839 fi
9840
9841 { echo "$as_me:$LINENO: result: $result" >&5
9842 echo "${ECHO_T}$result" >&6; }
9843
9844
9845 enablestring=
9846 defaultval=$wxUSE_ALL_FEATURES
9847 if test -z "$defaultval"; then
9848 if test x"$enablestring" = xdisable; then
9849 defaultval=yes
9850 else
9851 defaultval=no
9852 fi
9853 fi
9854
9855 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9856 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9857 # Check whether --enable-checklst was given.
9858 if test "${enable_checklst+set}" = set; then
9859 enableval=$enable_checklst;
9860 if test "$enableval" = yes; then
9861 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9862 else
9863 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9864 fi
9865
9866 else
9867
9868 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9869
9870 fi
9871
9872
9873 eval "$wx_cv_use_checklst"
9874
9875 if test x"$enablestring" = xdisable; then
9876 if test $wxUSE_CHECKLST = yes; then
9877 result=no
9878 else
9879 result=yes
9880 fi
9881 else
9882 result=$wxUSE_CHECKLST
9883 fi
9884
9885 { echo "$as_me:$LINENO: result: $result" >&5
9886 echo "${ECHO_T}$result" >&6; }
9887
9888
9889 enablestring=
9890 defaultval=$wxUSE_ALL_FEATURES
9891 if test -z "$defaultval"; then
9892 if test x"$enablestring" = xdisable; then
9893 defaultval=yes
9894 else
9895 defaultval=no
9896 fi
9897 fi
9898
9899 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9900 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9901 # Check whether --enable-choice was given.
9902 if test "${enable_choice+set}" = set; then
9903 enableval=$enable_choice;
9904 if test "$enableval" = yes; then
9905 wx_cv_use_choice='wxUSE_CHOICE=yes'
9906 else
9907 wx_cv_use_choice='wxUSE_CHOICE=no'
9908 fi
9909
9910 else
9911
9912 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9913
9914 fi
9915
9916
9917 eval "$wx_cv_use_choice"
9918
9919 if test x"$enablestring" = xdisable; then
9920 if test $wxUSE_CHOICE = yes; then
9921 result=no
9922 else
9923 result=yes
9924 fi
9925 else
9926 result=$wxUSE_CHOICE
9927 fi
9928
9929 { echo "$as_me:$LINENO: result: $result" >&5
9930 echo "${ECHO_T}$result" >&6; }
9931
9932
9933 enablestring=
9934 defaultval=$wxUSE_ALL_FEATURES
9935 if test -z "$defaultval"; then
9936 if test x"$enablestring" = xdisable; then
9937 defaultval=yes
9938 else
9939 defaultval=no
9940 fi
9941 fi
9942
9943 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9944 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9945 # Check whether --enable-choicebook was given.
9946 if test "${enable_choicebook+set}" = set; then
9947 enableval=$enable_choicebook;
9948 if test "$enableval" = yes; then
9949 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9950 else
9951 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9952 fi
9953
9954 else
9955
9956 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9957
9958 fi
9959
9960
9961 eval "$wx_cv_use_choicebook"
9962
9963 if test x"$enablestring" = xdisable; then
9964 if test $wxUSE_CHOICEBOOK = yes; then
9965 result=no
9966 else
9967 result=yes
9968 fi
9969 else
9970 result=$wxUSE_CHOICEBOOK
9971 fi
9972
9973 { echo "$as_me:$LINENO: result: $result" >&5
9974 echo "${ECHO_T}$result" >&6; }
9975
9976
9977 enablestring=
9978 defaultval=$wxUSE_ALL_FEATURES
9979 if test -z "$defaultval"; then
9980 if test x"$enablestring" = xdisable; then
9981 defaultval=yes
9982 else
9983 defaultval=no
9984 fi
9985 fi
9986
9987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9988 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9989 # Check whether --enable-collpane was given.
9990 if test "${enable_collpane+set}" = set; then
9991 enableval=$enable_collpane;
9992 if test "$enableval" = yes; then
9993 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
9994 else
9995 wx_cv_use_collpane='wxUSE_COLLPANE=no'
9996 fi
9997
9998 else
9999
10000 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10001
10002 fi
10003
10004
10005 eval "$wx_cv_use_collpane"
10006
10007 if test x"$enablestring" = xdisable; then
10008 if test $wxUSE_COLLPANE = yes; then
10009 result=no
10010 else
10011 result=yes
10012 fi
10013 else
10014 result=$wxUSE_COLLPANE
10015 fi
10016
10017 { echo "$as_me:$LINENO: result: $result" >&5
10018 echo "${ECHO_T}$result" >&6; }
10019
10020
10021 enablestring=
10022 defaultval=$wxUSE_ALL_FEATURES
10023 if test -z "$defaultval"; then
10024 if test x"$enablestring" = xdisable; then
10025 defaultval=yes
10026 else
10027 defaultval=no
10028 fi
10029 fi
10030
10031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10032 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10033 # Check whether --enable-colourpicker was given.
10034 if test "${enable_colourpicker+set}" = set; then
10035 enableval=$enable_colourpicker;
10036 if test "$enableval" = yes; then
10037 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10038 else
10039 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10040 fi
10041
10042 else
10043
10044 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10045
10046 fi
10047
10048
10049 eval "$wx_cv_use_colourpicker"
10050
10051 if test x"$enablestring" = xdisable; then
10052 if test $wxUSE_COLOURPICKERCTRL = yes; then
10053 result=no
10054 else
10055 result=yes
10056 fi
10057 else
10058 result=$wxUSE_COLOURPICKERCTRL
10059 fi
10060
10061 { echo "$as_me:$LINENO: result: $result" >&5
10062 echo "${ECHO_T}$result" >&6; }
10063
10064
10065 enablestring=
10066 defaultval=$wxUSE_ALL_FEATURES
10067 if test -z "$defaultval"; then
10068 if test x"$enablestring" = xdisable; then
10069 defaultval=yes
10070 else
10071 defaultval=no
10072 fi
10073 fi
10074
10075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10076 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10077 # Check whether --enable-combobox was given.
10078 if test "${enable_combobox+set}" = set; then
10079 enableval=$enable_combobox;
10080 if test "$enableval" = yes; then
10081 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10082 else
10083 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10084 fi
10085
10086 else
10087
10088 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10089
10090 fi
10091
10092
10093 eval "$wx_cv_use_combobox"
10094
10095 if test x"$enablestring" = xdisable; then
10096 if test $wxUSE_COMBOBOX = yes; then
10097 result=no
10098 else
10099 result=yes
10100 fi
10101 else
10102 result=$wxUSE_COMBOBOX
10103 fi
10104
10105 { echo "$as_me:$LINENO: result: $result" >&5
10106 echo "${ECHO_T}$result" >&6; }
10107
10108
10109 enablestring=
10110 defaultval=$wxUSE_ALL_FEATURES
10111 if test -z "$defaultval"; then
10112 if test x"$enablestring" = xdisable; then
10113 defaultval=yes
10114 else
10115 defaultval=no
10116 fi
10117 fi
10118
10119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10120 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10121 # Check whether --enable-comboctrl was given.
10122 if test "${enable_comboctrl+set}" = set; then
10123 enableval=$enable_comboctrl;
10124 if test "$enableval" = yes; then
10125 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10126 else
10127 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10128 fi
10129
10130 else
10131
10132 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10133
10134 fi
10135
10136
10137 eval "$wx_cv_use_comboctrl"
10138
10139 if test x"$enablestring" = xdisable; then
10140 if test $wxUSE_COMBOCTRL = yes; then
10141 result=no
10142 else
10143 result=yes
10144 fi
10145 else
10146 result=$wxUSE_COMBOCTRL
10147 fi
10148
10149 { echo "$as_me:$LINENO: result: $result" >&5
10150 echo "${ECHO_T}$result" >&6; }
10151
10152
10153 enablestring=
10154 defaultval=$wxUSE_ALL_FEATURES
10155 if test -z "$defaultval"; then
10156 if test x"$enablestring" = xdisable; then
10157 defaultval=yes
10158 else
10159 defaultval=no
10160 fi
10161 fi
10162
10163 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10164 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10165 # Check whether --enable-dataviewctrl was given.
10166 if test "${enable_dataviewctrl+set}" = set; then
10167 enableval=$enable_dataviewctrl;
10168 if test "$enableval" = yes; then
10169 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10170 else
10171 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10172 fi
10173
10174 else
10175
10176 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10177
10178 fi
10179
10180
10181 eval "$wx_cv_use_dataviewctrl"
10182
10183 if test x"$enablestring" = xdisable; then
10184 if test $wxUSE_DATAVIEWCTRL = yes; then
10185 result=no
10186 else
10187 result=yes
10188 fi
10189 else
10190 result=$wxUSE_DATAVIEWCTRL
10191 fi
10192
10193 { echo "$as_me:$LINENO: result: $result" >&5
10194 echo "${ECHO_T}$result" >&6; }
10195
10196
10197 enablestring=
10198 defaultval=$wxUSE_ALL_FEATURES
10199 if test -z "$defaultval"; then
10200 if test x"$enablestring" = xdisable; then
10201 defaultval=yes
10202 else
10203 defaultval=no
10204 fi
10205 fi
10206
10207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10208 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10209 # Check whether --enable-datepick was given.
10210 if test "${enable_datepick+set}" = set; then
10211 enableval=$enable_datepick;
10212 if test "$enableval" = yes; then
10213 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10214 else
10215 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10216 fi
10217
10218 else
10219
10220 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10221
10222 fi
10223
10224
10225 eval "$wx_cv_use_datepick"
10226
10227 if test x"$enablestring" = xdisable; then
10228 if test $wxUSE_DATEPICKCTRL = yes; then
10229 result=no
10230 else
10231 result=yes
10232 fi
10233 else
10234 result=$wxUSE_DATEPICKCTRL
10235 fi
10236
10237 { echo "$as_me:$LINENO: result: $result" >&5
10238 echo "${ECHO_T}$result" >&6; }
10239
10240
10241 enablestring=
10242 defaultval=$wxUSE_ALL_FEATURES
10243 if test -z "$defaultval"; then
10244 if test x"$enablestring" = xdisable; then
10245 defaultval=yes
10246 else
10247 defaultval=no
10248 fi
10249 fi
10250
10251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10252 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10253 # Check whether --enable-detect_sm was given.
10254 if test "${enable_detect_sm+set}" = set; then
10255 enableval=$enable_detect_sm;
10256 if test "$enableval" = yes; then
10257 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10258 else
10259 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10260 fi
10261
10262 else
10263
10264 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10265
10266 fi
10267
10268
10269 eval "$wx_cv_use_detect_sm"
10270
10271 if test x"$enablestring" = xdisable; then
10272 if test $wxUSE_DETECT_SM = yes; then
10273 result=no
10274 else
10275 result=yes
10276 fi
10277 else
10278 result=$wxUSE_DETECT_SM
10279 fi
10280
10281 { echo "$as_me:$LINENO: result: $result" >&5
10282 echo "${ECHO_T}$result" >&6; }
10283
10284
10285 enablestring=
10286 defaultval=$wxUSE_ALL_FEATURES
10287 if test -z "$defaultval"; then
10288 if test x"$enablestring" = xdisable; then
10289 defaultval=yes
10290 else
10291 defaultval=no
10292 fi
10293 fi
10294
10295 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10296 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10297 # Check whether --enable-dirpicker was given.
10298 if test "${enable_dirpicker+set}" = set; then
10299 enableval=$enable_dirpicker;
10300 if test "$enableval" = yes; then
10301 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10302 else
10303 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10304 fi
10305
10306 else
10307
10308 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10309
10310 fi
10311
10312
10313 eval "$wx_cv_use_dirpicker"
10314
10315 if test x"$enablestring" = xdisable; then
10316 if test $wxUSE_DIRPICKERCTRL = yes; then
10317 result=no
10318 else
10319 result=yes
10320 fi
10321 else
10322 result=$wxUSE_DIRPICKERCTRL
10323 fi
10324
10325 { echo "$as_me:$LINENO: result: $result" >&5
10326 echo "${ECHO_T}$result" >&6; }
10327
10328
10329 enablestring=
10330 defaultval=$wxUSE_ALL_FEATURES
10331 if test -z "$defaultval"; then
10332 if test x"$enablestring" = xdisable; then
10333 defaultval=yes
10334 else
10335 defaultval=no
10336 fi
10337 fi
10338
10339 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10340 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10341 # Check whether --enable-display was given.
10342 if test "${enable_display+set}" = set; then
10343 enableval=$enable_display;
10344 if test "$enableval" = yes; then
10345 wx_cv_use_display='wxUSE_DISPLAY=yes'
10346 else
10347 wx_cv_use_display='wxUSE_DISPLAY=no'
10348 fi
10349
10350 else
10351
10352 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10353
10354 fi
10355
10356
10357 eval "$wx_cv_use_display"
10358
10359 if test x"$enablestring" = xdisable; then
10360 if test $wxUSE_DISPLAY = yes; then
10361 result=no
10362 else
10363 result=yes
10364 fi
10365 else
10366 result=$wxUSE_DISPLAY
10367 fi
10368
10369 { echo "$as_me:$LINENO: result: $result" >&5
10370 echo "${ECHO_T}$result" >&6; }
10371
10372
10373 enablestring=
10374 defaultval=$wxUSE_ALL_FEATURES
10375 if test -z "$defaultval"; then
10376 if test x"$enablestring" = xdisable; then
10377 defaultval=yes
10378 else
10379 defaultval=no
10380 fi
10381 fi
10382
10383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10384 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10385 # Check whether --enable-editablebox was given.
10386 if test "${enable_editablebox+set}" = set; then
10387 enableval=$enable_editablebox;
10388 if test "$enableval" = yes; then
10389 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10390 else
10391 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10392 fi
10393
10394 else
10395
10396 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10397
10398 fi
10399
10400
10401 eval "$wx_cv_use_editablebox"
10402
10403 if test x"$enablestring" = xdisable; then
10404 if test $wxUSE_EDITABLELISTBOX = yes; then
10405 result=no
10406 else
10407 result=yes
10408 fi
10409 else
10410 result=$wxUSE_EDITABLELISTBOX
10411 fi
10412
10413 { echo "$as_me:$LINENO: result: $result" >&5
10414 echo "${ECHO_T}$result" >&6; }
10415
10416
10417 enablestring=
10418 defaultval=$wxUSE_ALL_FEATURES
10419 if test -z "$defaultval"; then
10420 if test x"$enablestring" = xdisable; then
10421 defaultval=yes
10422 else
10423 defaultval=no
10424 fi
10425 fi
10426
10427 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10428 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10429 # Check whether --enable-filectrl was given.
10430 if test "${enable_filectrl+set}" = set; then
10431 enableval=$enable_filectrl;
10432 if test "$enableval" = yes; then
10433 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10434 else
10435 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10436 fi
10437
10438 else
10439
10440 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10441
10442 fi
10443
10444
10445 eval "$wx_cv_use_filectrl"
10446
10447 if test x"$enablestring" = xdisable; then
10448 if test $wxUSE_FILECTRL = yes; then
10449 result=no
10450 else
10451 result=yes
10452 fi
10453 else
10454 result=$wxUSE_FILECTRL
10455 fi
10456
10457 { echo "$as_me:$LINENO: result: $result" >&5
10458 echo "${ECHO_T}$result" >&6; }
10459
10460
10461 enablestring=
10462 defaultval=$wxUSE_ALL_FEATURES
10463 if test -z "$defaultval"; then
10464 if test x"$enablestring" = xdisable; then
10465 defaultval=yes
10466 else
10467 defaultval=no
10468 fi
10469 fi
10470
10471 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10472 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10473 # Check whether --enable-filepicker was given.
10474 if test "${enable_filepicker+set}" = set; then
10475 enableval=$enable_filepicker;
10476 if test "$enableval" = yes; then
10477 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10478 else
10479 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10480 fi
10481
10482 else
10483
10484 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10485
10486 fi
10487
10488
10489 eval "$wx_cv_use_filepicker"
10490
10491 if test x"$enablestring" = xdisable; then
10492 if test $wxUSE_FILEPICKERCTRL = yes; then
10493 result=no
10494 else
10495 result=yes
10496 fi
10497 else
10498 result=$wxUSE_FILEPICKERCTRL
10499 fi
10500
10501 { echo "$as_me:$LINENO: result: $result" >&5
10502 echo "${ECHO_T}$result" >&6; }
10503
10504
10505 enablestring=
10506 defaultval=$wxUSE_ALL_FEATURES
10507 if test -z "$defaultval"; then
10508 if test x"$enablestring" = xdisable; then
10509 defaultval=yes
10510 else
10511 defaultval=no
10512 fi
10513 fi
10514
10515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10516 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10517 # Check whether --enable-fontpicker was given.
10518 if test "${enable_fontpicker+set}" = set; then
10519 enableval=$enable_fontpicker;
10520 if test "$enableval" = yes; then
10521 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10522 else
10523 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10524 fi
10525
10526 else
10527
10528 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10529
10530 fi
10531
10532
10533 eval "$wx_cv_use_fontpicker"
10534
10535 if test x"$enablestring" = xdisable; then
10536 if test $wxUSE_FONTPICKERCTRL = yes; then
10537 result=no
10538 else
10539 result=yes
10540 fi
10541 else
10542 result=$wxUSE_FONTPICKERCTRL
10543 fi
10544
10545 { echo "$as_me:$LINENO: result: $result" >&5
10546 echo "${ECHO_T}$result" >&6; }
10547
10548
10549 enablestring=
10550 defaultval=$wxUSE_ALL_FEATURES
10551 if test -z "$defaultval"; then
10552 if test x"$enablestring" = xdisable; then
10553 defaultval=yes
10554 else
10555 defaultval=no
10556 fi
10557 fi
10558
10559 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10560 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10561 # Check whether --enable-gauge was given.
10562 if test "${enable_gauge+set}" = set; then
10563 enableval=$enable_gauge;
10564 if test "$enableval" = yes; then
10565 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10566 else
10567 wx_cv_use_gauge='wxUSE_GAUGE=no'
10568 fi
10569
10570 else
10571
10572 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10573
10574 fi
10575
10576
10577 eval "$wx_cv_use_gauge"
10578
10579 if test x"$enablestring" = xdisable; then
10580 if test $wxUSE_GAUGE = yes; then
10581 result=no
10582 else
10583 result=yes
10584 fi
10585 else
10586 result=$wxUSE_GAUGE
10587 fi
10588
10589 { echo "$as_me:$LINENO: result: $result" >&5
10590 echo "${ECHO_T}$result" >&6; }
10591
10592
10593 enablestring=
10594 defaultval=$wxUSE_ALL_FEATURES
10595 if test -z "$defaultval"; then
10596 if test x"$enablestring" = xdisable; then
10597 defaultval=yes
10598 else
10599 defaultval=no
10600 fi
10601 fi
10602
10603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10604 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10605 # Check whether --enable-grid was given.
10606 if test "${enable_grid+set}" = set; then
10607 enableval=$enable_grid;
10608 if test "$enableval" = yes; then
10609 wx_cv_use_grid='wxUSE_GRID=yes'
10610 else
10611 wx_cv_use_grid='wxUSE_GRID=no'
10612 fi
10613
10614 else
10615
10616 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10617
10618 fi
10619
10620
10621 eval "$wx_cv_use_grid"
10622
10623 if test x"$enablestring" = xdisable; then
10624 if test $wxUSE_GRID = yes; then
10625 result=no
10626 else
10627 result=yes
10628 fi
10629 else
10630 result=$wxUSE_GRID
10631 fi
10632
10633 { echo "$as_me:$LINENO: result: $result" >&5
10634 echo "${ECHO_T}$result" >&6; }
10635
10636
10637 enablestring=
10638 defaultval=$wxUSE_ALL_FEATURES
10639 if test -z "$defaultval"; then
10640 if test x"$enablestring" = xdisable; then
10641 defaultval=yes
10642 else
10643 defaultval=no
10644 fi
10645 fi
10646
10647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10648 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10649 # Check whether --enable-headerctrl was given.
10650 if test "${enable_headerctrl+set}" = set; then
10651 enableval=$enable_headerctrl;
10652 if test "$enableval" = yes; then
10653 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
10654 else
10655 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
10656 fi
10657
10658 else
10659
10660 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10661
10662 fi
10663
10664
10665 eval "$wx_cv_use_headerctrl"
10666
10667 if test x"$enablestring" = xdisable; then
10668 if test $wxUSE_HEADERCTRL = yes; then
10669 result=no
10670 else
10671 result=yes
10672 fi
10673 else
10674 result=$wxUSE_HEADERCTRL
10675 fi
10676
10677 { echo "$as_me:$LINENO: result: $result" >&5
10678 echo "${ECHO_T}$result" >&6; }
10679
10680
10681 enablestring=
10682 defaultval=$wxUSE_ALL_FEATURES
10683 if test -z "$defaultval"; then
10684 if test x"$enablestring" = xdisable; then
10685 defaultval=yes
10686 else
10687 defaultval=no
10688 fi
10689 fi
10690
10691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10692 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10693 # Check whether --enable-hyperlink was given.
10694 if test "${enable_hyperlink+set}" = set; then
10695 enableval=$enable_hyperlink;
10696 if test "$enableval" = yes; then
10697 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10698 else
10699 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10700 fi
10701
10702 else
10703
10704 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10705
10706 fi
10707
10708
10709 eval "$wx_cv_use_hyperlink"
10710
10711 if test x"$enablestring" = xdisable; then
10712 if test $wxUSE_HYPERLINKCTRL = yes; then
10713 result=no
10714 else
10715 result=yes
10716 fi
10717 else
10718 result=$wxUSE_HYPERLINKCTRL
10719 fi
10720
10721 { echo "$as_me:$LINENO: result: $result" >&5
10722 echo "${ECHO_T}$result" >&6; }
10723
10724
10725 enablestring=
10726 defaultval=$wxUSE_ALL_FEATURES
10727 if test -z "$defaultval"; then
10728 if test x"$enablestring" = xdisable; then
10729 defaultval=yes
10730 else
10731 defaultval=no
10732 fi
10733 fi
10734
10735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10736 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10737 # Check whether --enable-imaglist was given.
10738 if test "${enable_imaglist+set}" = set; then
10739 enableval=$enable_imaglist;
10740 if test "$enableval" = yes; then
10741 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10742 else
10743 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10744 fi
10745
10746 else
10747
10748 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10749
10750 fi
10751
10752
10753 eval "$wx_cv_use_imaglist"
10754
10755 if test x"$enablestring" = xdisable; then
10756 if test $wxUSE_IMAGLIST = yes; then
10757 result=no
10758 else
10759 result=yes
10760 fi
10761 else
10762 result=$wxUSE_IMAGLIST
10763 fi
10764
10765 { echo "$as_me:$LINENO: result: $result" >&5
10766 echo "${ECHO_T}$result" >&6; }
10767
10768
10769 enablestring=
10770 defaultval=$wxUSE_ALL_FEATURES
10771 if test -z "$defaultval"; then
10772 if test x"$enablestring" = xdisable; then
10773 defaultval=yes
10774 else
10775 defaultval=no
10776 fi
10777 fi
10778
10779 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10780 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10781 # Check whether --enable-listbook was given.
10782 if test "${enable_listbook+set}" = set; then
10783 enableval=$enable_listbook;
10784 if test "$enableval" = yes; then
10785 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10786 else
10787 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10788 fi
10789
10790 else
10791
10792 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10793
10794 fi
10795
10796
10797 eval "$wx_cv_use_listbook"
10798
10799 if test x"$enablestring" = xdisable; then
10800 if test $wxUSE_LISTBOOK = yes; then
10801 result=no
10802 else
10803 result=yes
10804 fi
10805 else
10806 result=$wxUSE_LISTBOOK
10807 fi
10808
10809 { echo "$as_me:$LINENO: result: $result" >&5
10810 echo "${ECHO_T}$result" >&6; }
10811
10812
10813 enablestring=
10814 defaultval=$wxUSE_ALL_FEATURES
10815 if test -z "$defaultval"; then
10816 if test x"$enablestring" = xdisable; then
10817 defaultval=yes
10818 else
10819 defaultval=no
10820 fi
10821 fi
10822
10823 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10824 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10825 # Check whether --enable-listbox was given.
10826 if test "${enable_listbox+set}" = set; then
10827 enableval=$enable_listbox;
10828 if test "$enableval" = yes; then
10829 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10830 else
10831 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10832 fi
10833
10834 else
10835
10836 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10837
10838 fi
10839
10840
10841 eval "$wx_cv_use_listbox"
10842
10843 if test x"$enablestring" = xdisable; then
10844 if test $wxUSE_LISTBOX = yes; then
10845 result=no
10846 else
10847 result=yes
10848 fi
10849 else
10850 result=$wxUSE_LISTBOX
10851 fi
10852
10853 { echo "$as_me:$LINENO: result: $result" >&5
10854 echo "${ECHO_T}$result" >&6; }
10855
10856
10857 enablestring=
10858 defaultval=$wxUSE_ALL_FEATURES
10859 if test -z "$defaultval"; then
10860 if test x"$enablestring" = xdisable; then
10861 defaultval=yes
10862 else
10863 defaultval=no
10864 fi
10865 fi
10866
10867 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10868 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10869 # Check whether --enable-listctrl was given.
10870 if test "${enable_listctrl+set}" = set; then
10871 enableval=$enable_listctrl;
10872 if test "$enableval" = yes; then
10873 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10874 else
10875 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10876 fi
10877
10878 else
10879
10880 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10881
10882 fi
10883
10884
10885 eval "$wx_cv_use_listctrl"
10886
10887 if test x"$enablestring" = xdisable; then
10888 if test $wxUSE_LISTCTRL = yes; then
10889 result=no
10890 else
10891 result=yes
10892 fi
10893 else
10894 result=$wxUSE_LISTCTRL
10895 fi
10896
10897 { echo "$as_me:$LINENO: result: $result" >&5
10898 echo "${ECHO_T}$result" >&6; }
10899
10900
10901 enablestring=
10902 defaultval=$wxUSE_ALL_FEATURES
10903 if test -z "$defaultval"; then
10904 if test x"$enablestring" = xdisable; then
10905 defaultval=yes
10906 else
10907 defaultval=no
10908 fi
10909 fi
10910
10911 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10912 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10913 # Check whether --enable-notebook was given.
10914 if test "${enable_notebook+set}" = set; then
10915 enableval=$enable_notebook;
10916 if test "$enableval" = yes; then
10917 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10918 else
10919 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10920 fi
10921
10922 else
10923
10924 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10925
10926 fi
10927
10928
10929 eval "$wx_cv_use_notebook"
10930
10931 if test x"$enablestring" = xdisable; then
10932 if test $wxUSE_NOTEBOOK = yes; then
10933 result=no
10934 else
10935 result=yes
10936 fi
10937 else
10938 result=$wxUSE_NOTEBOOK
10939 fi
10940
10941 { echo "$as_me:$LINENO: result: $result" >&5
10942 echo "${ECHO_T}$result" >&6; }
10943
10944
10945 enablestring=
10946 defaultval=$wxUSE_ALL_FEATURES
10947 if test -z "$defaultval"; then
10948 if test x"$enablestring" = xdisable; then
10949 defaultval=yes
10950 else
10951 defaultval=no
10952 fi
10953 fi
10954
10955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10956 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10957 # Check whether --enable-notifmsg was given.
10958 if test "${enable_notifmsg+set}" = set; then
10959 enableval=$enable_notifmsg;
10960 if test "$enableval" = yes; then
10961 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
10962 else
10963 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
10964 fi
10965
10966 else
10967
10968 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
10969
10970 fi
10971
10972
10973 eval "$wx_cv_use_notifmsg"
10974
10975 if test x"$enablestring" = xdisable; then
10976 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
10977 result=no
10978 else
10979 result=yes
10980 fi
10981 else
10982 result=$wxUSE_NOTIFICATION_MESSAGE
10983 fi
10984
10985 { echo "$as_me:$LINENO: result: $result" >&5
10986 echo "${ECHO_T}$result" >&6; }
10987
10988
10989 enablestring=
10990 defaultval=$wxUSE_ALL_FEATURES
10991 if test -z "$defaultval"; then
10992 if test x"$enablestring" = xdisable; then
10993 defaultval=yes
10994 else
10995 defaultval=no
10996 fi
10997 fi
10998
10999 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11000 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11001 # Check whether --enable-odcombobox was given.
11002 if test "${enable_odcombobox+set}" = set; then
11003 enableval=$enable_odcombobox;
11004 if test "$enableval" = yes; then
11005 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11006 else
11007 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11008 fi
11009
11010 else
11011
11012 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11013
11014 fi
11015
11016
11017 eval "$wx_cv_use_odcombobox"
11018
11019 if test x"$enablestring" = xdisable; then
11020 if test $wxUSE_ODCOMBOBOX = yes; then
11021 result=no
11022 else
11023 result=yes
11024 fi
11025 else
11026 result=$wxUSE_ODCOMBOBOX
11027 fi
11028
11029 { echo "$as_me:$LINENO: result: $result" >&5
11030 echo "${ECHO_T}$result" >&6; }
11031
11032
11033 enablestring=
11034 defaultval=$wxUSE_ALL_FEATURES
11035 if test -z "$defaultval"; then
11036 if test x"$enablestring" = xdisable; then
11037 defaultval=yes
11038 else
11039 defaultval=no
11040 fi
11041 fi
11042
11043 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11044 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11045 # Check whether --enable-popupwin was given.
11046 if test "${enable_popupwin+set}" = set; then
11047 enableval=$enable_popupwin;
11048 if test "$enableval" = yes; then
11049 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11050 else
11051 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11052 fi
11053
11054 else
11055
11056 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11057
11058 fi
11059
11060
11061 eval "$wx_cv_use_popupwin"
11062
11063 if test x"$enablestring" = xdisable; then
11064 if test $wxUSE_POPUPWIN = yes; then
11065 result=no
11066 else
11067 result=yes
11068 fi
11069 else
11070 result=$wxUSE_POPUPWIN
11071 fi
11072
11073 { echo "$as_me:$LINENO: result: $result" >&5
11074 echo "${ECHO_T}$result" >&6; }
11075
11076
11077 enablestring=
11078 defaultval=$wxUSE_ALL_FEATURES
11079 if test -z "$defaultval"; then
11080 if test x"$enablestring" = xdisable; then
11081 defaultval=yes
11082 else
11083 defaultval=no
11084 fi
11085 fi
11086
11087 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11088 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11089 # Check whether --enable-radiobox was given.
11090 if test "${enable_radiobox+set}" = set; then
11091 enableval=$enable_radiobox;
11092 if test "$enableval" = yes; then
11093 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11094 else
11095 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11096 fi
11097
11098 else
11099
11100 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11101
11102 fi
11103
11104
11105 eval "$wx_cv_use_radiobox"
11106
11107 if test x"$enablestring" = xdisable; then
11108 if test $wxUSE_RADIOBOX = yes; then
11109 result=no
11110 else
11111 result=yes
11112 fi
11113 else
11114 result=$wxUSE_RADIOBOX
11115 fi
11116
11117 { echo "$as_me:$LINENO: result: $result" >&5
11118 echo "${ECHO_T}$result" >&6; }
11119
11120
11121 enablestring=
11122 defaultval=$wxUSE_ALL_FEATURES
11123 if test -z "$defaultval"; then
11124 if test x"$enablestring" = xdisable; then
11125 defaultval=yes
11126 else
11127 defaultval=no
11128 fi
11129 fi
11130
11131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11132 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11133 # Check whether --enable-radiobtn was given.
11134 if test "${enable_radiobtn+set}" = set; then
11135 enableval=$enable_radiobtn;
11136 if test "$enableval" = yes; then
11137 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11138 else
11139 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11140 fi
11141
11142 else
11143
11144 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11145
11146 fi
11147
11148
11149 eval "$wx_cv_use_radiobtn"
11150
11151 if test x"$enablestring" = xdisable; then
11152 if test $wxUSE_RADIOBTN = yes; then
11153 result=no
11154 else
11155 result=yes
11156 fi
11157 else
11158 result=$wxUSE_RADIOBTN
11159 fi
11160
11161 { echo "$as_me:$LINENO: result: $result" >&5
11162 echo "${ECHO_T}$result" >&6; }
11163
11164
11165 enablestring=
11166 defaultval=$wxUSE_ALL_FEATURES
11167 if test -z "$defaultval"; then
11168 if test x"$enablestring" = xdisable; then
11169 defaultval=yes
11170 else
11171 defaultval=no
11172 fi
11173 fi
11174
11175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11176 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11177 # Check whether --enable-rearrangectrl was given.
11178 if test "${enable_rearrangectrl+set}" = set; then
11179 enableval=$enable_rearrangectrl;
11180 if test "$enableval" = yes; then
11181 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11182 else
11183 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11184 fi
11185
11186 else
11187
11188 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11189
11190 fi
11191
11192
11193 eval "$wx_cv_use_rearrangectrl"
11194
11195 if test x"$enablestring" = xdisable; then
11196 if test $wxUSE_REARRANGECTRL = yes; then
11197 result=no
11198 else
11199 result=yes
11200 fi
11201 else
11202 result=$wxUSE_REARRANGECTRL
11203 fi
11204
11205 { echo "$as_me:$LINENO: result: $result" >&5
11206 echo "${ECHO_T}$result" >&6; }
11207
11208
11209 enablestring=
11210 defaultval=$wxUSE_ALL_FEATURES
11211 if test -z "$defaultval"; then
11212 if test x"$enablestring" = xdisable; then
11213 defaultval=yes
11214 else
11215 defaultval=no
11216 fi
11217 fi
11218
11219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11220 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11221 # Check whether --enable-sash was given.
11222 if test "${enable_sash+set}" = set; then
11223 enableval=$enable_sash;
11224 if test "$enableval" = yes; then
11225 wx_cv_use_sash='wxUSE_SASH=yes'
11226 else
11227 wx_cv_use_sash='wxUSE_SASH=no'
11228 fi
11229
11230 else
11231
11232 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11233
11234 fi
11235
11236
11237 eval "$wx_cv_use_sash"
11238
11239 if test x"$enablestring" = xdisable; then
11240 if test $wxUSE_SASH = yes; then
11241 result=no
11242 else
11243 result=yes
11244 fi
11245 else
11246 result=$wxUSE_SASH
11247 fi
11248
11249 { echo "$as_me:$LINENO: result: $result" >&5
11250 echo "${ECHO_T}$result" >&6; }
11251
11252
11253 enablestring=
11254 defaultval=$wxUSE_ALL_FEATURES
11255 if test -z "$defaultval"; then
11256 if test x"$enablestring" = xdisable; then
11257 defaultval=yes
11258 else
11259 defaultval=no
11260 fi
11261 fi
11262
11263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11264 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11265 # Check whether --enable-scrollbar was given.
11266 if test "${enable_scrollbar+set}" = set; then
11267 enableval=$enable_scrollbar;
11268 if test "$enableval" = yes; then
11269 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11270 else
11271 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11272 fi
11273
11274 else
11275
11276 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11277
11278 fi
11279
11280
11281 eval "$wx_cv_use_scrollbar"
11282
11283 if test x"$enablestring" = xdisable; then
11284 if test $wxUSE_SCROLLBAR = yes; then
11285 result=no
11286 else
11287 result=yes
11288 fi
11289 else
11290 result=$wxUSE_SCROLLBAR
11291 fi
11292
11293 { echo "$as_me:$LINENO: result: $result" >&5
11294 echo "${ECHO_T}$result" >&6; }
11295
11296
11297 enablestring=
11298 defaultval=$wxUSE_ALL_FEATURES
11299 if test -z "$defaultval"; then
11300 if test x"$enablestring" = xdisable; then
11301 defaultval=yes
11302 else
11303 defaultval=no
11304 fi
11305 fi
11306
11307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11308 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11309 # Check whether --enable-searchctrl was given.
11310 if test "${enable_searchctrl+set}" = set; then
11311 enableval=$enable_searchctrl;
11312 if test "$enableval" = yes; then
11313 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11314 else
11315 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11316 fi
11317
11318 else
11319
11320 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11321
11322 fi
11323
11324
11325 eval "$wx_cv_use_searchctrl"
11326
11327 if test x"$enablestring" = xdisable; then
11328 if test $wxUSE_SEARCHCTRL = yes; then
11329 result=no
11330 else
11331 result=yes
11332 fi
11333 else
11334 result=$wxUSE_SEARCHCTRL
11335 fi
11336
11337 { echo "$as_me:$LINENO: result: $result" >&5
11338 echo "${ECHO_T}$result" >&6; }
11339
11340
11341 enablestring=
11342 defaultval=$wxUSE_ALL_FEATURES
11343 if test -z "$defaultval"; then
11344 if test x"$enablestring" = xdisable; then
11345 defaultval=yes
11346 else
11347 defaultval=no
11348 fi
11349 fi
11350
11351 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11352 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11353 # Check whether --enable-slider was given.
11354 if test "${enable_slider+set}" = set; then
11355 enableval=$enable_slider;
11356 if test "$enableval" = yes; then
11357 wx_cv_use_slider='wxUSE_SLIDER=yes'
11358 else
11359 wx_cv_use_slider='wxUSE_SLIDER=no'
11360 fi
11361
11362 else
11363
11364 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11365
11366 fi
11367
11368
11369 eval "$wx_cv_use_slider"
11370
11371 if test x"$enablestring" = xdisable; then
11372 if test $wxUSE_SLIDER = yes; then
11373 result=no
11374 else
11375 result=yes
11376 fi
11377 else
11378 result=$wxUSE_SLIDER
11379 fi
11380
11381 { echo "$as_me:$LINENO: result: $result" >&5
11382 echo "${ECHO_T}$result" >&6; }
11383
11384
11385 enablestring=
11386 defaultval=$wxUSE_ALL_FEATURES
11387 if test -z "$defaultval"; then
11388 if test x"$enablestring" = xdisable; then
11389 defaultval=yes
11390 else
11391 defaultval=no
11392 fi
11393 fi
11394
11395 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11396 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11397 # Check whether --enable-spinbtn was given.
11398 if test "${enable_spinbtn+set}" = set; then
11399 enableval=$enable_spinbtn;
11400 if test "$enableval" = yes; then
11401 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11402 else
11403 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11404 fi
11405
11406 else
11407
11408 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11409
11410 fi
11411
11412
11413 eval "$wx_cv_use_spinbtn"
11414
11415 if test x"$enablestring" = xdisable; then
11416 if test $wxUSE_SPINBTN = yes; then
11417 result=no
11418 else
11419 result=yes
11420 fi
11421 else
11422 result=$wxUSE_SPINBTN
11423 fi
11424
11425 { echo "$as_me:$LINENO: result: $result" >&5
11426 echo "${ECHO_T}$result" >&6; }
11427
11428
11429 enablestring=
11430 defaultval=$wxUSE_ALL_FEATURES
11431 if test -z "$defaultval"; then
11432 if test x"$enablestring" = xdisable; then
11433 defaultval=yes
11434 else
11435 defaultval=no
11436 fi
11437 fi
11438
11439 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11440 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11441 # Check whether --enable-spinctrl was given.
11442 if test "${enable_spinctrl+set}" = set; then
11443 enableval=$enable_spinctrl;
11444 if test "$enableval" = yes; then
11445 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11446 else
11447 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11448 fi
11449
11450 else
11451
11452 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11453
11454 fi
11455
11456
11457 eval "$wx_cv_use_spinctrl"
11458
11459 if test x"$enablestring" = xdisable; then
11460 if test $wxUSE_SPINCTRL = yes; then
11461 result=no
11462 else
11463 result=yes
11464 fi
11465 else
11466 result=$wxUSE_SPINCTRL
11467 fi
11468
11469 { echo "$as_me:$LINENO: result: $result" >&5
11470 echo "${ECHO_T}$result" >&6; }
11471
11472
11473 enablestring=
11474 defaultval=$wxUSE_ALL_FEATURES
11475 if test -z "$defaultval"; then
11476 if test x"$enablestring" = xdisable; then
11477 defaultval=yes
11478 else
11479 defaultval=no
11480 fi
11481 fi
11482
11483 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11484 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11485 # Check whether --enable-splitter was given.
11486 if test "${enable_splitter+set}" = set; then
11487 enableval=$enable_splitter;
11488 if test "$enableval" = yes; then
11489 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11490 else
11491 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11492 fi
11493
11494 else
11495
11496 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11497
11498 fi
11499
11500
11501 eval "$wx_cv_use_splitter"
11502
11503 if test x"$enablestring" = xdisable; then
11504 if test $wxUSE_SPLITTER = yes; then
11505 result=no
11506 else
11507 result=yes
11508 fi
11509 else
11510 result=$wxUSE_SPLITTER
11511 fi
11512
11513 { echo "$as_me:$LINENO: result: $result" >&5
11514 echo "${ECHO_T}$result" >&6; }
11515
11516
11517 enablestring=
11518 defaultval=$wxUSE_ALL_FEATURES
11519 if test -z "$defaultval"; then
11520 if test x"$enablestring" = xdisable; then
11521 defaultval=yes
11522 else
11523 defaultval=no
11524 fi
11525 fi
11526
11527 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11528 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11529 # Check whether --enable-statbmp was given.
11530 if test "${enable_statbmp+set}" = set; then
11531 enableval=$enable_statbmp;
11532 if test "$enableval" = yes; then
11533 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11534 else
11535 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11536 fi
11537
11538 else
11539
11540 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11541
11542 fi
11543
11544
11545 eval "$wx_cv_use_statbmp"
11546
11547 if test x"$enablestring" = xdisable; then
11548 if test $wxUSE_STATBMP = yes; then
11549 result=no
11550 else
11551 result=yes
11552 fi
11553 else
11554 result=$wxUSE_STATBMP
11555 fi
11556
11557 { echo "$as_me:$LINENO: result: $result" >&5
11558 echo "${ECHO_T}$result" >&6; }
11559
11560
11561 enablestring=
11562 defaultval=$wxUSE_ALL_FEATURES
11563 if test -z "$defaultval"; then
11564 if test x"$enablestring" = xdisable; then
11565 defaultval=yes
11566 else
11567 defaultval=no
11568 fi
11569 fi
11570
11571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11572 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11573 # Check whether --enable-statbox was given.
11574 if test "${enable_statbox+set}" = set; then
11575 enableval=$enable_statbox;
11576 if test "$enableval" = yes; then
11577 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11578 else
11579 wx_cv_use_statbox='wxUSE_STATBOX=no'
11580 fi
11581
11582 else
11583
11584 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11585
11586 fi
11587
11588
11589 eval "$wx_cv_use_statbox"
11590
11591 if test x"$enablestring" = xdisable; then
11592 if test $wxUSE_STATBOX = yes; then
11593 result=no
11594 else
11595 result=yes
11596 fi
11597 else
11598 result=$wxUSE_STATBOX
11599 fi
11600
11601 { echo "$as_me:$LINENO: result: $result" >&5
11602 echo "${ECHO_T}$result" >&6; }
11603
11604
11605 enablestring=
11606 defaultval=$wxUSE_ALL_FEATURES
11607 if test -z "$defaultval"; then
11608 if test x"$enablestring" = xdisable; then
11609 defaultval=yes
11610 else
11611 defaultval=no
11612 fi
11613 fi
11614
11615 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11616 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11617 # Check whether --enable-statline was given.
11618 if test "${enable_statline+set}" = set; then
11619 enableval=$enable_statline;
11620 if test "$enableval" = yes; then
11621 wx_cv_use_statline='wxUSE_STATLINE=yes'
11622 else
11623 wx_cv_use_statline='wxUSE_STATLINE=no'
11624 fi
11625
11626 else
11627
11628 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11629
11630 fi
11631
11632
11633 eval "$wx_cv_use_statline"
11634
11635 if test x"$enablestring" = xdisable; then
11636 if test $wxUSE_STATLINE = yes; then
11637 result=no
11638 else
11639 result=yes
11640 fi
11641 else
11642 result=$wxUSE_STATLINE
11643 fi
11644
11645 { echo "$as_me:$LINENO: result: $result" >&5
11646 echo "${ECHO_T}$result" >&6; }
11647
11648
11649 enablestring=
11650 defaultval=$wxUSE_ALL_FEATURES
11651 if test -z "$defaultval"; then
11652 if test x"$enablestring" = xdisable; then
11653 defaultval=yes
11654 else
11655 defaultval=no
11656 fi
11657 fi
11658
11659 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11660 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11661 # Check whether --enable-stattext was given.
11662 if test "${enable_stattext+set}" = set; then
11663 enableval=$enable_stattext;
11664 if test "$enableval" = yes; then
11665 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11666 else
11667 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11668 fi
11669
11670 else
11671
11672 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11673
11674 fi
11675
11676
11677 eval "$wx_cv_use_stattext"
11678
11679 if test x"$enablestring" = xdisable; then
11680 if test $wxUSE_STATTEXT = yes; then
11681 result=no
11682 else
11683 result=yes
11684 fi
11685 else
11686 result=$wxUSE_STATTEXT
11687 fi
11688
11689 { echo "$as_me:$LINENO: result: $result" >&5
11690 echo "${ECHO_T}$result" >&6; }
11691
11692
11693 enablestring=
11694 defaultval=$wxUSE_ALL_FEATURES
11695 if test -z "$defaultval"; then
11696 if test x"$enablestring" = xdisable; then
11697 defaultval=yes
11698 else
11699 defaultval=no
11700 fi
11701 fi
11702
11703 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11704 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11705 # Check whether --enable-statusbar was given.
11706 if test "${enable_statusbar+set}" = set; then
11707 enableval=$enable_statusbar;
11708 if test "$enableval" = yes; then
11709 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11710 else
11711 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11712 fi
11713
11714 else
11715
11716 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11717
11718 fi
11719
11720
11721 eval "$wx_cv_use_statusbar"
11722
11723 if test x"$enablestring" = xdisable; then
11724 if test $wxUSE_STATUSBAR = yes; then
11725 result=no
11726 else
11727 result=yes
11728 fi
11729 else
11730 result=$wxUSE_STATUSBAR
11731 fi
11732
11733 { echo "$as_me:$LINENO: result: $result" >&5
11734 echo "${ECHO_T}$result" >&6; }
11735
11736
11737 enablestring=
11738 defaultval=$wxUSE_ALL_FEATURES
11739 if test -z "$defaultval"; then
11740 if test x"$enablestring" = xdisable; then
11741 defaultval=yes
11742 else
11743 defaultval=no
11744 fi
11745 fi
11746
11747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11748 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11749 # Check whether --enable-taskbaricon was given.
11750 if test "${enable_taskbaricon+set}" = set; then
11751 enableval=$enable_taskbaricon;
11752 if test "$enableval" = yes; then
11753 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11754 else
11755 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11756 fi
11757
11758 else
11759
11760 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11761
11762 fi
11763
11764
11765 eval "$wx_cv_use_taskbaricon"
11766
11767 if test x"$enablestring" = xdisable; then
11768 if test $wxUSE_TASKBARICON = yes; then
11769 result=no
11770 else
11771 result=yes
11772 fi
11773 else
11774 result=$wxUSE_TASKBARICON
11775 fi
11776
11777 { echo "$as_me:$LINENO: result: $result" >&5
11778 echo "${ECHO_T}$result" >&6; }
11779
11780
11781 enablestring=
11782 defaultval=$wxUSE_ALL_FEATURES
11783 if test -z "$defaultval"; then
11784 if test x"$enablestring" = xdisable; then
11785 defaultval=yes
11786 else
11787 defaultval=no
11788 fi
11789 fi
11790
11791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11792 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11793 # Check whether --enable-tbarnative was given.
11794 if test "${enable_tbarnative+set}" = set; then
11795 enableval=$enable_tbarnative;
11796 if test "$enableval" = yes; then
11797 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11798 else
11799 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11800 fi
11801
11802 else
11803
11804 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11805
11806 fi
11807
11808
11809 eval "$wx_cv_use_tbarnative"
11810
11811 if test x"$enablestring" = xdisable; then
11812 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11813 result=no
11814 else
11815 result=yes
11816 fi
11817 else
11818 result=$wxUSE_TOOLBAR_NATIVE
11819 fi
11820
11821 { echo "$as_me:$LINENO: result: $result" >&5
11822 echo "${ECHO_T}$result" >&6; }
11823
11824
11825 enablestring=
11826 defaultval=$wxUSE_ALL_FEATURES
11827 if test -z "$defaultval"; then
11828 if test x"$enablestring" = xdisable; then
11829 defaultval=yes
11830 else
11831 defaultval=no
11832 fi
11833 fi
11834
11835 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11836 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11837 # Check whether --enable-textctrl was given.
11838 if test "${enable_textctrl+set}" = set; then
11839 enableval=$enable_textctrl;
11840 if test "$enableval" = yes; then
11841 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11842 else
11843 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11844 fi
11845
11846 else
11847
11848 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11849
11850 fi
11851
11852
11853 eval "$wx_cv_use_textctrl"
11854
11855 if test x"$enablestring" = xdisable; then
11856 if test $wxUSE_TEXTCTRL = yes; then
11857 result=no
11858 else
11859 result=yes
11860 fi
11861 else
11862 result=$wxUSE_TEXTCTRL
11863 fi
11864
11865 { echo "$as_me:$LINENO: result: $result" >&5
11866 echo "${ECHO_T}$result" >&6; }
11867
11868
11869 enablestring=
11870 defaultval=$wxUSE_ALL_FEATURES
11871 if test -z "$defaultval"; then
11872 if test x"$enablestring" = xdisable; then
11873 defaultval=yes
11874 else
11875 defaultval=no
11876 fi
11877 fi
11878
11879 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11880 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11881 # Check whether --enable-tipwindow was given.
11882 if test "${enable_tipwindow+set}" = set; then
11883 enableval=$enable_tipwindow;
11884 if test "$enableval" = yes; then
11885 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11886 else
11887 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11888 fi
11889
11890 else
11891
11892 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
11893
11894 fi
11895
11896
11897 eval "$wx_cv_use_tipwindow"
11898
11899 if test x"$enablestring" = xdisable; then
11900 if test $wxUSE_TIPWINDOW = yes; then
11901 result=no
11902 else
11903 result=yes
11904 fi
11905 else
11906 result=$wxUSE_TIPWINDOW
11907 fi
11908
11909 { echo "$as_me:$LINENO: result: $result" >&5
11910 echo "${ECHO_T}$result" >&6; }
11911
11912
11913 enablestring=
11914 defaultval=$wxUSE_ALL_FEATURES
11915 if test -z "$defaultval"; then
11916 if test x"$enablestring" = xdisable; then
11917 defaultval=yes
11918 else
11919 defaultval=no
11920 fi
11921 fi
11922
11923 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11924 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11925 # Check whether --enable-togglebtn was given.
11926 if test "${enable_togglebtn+set}" = set; then
11927 enableval=$enable_togglebtn;
11928 if test "$enableval" = yes; then
11929 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11930 else
11931 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11932 fi
11933
11934 else
11935
11936 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11937
11938 fi
11939
11940
11941 eval "$wx_cv_use_togglebtn"
11942
11943 if test x"$enablestring" = xdisable; then
11944 if test $wxUSE_TOGGLEBTN = yes; then
11945 result=no
11946 else
11947 result=yes
11948 fi
11949 else
11950 result=$wxUSE_TOGGLEBTN
11951 fi
11952
11953 { echo "$as_me:$LINENO: result: $result" >&5
11954 echo "${ECHO_T}$result" >&6; }
11955
11956
11957 enablestring=
11958 defaultval=$wxUSE_ALL_FEATURES
11959 if test -z "$defaultval"; then
11960 if test x"$enablestring" = xdisable; then
11961 defaultval=yes
11962 else
11963 defaultval=no
11964 fi
11965 fi
11966
11967 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11968 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11969 # Check whether --enable-toolbar was given.
11970 if test "${enable_toolbar+set}" = set; then
11971 enableval=$enable_toolbar;
11972 if test "$enableval" = yes; then
11973 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11974 else
11975 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11976 fi
11977
11978 else
11979
11980 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11981
11982 fi
11983
11984
11985 eval "$wx_cv_use_toolbar"
11986
11987 if test x"$enablestring" = xdisable; then
11988 if test $wxUSE_TOOLBAR = yes; then
11989 result=no
11990 else
11991 result=yes
11992 fi
11993 else
11994 result=$wxUSE_TOOLBAR
11995 fi
11996
11997 { echo "$as_me:$LINENO: result: $result" >&5
11998 echo "${ECHO_T}$result" >&6; }
11999
12000
12001 enablestring=
12002 defaultval=$wxUSE_ALL_FEATURES
12003 if test -z "$defaultval"; then
12004 if test x"$enablestring" = xdisable; then
12005 defaultval=yes
12006 else
12007 defaultval=no
12008 fi
12009 fi
12010
12011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12012 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12013 # Check whether --enable-toolbook was given.
12014 if test "${enable_toolbook+set}" = set; then
12015 enableval=$enable_toolbook;
12016 if test "$enableval" = yes; then
12017 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12018 else
12019 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12020 fi
12021
12022 else
12023
12024 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12025
12026 fi
12027
12028
12029 eval "$wx_cv_use_toolbook"
12030
12031 if test x"$enablestring" = xdisable; then
12032 if test $wxUSE_TOOLBOOK = yes; then
12033 result=no
12034 else
12035 result=yes
12036 fi
12037 else
12038 result=$wxUSE_TOOLBOOK
12039 fi
12040
12041 { echo "$as_me:$LINENO: result: $result" >&5
12042 echo "${ECHO_T}$result" >&6; }
12043
12044
12045 enablestring=
12046 defaultval=$wxUSE_ALL_FEATURES
12047 if test -z "$defaultval"; then
12048 if test x"$enablestring" = xdisable; then
12049 defaultval=yes
12050 else
12051 defaultval=no
12052 fi
12053 fi
12054
12055 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12056 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12057 # Check whether --enable-treebook was given.
12058 if test "${enable_treebook+set}" = set; then
12059 enableval=$enable_treebook;
12060 if test "$enableval" = yes; then
12061 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12062 else
12063 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12064 fi
12065
12066 else
12067
12068 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12069
12070 fi
12071
12072
12073 eval "$wx_cv_use_treebook"
12074
12075 if test x"$enablestring" = xdisable; then
12076 if test $wxUSE_TREEBOOK = yes; then
12077 result=no
12078 else
12079 result=yes
12080 fi
12081 else
12082 result=$wxUSE_TREEBOOK
12083 fi
12084
12085 { echo "$as_me:$LINENO: result: $result" >&5
12086 echo "${ECHO_T}$result" >&6; }
12087
12088
12089 enablestring=
12090 defaultval=$wxUSE_ALL_FEATURES
12091 if test -z "$defaultval"; then
12092 if test x"$enablestring" = xdisable; then
12093 defaultval=yes
12094 else
12095 defaultval=no
12096 fi
12097 fi
12098
12099 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12100 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12101 # Check whether --enable-treectrl was given.
12102 if test "${enable_treectrl+set}" = set; then
12103 enableval=$enable_treectrl;
12104 if test "$enableval" = yes; then
12105 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12106 else
12107 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12108 fi
12109
12110 else
12111
12112 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12113
12114 fi
12115
12116
12117 eval "$wx_cv_use_treectrl"
12118
12119 if test x"$enablestring" = xdisable; then
12120 if test $wxUSE_TREECTRL = yes; then
12121 result=no
12122 else
12123 result=yes
12124 fi
12125 else
12126 result=$wxUSE_TREECTRL
12127 fi
12128
12129 { echo "$as_me:$LINENO: result: $result" >&5
12130 echo "${ECHO_T}$result" >&6; }
12131
12132
12133
12134
12135 enablestring=
12136 defaultval=$wxUSE_ALL_FEATURES
12137 if test -z "$defaultval"; then
12138 if test x"$enablestring" = xdisable; then
12139 defaultval=yes
12140 else
12141 defaultval=no
12142 fi
12143 fi
12144
12145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12146 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12147 # Check whether --enable-commondlg was given.
12148 if test "${enable_commondlg+set}" = set; then
12149 enableval=$enable_commondlg;
12150 if test "$enableval" = yes; then
12151 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12152 else
12153 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12154 fi
12155
12156 else
12157
12158 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12159
12160 fi
12161
12162
12163 eval "$wx_cv_use_commondlg"
12164
12165 if test x"$enablestring" = xdisable; then
12166 if test $wxUSE_COMMONDLGS = yes; then
12167 result=no
12168 else
12169 result=yes
12170 fi
12171 else
12172 result=$wxUSE_COMMONDLGS
12173 fi
12174
12175 { echo "$as_me:$LINENO: result: $result" >&5
12176 echo "${ECHO_T}$result" >&6; }
12177
12178
12179 enablestring=
12180 defaultval=$wxUSE_ALL_FEATURES
12181 if test -z "$defaultval"; then
12182 if test x"$enablestring" = xdisable; then
12183 defaultval=yes
12184 else
12185 defaultval=no
12186 fi
12187 fi
12188
12189 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12190 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12191 # Check whether --enable-aboutdlg was given.
12192 if test "${enable_aboutdlg+set}" = set; then
12193 enableval=$enable_aboutdlg;
12194 if test "$enableval" = yes; then
12195 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12196 else
12197 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12198 fi
12199
12200 else
12201
12202 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12203
12204 fi
12205
12206
12207 eval "$wx_cv_use_aboutdlg"
12208
12209 if test x"$enablestring" = xdisable; then
12210 if test $wxUSE_ABOUTDLG = yes; then
12211 result=no
12212 else
12213 result=yes
12214 fi
12215 else
12216 result=$wxUSE_ABOUTDLG
12217 fi
12218
12219 { echo "$as_me:$LINENO: result: $result" >&5
12220 echo "${ECHO_T}$result" >&6; }
12221
12222
12223 enablestring=
12224 defaultval=$wxUSE_ALL_FEATURES
12225 if test -z "$defaultval"; then
12226 if test x"$enablestring" = xdisable; then
12227 defaultval=yes
12228 else
12229 defaultval=no
12230 fi
12231 fi
12232
12233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12234 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12235 # Check whether --enable-choicedlg was given.
12236 if test "${enable_choicedlg+set}" = set; then
12237 enableval=$enable_choicedlg;
12238 if test "$enableval" = yes; then
12239 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12240 else
12241 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12242 fi
12243
12244 else
12245
12246 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12247
12248 fi
12249
12250
12251 eval "$wx_cv_use_choicedlg"
12252
12253 if test x"$enablestring" = xdisable; then
12254 if test $wxUSE_CHOICEDLG = yes; then
12255 result=no
12256 else
12257 result=yes
12258 fi
12259 else
12260 result=$wxUSE_CHOICEDLG
12261 fi
12262
12263 { echo "$as_me:$LINENO: result: $result" >&5
12264 echo "${ECHO_T}$result" >&6; }
12265
12266
12267 enablestring=
12268 defaultval=$wxUSE_ALL_FEATURES
12269 if test -z "$defaultval"; then
12270 if test x"$enablestring" = xdisable; then
12271 defaultval=yes
12272 else
12273 defaultval=no
12274 fi
12275 fi
12276
12277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12278 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12279 # Check whether --enable-coldlg was given.
12280 if test "${enable_coldlg+set}" = set; then
12281 enableval=$enable_coldlg;
12282 if test "$enableval" = yes; then
12283 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12284 else
12285 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12286 fi
12287
12288 else
12289
12290 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12291
12292 fi
12293
12294
12295 eval "$wx_cv_use_coldlg"
12296
12297 if test x"$enablestring" = xdisable; then
12298 if test $wxUSE_COLOURDLG = yes; then
12299 result=no
12300 else
12301 result=yes
12302 fi
12303 else
12304 result=$wxUSE_COLOURDLG
12305 fi
12306
12307 { echo "$as_me:$LINENO: result: $result" >&5
12308 echo "${ECHO_T}$result" >&6; }
12309
12310
12311 enablestring=
12312 defaultval=$wxUSE_ALL_FEATURES
12313 if test -z "$defaultval"; then
12314 if test x"$enablestring" = xdisable; then
12315 defaultval=yes
12316 else
12317 defaultval=no
12318 fi
12319 fi
12320
12321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12322 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12323 # Check whether --enable-filedlg was given.
12324 if test "${enable_filedlg+set}" = set; then
12325 enableval=$enable_filedlg;
12326 if test "$enableval" = yes; then
12327 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12328 else
12329 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12330 fi
12331
12332 else
12333
12334 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12335
12336 fi
12337
12338
12339 eval "$wx_cv_use_filedlg"
12340
12341 if test x"$enablestring" = xdisable; then
12342 if test $wxUSE_FILEDLG = yes; then
12343 result=no
12344 else
12345 result=yes
12346 fi
12347 else
12348 result=$wxUSE_FILEDLG
12349 fi
12350
12351 { echo "$as_me:$LINENO: result: $result" >&5
12352 echo "${ECHO_T}$result" >&6; }
12353
12354
12355 enablestring=
12356 defaultval=$wxUSE_ALL_FEATURES
12357 if test -z "$defaultval"; then
12358 if test x"$enablestring" = xdisable; then
12359 defaultval=yes
12360 else
12361 defaultval=no
12362 fi
12363 fi
12364
12365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12366 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12367 # Check whether --enable-finddlg was given.
12368 if test "${enable_finddlg+set}" = set; then
12369 enableval=$enable_finddlg;
12370 if test "$enableval" = yes; then
12371 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12372 else
12373 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12374 fi
12375
12376 else
12377
12378 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12379
12380 fi
12381
12382
12383 eval "$wx_cv_use_finddlg"
12384
12385 if test x"$enablestring" = xdisable; then
12386 if test $wxUSE_FINDREPLDLG = yes; then
12387 result=no
12388 else
12389 result=yes
12390 fi
12391 else
12392 result=$wxUSE_FINDREPLDLG
12393 fi
12394
12395 { echo "$as_me:$LINENO: result: $result" >&5
12396 echo "${ECHO_T}$result" >&6; }
12397
12398
12399 enablestring=
12400 defaultval=$wxUSE_ALL_FEATURES
12401 if test -z "$defaultval"; then
12402 if test x"$enablestring" = xdisable; then
12403 defaultval=yes
12404 else
12405 defaultval=no
12406 fi
12407 fi
12408
12409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12410 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12411 # Check whether --enable-fontdlg was given.
12412 if test "${enable_fontdlg+set}" = set; then
12413 enableval=$enable_fontdlg;
12414 if test "$enableval" = yes; then
12415 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12416 else
12417 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12418 fi
12419
12420 else
12421
12422 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12423
12424 fi
12425
12426
12427 eval "$wx_cv_use_fontdlg"
12428
12429 if test x"$enablestring" = xdisable; then
12430 if test $wxUSE_FONTDLG = yes; then
12431 result=no
12432 else
12433 result=yes
12434 fi
12435 else
12436 result=$wxUSE_FONTDLG
12437 fi
12438
12439 { echo "$as_me:$LINENO: result: $result" >&5
12440 echo "${ECHO_T}$result" >&6; }
12441
12442
12443 enablestring=
12444 defaultval=$wxUSE_ALL_FEATURES
12445 if test -z "$defaultval"; then
12446 if test x"$enablestring" = xdisable; then
12447 defaultval=yes
12448 else
12449 defaultval=no
12450 fi
12451 fi
12452
12453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12454 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12455 # Check whether --enable-dirdlg was given.
12456 if test "${enable_dirdlg+set}" = set; then
12457 enableval=$enable_dirdlg;
12458 if test "$enableval" = yes; then
12459 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12460 else
12461 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12462 fi
12463
12464 else
12465
12466 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12467
12468 fi
12469
12470
12471 eval "$wx_cv_use_dirdlg"
12472
12473 if test x"$enablestring" = xdisable; then
12474 if test $wxUSE_DIRDLG = yes; then
12475 result=no
12476 else
12477 result=yes
12478 fi
12479 else
12480 result=$wxUSE_DIRDLG
12481 fi
12482
12483 { echo "$as_me:$LINENO: result: $result" >&5
12484 echo "${ECHO_T}$result" >&6; }
12485
12486
12487 enablestring=
12488 defaultval=$wxUSE_ALL_FEATURES
12489 if test -z "$defaultval"; then
12490 if test x"$enablestring" = xdisable; then
12491 defaultval=yes
12492 else
12493 defaultval=no
12494 fi
12495 fi
12496
12497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12498 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12499 # Check whether --enable-msgdlg was given.
12500 if test "${enable_msgdlg+set}" = set; then
12501 enableval=$enable_msgdlg;
12502 if test "$enableval" = yes; then
12503 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12504 else
12505 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12506 fi
12507
12508 else
12509
12510 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12511
12512 fi
12513
12514
12515 eval "$wx_cv_use_msgdlg"
12516
12517 if test x"$enablestring" = xdisable; then
12518 if test $wxUSE_MSGDLG = yes; then
12519 result=no
12520 else
12521 result=yes
12522 fi
12523 else
12524 result=$wxUSE_MSGDLG
12525 fi
12526
12527 { echo "$as_me:$LINENO: result: $result" >&5
12528 echo "${ECHO_T}$result" >&6; }
12529
12530
12531 enablestring=
12532 defaultval=$wxUSE_ALL_FEATURES
12533 if test -z "$defaultval"; then
12534 if test x"$enablestring" = xdisable; then
12535 defaultval=yes
12536 else
12537 defaultval=no
12538 fi
12539 fi
12540
12541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12542 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12543 # Check whether --enable-numberdlg was given.
12544 if test "${enable_numberdlg+set}" = set; then
12545 enableval=$enable_numberdlg;
12546 if test "$enableval" = yes; then
12547 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12548 else
12549 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12550 fi
12551
12552 else
12553
12554 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12555
12556 fi
12557
12558
12559 eval "$wx_cv_use_numberdlg"
12560
12561 if test x"$enablestring" = xdisable; then
12562 if test $wxUSE_NUMBERDLG = yes; then
12563 result=no
12564 else
12565 result=yes
12566 fi
12567 else
12568 result=$wxUSE_NUMBERDLG
12569 fi
12570
12571 { echo "$as_me:$LINENO: result: $result" >&5
12572 echo "${ECHO_T}$result" >&6; }
12573
12574
12575 enablestring=
12576 defaultval=$wxUSE_ALL_FEATURES
12577 if test -z "$defaultval"; then
12578 if test x"$enablestring" = xdisable; then
12579 defaultval=yes
12580 else
12581 defaultval=no
12582 fi
12583 fi
12584
12585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12586 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12587 # Check whether --enable-splash was given.
12588 if test "${enable_splash+set}" = set; then
12589 enableval=$enable_splash;
12590 if test "$enableval" = yes; then
12591 wx_cv_use_splash='wxUSE_SPLASH=yes'
12592 else
12593 wx_cv_use_splash='wxUSE_SPLASH=no'
12594 fi
12595
12596 else
12597
12598 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12599
12600 fi
12601
12602
12603 eval "$wx_cv_use_splash"
12604
12605 if test x"$enablestring" = xdisable; then
12606 if test $wxUSE_SPLASH = yes; then
12607 result=no
12608 else
12609 result=yes
12610 fi
12611 else
12612 result=$wxUSE_SPLASH
12613 fi
12614
12615 { echo "$as_me:$LINENO: result: $result" >&5
12616 echo "${ECHO_T}$result" >&6; }
12617
12618
12619 enablestring=
12620 defaultval=$wxUSE_ALL_FEATURES
12621 if test -z "$defaultval"; then
12622 if test x"$enablestring" = xdisable; then
12623 defaultval=yes
12624 else
12625 defaultval=no
12626 fi
12627 fi
12628
12629 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12630 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12631 # Check whether --enable-textdlg was given.
12632 if test "${enable_textdlg+set}" = set; then
12633 enableval=$enable_textdlg;
12634 if test "$enableval" = yes; then
12635 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12636 else
12637 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12638 fi
12639
12640 else
12641
12642 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12643
12644 fi
12645
12646
12647 eval "$wx_cv_use_textdlg"
12648
12649 if test x"$enablestring" = xdisable; then
12650 if test $wxUSE_TEXTDLG = yes; then
12651 result=no
12652 else
12653 result=yes
12654 fi
12655 else
12656 result=$wxUSE_TEXTDLG
12657 fi
12658
12659 { echo "$as_me:$LINENO: result: $result" >&5
12660 echo "${ECHO_T}$result" >&6; }
12661
12662
12663 enablestring=
12664 defaultval=$wxUSE_ALL_FEATURES
12665 if test -z "$defaultval"; then
12666 if test x"$enablestring" = xdisable; then
12667 defaultval=yes
12668 else
12669 defaultval=no
12670 fi
12671 fi
12672
12673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12674 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12675 # Check whether --enable-tipdlg was given.
12676 if test "${enable_tipdlg+set}" = set; then
12677 enableval=$enable_tipdlg;
12678 if test "$enableval" = yes; then
12679 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12680 else
12681 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12682 fi
12683
12684 else
12685
12686 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12687
12688 fi
12689
12690
12691 eval "$wx_cv_use_tipdlg"
12692
12693 if test x"$enablestring" = xdisable; then
12694 if test $wxUSE_STARTUP_TIPS = yes; then
12695 result=no
12696 else
12697 result=yes
12698 fi
12699 else
12700 result=$wxUSE_STARTUP_TIPS
12701 fi
12702
12703 { echo "$as_me:$LINENO: result: $result" >&5
12704 echo "${ECHO_T}$result" >&6; }
12705
12706
12707 enablestring=
12708 defaultval=$wxUSE_ALL_FEATURES
12709 if test -z "$defaultval"; then
12710 if test x"$enablestring" = xdisable; then
12711 defaultval=yes
12712 else
12713 defaultval=no
12714 fi
12715 fi
12716
12717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12718 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12719 # Check whether --enable-progressdlg was given.
12720 if test "${enable_progressdlg+set}" = set; then
12721 enableval=$enable_progressdlg;
12722 if test "$enableval" = yes; then
12723 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12724 else
12725 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12726 fi
12727
12728 else
12729
12730 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12731
12732 fi
12733
12734
12735 eval "$wx_cv_use_progressdlg"
12736
12737 if test x"$enablestring" = xdisable; then
12738 if test $wxUSE_PROGRESSDLG = yes; then
12739 result=no
12740 else
12741 result=yes
12742 fi
12743 else
12744 result=$wxUSE_PROGRESSDLG
12745 fi
12746
12747 { echo "$as_me:$LINENO: result: $result" >&5
12748 echo "${ECHO_T}$result" >&6; }
12749
12750
12751 enablestring=
12752 defaultval=$wxUSE_ALL_FEATURES
12753 if test -z "$defaultval"; then
12754 if test x"$enablestring" = xdisable; then
12755 defaultval=yes
12756 else
12757 defaultval=no
12758 fi
12759 fi
12760
12761 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12762 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12763 # Check whether --enable-wizarddlg was given.
12764 if test "${enable_wizarddlg+set}" = set; then
12765 enableval=$enable_wizarddlg;
12766 if test "$enableval" = yes; then
12767 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12768 else
12769 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12770 fi
12771
12772 else
12773
12774 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12775
12776 fi
12777
12778
12779 eval "$wx_cv_use_wizarddlg"
12780
12781 if test x"$enablestring" = xdisable; then
12782 if test $wxUSE_WIZARDDLG = yes; then
12783 result=no
12784 else
12785 result=yes
12786 fi
12787 else
12788 result=$wxUSE_WIZARDDLG
12789 fi
12790
12791 { echo "$as_me:$LINENO: result: $result" >&5
12792 echo "${ECHO_T}$result" >&6; }
12793
12794
12795
12796
12797 enablestring=
12798 defaultval=$wxUSE_ALL_FEATURES
12799 if test -z "$defaultval"; then
12800 if test x"$enablestring" = xdisable; then
12801 defaultval=yes
12802 else
12803 defaultval=no
12804 fi
12805 fi
12806
12807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12808 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12809 # Check whether --enable-menus was given.
12810 if test "${enable_menus+set}" = set; then
12811 enableval=$enable_menus;
12812 if test "$enableval" = yes; then
12813 wx_cv_use_menus='wxUSE_MENUS=yes'
12814 else
12815 wx_cv_use_menus='wxUSE_MENUS=no'
12816 fi
12817
12818 else
12819
12820 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12821
12822 fi
12823
12824
12825 eval "$wx_cv_use_menus"
12826
12827 if test x"$enablestring" = xdisable; then
12828 if test $wxUSE_MENUS = yes; then
12829 result=no
12830 else
12831 result=yes
12832 fi
12833 else
12834 result=$wxUSE_MENUS
12835 fi
12836
12837 { echo "$as_me:$LINENO: result: $result" >&5
12838 echo "${ECHO_T}$result" >&6; }
12839
12840
12841 enablestring=
12842 defaultval=$wxUSE_ALL_FEATURES
12843 if test -z "$defaultval"; then
12844 if test x"$enablestring" = xdisable; then
12845 defaultval=yes
12846 else
12847 defaultval=no
12848 fi
12849 fi
12850
12851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12852 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12853 # Check whether --enable-miniframe was given.
12854 if test "${enable_miniframe+set}" = set; then
12855 enableval=$enable_miniframe;
12856 if test "$enableval" = yes; then
12857 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12858 else
12859 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12860 fi
12861
12862 else
12863
12864 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12865
12866 fi
12867
12868
12869 eval "$wx_cv_use_miniframe"
12870
12871 if test x"$enablestring" = xdisable; then
12872 if test $wxUSE_MINIFRAME = yes; then
12873 result=no
12874 else
12875 result=yes
12876 fi
12877 else
12878 result=$wxUSE_MINIFRAME
12879 fi
12880
12881 { echo "$as_me:$LINENO: result: $result" >&5
12882 echo "${ECHO_T}$result" >&6; }
12883
12884
12885 enablestring=
12886 defaultval=$wxUSE_ALL_FEATURES
12887 if test -z "$defaultval"; then
12888 if test x"$enablestring" = xdisable; then
12889 defaultval=yes
12890 else
12891 defaultval=no
12892 fi
12893 fi
12894
12895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12896 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12897 # Check whether --enable-tooltips was given.
12898 if test "${enable_tooltips+set}" = set; then
12899 enableval=$enable_tooltips;
12900 if test "$enableval" = yes; then
12901 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12902 else
12903 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12904 fi
12905
12906 else
12907
12908 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12909
12910 fi
12911
12912
12913 eval "$wx_cv_use_tooltips"
12914
12915 if test x"$enablestring" = xdisable; then
12916 if test $wxUSE_TOOLTIPS = yes; then
12917 result=no
12918 else
12919 result=yes
12920 fi
12921 else
12922 result=$wxUSE_TOOLTIPS
12923 fi
12924
12925 { echo "$as_me:$LINENO: result: $result" >&5
12926 echo "${ECHO_T}$result" >&6; }
12927
12928
12929 enablestring=
12930 defaultval=$wxUSE_ALL_FEATURES
12931 if test -z "$defaultval"; then
12932 if test x"$enablestring" = xdisable; then
12933 defaultval=yes
12934 else
12935 defaultval=no
12936 fi
12937 fi
12938
12939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12940 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12941 # Check whether --enable-splines was given.
12942 if test "${enable_splines+set}" = set; then
12943 enableval=$enable_splines;
12944 if test "$enableval" = yes; then
12945 wx_cv_use_splines='wxUSE_SPLINES=yes'
12946 else
12947 wx_cv_use_splines='wxUSE_SPLINES=no'
12948 fi
12949
12950 else
12951
12952 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12953
12954 fi
12955
12956
12957 eval "$wx_cv_use_splines"
12958
12959 if test x"$enablestring" = xdisable; then
12960 if test $wxUSE_SPLINES = yes; then
12961 result=no
12962 else
12963 result=yes
12964 fi
12965 else
12966 result=$wxUSE_SPLINES
12967 fi
12968
12969 { echo "$as_me:$LINENO: result: $result" >&5
12970 echo "${ECHO_T}$result" >&6; }
12971
12972
12973 enablestring=
12974 defaultval=$wxUSE_ALL_FEATURES
12975 if test -z "$defaultval"; then
12976 if test x"$enablestring" = xdisable; then
12977 defaultval=yes
12978 else
12979 defaultval=no
12980 fi
12981 fi
12982
12983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
12984 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12985 # Check whether --enable-mousewheel was given.
12986 if test "${enable_mousewheel+set}" = set; then
12987 enableval=$enable_mousewheel;
12988 if test "$enableval" = yes; then
12989 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
12990 else
12991 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
12992 fi
12993
12994 else
12995
12996 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12997
12998 fi
12999
13000
13001 eval "$wx_cv_use_mousewheel"
13002
13003 if test x"$enablestring" = xdisable; then
13004 if test $wxUSE_MOUSEWHEEL = yes; then
13005 result=no
13006 else
13007 result=yes
13008 fi
13009 else
13010 result=$wxUSE_MOUSEWHEEL
13011 fi
13012
13013 { echo "$as_me:$LINENO: result: $result" >&5
13014 echo "${ECHO_T}$result" >&6; }
13015
13016
13017 enablestring=
13018 defaultval=$wxUSE_ALL_FEATURES
13019 if test -z "$defaultval"; then
13020 if test x"$enablestring" = xdisable; then
13021 defaultval=yes
13022 else
13023 defaultval=no
13024 fi
13025 fi
13026
13027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13028 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13029 # Check whether --enable-validators was given.
13030 if test "${enable_validators+set}" = set; then
13031 enableval=$enable_validators;
13032 if test "$enableval" = yes; then
13033 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13034 else
13035 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13036 fi
13037
13038 else
13039
13040 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13041
13042 fi
13043
13044
13045 eval "$wx_cv_use_validators"
13046
13047 if test x"$enablestring" = xdisable; then
13048 if test $wxUSE_VALIDATORS = yes; then
13049 result=no
13050 else
13051 result=yes
13052 fi
13053 else
13054 result=$wxUSE_VALIDATORS
13055 fi
13056
13057 { echo "$as_me:$LINENO: result: $result" >&5
13058 echo "${ECHO_T}$result" >&6; }
13059
13060
13061 enablestring=
13062 defaultval=$wxUSE_ALL_FEATURES
13063 if test -z "$defaultval"; then
13064 if test x"$enablestring" = xdisable; then
13065 defaultval=yes
13066 else
13067 defaultval=no
13068 fi
13069 fi
13070
13071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13072 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13073 # Check whether --enable-busyinfo was given.
13074 if test "${enable_busyinfo+set}" = set; then
13075 enableval=$enable_busyinfo;
13076 if test "$enableval" = yes; then
13077 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13078 else
13079 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13080 fi
13081
13082 else
13083
13084 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13085
13086 fi
13087
13088
13089 eval "$wx_cv_use_busyinfo"
13090
13091 if test x"$enablestring" = xdisable; then
13092 if test $wxUSE_BUSYINFO = yes; then
13093 result=no
13094 else
13095 result=yes
13096 fi
13097 else
13098 result=$wxUSE_BUSYINFO
13099 fi
13100
13101 { echo "$as_me:$LINENO: result: $result" >&5
13102 echo "${ECHO_T}$result" >&6; }
13103
13104
13105 enablestring=
13106 defaultval=$wxUSE_ALL_FEATURES
13107 if test -z "$defaultval"; then
13108 if test x"$enablestring" = xdisable; then
13109 defaultval=yes
13110 else
13111 defaultval=no
13112 fi
13113 fi
13114
13115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13116 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13117 # Check whether --enable-joystick was given.
13118 if test "${enable_joystick+set}" = set; then
13119 enableval=$enable_joystick;
13120 if test "$enableval" = yes; then
13121 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13122 else
13123 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13124 fi
13125
13126 else
13127
13128 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13129
13130 fi
13131
13132
13133 eval "$wx_cv_use_joystick"
13134
13135 if test x"$enablestring" = xdisable; then
13136 if test $wxUSE_JOYSTICK = yes; then
13137 result=no
13138 else
13139 result=yes
13140 fi
13141 else
13142 result=$wxUSE_JOYSTICK
13143 fi
13144
13145 { echo "$as_me:$LINENO: result: $result" >&5
13146 echo "${ECHO_T}$result" >&6; }
13147
13148
13149 enablestring=
13150 defaultval=$wxUSE_ALL_FEATURES
13151 if test -z "$defaultval"; then
13152 if test x"$enablestring" = xdisable; then
13153 defaultval=yes
13154 else
13155 defaultval=no
13156 fi
13157 fi
13158
13159 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13160 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13161 # Check whether --enable-metafile was given.
13162 if test "${enable_metafile+set}" = set; then
13163 enableval=$enable_metafile;
13164 if test "$enableval" = yes; then
13165 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13166 else
13167 wx_cv_use_metafile='wxUSE_METAFILE=no'
13168 fi
13169
13170 else
13171
13172 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13173
13174 fi
13175
13176
13177 eval "$wx_cv_use_metafile"
13178
13179 if test x"$enablestring" = xdisable; then
13180 if test $wxUSE_METAFILE = yes; then
13181 result=no
13182 else
13183 result=yes
13184 fi
13185 else
13186 result=$wxUSE_METAFILE
13187 fi
13188
13189 { echo "$as_me:$LINENO: result: $result" >&5
13190 echo "${ECHO_T}$result" >&6; }
13191
13192
13193 enablestring=
13194 defaultval=$wxUSE_ALL_FEATURES
13195 if test -z "$defaultval"; then
13196 if test x"$enablestring" = xdisable; then
13197 defaultval=yes
13198 else
13199 defaultval=no
13200 fi
13201 fi
13202
13203 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13204 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13205 # Check whether --enable-dragimage was given.
13206 if test "${enable_dragimage+set}" = set; then
13207 enableval=$enable_dragimage;
13208 if test "$enableval" = yes; then
13209 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13210 else
13211 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13212 fi
13213
13214 else
13215
13216 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13217
13218 fi
13219
13220
13221 eval "$wx_cv_use_dragimage"
13222
13223 if test x"$enablestring" = xdisable; then
13224 if test $wxUSE_DRAGIMAGE = yes; then
13225 result=no
13226 else
13227 result=yes
13228 fi
13229 else
13230 result=$wxUSE_DRAGIMAGE
13231 fi
13232
13233 { echo "$as_me:$LINENO: result: $result" >&5
13234 echo "${ECHO_T}$result" >&6; }
13235
13236
13237 enablestring=
13238 defaultval=$wxUSE_ALL_FEATURES
13239 if test -z "$defaultval"; then
13240 if test x"$enablestring" = xdisable; then
13241 defaultval=yes
13242 else
13243 defaultval=no
13244 fi
13245 fi
13246
13247 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13248 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13249 # Check whether --enable-accessibility was given.
13250 if test "${enable_accessibility+set}" = set; then
13251 enableval=$enable_accessibility;
13252 if test "$enableval" = yes; then
13253 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13254 else
13255 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13256 fi
13257
13258 else
13259
13260 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13261
13262 fi
13263
13264
13265 eval "$wx_cv_use_accessibility"
13266
13267 if test x"$enablestring" = xdisable; then
13268 if test $wxUSE_ACCESSIBILITY = yes; then
13269 result=no
13270 else
13271 result=yes
13272 fi
13273 else
13274 result=$wxUSE_ACCESSIBILITY
13275 fi
13276
13277 { echo "$as_me:$LINENO: result: $result" >&5
13278 echo "${ECHO_T}$result" >&6; }
13279
13280
13281
13282
13283 enablestring=
13284 defaultval=$wxUSE_ALL_FEATURES
13285 if test -z "$defaultval"; then
13286 if test x"$enablestring" = xdisable; then
13287 defaultval=yes
13288 else
13289 defaultval=no
13290 fi
13291 fi
13292
13293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13294 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13295 # Check whether --enable-palette was given.
13296 if test "${enable_palette+set}" = set; then
13297 enableval=$enable_palette;
13298 if test "$enableval" = yes; then
13299 wx_cv_use_palette='wxUSE_PALETTE=yes'
13300 else
13301 wx_cv_use_palette='wxUSE_PALETTE=no'
13302 fi
13303
13304 else
13305
13306 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13307
13308 fi
13309
13310
13311 eval "$wx_cv_use_palette"
13312
13313 if test x"$enablestring" = xdisable; then
13314 if test $wxUSE_PALETTE = yes; then
13315 result=no
13316 else
13317 result=yes
13318 fi
13319 else
13320 result=$wxUSE_PALETTE
13321 fi
13322
13323 { echo "$as_me:$LINENO: result: $result" >&5
13324 echo "${ECHO_T}$result" >&6; }
13325
13326
13327 enablestring=
13328 defaultval=$wxUSE_ALL_FEATURES
13329 if test -z "$defaultval"; then
13330 if test x"$enablestring" = xdisable; then
13331 defaultval=yes
13332 else
13333 defaultval=no
13334 fi
13335 fi
13336
13337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13338 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13339 # Check whether --enable-image was given.
13340 if test "${enable_image+set}" = set; then
13341 enableval=$enable_image;
13342 if test "$enableval" = yes; then
13343 wx_cv_use_image='wxUSE_IMAGE=yes'
13344 else
13345 wx_cv_use_image='wxUSE_IMAGE=no'
13346 fi
13347
13348 else
13349
13350 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13351
13352 fi
13353
13354
13355 eval "$wx_cv_use_image"
13356
13357 if test x"$enablestring" = xdisable; then
13358 if test $wxUSE_IMAGE = yes; then
13359 result=no
13360 else
13361 result=yes
13362 fi
13363 else
13364 result=$wxUSE_IMAGE
13365 fi
13366
13367 { echo "$as_me:$LINENO: result: $result" >&5
13368 echo "${ECHO_T}$result" >&6; }
13369
13370
13371 enablestring=
13372 defaultval=$wxUSE_ALL_FEATURES
13373 if test -z "$defaultval"; then
13374 if test x"$enablestring" = xdisable; then
13375 defaultval=yes
13376 else
13377 defaultval=no
13378 fi
13379 fi
13380
13381 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13382 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13383 # Check whether --enable-gif was given.
13384 if test "${enable_gif+set}" = set; then
13385 enableval=$enable_gif;
13386 if test "$enableval" = yes; then
13387 wx_cv_use_gif='wxUSE_GIF=yes'
13388 else
13389 wx_cv_use_gif='wxUSE_GIF=no'
13390 fi
13391
13392 else
13393
13394 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13395
13396 fi
13397
13398
13399 eval "$wx_cv_use_gif"
13400
13401 if test x"$enablestring" = xdisable; then
13402 if test $wxUSE_GIF = yes; then
13403 result=no
13404 else
13405 result=yes
13406 fi
13407 else
13408 result=$wxUSE_GIF
13409 fi
13410
13411 { echo "$as_me:$LINENO: result: $result" >&5
13412 echo "${ECHO_T}$result" >&6; }
13413
13414
13415 enablestring=
13416 defaultval=$wxUSE_ALL_FEATURES
13417 if test -z "$defaultval"; then
13418 if test x"$enablestring" = xdisable; then
13419 defaultval=yes
13420 else
13421 defaultval=no
13422 fi
13423 fi
13424
13425 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13426 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13427 # Check whether --enable-pcx was given.
13428 if test "${enable_pcx+set}" = set; then
13429 enableval=$enable_pcx;
13430 if test "$enableval" = yes; then
13431 wx_cv_use_pcx='wxUSE_PCX=yes'
13432 else
13433 wx_cv_use_pcx='wxUSE_PCX=no'
13434 fi
13435
13436 else
13437
13438 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13439
13440 fi
13441
13442
13443 eval "$wx_cv_use_pcx"
13444
13445 if test x"$enablestring" = xdisable; then
13446 if test $wxUSE_PCX = yes; then
13447 result=no
13448 else
13449 result=yes
13450 fi
13451 else
13452 result=$wxUSE_PCX
13453 fi
13454
13455 { echo "$as_me:$LINENO: result: $result" >&5
13456 echo "${ECHO_T}$result" >&6; }
13457
13458
13459 enablestring=
13460 defaultval=$wxUSE_ALL_FEATURES
13461 if test -z "$defaultval"; then
13462 if test x"$enablestring" = xdisable; then
13463 defaultval=yes
13464 else
13465 defaultval=no
13466 fi
13467 fi
13468
13469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13470 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13471 # Check whether --enable-tga was given.
13472 if test "${enable_tga+set}" = set; then
13473 enableval=$enable_tga;
13474 if test "$enableval" = yes; then
13475 wx_cv_use_tga='wxUSE_TGA=yes'
13476 else
13477 wx_cv_use_tga='wxUSE_TGA=no'
13478 fi
13479
13480 else
13481
13482 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13483
13484 fi
13485
13486
13487 eval "$wx_cv_use_tga"
13488
13489 if test x"$enablestring" = xdisable; then
13490 if test $wxUSE_TGA = yes; then
13491 result=no
13492 else
13493 result=yes
13494 fi
13495 else
13496 result=$wxUSE_TGA
13497 fi
13498
13499 { echo "$as_me:$LINENO: result: $result" >&5
13500 echo "${ECHO_T}$result" >&6; }
13501
13502
13503 enablestring=
13504 defaultval=$wxUSE_ALL_FEATURES
13505 if test -z "$defaultval"; then
13506 if test x"$enablestring" = xdisable; then
13507 defaultval=yes
13508 else
13509 defaultval=no
13510 fi
13511 fi
13512
13513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13514 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13515 # Check whether --enable-iff was given.
13516 if test "${enable_iff+set}" = set; then
13517 enableval=$enable_iff;
13518 if test "$enableval" = yes; then
13519 wx_cv_use_iff='wxUSE_IFF=yes'
13520 else
13521 wx_cv_use_iff='wxUSE_IFF=no'
13522 fi
13523
13524 else
13525
13526 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13527
13528 fi
13529
13530
13531 eval "$wx_cv_use_iff"
13532
13533 if test x"$enablestring" = xdisable; then
13534 if test $wxUSE_IFF = yes; then
13535 result=no
13536 else
13537 result=yes
13538 fi
13539 else
13540 result=$wxUSE_IFF
13541 fi
13542
13543 { echo "$as_me:$LINENO: result: $result" >&5
13544 echo "${ECHO_T}$result" >&6; }
13545
13546
13547 enablestring=
13548 defaultval=$wxUSE_ALL_FEATURES
13549 if test -z "$defaultval"; then
13550 if test x"$enablestring" = xdisable; then
13551 defaultval=yes
13552 else
13553 defaultval=no
13554 fi
13555 fi
13556
13557 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13558 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13559 # Check whether --enable-pnm was given.
13560 if test "${enable_pnm+set}" = set; then
13561 enableval=$enable_pnm;
13562 if test "$enableval" = yes; then
13563 wx_cv_use_pnm='wxUSE_PNM=yes'
13564 else
13565 wx_cv_use_pnm='wxUSE_PNM=no'
13566 fi
13567
13568 else
13569
13570 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13571
13572 fi
13573
13574
13575 eval "$wx_cv_use_pnm"
13576
13577 if test x"$enablestring" = xdisable; then
13578 if test $wxUSE_PNM = yes; then
13579 result=no
13580 else
13581 result=yes
13582 fi
13583 else
13584 result=$wxUSE_PNM
13585 fi
13586
13587 { echo "$as_me:$LINENO: result: $result" >&5
13588 echo "${ECHO_T}$result" >&6; }
13589
13590
13591 enablestring=
13592 defaultval=$wxUSE_ALL_FEATURES
13593 if test -z "$defaultval"; then
13594 if test x"$enablestring" = xdisable; then
13595 defaultval=yes
13596 else
13597 defaultval=no
13598 fi
13599 fi
13600
13601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13602 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13603 # Check whether --enable-xpm was given.
13604 if test "${enable_xpm+set}" = set; then
13605 enableval=$enable_xpm;
13606 if test "$enableval" = yes; then
13607 wx_cv_use_xpm='wxUSE_XPM=yes'
13608 else
13609 wx_cv_use_xpm='wxUSE_XPM=no'
13610 fi
13611
13612 else
13613
13614 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13615
13616 fi
13617
13618
13619 eval "$wx_cv_use_xpm"
13620
13621 if test x"$enablestring" = xdisable; then
13622 if test $wxUSE_XPM = yes; then
13623 result=no
13624 else
13625 result=yes
13626 fi
13627 else
13628 result=$wxUSE_XPM
13629 fi
13630
13631 { echo "$as_me:$LINENO: result: $result" >&5
13632 echo "${ECHO_T}$result" >&6; }
13633
13634
13635 enablestring=
13636 defaultval=$wxUSE_ALL_FEATURES
13637 if test -z "$defaultval"; then
13638 if test x"$enablestring" = xdisable; then
13639 defaultval=yes
13640 else
13641 defaultval=no
13642 fi
13643 fi
13644
13645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13646 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13647 # Check whether --enable-ico_cur was given.
13648 if test "${enable_ico_cur+set}" = set; then
13649 enableval=$enable_ico_cur;
13650 if test "$enableval" = yes; then
13651 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13652 else
13653 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13654 fi
13655
13656 else
13657
13658 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13659
13660 fi
13661
13662
13663 eval "$wx_cv_use_ico_cur"
13664
13665 if test x"$enablestring" = xdisable; then
13666 if test $wxUSE_ICO_CUR = yes; then
13667 result=no
13668 else
13669 result=yes
13670 fi
13671 else
13672 result=$wxUSE_ICO_CUR
13673 fi
13674
13675 { echo "$as_me:$LINENO: result: $result" >&5
13676 echo "${ECHO_T}$result" >&6; }
13677
13678
13679
13680
13681 enablestring=
13682 defaultval=$wxUSE_ALL_FEATURES
13683 if test -z "$defaultval"; then
13684 if test x"$enablestring" = xdisable; then
13685 defaultval=yes
13686 else
13687 defaultval=no
13688 fi
13689 fi
13690
13691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13692 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13693 # Check whether --enable-dccache was given.
13694 if test "${enable_dccache+set}" = set; then
13695 enableval=$enable_dccache;
13696 if test "$enableval" = yes; then
13697 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13698 else
13699 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13700 fi
13701
13702 else
13703
13704 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13705
13706 fi
13707
13708
13709 eval "$wx_cv_use_dccache"
13710
13711 if test x"$enablestring" = xdisable; then
13712 if test $wxUSE_DC_CACHEING = yes; then
13713 result=no
13714 else
13715 result=yes
13716 fi
13717 else
13718 result=$wxUSE_DC_CACHEING
13719 fi
13720
13721 { echo "$as_me:$LINENO: result: $result" >&5
13722 echo "${ECHO_T}$result" >&6; }
13723
13724
13725 enablestring=
13726 defaultval=$wxUSE_ALL_FEATURES
13727 if test -z "$defaultval"; then
13728 if test x"$enablestring" = xdisable; then
13729 defaultval=yes
13730 else
13731 defaultval=no
13732 fi
13733 fi
13734
13735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13736 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13737 # Check whether --enable-ps-in-msw was given.
13738 if test "${enable_ps_in_msw+set}" = set; then
13739 enableval=$enable_ps_in_msw;
13740 if test "$enableval" = yes; then
13741 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13742 else
13743 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13744 fi
13745
13746 else
13747
13748 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13749
13750 fi
13751
13752
13753 eval "$wx_cv_use_ps_in_msw"
13754
13755 if test x"$enablestring" = xdisable; then
13756 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13757 result=no
13758 else
13759 result=yes
13760 fi
13761 else
13762 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13763 fi
13764
13765 { echo "$as_me:$LINENO: result: $result" >&5
13766 echo "${ECHO_T}$result" >&6; }
13767
13768
13769 enablestring=
13770 defaultval=$wxUSE_ALL_FEATURES
13771 if test -z "$defaultval"; then
13772 if test x"$enablestring" = xdisable; then
13773 defaultval=yes
13774 else
13775 defaultval=no
13776 fi
13777 fi
13778
13779 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13780 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13781 # Check whether --enable-ownerdrawn was given.
13782 if test "${enable_ownerdrawn+set}" = set; then
13783 enableval=$enable_ownerdrawn;
13784 if test "$enableval" = yes; then
13785 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13786 else
13787 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13788 fi
13789
13790 else
13791
13792 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13793
13794 fi
13795
13796
13797 eval "$wx_cv_use_ownerdrawn"
13798
13799 if test x"$enablestring" = xdisable; then
13800 if test $wxUSE_OWNER_DRAWN = yes; then
13801 result=no
13802 else
13803 result=yes
13804 fi
13805 else
13806 result=$wxUSE_OWNER_DRAWN
13807 fi
13808
13809 { echo "$as_me:$LINENO: result: $result" >&5
13810 echo "${ECHO_T}$result" >&6; }
13811
13812
13813 enablestring=
13814 defaultval=$wxUSE_ALL_FEATURES
13815 if test -z "$defaultval"; then
13816 if test x"$enablestring" = xdisable; then
13817 defaultval=yes
13818 else
13819 defaultval=no
13820 fi
13821 fi
13822
13823 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13824 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13825 # Check whether --enable-uxtheme was given.
13826 if test "${enable_uxtheme+set}" = set; then
13827 enableval=$enable_uxtheme;
13828 if test "$enableval" = yes; then
13829 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13830 else
13831 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13832 fi
13833
13834 else
13835
13836 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13837
13838 fi
13839
13840
13841 eval "$wx_cv_use_uxtheme"
13842
13843 if test x"$enablestring" = xdisable; then
13844 if test $wxUSE_UXTHEME = yes; then
13845 result=no
13846 else
13847 result=yes
13848 fi
13849 else
13850 result=$wxUSE_UXTHEME
13851 fi
13852
13853 { echo "$as_me:$LINENO: result: $result" >&5
13854 echo "${ECHO_T}$result" >&6; }
13855
13856
13857 enablestring=
13858 defaultval=$wxUSE_ALL_FEATURES
13859 if test -z "$defaultval"; then
13860 if test x"$enablestring" = xdisable; then
13861 defaultval=yes
13862 else
13863 defaultval=no
13864 fi
13865 fi
13866
13867 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13868 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13869 # Check whether --enable-wxdib was given.
13870 if test "${enable_wxdib+set}" = set; then
13871 enableval=$enable_wxdib;
13872 if test "$enableval" = yes; then
13873 wx_cv_use_wxdib='wxUSE_DIB=yes'
13874 else
13875 wx_cv_use_wxdib='wxUSE_DIB=no'
13876 fi
13877
13878 else
13879
13880 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13881
13882 fi
13883
13884
13885 eval "$wx_cv_use_wxdib"
13886
13887 if test x"$enablestring" = xdisable; then
13888 if test $wxUSE_DIB = yes; then
13889 result=no
13890 else
13891 result=yes
13892 fi
13893 else
13894 result=$wxUSE_DIB
13895 fi
13896
13897 { echo "$as_me:$LINENO: result: $result" >&5
13898 echo "${ECHO_T}$result" >&6; }
13899
13900
13901 if test "$wxUSE_MSW" != 1; then
13902 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13903 fi
13904
13905
13906 enablestring=
13907 defaultval=$wxUSE_ALL_FEATURES
13908 if test -z "$defaultval"; then
13909 if test x"$enablestring" = xdisable; then
13910 defaultval=yes
13911 else
13912 defaultval=no
13913 fi
13914 fi
13915
13916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13917 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13918 # Check whether --enable-autoidman was given.
13919 if test "${enable_autoidman+set}" = set; then
13920 enableval=$enable_autoidman;
13921 if test "$enableval" = yes; then
13922 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
13923 else
13924 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
13925 fi
13926
13927 else
13928
13929 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13930
13931 fi
13932
13933
13934 eval "$wx_cv_use_autoidman"
13935
13936 if test x"$enablestring" = xdisable; then
13937 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13938 result=no
13939 else
13940 result=yes
13941 fi
13942 else
13943 result=$wxUSE_AUTOID_MANAGEMENT
13944 fi
13945
13946 { echo "$as_me:$LINENO: result: $result" >&5
13947 echo "${ECHO_T}$result" >&6; }
13948
13949
13950 fi
13951
13952
13953 cat >confcache <<\_ACEOF
13954 # This file is a shell script that caches the results of configure
13955 # tests run on this system so they can be shared between configure
13956 # scripts and configure runs, see configure's option --config-cache.
13957 # It is not useful on other systems. If it contains results you don't
13958 # want to keep, you may remove or edit it.
13959 #
13960 # config.status only pays attention to the cache file if you give it
13961 # the --recheck option to rerun configure.
13962 #
13963 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13964 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13965 # following values.
13966
13967 _ACEOF
13968
13969 # The following way of writing the cache mishandles newlines in values,
13970 # but we know of no workaround that is simple, portable, and efficient.
13971 # So, we kill variables containing newlines.
13972 # Ultrix sh set writes to stderr and can't be redirected directly,
13973 # and sets the high bit in the cache file unless we assign to the vars.
13974 (
13975 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13976 eval ac_val=\$$ac_var
13977 case $ac_val in #(
13978 *${as_nl}*)
13979 case $ac_var in #(
13980 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13981 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13982 esac
13983 case $ac_var in #(
13984 _ | IFS | as_nl) ;; #(
13985 *) $as_unset $ac_var ;;
13986 esac ;;
13987 esac
13988 done
13989
13990 (set) 2>&1 |
13991 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13992 *${as_nl}ac_space=\ *)
13993 # `set' does not quote correctly, so add quotes (double-quote
13994 # substitution turns \\\\ into \\, and sed turns \\ into \).
13995 sed -n \
13996 "s/'/'\\\\''/g;
13997 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13998 ;; #(
13999 *)
14000 # `set' quotes correctly as required by POSIX, so do not add quotes.
14001 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14002 ;;
14003 esac |
14004 sort
14005 ) |
14006 sed '
14007 /^ac_cv_env_/b end
14008 t clear
14009 :clear
14010 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14011 t end
14012 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14013 :end' >>confcache
14014 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14015 if test -w "$cache_file"; then
14016 test "x$cache_file" != "x/dev/null" &&
14017 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14018 echo "$as_me: updating cache $cache_file" >&6;}
14019 cat confcache >$cache_file
14020 else
14021 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14022 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14023 fi
14024 fi
14025 rm -f confcache
14026
14027 CFLAGS=${CFLAGS:=}
14028
14029
14030
14031 ac_ext=c
14032 ac_cpp='$CPP $CPPFLAGS'
14033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14036 if test -n "$ac_tool_prefix"; then
14037 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14038 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14039 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14041 if test "${ac_cv_prog_CC+set}" = set; then
14042 echo $ECHO_N "(cached) $ECHO_C" >&6
14043 else
14044 if test -n "$CC"; then
14045 ac_cv_prog_CC="$CC" # Let the user override the test.
14046 else
14047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14048 for as_dir in $PATH
14049 do
14050 IFS=$as_save_IFS
14051 test -z "$as_dir" && as_dir=.
14052 for ac_exec_ext in '' $ac_executable_extensions; do
14053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14054 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14056 break 2
14057 fi
14058 done
14059 done
14060 IFS=$as_save_IFS
14061
14062 fi
14063 fi
14064 CC=$ac_cv_prog_CC
14065 if test -n "$CC"; then
14066 { echo "$as_me:$LINENO: result: $CC" >&5
14067 echo "${ECHO_T}$CC" >&6; }
14068 else
14069 { echo "$as_me:$LINENO: result: no" >&5
14070 echo "${ECHO_T}no" >&6; }
14071 fi
14072
14073
14074 fi
14075 if test -z "$ac_cv_prog_CC"; then
14076 ac_ct_CC=$CC
14077 # Extract the first word of "gcc", so it can be a program name with args.
14078 set dummy gcc; ac_word=$2
14079 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14081 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14082 echo $ECHO_N "(cached) $ECHO_C" >&6
14083 else
14084 if test -n "$ac_ct_CC"; then
14085 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14086 else
14087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14088 for as_dir in $PATH
14089 do
14090 IFS=$as_save_IFS
14091 test -z "$as_dir" && as_dir=.
14092 for ac_exec_ext in '' $ac_executable_extensions; do
14093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14094 ac_cv_prog_ac_ct_CC="gcc"
14095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14096 break 2
14097 fi
14098 done
14099 done
14100 IFS=$as_save_IFS
14101
14102 fi
14103 fi
14104 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14105 if test -n "$ac_ct_CC"; then
14106 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14107 echo "${ECHO_T}$ac_ct_CC" >&6; }
14108 else
14109 { echo "$as_me:$LINENO: result: no" >&5
14110 echo "${ECHO_T}no" >&6; }
14111 fi
14112
14113 if test "x$ac_ct_CC" = x; then
14114 CC=""
14115 else
14116 case $cross_compiling:$ac_tool_warned in
14117 yes:)
14118 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14119 whose name does not start with the host triplet. If you think this
14120 configuration is useful to you, please write to autoconf@gnu.org." >&5
14121 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14122 whose name does not start with the host triplet. If you think this
14123 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14124 ac_tool_warned=yes ;;
14125 esac
14126 CC=$ac_ct_CC
14127 fi
14128 else
14129 CC="$ac_cv_prog_CC"
14130 fi
14131
14132 if test -z "$CC"; then
14133 if test -n "$ac_tool_prefix"; then
14134 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14135 set dummy ${ac_tool_prefix}cc; ac_word=$2
14136 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14138 if test "${ac_cv_prog_CC+set}" = set; then
14139 echo $ECHO_N "(cached) $ECHO_C" >&6
14140 else
14141 if test -n "$CC"; then
14142 ac_cv_prog_CC="$CC" # Let the user override the test.
14143 else
14144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14145 for as_dir in $PATH
14146 do
14147 IFS=$as_save_IFS
14148 test -z "$as_dir" && as_dir=.
14149 for ac_exec_ext in '' $ac_executable_extensions; do
14150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14151 ac_cv_prog_CC="${ac_tool_prefix}cc"
14152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14153 break 2
14154 fi
14155 done
14156 done
14157 IFS=$as_save_IFS
14158
14159 fi
14160 fi
14161 CC=$ac_cv_prog_CC
14162 if test -n "$CC"; then
14163 { echo "$as_me:$LINENO: result: $CC" >&5
14164 echo "${ECHO_T}$CC" >&6; }
14165 else
14166 { echo "$as_me:$LINENO: result: no" >&5
14167 echo "${ECHO_T}no" >&6; }
14168 fi
14169
14170
14171 fi
14172 fi
14173 if test -z "$CC"; then
14174 # Extract the first word of "cc", so it can be a program name with args.
14175 set dummy cc; ac_word=$2
14176 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14177 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14178 if test "${ac_cv_prog_CC+set}" = set; then
14179 echo $ECHO_N "(cached) $ECHO_C" >&6
14180 else
14181 if test -n "$CC"; then
14182 ac_cv_prog_CC="$CC" # Let the user override the test.
14183 else
14184 ac_prog_rejected=no
14185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14186 for as_dir in $PATH
14187 do
14188 IFS=$as_save_IFS
14189 test -z "$as_dir" && as_dir=.
14190 for ac_exec_ext in '' $ac_executable_extensions; do
14191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14192 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14193 ac_prog_rejected=yes
14194 continue
14195 fi
14196 ac_cv_prog_CC="cc"
14197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14198 break 2
14199 fi
14200 done
14201 done
14202 IFS=$as_save_IFS
14203
14204 if test $ac_prog_rejected = yes; then
14205 # We found a bogon in the path, so make sure we never use it.
14206 set dummy $ac_cv_prog_CC
14207 shift
14208 if test $# != 0; then
14209 # We chose a different compiler from the bogus one.
14210 # However, it has the same basename, so the bogon will be chosen
14211 # first if we set CC to just the basename; use the full file name.
14212 shift
14213 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14214 fi
14215 fi
14216 fi
14217 fi
14218 CC=$ac_cv_prog_CC
14219 if test -n "$CC"; then
14220 { echo "$as_me:$LINENO: result: $CC" >&5
14221 echo "${ECHO_T}$CC" >&6; }
14222 else
14223 { echo "$as_me:$LINENO: result: no" >&5
14224 echo "${ECHO_T}no" >&6; }
14225 fi
14226
14227
14228 fi
14229 if test -z "$CC"; then
14230 if test -n "$ac_tool_prefix"; then
14231 for ac_prog in cl.exe
14232 do
14233 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14234 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14235 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14237 if test "${ac_cv_prog_CC+set}" = set; then
14238 echo $ECHO_N "(cached) $ECHO_C" >&6
14239 else
14240 if test -n "$CC"; then
14241 ac_cv_prog_CC="$CC" # Let the user override the test.
14242 else
14243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14244 for as_dir in $PATH
14245 do
14246 IFS=$as_save_IFS
14247 test -z "$as_dir" && as_dir=.
14248 for ac_exec_ext in '' $ac_executable_extensions; do
14249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14250 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14252 break 2
14253 fi
14254 done
14255 done
14256 IFS=$as_save_IFS
14257
14258 fi
14259 fi
14260 CC=$ac_cv_prog_CC
14261 if test -n "$CC"; then
14262 { echo "$as_me:$LINENO: result: $CC" >&5
14263 echo "${ECHO_T}$CC" >&6; }
14264 else
14265 { echo "$as_me:$LINENO: result: no" >&5
14266 echo "${ECHO_T}no" >&6; }
14267 fi
14268
14269
14270 test -n "$CC" && break
14271 done
14272 fi
14273 if test -z "$CC"; then
14274 ac_ct_CC=$CC
14275 for ac_prog in cl.exe
14276 do
14277 # Extract the first word of "$ac_prog", so it can be a program name with args.
14278 set dummy $ac_prog; ac_word=$2
14279 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14281 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14282 echo $ECHO_N "(cached) $ECHO_C" >&6
14283 else
14284 if test -n "$ac_ct_CC"; then
14285 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14286 else
14287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14288 for as_dir in $PATH
14289 do
14290 IFS=$as_save_IFS
14291 test -z "$as_dir" && as_dir=.
14292 for ac_exec_ext in '' $ac_executable_extensions; do
14293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14294 ac_cv_prog_ac_ct_CC="$ac_prog"
14295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14296 break 2
14297 fi
14298 done
14299 done
14300 IFS=$as_save_IFS
14301
14302 fi
14303 fi
14304 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14305 if test -n "$ac_ct_CC"; then
14306 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14307 echo "${ECHO_T}$ac_ct_CC" >&6; }
14308 else
14309 { echo "$as_me:$LINENO: result: no" >&5
14310 echo "${ECHO_T}no" >&6; }
14311 fi
14312
14313
14314 test -n "$ac_ct_CC" && break
14315 done
14316
14317 if test "x$ac_ct_CC" = x; then
14318 CC=""
14319 else
14320 case $cross_compiling:$ac_tool_warned in
14321 yes:)
14322 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14323 whose name does not start with the host triplet. If you think this
14324 configuration is useful to you, please write to autoconf@gnu.org." >&5
14325 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14326 whose name does not start with the host triplet. If you think this
14327 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14328 ac_tool_warned=yes ;;
14329 esac
14330 CC=$ac_ct_CC
14331 fi
14332 fi
14333
14334 fi
14335
14336
14337 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14338 See \`config.log' for more details." >&5
14339 echo "$as_me: error: no acceptable C compiler found in \$PATH
14340 See \`config.log' for more details." >&2;}
14341 { (exit 1); exit 1; }; }
14342
14343 # Provide some information about the compiler.
14344 echo "$as_me:$LINENO: checking for C compiler version" >&5
14345 ac_compiler=`set X $ac_compile; echo $2`
14346 { (ac_try="$ac_compiler --version >&5"
14347 case "(($ac_try" in
14348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14349 *) ac_try_echo=$ac_try;;
14350 esac
14351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14352 (eval "$ac_compiler --version >&5") 2>&5
14353 ac_status=$?
14354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14355 (exit $ac_status); }
14356 { (ac_try="$ac_compiler -v >&5"
14357 case "(($ac_try" in
14358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14359 *) ac_try_echo=$ac_try;;
14360 esac
14361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14362 (eval "$ac_compiler -v >&5") 2>&5
14363 ac_status=$?
14364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14365 (exit $ac_status); }
14366 { (ac_try="$ac_compiler -V >&5"
14367 case "(($ac_try" in
14368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14369 *) ac_try_echo=$ac_try;;
14370 esac
14371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14372 (eval "$ac_compiler -V >&5") 2>&5
14373 ac_status=$?
14374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14375 (exit $ac_status); }
14376
14377 cat >conftest.$ac_ext <<_ACEOF
14378 /* confdefs.h. */
14379 _ACEOF
14380 cat confdefs.h >>conftest.$ac_ext
14381 cat >>conftest.$ac_ext <<_ACEOF
14382 /* end confdefs.h. */
14383
14384 int
14385 main ()
14386 {
14387
14388 ;
14389 return 0;
14390 }
14391 _ACEOF
14392 ac_clean_files_save=$ac_clean_files
14393 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14394 # Try to create an executable without -o first, disregard a.out.
14395 # It will help us diagnose broken compilers, and finding out an intuition
14396 # of exeext.
14397 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14398 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14399 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14400 #
14401 # List of possible output files, starting from the most likely.
14402 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14403 # only as a last resort. b.out is created by i960 compilers.
14404 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14405 #
14406 # The IRIX 6 linker writes into existing files which may not be
14407 # executable, retaining their permissions. Remove them first so a
14408 # subsequent execution test works.
14409 ac_rmfiles=
14410 for ac_file in $ac_files
14411 do
14412 case $ac_file in
14413 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14414 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14415 esac
14416 done
14417 rm -f $ac_rmfiles
14418
14419 if { (ac_try="$ac_link_default"
14420 case "(($ac_try" in
14421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14422 *) ac_try_echo=$ac_try;;
14423 esac
14424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14425 (eval "$ac_link_default") 2>&5
14426 ac_status=$?
14427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14428 (exit $ac_status); }; then
14429 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14430 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14431 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14432 # so that the user can short-circuit this test for compilers unknown to
14433 # Autoconf.
14434 for ac_file in $ac_files ''
14435 do
14436 test -f "$ac_file" || continue
14437 case $ac_file in
14438 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14439 ;;
14440 [ab].out )
14441 # We found the default executable, but exeext='' is most
14442 # certainly right.
14443 break;;
14444 *.* )
14445 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14446 then :; else
14447 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14448 fi
14449 # We set ac_cv_exeext here because the later test for it is not
14450 # safe: cross compilers may not add the suffix if given an `-o'
14451 # argument, so we may need to know it at that point already.
14452 # Even if this section looks crufty: it has the advantage of
14453 # actually working.
14454 break;;
14455 * )
14456 break;;
14457 esac
14458 done
14459 test "$ac_cv_exeext" = no && ac_cv_exeext=
14460
14461 else
14462 ac_file=''
14463 fi
14464
14465 { echo "$as_me:$LINENO: result: $ac_file" >&5
14466 echo "${ECHO_T}$ac_file" >&6; }
14467 if test -z "$ac_file"; then
14468 echo "$as_me: failed program was:" >&5
14469 sed 's/^/| /' conftest.$ac_ext >&5
14470
14471 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14472 See \`config.log' for more details." >&5
14473 echo "$as_me: error: C compiler cannot create executables
14474 See \`config.log' for more details." >&2;}
14475 { (exit 77); exit 77; }; }
14476 fi
14477
14478 ac_exeext=$ac_cv_exeext
14479
14480 # Check that the compiler produces executables we can run. If not, either
14481 # the compiler is broken, or we cross compile.
14482 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14483 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14484 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14485 # If not cross compiling, check that we can run a simple program.
14486 if test "$cross_compiling" != yes; then
14487 if { ac_try='./$ac_file'
14488 { (case "(($ac_try" in
14489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14490 *) ac_try_echo=$ac_try;;
14491 esac
14492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14493 (eval "$ac_try") 2>&5
14494 ac_status=$?
14495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14496 (exit $ac_status); }; }; then
14497 cross_compiling=no
14498 else
14499 if test "$cross_compiling" = maybe; then
14500 cross_compiling=yes
14501 else
14502 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14503 If you meant to cross compile, use \`--host'.
14504 See \`config.log' for more details." >&5
14505 echo "$as_me: error: cannot run C compiled programs.
14506 If you meant to cross compile, use \`--host'.
14507 See \`config.log' for more details." >&2;}
14508 { (exit 1); exit 1; }; }
14509 fi
14510 fi
14511 fi
14512 { echo "$as_me:$LINENO: result: yes" >&5
14513 echo "${ECHO_T}yes" >&6; }
14514
14515 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14516 ac_clean_files=$ac_clean_files_save
14517 # Check that the compiler produces executables we can run. If not, either
14518 # the compiler is broken, or we cross compile.
14519 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14520 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14521 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14522 echo "${ECHO_T}$cross_compiling" >&6; }
14523
14524 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14525 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14526 if { (ac_try="$ac_link"
14527 case "(($ac_try" in
14528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14529 *) ac_try_echo=$ac_try;;
14530 esac
14531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14532 (eval "$ac_link") 2>&5
14533 ac_status=$?
14534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14535 (exit $ac_status); }; then
14536 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14537 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14538 # work properly (i.e., refer to `conftest.exe'), while it won't with
14539 # `rm'.
14540 for ac_file in conftest.exe conftest conftest.*; do
14541 test -f "$ac_file" || continue
14542 case $ac_file in
14543 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14544 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14545 break;;
14546 * ) break;;
14547 esac
14548 done
14549 else
14550 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14551 See \`config.log' for more details." >&5
14552 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14553 See \`config.log' for more details." >&2;}
14554 { (exit 1); exit 1; }; }
14555 fi
14556
14557 rm -f conftest$ac_cv_exeext
14558 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14559 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14560
14561 rm -f conftest.$ac_ext
14562 EXEEXT=$ac_cv_exeext
14563 ac_exeext=$EXEEXT
14564 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14565 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14566 if test "${ac_cv_objext+set}" = set; then
14567 echo $ECHO_N "(cached) $ECHO_C" >&6
14568 else
14569 cat >conftest.$ac_ext <<_ACEOF
14570 /* confdefs.h. */
14571 _ACEOF
14572 cat confdefs.h >>conftest.$ac_ext
14573 cat >>conftest.$ac_ext <<_ACEOF
14574 /* end confdefs.h. */
14575
14576 int
14577 main ()
14578 {
14579
14580 ;
14581 return 0;
14582 }
14583 _ACEOF
14584 rm -f conftest.o conftest.obj
14585 if { (ac_try="$ac_compile"
14586 case "(($ac_try" in
14587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14588 *) ac_try_echo=$ac_try;;
14589 esac
14590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14591 (eval "$ac_compile") 2>&5
14592 ac_status=$?
14593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14594 (exit $ac_status); }; then
14595 for ac_file in conftest.o conftest.obj conftest.*; do
14596 test -f "$ac_file" || continue;
14597 case $ac_file in
14598 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14599 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14600 break;;
14601 esac
14602 done
14603 else
14604 echo "$as_me: failed program was:" >&5
14605 sed 's/^/| /' conftest.$ac_ext >&5
14606
14607 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14608 See \`config.log' for more details." >&5
14609 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14610 See \`config.log' for more details." >&2;}
14611 { (exit 1); exit 1; }; }
14612 fi
14613
14614 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14615 fi
14616 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14617 echo "${ECHO_T}$ac_cv_objext" >&6; }
14618 OBJEXT=$ac_cv_objext
14619 ac_objext=$OBJEXT
14620 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14621 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14622 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14623 echo $ECHO_N "(cached) $ECHO_C" >&6
14624 else
14625 cat >conftest.$ac_ext <<_ACEOF
14626 /* confdefs.h. */
14627 _ACEOF
14628 cat confdefs.h >>conftest.$ac_ext
14629 cat >>conftest.$ac_ext <<_ACEOF
14630 /* end confdefs.h. */
14631
14632 int
14633 main ()
14634 {
14635 #ifndef __GNUC__
14636 choke me
14637 #endif
14638
14639 ;
14640 return 0;
14641 }
14642 _ACEOF
14643 rm -f conftest.$ac_objext
14644 if { (ac_try="$ac_compile"
14645 case "(($ac_try" in
14646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14647 *) ac_try_echo=$ac_try;;
14648 esac
14649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14650 (eval "$ac_compile") 2>conftest.er1
14651 ac_status=$?
14652 grep -v '^ *+' conftest.er1 >conftest.err
14653 rm -f conftest.er1
14654 cat conftest.err >&5
14655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14656 (exit $ac_status); } && {
14657 test -z "$ac_c_werror_flag" ||
14658 test ! -s conftest.err
14659 } && test -s conftest.$ac_objext; then
14660 ac_compiler_gnu=yes
14661 else
14662 echo "$as_me: failed program was:" >&5
14663 sed 's/^/| /' conftest.$ac_ext >&5
14664
14665 ac_compiler_gnu=no
14666 fi
14667
14668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14669 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14670
14671 fi
14672 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14673 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14674 GCC=`test $ac_compiler_gnu = yes && echo yes`
14675 ac_test_CFLAGS=${CFLAGS+set}
14676 ac_save_CFLAGS=$CFLAGS
14677 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14678 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14679 if test "${ac_cv_prog_cc_g+set}" = set; then
14680 echo $ECHO_N "(cached) $ECHO_C" >&6
14681 else
14682 ac_save_c_werror_flag=$ac_c_werror_flag
14683 ac_c_werror_flag=yes
14684 ac_cv_prog_cc_g=no
14685 CFLAGS="-g"
14686 cat >conftest.$ac_ext <<_ACEOF
14687 /* confdefs.h. */
14688 _ACEOF
14689 cat confdefs.h >>conftest.$ac_ext
14690 cat >>conftest.$ac_ext <<_ACEOF
14691 /* end confdefs.h. */
14692
14693 int
14694 main ()
14695 {
14696
14697 ;
14698 return 0;
14699 }
14700 _ACEOF
14701 rm -f conftest.$ac_objext
14702 if { (ac_try="$ac_compile"
14703 case "(($ac_try" in
14704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14705 *) ac_try_echo=$ac_try;;
14706 esac
14707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14708 (eval "$ac_compile") 2>conftest.er1
14709 ac_status=$?
14710 grep -v '^ *+' conftest.er1 >conftest.err
14711 rm -f conftest.er1
14712 cat conftest.err >&5
14713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14714 (exit $ac_status); } && {
14715 test -z "$ac_c_werror_flag" ||
14716 test ! -s conftest.err
14717 } && test -s conftest.$ac_objext; then
14718 ac_cv_prog_cc_g=yes
14719 else
14720 echo "$as_me: failed program was:" >&5
14721 sed 's/^/| /' conftest.$ac_ext >&5
14722
14723 CFLAGS=""
14724 cat >conftest.$ac_ext <<_ACEOF
14725 /* confdefs.h. */
14726 _ACEOF
14727 cat confdefs.h >>conftest.$ac_ext
14728 cat >>conftest.$ac_ext <<_ACEOF
14729 /* end confdefs.h. */
14730
14731 int
14732 main ()
14733 {
14734
14735 ;
14736 return 0;
14737 }
14738 _ACEOF
14739 rm -f conftest.$ac_objext
14740 if { (ac_try="$ac_compile"
14741 case "(($ac_try" in
14742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14743 *) ac_try_echo=$ac_try;;
14744 esac
14745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14746 (eval "$ac_compile") 2>conftest.er1
14747 ac_status=$?
14748 grep -v '^ *+' conftest.er1 >conftest.err
14749 rm -f conftest.er1
14750 cat conftest.err >&5
14751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14752 (exit $ac_status); } && {
14753 test -z "$ac_c_werror_flag" ||
14754 test ! -s conftest.err
14755 } && test -s conftest.$ac_objext; then
14756 :
14757 else
14758 echo "$as_me: failed program was:" >&5
14759 sed 's/^/| /' conftest.$ac_ext >&5
14760
14761 ac_c_werror_flag=$ac_save_c_werror_flag
14762 CFLAGS="-g"
14763 cat >conftest.$ac_ext <<_ACEOF
14764 /* confdefs.h. */
14765 _ACEOF
14766 cat confdefs.h >>conftest.$ac_ext
14767 cat >>conftest.$ac_ext <<_ACEOF
14768 /* end confdefs.h. */
14769
14770 int
14771 main ()
14772 {
14773
14774 ;
14775 return 0;
14776 }
14777 _ACEOF
14778 rm -f conftest.$ac_objext
14779 if { (ac_try="$ac_compile"
14780 case "(($ac_try" in
14781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14782 *) ac_try_echo=$ac_try;;
14783 esac
14784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14785 (eval "$ac_compile") 2>conftest.er1
14786 ac_status=$?
14787 grep -v '^ *+' conftest.er1 >conftest.err
14788 rm -f conftest.er1
14789 cat conftest.err >&5
14790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14791 (exit $ac_status); } && {
14792 test -z "$ac_c_werror_flag" ||
14793 test ! -s conftest.err
14794 } && test -s conftest.$ac_objext; then
14795 ac_cv_prog_cc_g=yes
14796 else
14797 echo "$as_me: failed program was:" >&5
14798 sed 's/^/| /' conftest.$ac_ext >&5
14799
14800
14801 fi
14802
14803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14804 fi
14805
14806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14807 fi
14808
14809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14810 ac_c_werror_flag=$ac_save_c_werror_flag
14811 fi
14812 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14813 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14814 if test "$ac_test_CFLAGS" = set; then
14815 CFLAGS=$ac_save_CFLAGS
14816 elif test $ac_cv_prog_cc_g = yes; then
14817 if test "$GCC" = yes; then
14818 CFLAGS="-g -O2"
14819 else
14820 CFLAGS="-g"
14821 fi
14822 else
14823 if test "$GCC" = yes; then
14824 CFLAGS="-O2"
14825 else
14826 CFLAGS=
14827 fi
14828 fi
14829 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14830 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14831 if test "${ac_cv_prog_cc_c89+set}" = set; then
14832 echo $ECHO_N "(cached) $ECHO_C" >&6
14833 else
14834 ac_cv_prog_cc_c89=no
14835 ac_save_CC=$CC
14836 cat >conftest.$ac_ext <<_ACEOF
14837 /* confdefs.h. */
14838 _ACEOF
14839 cat confdefs.h >>conftest.$ac_ext
14840 cat >>conftest.$ac_ext <<_ACEOF
14841 /* end confdefs.h. */
14842 #include <stdarg.h>
14843 #include <stdio.h>
14844 #include <sys/types.h>
14845 #include <sys/stat.h>
14846 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14847 struct buf { int x; };
14848 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14849 static char *e (p, i)
14850 char **p;
14851 int i;
14852 {
14853 return p[i];
14854 }
14855 static char *f (char * (*g) (char **, int), char **p, ...)
14856 {
14857 char *s;
14858 va_list v;
14859 va_start (v,p);
14860 s = g (p, va_arg (v,int));
14861 va_end (v);
14862 return s;
14863 }
14864
14865 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14866 function prototypes and stuff, but not '\xHH' hex character constants.
14867 These don't provoke an error unfortunately, instead are silently treated
14868 as 'x'. The following induces an error, until -std is added to get
14869 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14870 array size at least. It's necessary to write '\x00'==0 to get something
14871 that's true only with -std. */
14872 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14873
14874 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14875 inside strings and character constants. */
14876 #define FOO(x) 'x'
14877 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14878
14879 int test (int i, double x);
14880 struct s1 {int (*f) (int a);};
14881 struct s2 {int (*f) (double a);};
14882 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14883 int argc;
14884 char **argv;
14885 int
14886 main ()
14887 {
14888 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14889 ;
14890 return 0;
14891 }
14892 _ACEOF
14893 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14894 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14895 do
14896 CC="$ac_save_CC $ac_arg"
14897 rm -f conftest.$ac_objext
14898 if { (ac_try="$ac_compile"
14899 case "(($ac_try" in
14900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14901 *) ac_try_echo=$ac_try;;
14902 esac
14903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14904 (eval "$ac_compile") 2>conftest.er1
14905 ac_status=$?
14906 grep -v '^ *+' conftest.er1 >conftest.err
14907 rm -f conftest.er1
14908 cat conftest.err >&5
14909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14910 (exit $ac_status); } && {
14911 test -z "$ac_c_werror_flag" ||
14912 test ! -s conftest.err
14913 } && test -s conftest.$ac_objext; then
14914 ac_cv_prog_cc_c89=$ac_arg
14915 else
14916 echo "$as_me: failed program was:" >&5
14917 sed 's/^/| /' conftest.$ac_ext >&5
14918
14919
14920 fi
14921
14922 rm -f core conftest.err conftest.$ac_objext
14923 test "x$ac_cv_prog_cc_c89" != "xno" && break
14924 done
14925 rm -f conftest.$ac_ext
14926 CC=$ac_save_CC
14927
14928 fi
14929 # AC_CACHE_VAL
14930 case "x$ac_cv_prog_cc_c89" in
14931 x)
14932 { echo "$as_me:$LINENO: result: none needed" >&5
14933 echo "${ECHO_T}none needed" >&6; } ;;
14934 xno)
14935 { echo "$as_me:$LINENO: result: unsupported" >&5
14936 echo "${ECHO_T}unsupported" >&6; } ;;
14937 *)
14938 CC="$CC $ac_cv_prog_cc_c89"
14939 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
14940 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14941 esac
14942
14943
14944 ac_ext=c
14945 ac_cpp='$CPP $CPPFLAGS'
14946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14949
14950
14951
14952
14953 ac_ext=c
14954 ac_cpp='$CPP $CPPFLAGS'
14955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14958
14959 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
14960 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
14961 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14962 echo $ECHO_N "(cached) $ECHO_C" >&6
14963 else
14964 cat >conftest.$ac_ext <<_ACEOF
14965 /* confdefs.h. */
14966 _ACEOF
14967 cat confdefs.h >>conftest.$ac_ext
14968 cat >>conftest.$ac_ext <<_ACEOF
14969 /* end confdefs.h. */
14970
14971 int
14972 main ()
14973 {
14974
14975 #ifndef __INTEL_COMPILER
14976 choke me
14977 #endif
14978
14979 ;
14980 return 0;
14981 }
14982 _ACEOF
14983 rm -f conftest.$ac_objext
14984 if { (ac_try="$ac_compile"
14985 case "(($ac_try" in
14986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14987 *) ac_try_echo=$ac_try;;
14988 esac
14989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14990 (eval "$ac_compile") 2>conftest.er1
14991 ac_status=$?
14992 grep -v '^ *+' conftest.er1 >conftest.err
14993 rm -f conftest.er1
14994 cat conftest.err >&5
14995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14996 (exit $ac_status); } && {
14997 test -z "$ac_c_werror_flag" ||
14998 test ! -s conftest.err
14999 } && test -s conftest.$ac_objext; then
15000 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15001 else
15002 echo "$as_me: failed program was:" >&5
15003 sed 's/^/| /' conftest.$ac_ext >&5
15004
15005 bakefile_cv_c_compiler___INTEL_COMPILER=no
15006
15007 fi
15008
15009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15010
15011
15012 fi
15013 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15014 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15015 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15016 :; INTELCC=yes
15017 else
15018 :;
15019 fi
15020 ac_ext=c
15021 ac_cpp='$CPP $CPPFLAGS'
15022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15025
15026
15027
15028
15029 if test "$INTELCC" = "yes"; then
15030
15031
15032 ac_ext=c
15033 ac_cpp='$CPP $CPPFLAGS'
15034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15037
15038 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15039 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15040 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15041 echo $ECHO_N "(cached) $ECHO_C" >&6
15042 else
15043 cat >conftest.$ac_ext <<_ACEOF
15044 /* confdefs.h. */
15045 _ACEOF
15046 cat confdefs.h >>conftest.$ac_ext
15047 cat >>conftest.$ac_ext <<_ACEOF
15048 /* end confdefs.h. */
15049
15050 int
15051 main ()
15052 {
15053
15054 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15055 choke me
15056 #endif
15057
15058 ;
15059 return 0;
15060 }
15061 _ACEOF
15062 rm -f conftest.$ac_objext
15063 if { (ac_try="$ac_compile"
15064 case "(($ac_try" in
15065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15066 *) ac_try_echo=$ac_try;;
15067 esac
15068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15069 (eval "$ac_compile") 2>conftest.er1
15070 ac_status=$?
15071 grep -v '^ *+' conftest.er1 >conftest.err
15072 rm -f conftest.er1
15073 cat conftest.err >&5
15074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15075 (exit $ac_status); } && {
15076 test -z "$ac_c_werror_flag" ||
15077 test ! -s conftest.err
15078 } && test -s conftest.$ac_objext; then
15079 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15080 else
15081 echo "$as_me: failed program was:" >&5
15082 sed 's/^/| /' conftest.$ac_ext >&5
15083
15084 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15085
15086 fi
15087
15088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15089
15090
15091 fi
15092 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15093 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15094 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15095 :; INTELCC8=yes
15096 else
15097 :;
15098 fi
15099 ac_ext=c
15100 ac_cpp='$CPP $CPPFLAGS'
15101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15104
15105
15106
15107
15108
15109 ac_ext=c
15110 ac_cpp='$CPP $CPPFLAGS'
15111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15114
15115 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15116 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15117 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15118 echo $ECHO_N "(cached) $ECHO_C" >&6
15119 else
15120 cat >conftest.$ac_ext <<_ACEOF
15121 /* confdefs.h. */
15122 _ACEOF
15123 cat confdefs.h >>conftest.$ac_ext
15124 cat >>conftest.$ac_ext <<_ACEOF
15125 /* end confdefs.h. */
15126
15127 int
15128 main ()
15129 {
15130
15131 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15132 choke me
15133 #endif
15134
15135 ;
15136 return 0;
15137 }
15138 _ACEOF
15139 rm -f conftest.$ac_objext
15140 if { (ac_try="$ac_compile"
15141 case "(($ac_try" in
15142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15143 *) ac_try_echo=$ac_try;;
15144 esac
15145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15146 (eval "$ac_compile") 2>conftest.er1
15147 ac_status=$?
15148 grep -v '^ *+' conftest.er1 >conftest.err
15149 rm -f conftest.er1
15150 cat conftest.err >&5
15151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15152 (exit $ac_status); } && {
15153 test -z "$ac_c_werror_flag" ||
15154 test ! -s conftest.err
15155 } && test -s conftest.$ac_objext; then
15156 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15157 else
15158 echo "$as_me: failed program was:" >&5
15159 sed 's/^/| /' conftest.$ac_ext >&5
15160
15161 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15162
15163 fi
15164
15165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15166
15167
15168 fi
15169 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15170 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15171 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15172 :; INTELCC10=yes
15173 else
15174 :;
15175 fi
15176 ac_ext=c
15177 ac_cpp='$CPP $CPPFLAGS'
15178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15181
15182
15183
15184 fi
15185
15186 if test "x$GCC" != "xyes"; then
15187 if test "xCC" = "xC"; then
15188 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15189 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15190 if test "${bakefile_cv_c_exto+set}" = set; then
15191 echo $ECHO_N "(cached) $ECHO_C" >&6
15192 else
15193 cat >conftest.$ac_ext <<_ACEOF
15194 /* confdefs.h. */
15195 _ACEOF
15196 cat confdefs.h >>conftest.$ac_ext
15197 cat >>conftest.$ac_ext <<_ACEOF
15198 /* end confdefs.h. */
15199
15200 int
15201 main ()
15202 {
15203
15204 ;
15205 return 0;
15206 }
15207 _ACEOF
15208 rm -f conftest.$ac_objext conftest.$ac_ext.o
15209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15210 (eval $ac_compile) 2>&5
15211 ac_status=$?
15212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15213 (exit $ac_status); }; then
15214 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15215 case $ac_file in
15216 conftest.$ac_ext.o)
15217 bakefile_cv_c_exto="-ext o"
15218 ;;
15219 *)
15220 ;;
15221 esac
15222 done
15223 else
15224 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15225 See \`config.log' for more details." >&5
15226 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15227 See \`config.log' for more details." >&2;}
15228 { (exit 1); exit 1; }; }
15229
15230 fi
15231
15232 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15233
15234 fi
15235 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15236 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15237 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15238 if test "c" = "c"; then
15239 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15240 fi
15241 if test "c" = "cxx"; then
15242 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15243 fi
15244 fi
15245
15246 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15247 unset ac_cv_prog_cc_g
15248 ac_test_CFLAGS=${CFLAGS+set}
15249 ac_save_CFLAGS=$CFLAGS
15250 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15251 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15252 if test "${ac_cv_prog_cc_g+set}" = set; then
15253 echo $ECHO_N "(cached) $ECHO_C" >&6
15254 else
15255 ac_save_c_werror_flag=$ac_c_werror_flag
15256 ac_c_werror_flag=yes
15257 ac_cv_prog_cc_g=no
15258 CFLAGS="-g"
15259 cat >conftest.$ac_ext <<_ACEOF
15260 /* confdefs.h. */
15261 _ACEOF
15262 cat confdefs.h >>conftest.$ac_ext
15263 cat >>conftest.$ac_ext <<_ACEOF
15264 /* end confdefs.h. */
15265
15266 int
15267 main ()
15268 {
15269
15270 ;
15271 return 0;
15272 }
15273 _ACEOF
15274 rm -f conftest.$ac_objext
15275 if { (ac_try="$ac_compile"
15276 case "(($ac_try" in
15277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15278 *) ac_try_echo=$ac_try;;
15279 esac
15280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15281 (eval "$ac_compile") 2>conftest.er1
15282 ac_status=$?
15283 grep -v '^ *+' conftest.er1 >conftest.err
15284 rm -f conftest.er1
15285 cat conftest.err >&5
15286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15287 (exit $ac_status); } && {
15288 test -z "$ac_c_werror_flag" ||
15289 test ! -s conftest.err
15290 } && test -s conftest.$ac_objext; then
15291 ac_cv_prog_cc_g=yes
15292 else
15293 echo "$as_me: failed program was:" >&5
15294 sed 's/^/| /' conftest.$ac_ext >&5
15295
15296 CFLAGS=""
15297 cat >conftest.$ac_ext <<_ACEOF
15298 /* confdefs.h. */
15299 _ACEOF
15300 cat confdefs.h >>conftest.$ac_ext
15301 cat >>conftest.$ac_ext <<_ACEOF
15302 /* end confdefs.h. */
15303
15304 int
15305 main ()
15306 {
15307
15308 ;
15309 return 0;
15310 }
15311 _ACEOF
15312 rm -f conftest.$ac_objext
15313 if { (ac_try="$ac_compile"
15314 case "(($ac_try" in
15315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15316 *) ac_try_echo=$ac_try;;
15317 esac
15318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15319 (eval "$ac_compile") 2>conftest.er1
15320 ac_status=$?
15321 grep -v '^ *+' conftest.er1 >conftest.err
15322 rm -f conftest.er1
15323 cat conftest.err >&5
15324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15325 (exit $ac_status); } && {
15326 test -z "$ac_c_werror_flag" ||
15327 test ! -s conftest.err
15328 } && test -s conftest.$ac_objext; then
15329 :
15330 else
15331 echo "$as_me: failed program was:" >&5
15332 sed 's/^/| /' conftest.$ac_ext >&5
15333
15334 ac_c_werror_flag=$ac_save_c_werror_flag
15335 CFLAGS="-g"
15336 cat >conftest.$ac_ext <<_ACEOF
15337 /* confdefs.h. */
15338 _ACEOF
15339 cat confdefs.h >>conftest.$ac_ext
15340 cat >>conftest.$ac_ext <<_ACEOF
15341 /* end confdefs.h. */
15342
15343 int
15344 main ()
15345 {
15346
15347 ;
15348 return 0;
15349 }
15350 _ACEOF
15351 rm -f conftest.$ac_objext
15352 if { (ac_try="$ac_compile"
15353 case "(($ac_try" in
15354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15355 *) ac_try_echo=$ac_try;;
15356 esac
15357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15358 (eval "$ac_compile") 2>conftest.er1
15359 ac_status=$?
15360 grep -v '^ *+' conftest.er1 >conftest.err
15361 rm -f conftest.er1
15362 cat conftest.err >&5
15363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15364 (exit $ac_status); } && {
15365 test -z "$ac_c_werror_flag" ||
15366 test ! -s conftest.err
15367 } && test -s conftest.$ac_objext; then
15368 ac_cv_prog_cc_g=yes
15369 else
15370 echo "$as_me: failed program was:" >&5
15371 sed 's/^/| /' conftest.$ac_ext >&5
15372
15373
15374 fi
15375
15376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15377 fi
15378
15379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15380 fi
15381
15382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15383 ac_c_werror_flag=$ac_save_c_werror_flag
15384 fi
15385 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15386 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15387 if test "$ac_test_CFLAGS" = set; then
15388 CFLAGS=$ac_save_CFLAGS
15389 elif test $ac_cv_prog_cc_g = yes; then
15390 if test "$GCC" = yes; then
15391 CFLAGS="-g -O2"
15392 else
15393 CFLAGS="-g"
15394 fi
15395 else
15396 if test "$GCC" = yes; then
15397 CFLAGS="-O2"
15398 else
15399 CFLAGS=
15400 fi
15401 fi
15402 fi
15403 fi
15404
15405 case `uname -s` in
15406 AIX*)
15407
15408
15409 ac_ext=c
15410 ac_cpp='$CPP $CPPFLAGS'
15411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15414
15415 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15416 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15417 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15418 echo $ECHO_N "(cached) $ECHO_C" >&6
15419 else
15420 cat >conftest.$ac_ext <<_ACEOF
15421 /* confdefs.h. */
15422 _ACEOF
15423 cat confdefs.h >>conftest.$ac_ext
15424 cat >>conftest.$ac_ext <<_ACEOF
15425 /* end confdefs.h. */
15426
15427 int
15428 main ()
15429 {
15430
15431 #ifndef __xlC__
15432 choke me
15433 #endif
15434
15435 ;
15436 return 0;
15437 }
15438 _ACEOF
15439 rm -f conftest.$ac_objext
15440 if { (ac_try="$ac_compile"
15441 case "(($ac_try" in
15442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15443 *) ac_try_echo=$ac_try;;
15444 esac
15445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15446 (eval "$ac_compile") 2>conftest.er1
15447 ac_status=$?
15448 grep -v '^ *+' conftest.er1 >conftest.err
15449 rm -f conftest.er1
15450 cat conftest.err >&5
15451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15452 (exit $ac_status); } && {
15453 test -z "$ac_c_werror_flag" ||
15454 test ! -s conftest.err
15455 } && test -s conftest.$ac_objext; then
15456 bakefile_cv_c_compiler___xlC__=yes
15457 else
15458 echo "$as_me: failed program was:" >&5
15459 sed 's/^/| /' conftest.$ac_ext >&5
15460
15461 bakefile_cv_c_compiler___xlC__=no
15462
15463 fi
15464
15465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15466
15467
15468 fi
15469 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15470 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15471 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15472 :; XLCC=yes
15473 else
15474 :;
15475 fi
15476 ac_ext=c
15477 ac_cpp='$CPP $CPPFLAGS'
15478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15481
15482
15483
15484 ;;
15485
15486 Darwin)
15487
15488
15489 ac_ext=c
15490 ac_cpp='$CPP $CPPFLAGS'
15491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15494
15495 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15496 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15497 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15498 echo $ECHO_N "(cached) $ECHO_C" >&6
15499 else
15500 cat >conftest.$ac_ext <<_ACEOF
15501 /* confdefs.h. */
15502 _ACEOF
15503 cat confdefs.h >>conftest.$ac_ext
15504 cat >>conftest.$ac_ext <<_ACEOF
15505 /* end confdefs.h. */
15506
15507 int
15508 main ()
15509 {
15510
15511 #ifndef __MWERKS__
15512 choke me
15513 #endif
15514
15515 ;
15516 return 0;
15517 }
15518 _ACEOF
15519 rm -f conftest.$ac_objext
15520 if { (ac_try="$ac_compile"
15521 case "(($ac_try" in
15522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15523 *) ac_try_echo=$ac_try;;
15524 esac
15525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15526 (eval "$ac_compile") 2>conftest.er1
15527 ac_status=$?
15528 grep -v '^ *+' conftest.er1 >conftest.err
15529 rm -f conftest.er1
15530 cat conftest.err >&5
15531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15532 (exit $ac_status); } && {
15533 test -z "$ac_c_werror_flag" ||
15534 test ! -s conftest.err
15535 } && test -s conftest.$ac_objext; then
15536 bakefile_cv_c_compiler___MWERKS__=yes
15537 else
15538 echo "$as_me: failed program was:" >&5
15539 sed 's/^/| /' conftest.$ac_ext >&5
15540
15541 bakefile_cv_c_compiler___MWERKS__=no
15542
15543 fi
15544
15545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15546
15547
15548 fi
15549 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15550 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15551 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15552 :; MWCC=yes
15553 else
15554 :;
15555 fi
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
15563
15564 if test "$MWCC" != "yes"; then
15565
15566
15567 ac_ext=c
15568 ac_cpp='$CPP $CPPFLAGS'
15569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15572
15573 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15574 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15575 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15576 echo $ECHO_N "(cached) $ECHO_C" >&6
15577 else
15578 cat >conftest.$ac_ext <<_ACEOF
15579 /* confdefs.h. */
15580 _ACEOF
15581 cat confdefs.h >>conftest.$ac_ext
15582 cat >>conftest.$ac_ext <<_ACEOF
15583 /* end confdefs.h. */
15584
15585 int
15586 main ()
15587 {
15588
15589 #ifndef __xlC__
15590 choke me
15591 #endif
15592
15593 ;
15594 return 0;
15595 }
15596 _ACEOF
15597 rm -f conftest.$ac_objext
15598 if { (ac_try="$ac_compile"
15599 case "(($ac_try" in
15600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15601 *) ac_try_echo=$ac_try;;
15602 esac
15603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15604 (eval "$ac_compile") 2>conftest.er1
15605 ac_status=$?
15606 grep -v '^ *+' conftest.er1 >conftest.err
15607 rm -f conftest.er1
15608 cat conftest.err >&5
15609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15610 (exit $ac_status); } && {
15611 test -z "$ac_c_werror_flag" ||
15612 test ! -s conftest.err
15613 } && test -s conftest.$ac_objext; then
15614 bakefile_cv_c_compiler___xlC__=yes
15615 else
15616 echo "$as_me: failed program was:" >&5
15617 sed 's/^/| /' conftest.$ac_ext >&5
15618
15619 bakefile_cv_c_compiler___xlC__=no
15620
15621 fi
15622
15623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15624
15625
15626 fi
15627 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15628 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15629 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15630 :; XLCC=yes
15631 else
15632 :;
15633 fi
15634 ac_ext=c
15635 ac_cpp='$CPP $CPPFLAGS'
15636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15639
15640
15641
15642 fi
15643 ;;
15644
15645 IRIX*)
15646
15647
15648 ac_ext=c
15649 ac_cpp='$CPP $CPPFLAGS'
15650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15653
15654 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15655 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15656 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15657 echo $ECHO_N "(cached) $ECHO_C" >&6
15658 else
15659 cat >conftest.$ac_ext <<_ACEOF
15660 /* confdefs.h. */
15661 _ACEOF
15662 cat confdefs.h >>conftest.$ac_ext
15663 cat >>conftest.$ac_ext <<_ACEOF
15664 /* end confdefs.h. */
15665
15666 int
15667 main ()
15668 {
15669
15670 #ifndef _SGI_COMPILER_VERSION
15671 choke me
15672 #endif
15673
15674 ;
15675 return 0;
15676 }
15677 _ACEOF
15678 rm -f conftest.$ac_objext
15679 if { (ac_try="$ac_compile"
15680 case "(($ac_try" in
15681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15682 *) ac_try_echo=$ac_try;;
15683 esac
15684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15685 (eval "$ac_compile") 2>conftest.er1
15686 ac_status=$?
15687 grep -v '^ *+' conftest.er1 >conftest.err
15688 rm -f conftest.er1
15689 cat conftest.err >&5
15690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15691 (exit $ac_status); } && {
15692 test -z "$ac_c_werror_flag" ||
15693 test ! -s conftest.err
15694 } && test -s conftest.$ac_objext; then
15695 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15696 else
15697 echo "$as_me: failed program was:" >&5
15698 sed 's/^/| /' conftest.$ac_ext >&5
15699
15700 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15701
15702 fi
15703
15704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15705
15706
15707 fi
15708 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15709 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15710 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15711 :; SGICC=yes
15712 else
15713 :;
15714 fi
15715 ac_ext=c
15716 ac_cpp='$CPP $CPPFLAGS'
15717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15720
15721
15722
15723 ;;
15724
15725 Linux*)
15726 if test "$INTELCC" != "yes"; then
15727
15728
15729 ac_ext=c
15730 ac_cpp='$CPP $CPPFLAGS'
15731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15734
15735 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15736 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15737 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15738 echo $ECHO_N "(cached) $ECHO_C" >&6
15739 else
15740 cat >conftest.$ac_ext <<_ACEOF
15741 /* confdefs.h. */
15742 _ACEOF
15743 cat confdefs.h >>conftest.$ac_ext
15744 cat >>conftest.$ac_ext <<_ACEOF
15745 /* end confdefs.h. */
15746
15747 int
15748 main ()
15749 {
15750
15751 #ifndef __SUNPRO_C
15752 choke me
15753 #endif
15754
15755 ;
15756 return 0;
15757 }
15758 _ACEOF
15759 rm -f conftest.$ac_objext
15760 if { (ac_try="$ac_compile"
15761 case "(($ac_try" in
15762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15763 *) ac_try_echo=$ac_try;;
15764 esac
15765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15766 (eval "$ac_compile") 2>conftest.er1
15767 ac_status=$?
15768 grep -v '^ *+' conftest.er1 >conftest.err
15769 rm -f conftest.er1
15770 cat conftest.err >&5
15771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15772 (exit $ac_status); } && {
15773 test -z "$ac_c_werror_flag" ||
15774 test ! -s conftest.err
15775 } && test -s conftest.$ac_objext; then
15776 bakefile_cv_c_compiler___SUNPRO_C=yes
15777 else
15778 echo "$as_me: failed program was:" >&5
15779 sed 's/^/| /' conftest.$ac_ext >&5
15780
15781 bakefile_cv_c_compiler___SUNPRO_C=no
15782
15783 fi
15784
15785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15786
15787
15788 fi
15789 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15790 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15791 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15792 :; SUNCC=yes
15793 else
15794 :;
15795 fi
15796 ac_ext=c
15797 ac_cpp='$CPP $CPPFLAGS'
15798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15801
15802
15803
15804 fi
15805 ;;
15806
15807 HP-UX*)
15808
15809
15810 ac_ext=c
15811 ac_cpp='$CPP $CPPFLAGS'
15812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15815
15816 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15817 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15818 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15819 echo $ECHO_N "(cached) $ECHO_C" >&6
15820 else
15821 cat >conftest.$ac_ext <<_ACEOF
15822 /* confdefs.h. */
15823 _ACEOF
15824 cat confdefs.h >>conftest.$ac_ext
15825 cat >>conftest.$ac_ext <<_ACEOF
15826 /* end confdefs.h. */
15827
15828 int
15829 main ()
15830 {
15831
15832 #ifndef __HP_cc
15833 choke me
15834 #endif
15835
15836 ;
15837 return 0;
15838 }
15839 _ACEOF
15840 rm -f conftest.$ac_objext
15841 if { (ac_try="$ac_compile"
15842 case "(($ac_try" in
15843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15844 *) ac_try_echo=$ac_try;;
15845 esac
15846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15847 (eval "$ac_compile") 2>conftest.er1
15848 ac_status=$?
15849 grep -v '^ *+' conftest.er1 >conftest.err
15850 rm -f conftest.er1
15851 cat conftest.err >&5
15852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15853 (exit $ac_status); } && {
15854 test -z "$ac_c_werror_flag" ||
15855 test ! -s conftest.err
15856 } && test -s conftest.$ac_objext; then
15857 bakefile_cv_c_compiler___HP_cc=yes
15858 else
15859 echo "$as_me: failed program was:" >&5
15860 sed 's/^/| /' conftest.$ac_ext >&5
15861
15862 bakefile_cv_c_compiler___HP_cc=no
15863
15864 fi
15865
15866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15867
15868
15869 fi
15870 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15871 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15872 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15873 :; HPCC=yes
15874 else
15875 :;
15876 fi
15877 ac_ext=c
15878 ac_cpp='$CPP $CPPFLAGS'
15879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15882
15883
15884
15885 ;;
15886
15887 OSF1)
15888
15889
15890 ac_ext=c
15891 ac_cpp='$CPP $CPPFLAGS'
15892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15895
15896 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15897 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15898 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15899 echo $ECHO_N "(cached) $ECHO_C" >&6
15900 else
15901 cat >conftest.$ac_ext <<_ACEOF
15902 /* confdefs.h. */
15903 _ACEOF
15904 cat confdefs.h >>conftest.$ac_ext
15905 cat >>conftest.$ac_ext <<_ACEOF
15906 /* end confdefs.h. */
15907
15908 int
15909 main ()
15910 {
15911
15912 #ifndef __DECC
15913 choke me
15914 #endif
15915
15916 ;
15917 return 0;
15918 }
15919 _ACEOF
15920 rm -f conftest.$ac_objext
15921 if { (ac_try="$ac_compile"
15922 case "(($ac_try" in
15923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15924 *) ac_try_echo=$ac_try;;
15925 esac
15926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15927 (eval "$ac_compile") 2>conftest.er1
15928 ac_status=$?
15929 grep -v '^ *+' conftest.er1 >conftest.err
15930 rm -f conftest.er1
15931 cat conftest.err >&5
15932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15933 (exit $ac_status); } && {
15934 test -z "$ac_c_werror_flag" ||
15935 test ! -s conftest.err
15936 } && test -s conftest.$ac_objext; then
15937 bakefile_cv_c_compiler___DECC=yes
15938 else
15939 echo "$as_me: failed program was:" >&5
15940 sed 's/^/| /' conftest.$ac_ext >&5
15941
15942 bakefile_cv_c_compiler___DECC=no
15943
15944 fi
15945
15946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15947
15948
15949 fi
15950 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15951 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15952 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15953 :; COMPAQCC=yes
15954 else
15955 :;
15956 fi
15957 ac_ext=c
15958 ac_cpp='$CPP $CPPFLAGS'
15959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15962
15963
15964
15965 ;;
15966
15967 SunOS)
15968
15969
15970 ac_ext=c
15971 ac_cpp='$CPP $CPPFLAGS'
15972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15975
15976 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15977 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15978 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15979 echo $ECHO_N "(cached) $ECHO_C" >&6
15980 else
15981 cat >conftest.$ac_ext <<_ACEOF
15982 /* confdefs.h. */
15983 _ACEOF
15984 cat confdefs.h >>conftest.$ac_ext
15985 cat >>conftest.$ac_ext <<_ACEOF
15986 /* end confdefs.h. */
15987
15988 int
15989 main ()
15990 {
15991
15992 #ifndef __SUNPRO_C
15993 choke me
15994 #endif
15995
15996 ;
15997 return 0;
15998 }
15999 _ACEOF
16000 rm -f conftest.$ac_objext
16001 if { (ac_try="$ac_compile"
16002 case "(($ac_try" in
16003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16004 *) ac_try_echo=$ac_try;;
16005 esac
16006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16007 (eval "$ac_compile") 2>conftest.er1
16008 ac_status=$?
16009 grep -v '^ *+' conftest.er1 >conftest.err
16010 rm -f conftest.er1
16011 cat conftest.err >&5
16012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16013 (exit $ac_status); } && {
16014 test -z "$ac_c_werror_flag" ||
16015 test ! -s conftest.err
16016 } && test -s conftest.$ac_objext; then
16017 bakefile_cv_c_compiler___SUNPRO_C=yes
16018 else
16019 echo "$as_me: failed program was:" >&5
16020 sed 's/^/| /' conftest.$ac_ext >&5
16021
16022 bakefile_cv_c_compiler___SUNPRO_C=no
16023
16024 fi
16025
16026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16027
16028
16029 fi
16030 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16031 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16032 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16033 :; SUNCC=yes
16034 else
16035 :;
16036 fi
16037 ac_ext=c
16038 ac_cpp='$CPP $CPPFLAGS'
16039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16042
16043
16044
16045 ;;
16046 esac
16047 fi
16048
16049
16050
16051 ac_ext=c
16052 ac_cpp='$CPP $CPPFLAGS'
16053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16056 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16057 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16058 # On Suns, sometimes $CPP names a directory.
16059 if test -n "$CPP" && test -d "$CPP"; then
16060 CPP=
16061 fi
16062 if test -z "$CPP"; then
16063 if test "${ac_cv_prog_CPP+set}" = set; then
16064 echo $ECHO_N "(cached) $ECHO_C" >&6
16065 else
16066 # Double quotes because CPP needs to be expanded
16067 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16068 do
16069 ac_preproc_ok=false
16070 for ac_c_preproc_warn_flag in '' yes
16071 do
16072 # Use a header file that comes with gcc, so configuring glibc
16073 # with a fresh cross-compiler works.
16074 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16075 # <limits.h> exists even on freestanding compilers.
16076 # On the NeXT, cc -E runs the code through the compiler's parser,
16077 # not just through cpp. "Syntax error" is here to catch this case.
16078 cat >conftest.$ac_ext <<_ACEOF
16079 /* confdefs.h. */
16080 _ACEOF
16081 cat confdefs.h >>conftest.$ac_ext
16082 cat >>conftest.$ac_ext <<_ACEOF
16083 /* end confdefs.h. */
16084 #ifdef __STDC__
16085 # include <limits.h>
16086 #else
16087 # include <assert.h>
16088 #endif
16089 Syntax error
16090 _ACEOF
16091 if { (ac_try="$ac_cpp conftest.$ac_ext"
16092 case "(($ac_try" in
16093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16094 *) ac_try_echo=$ac_try;;
16095 esac
16096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16097 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16098 ac_status=$?
16099 grep -v '^ *+' conftest.er1 >conftest.err
16100 rm -f conftest.er1
16101 cat conftest.err >&5
16102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16103 (exit $ac_status); } >/dev/null && {
16104 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16105 test ! -s conftest.err
16106 }; then
16107 :
16108 else
16109 echo "$as_me: failed program was:" >&5
16110 sed 's/^/| /' conftest.$ac_ext >&5
16111
16112 # Broken: fails on valid input.
16113 continue
16114 fi
16115
16116 rm -f conftest.err conftest.$ac_ext
16117
16118 # OK, works on sane cases. Now check whether nonexistent headers
16119 # can be detected and how.
16120 cat >conftest.$ac_ext <<_ACEOF
16121 /* confdefs.h. */
16122 _ACEOF
16123 cat confdefs.h >>conftest.$ac_ext
16124 cat >>conftest.$ac_ext <<_ACEOF
16125 /* end confdefs.h. */
16126 #include <ac_nonexistent.h>
16127 _ACEOF
16128 if { (ac_try="$ac_cpp conftest.$ac_ext"
16129 case "(($ac_try" in
16130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16131 *) ac_try_echo=$ac_try;;
16132 esac
16133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16134 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16135 ac_status=$?
16136 grep -v '^ *+' conftest.er1 >conftest.err
16137 rm -f conftest.er1
16138 cat conftest.err >&5
16139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16140 (exit $ac_status); } >/dev/null && {
16141 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16142 test ! -s conftest.err
16143 }; then
16144 # Broken: success on invalid input.
16145 continue
16146 else
16147 echo "$as_me: failed program was:" >&5
16148 sed 's/^/| /' conftest.$ac_ext >&5
16149
16150 # Passes both tests.
16151 ac_preproc_ok=:
16152 break
16153 fi
16154
16155 rm -f conftest.err conftest.$ac_ext
16156
16157 done
16158 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16159 rm -f conftest.err conftest.$ac_ext
16160 if $ac_preproc_ok; then
16161 break
16162 fi
16163
16164 done
16165 ac_cv_prog_CPP=$CPP
16166
16167 fi
16168 CPP=$ac_cv_prog_CPP
16169 else
16170 ac_cv_prog_CPP=$CPP
16171 fi
16172 { echo "$as_me:$LINENO: result: $CPP" >&5
16173 echo "${ECHO_T}$CPP" >&6; }
16174 ac_preproc_ok=false
16175 for ac_c_preproc_warn_flag in '' yes
16176 do
16177 # Use a header file that comes with gcc, so configuring glibc
16178 # with a fresh cross-compiler works.
16179 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16180 # <limits.h> exists even on freestanding compilers.
16181 # On the NeXT, cc -E runs the code through the compiler's parser,
16182 # not just through cpp. "Syntax error" is here to catch this case.
16183 cat >conftest.$ac_ext <<_ACEOF
16184 /* confdefs.h. */
16185 _ACEOF
16186 cat confdefs.h >>conftest.$ac_ext
16187 cat >>conftest.$ac_ext <<_ACEOF
16188 /* end confdefs.h. */
16189 #ifdef __STDC__
16190 # include <limits.h>
16191 #else
16192 # include <assert.h>
16193 #endif
16194 Syntax error
16195 _ACEOF
16196 if { (ac_try="$ac_cpp conftest.$ac_ext"
16197 case "(($ac_try" in
16198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16199 *) ac_try_echo=$ac_try;;
16200 esac
16201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16202 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16203 ac_status=$?
16204 grep -v '^ *+' conftest.er1 >conftest.err
16205 rm -f conftest.er1
16206 cat conftest.err >&5
16207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16208 (exit $ac_status); } >/dev/null && {
16209 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16210 test ! -s conftest.err
16211 }; then
16212 :
16213 else
16214 echo "$as_me: failed program was:" >&5
16215 sed 's/^/| /' conftest.$ac_ext >&5
16216
16217 # Broken: fails on valid input.
16218 continue
16219 fi
16220
16221 rm -f conftest.err conftest.$ac_ext
16222
16223 # OK, works on sane cases. Now check whether nonexistent headers
16224 # can be detected and how.
16225 cat >conftest.$ac_ext <<_ACEOF
16226 /* confdefs.h. */
16227 _ACEOF
16228 cat confdefs.h >>conftest.$ac_ext
16229 cat >>conftest.$ac_ext <<_ACEOF
16230 /* end confdefs.h. */
16231 #include <ac_nonexistent.h>
16232 _ACEOF
16233 if { (ac_try="$ac_cpp conftest.$ac_ext"
16234 case "(($ac_try" in
16235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16236 *) ac_try_echo=$ac_try;;
16237 esac
16238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16239 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16240 ac_status=$?
16241 grep -v '^ *+' conftest.er1 >conftest.err
16242 rm -f conftest.er1
16243 cat conftest.err >&5
16244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16245 (exit $ac_status); } >/dev/null && {
16246 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16247 test ! -s conftest.err
16248 }; then
16249 # Broken: success on invalid input.
16250 continue
16251 else
16252 echo "$as_me: failed program was:" >&5
16253 sed 's/^/| /' conftest.$ac_ext >&5
16254
16255 # Passes both tests.
16256 ac_preproc_ok=:
16257 break
16258 fi
16259
16260 rm -f conftest.err conftest.$ac_ext
16261
16262 done
16263 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16264 rm -f conftest.err conftest.$ac_ext
16265 if $ac_preproc_ok; then
16266 :
16267 else
16268 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16269 See \`config.log' for more details." >&5
16270 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16271 See \`config.log' for more details." >&2;}
16272 { (exit 1); exit 1; }; }
16273 fi
16274
16275 ac_ext=c
16276 ac_cpp='$CPP $CPPFLAGS'
16277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16280
16281
16282 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16283 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16284 if test "${ac_cv_path_GREP+set}" = set; then
16285 echo $ECHO_N "(cached) $ECHO_C" >&6
16286 else
16287 # Extract the first word of "grep ggrep" to use in msg output
16288 if test -z "$GREP"; then
16289 set dummy grep ggrep; ac_prog_name=$2
16290 if test "${ac_cv_path_GREP+set}" = set; then
16291 echo $ECHO_N "(cached) $ECHO_C" >&6
16292 else
16293 ac_path_GREP_found=false
16294 # Loop through the user's path and test for each of PROGNAME-LIST
16295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16296 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16297 do
16298 IFS=$as_save_IFS
16299 test -z "$as_dir" && as_dir=.
16300 for ac_prog in grep ggrep; do
16301 for ac_exec_ext in '' $ac_executable_extensions; do
16302 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16303 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16304 # Check for GNU ac_path_GREP and select it if it is found.
16305 # Check for GNU $ac_path_GREP
16306 case `"$ac_path_GREP" --version 2>&1` in
16307 *GNU*)
16308 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16309 *)
16310 ac_count=0
16311 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16312 while :
16313 do
16314 cat "conftest.in" "conftest.in" >"conftest.tmp"
16315 mv "conftest.tmp" "conftest.in"
16316 cp "conftest.in" "conftest.nl"
16317 echo 'GREP' >> "conftest.nl"
16318 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16319 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16320 ac_count=`expr $ac_count + 1`
16321 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16322 # Best one so far, save it but keep looking for a better one
16323 ac_cv_path_GREP="$ac_path_GREP"
16324 ac_path_GREP_max=$ac_count
16325 fi
16326 # 10*(2^10) chars as input seems more than enough
16327 test $ac_count -gt 10 && break
16328 done
16329 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16330 esac
16331
16332
16333 $ac_path_GREP_found && break 3
16334 done
16335 done
16336
16337 done
16338 IFS=$as_save_IFS
16339
16340
16341 fi
16342
16343 GREP="$ac_cv_path_GREP"
16344 if test -z "$GREP"; then
16345 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16346 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16347 { (exit 1); exit 1; }; }
16348 fi
16349
16350 else
16351 ac_cv_path_GREP=$GREP
16352 fi
16353
16354
16355 fi
16356 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16357 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16358 GREP="$ac_cv_path_GREP"
16359
16360
16361 { echo "$as_me:$LINENO: checking for egrep" >&5
16362 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16363 if test "${ac_cv_path_EGREP+set}" = set; then
16364 echo $ECHO_N "(cached) $ECHO_C" >&6
16365 else
16366 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16367 then ac_cv_path_EGREP="$GREP -E"
16368 else
16369 # Extract the first word of "egrep" to use in msg output
16370 if test -z "$EGREP"; then
16371 set dummy egrep; ac_prog_name=$2
16372 if test "${ac_cv_path_EGREP+set}" = set; then
16373 echo $ECHO_N "(cached) $ECHO_C" >&6
16374 else
16375 ac_path_EGREP_found=false
16376 # Loop through the user's path and test for each of PROGNAME-LIST
16377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16378 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16379 do
16380 IFS=$as_save_IFS
16381 test -z "$as_dir" && as_dir=.
16382 for ac_prog in egrep; do
16383 for ac_exec_ext in '' $ac_executable_extensions; do
16384 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16385 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16386 # Check for GNU ac_path_EGREP and select it if it is found.
16387 # Check for GNU $ac_path_EGREP
16388 case `"$ac_path_EGREP" --version 2>&1` in
16389 *GNU*)
16390 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16391 *)
16392 ac_count=0
16393 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16394 while :
16395 do
16396 cat "conftest.in" "conftest.in" >"conftest.tmp"
16397 mv "conftest.tmp" "conftest.in"
16398 cp "conftest.in" "conftest.nl"
16399 echo 'EGREP' >> "conftest.nl"
16400 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16401 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16402 ac_count=`expr $ac_count + 1`
16403 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16404 # Best one so far, save it but keep looking for a better one
16405 ac_cv_path_EGREP="$ac_path_EGREP"
16406 ac_path_EGREP_max=$ac_count
16407 fi
16408 # 10*(2^10) chars as input seems more than enough
16409 test $ac_count -gt 10 && break
16410 done
16411 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16412 esac
16413
16414
16415 $ac_path_EGREP_found && break 3
16416 done
16417 done
16418
16419 done
16420 IFS=$as_save_IFS
16421
16422
16423 fi
16424
16425 EGREP="$ac_cv_path_EGREP"
16426 if test -z "$EGREP"; then
16427 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16428 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16429 { (exit 1); exit 1; }; }
16430 fi
16431
16432 else
16433 ac_cv_path_EGREP=$EGREP
16434 fi
16435
16436
16437 fi
16438 fi
16439 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16440 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16441 EGREP="$ac_cv_path_EGREP"
16442
16443
16444 if test $ac_cv_c_compiler_gnu = yes; then
16445 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16446 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16447 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16448 echo $ECHO_N "(cached) $ECHO_C" >&6
16449 else
16450 ac_pattern="Autoconf.*'x'"
16451 cat >conftest.$ac_ext <<_ACEOF
16452 /* confdefs.h. */
16453 _ACEOF
16454 cat confdefs.h >>conftest.$ac_ext
16455 cat >>conftest.$ac_ext <<_ACEOF
16456 /* end confdefs.h. */
16457 #include <sgtty.h>
16458 Autoconf TIOCGETP
16459 _ACEOF
16460 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16461 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16462 ac_cv_prog_gcc_traditional=yes
16463 else
16464 ac_cv_prog_gcc_traditional=no
16465 fi
16466 rm -f conftest*
16467
16468
16469 if test $ac_cv_prog_gcc_traditional = no; then
16470 cat >conftest.$ac_ext <<_ACEOF
16471 /* confdefs.h. */
16472 _ACEOF
16473 cat confdefs.h >>conftest.$ac_ext
16474 cat >>conftest.$ac_ext <<_ACEOF
16475 /* end confdefs.h. */
16476 #include <termio.h>
16477 Autoconf TCGETA
16478 _ACEOF
16479 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16480 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16481 ac_cv_prog_gcc_traditional=yes
16482 fi
16483 rm -f conftest*
16484
16485 fi
16486 fi
16487 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16488 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16489 if test $ac_cv_prog_gcc_traditional = yes; then
16490 CC="$CC -traditional"
16491 fi
16492 fi
16493
16494
16495 CXXFLAGS=${CXXFLAGS:=}
16496
16497
16498
16499 ac_ext=cpp
16500 ac_cpp='$CXXCPP $CPPFLAGS'
16501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16504 if test -z "$CXX"; then
16505 if test -n "$CCC"; then
16506 CXX=$CCC
16507 else
16508 if test -n "$ac_tool_prefix"; then
16509 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16510 do
16511 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16512 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16513 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16515 if test "${ac_cv_prog_CXX+set}" = set; then
16516 echo $ECHO_N "(cached) $ECHO_C" >&6
16517 else
16518 if test -n "$CXX"; then
16519 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16520 else
16521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16522 for as_dir in $PATH
16523 do
16524 IFS=$as_save_IFS
16525 test -z "$as_dir" && as_dir=.
16526 for ac_exec_ext in '' $ac_executable_extensions; do
16527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16528 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16530 break 2
16531 fi
16532 done
16533 done
16534 IFS=$as_save_IFS
16535
16536 fi
16537 fi
16538 CXX=$ac_cv_prog_CXX
16539 if test -n "$CXX"; then
16540 { echo "$as_me:$LINENO: result: $CXX" >&5
16541 echo "${ECHO_T}$CXX" >&6; }
16542 else
16543 { echo "$as_me:$LINENO: result: no" >&5
16544 echo "${ECHO_T}no" >&6; }
16545 fi
16546
16547
16548 test -n "$CXX" && break
16549 done
16550 fi
16551 if test -z "$CXX"; then
16552 ac_ct_CXX=$CXX
16553 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16554 do
16555 # Extract the first word of "$ac_prog", so it can be a program name with args.
16556 set dummy $ac_prog; ac_word=$2
16557 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16559 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16560 echo $ECHO_N "(cached) $ECHO_C" >&6
16561 else
16562 if test -n "$ac_ct_CXX"; then
16563 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16564 else
16565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16566 for as_dir in $PATH
16567 do
16568 IFS=$as_save_IFS
16569 test -z "$as_dir" && as_dir=.
16570 for ac_exec_ext in '' $ac_executable_extensions; do
16571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16572 ac_cv_prog_ac_ct_CXX="$ac_prog"
16573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16574 break 2
16575 fi
16576 done
16577 done
16578 IFS=$as_save_IFS
16579
16580 fi
16581 fi
16582 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16583 if test -n "$ac_ct_CXX"; then
16584 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16585 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16586 else
16587 { echo "$as_me:$LINENO: result: no" >&5
16588 echo "${ECHO_T}no" >&6; }
16589 fi
16590
16591
16592 test -n "$ac_ct_CXX" && break
16593 done
16594
16595 if test "x$ac_ct_CXX" = x; then
16596 CXX="g++"
16597 else
16598 case $cross_compiling:$ac_tool_warned in
16599 yes:)
16600 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16601 whose name does not start with the host triplet. If you think this
16602 configuration is useful to you, please write to autoconf@gnu.org." >&5
16603 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16604 whose name does not start with the host triplet. If you think this
16605 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16606 ac_tool_warned=yes ;;
16607 esac
16608 CXX=$ac_ct_CXX
16609 fi
16610 fi
16611
16612 fi
16613 fi
16614 # Provide some information about the compiler.
16615 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16616 ac_compiler=`set X $ac_compile; echo $2`
16617 { (ac_try="$ac_compiler --version >&5"
16618 case "(($ac_try" in
16619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16620 *) ac_try_echo=$ac_try;;
16621 esac
16622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16623 (eval "$ac_compiler --version >&5") 2>&5
16624 ac_status=$?
16625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16626 (exit $ac_status); }
16627 { (ac_try="$ac_compiler -v >&5"
16628 case "(($ac_try" in
16629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16630 *) ac_try_echo=$ac_try;;
16631 esac
16632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16633 (eval "$ac_compiler -v >&5") 2>&5
16634 ac_status=$?
16635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16636 (exit $ac_status); }
16637 { (ac_try="$ac_compiler -V >&5"
16638 case "(($ac_try" in
16639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16640 *) ac_try_echo=$ac_try;;
16641 esac
16642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16643 (eval "$ac_compiler -V >&5") 2>&5
16644 ac_status=$?
16645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16646 (exit $ac_status); }
16647
16648 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16649 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16650 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16651 echo $ECHO_N "(cached) $ECHO_C" >&6
16652 else
16653 cat >conftest.$ac_ext <<_ACEOF
16654 /* confdefs.h. */
16655 _ACEOF
16656 cat confdefs.h >>conftest.$ac_ext
16657 cat >>conftest.$ac_ext <<_ACEOF
16658 /* end confdefs.h. */
16659
16660 int
16661 main ()
16662 {
16663 #ifndef __GNUC__
16664 choke me
16665 #endif
16666
16667 ;
16668 return 0;
16669 }
16670 _ACEOF
16671 rm -f conftest.$ac_objext
16672 if { (ac_try="$ac_compile"
16673 case "(($ac_try" in
16674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16675 *) ac_try_echo=$ac_try;;
16676 esac
16677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16678 (eval "$ac_compile") 2>conftest.er1
16679 ac_status=$?
16680 grep -v '^ *+' conftest.er1 >conftest.err
16681 rm -f conftest.er1
16682 cat conftest.err >&5
16683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16684 (exit $ac_status); } && {
16685 test -z "$ac_cxx_werror_flag" ||
16686 test ! -s conftest.err
16687 } && test -s conftest.$ac_objext; then
16688 ac_compiler_gnu=yes
16689 else
16690 echo "$as_me: failed program was:" >&5
16691 sed 's/^/| /' conftest.$ac_ext >&5
16692
16693 ac_compiler_gnu=no
16694 fi
16695
16696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16697 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16698
16699 fi
16700 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16701 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16702 GXX=`test $ac_compiler_gnu = yes && echo yes`
16703 ac_test_CXXFLAGS=${CXXFLAGS+set}
16704 ac_save_CXXFLAGS=$CXXFLAGS
16705 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16706 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16707 if test "${ac_cv_prog_cxx_g+set}" = set; then
16708 echo $ECHO_N "(cached) $ECHO_C" >&6
16709 else
16710 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16711 ac_cxx_werror_flag=yes
16712 ac_cv_prog_cxx_g=no
16713 CXXFLAGS="-g"
16714 cat >conftest.$ac_ext <<_ACEOF
16715 /* confdefs.h. */
16716 _ACEOF
16717 cat confdefs.h >>conftest.$ac_ext
16718 cat >>conftest.$ac_ext <<_ACEOF
16719 /* end confdefs.h. */
16720
16721 int
16722 main ()
16723 {
16724
16725 ;
16726 return 0;
16727 }
16728 _ACEOF
16729 rm -f conftest.$ac_objext
16730 if { (ac_try="$ac_compile"
16731 case "(($ac_try" in
16732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16733 *) ac_try_echo=$ac_try;;
16734 esac
16735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16736 (eval "$ac_compile") 2>conftest.er1
16737 ac_status=$?
16738 grep -v '^ *+' conftest.er1 >conftest.err
16739 rm -f conftest.er1
16740 cat conftest.err >&5
16741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16742 (exit $ac_status); } && {
16743 test -z "$ac_cxx_werror_flag" ||
16744 test ! -s conftest.err
16745 } && test -s conftest.$ac_objext; then
16746 ac_cv_prog_cxx_g=yes
16747 else
16748 echo "$as_me: failed program was:" >&5
16749 sed 's/^/| /' conftest.$ac_ext >&5
16750
16751 CXXFLAGS=""
16752 cat >conftest.$ac_ext <<_ACEOF
16753 /* confdefs.h. */
16754 _ACEOF
16755 cat confdefs.h >>conftest.$ac_ext
16756 cat >>conftest.$ac_ext <<_ACEOF
16757 /* end confdefs.h. */
16758
16759 int
16760 main ()
16761 {
16762
16763 ;
16764 return 0;
16765 }
16766 _ACEOF
16767 rm -f conftest.$ac_objext
16768 if { (ac_try="$ac_compile"
16769 case "(($ac_try" in
16770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16771 *) ac_try_echo=$ac_try;;
16772 esac
16773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16774 (eval "$ac_compile") 2>conftest.er1
16775 ac_status=$?
16776 grep -v '^ *+' conftest.er1 >conftest.err
16777 rm -f conftest.er1
16778 cat conftest.err >&5
16779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16780 (exit $ac_status); } && {
16781 test -z "$ac_cxx_werror_flag" ||
16782 test ! -s conftest.err
16783 } && test -s conftest.$ac_objext; then
16784 :
16785 else
16786 echo "$as_me: failed program was:" >&5
16787 sed 's/^/| /' conftest.$ac_ext >&5
16788
16789 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16790 CXXFLAGS="-g"
16791 cat >conftest.$ac_ext <<_ACEOF
16792 /* confdefs.h. */
16793 _ACEOF
16794 cat confdefs.h >>conftest.$ac_ext
16795 cat >>conftest.$ac_ext <<_ACEOF
16796 /* end confdefs.h. */
16797
16798 int
16799 main ()
16800 {
16801
16802 ;
16803 return 0;
16804 }
16805 _ACEOF
16806 rm -f conftest.$ac_objext
16807 if { (ac_try="$ac_compile"
16808 case "(($ac_try" in
16809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16810 *) ac_try_echo=$ac_try;;
16811 esac
16812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16813 (eval "$ac_compile") 2>conftest.er1
16814 ac_status=$?
16815 grep -v '^ *+' conftest.er1 >conftest.err
16816 rm -f conftest.er1
16817 cat conftest.err >&5
16818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16819 (exit $ac_status); } && {
16820 test -z "$ac_cxx_werror_flag" ||
16821 test ! -s conftest.err
16822 } && test -s conftest.$ac_objext; then
16823 ac_cv_prog_cxx_g=yes
16824 else
16825 echo "$as_me: failed program was:" >&5
16826 sed 's/^/| /' conftest.$ac_ext >&5
16827
16828
16829 fi
16830
16831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16832 fi
16833
16834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16835 fi
16836
16837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16838 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16839 fi
16840 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16841 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16842 if test "$ac_test_CXXFLAGS" = set; then
16843 CXXFLAGS=$ac_save_CXXFLAGS
16844 elif test $ac_cv_prog_cxx_g = yes; then
16845 if test "$GXX" = yes; then
16846 CXXFLAGS="-g -O2"
16847 else
16848 CXXFLAGS="-g"
16849 fi
16850 else
16851 if test "$GXX" = yes; then
16852 CXXFLAGS="-O2"
16853 else
16854 CXXFLAGS=
16855 fi
16856 fi
16857 ac_ext=c
16858 ac_cpp='$CPP $CPPFLAGS'
16859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16862
16863
16864
16865
16866 ac_ext=cpp
16867 ac_cpp='$CXXCPP $CPPFLAGS'
16868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16871
16872 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16873 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16874 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16875 echo $ECHO_N "(cached) $ECHO_C" >&6
16876 else
16877 cat >conftest.$ac_ext <<_ACEOF
16878 /* confdefs.h. */
16879 _ACEOF
16880 cat confdefs.h >>conftest.$ac_ext
16881 cat >>conftest.$ac_ext <<_ACEOF
16882 /* end confdefs.h. */
16883
16884 int
16885 main ()
16886 {
16887
16888 #ifndef __INTEL_COMPILER
16889 choke me
16890 #endif
16891
16892 ;
16893 return 0;
16894 }
16895 _ACEOF
16896 rm -f conftest.$ac_objext
16897 if { (ac_try="$ac_compile"
16898 case "(($ac_try" in
16899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16900 *) ac_try_echo=$ac_try;;
16901 esac
16902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16903 (eval "$ac_compile") 2>conftest.er1
16904 ac_status=$?
16905 grep -v '^ *+' conftest.er1 >conftest.err
16906 rm -f conftest.er1
16907 cat conftest.err >&5
16908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16909 (exit $ac_status); } && {
16910 test -z "$ac_cxx_werror_flag" ||
16911 test ! -s conftest.err
16912 } && test -s conftest.$ac_objext; then
16913 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
16914 else
16915 echo "$as_me: failed program was:" >&5
16916 sed 's/^/| /' conftest.$ac_ext >&5
16917
16918 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
16919
16920 fi
16921
16922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16923
16924
16925 fi
16926 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16927 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16928 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16929 :; INTELCXX=yes
16930 else
16931 :;
16932 fi
16933 ac_ext=c
16934 ac_cpp='$CPP $CPPFLAGS'
16935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16938
16939
16940
16941
16942 if test "$INTELCXX" = "yes"; then
16943
16944
16945 ac_ext=cpp
16946 ac_cpp='$CXXCPP $CPPFLAGS'
16947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16950
16951 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
16952 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
16953 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
16954 echo $ECHO_N "(cached) $ECHO_C" >&6
16955 else
16956 cat >conftest.$ac_ext <<_ACEOF
16957 /* confdefs.h. */
16958 _ACEOF
16959 cat confdefs.h >>conftest.$ac_ext
16960 cat >>conftest.$ac_ext <<_ACEOF
16961 /* end confdefs.h. */
16962
16963 int
16964 main ()
16965 {
16966
16967 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
16968 choke me
16969 #endif
16970
16971 ;
16972 return 0;
16973 }
16974 _ACEOF
16975 rm -f conftest.$ac_objext
16976 if { (ac_try="$ac_compile"
16977 case "(($ac_try" in
16978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16979 *) ac_try_echo=$ac_try;;
16980 esac
16981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16982 (eval "$ac_compile") 2>conftest.er1
16983 ac_status=$?
16984 grep -v '^ *+' conftest.er1 >conftest.err
16985 rm -f conftest.er1
16986 cat conftest.err >&5
16987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16988 (exit $ac_status); } && {
16989 test -z "$ac_cxx_werror_flag" ||
16990 test ! -s conftest.err
16991 } && test -s conftest.$ac_objext; then
16992 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
16993 else
16994 echo "$as_me: failed program was:" >&5
16995 sed 's/^/| /' conftest.$ac_ext >&5
16996
16997 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
16998
16999 fi
17000
17001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17002
17003
17004 fi
17005 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17006 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17007 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17008 :; INTELCXX8=yes
17009 else
17010 :;
17011 fi
17012 ac_ext=c
17013 ac_cpp='$CPP $CPPFLAGS'
17014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17017
17018
17019
17020
17021
17022 ac_ext=cpp
17023 ac_cpp='$CXXCPP $CPPFLAGS'
17024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17027
17028 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17029 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17030 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17031 echo $ECHO_N "(cached) $ECHO_C" >&6
17032 else
17033 cat >conftest.$ac_ext <<_ACEOF
17034 /* confdefs.h. */
17035 _ACEOF
17036 cat confdefs.h >>conftest.$ac_ext
17037 cat >>conftest.$ac_ext <<_ACEOF
17038 /* end confdefs.h. */
17039
17040 int
17041 main ()
17042 {
17043
17044 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17045 choke me
17046 #endif
17047
17048 ;
17049 return 0;
17050 }
17051 _ACEOF
17052 rm -f conftest.$ac_objext
17053 if { (ac_try="$ac_compile"
17054 case "(($ac_try" in
17055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17056 *) ac_try_echo=$ac_try;;
17057 esac
17058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17059 (eval "$ac_compile") 2>conftest.er1
17060 ac_status=$?
17061 grep -v '^ *+' conftest.er1 >conftest.err
17062 rm -f conftest.er1
17063 cat conftest.err >&5
17064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17065 (exit $ac_status); } && {
17066 test -z "$ac_cxx_werror_flag" ||
17067 test ! -s conftest.err
17068 } && test -s conftest.$ac_objext; then
17069 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17070 else
17071 echo "$as_me: failed program was:" >&5
17072 sed 's/^/| /' conftest.$ac_ext >&5
17073
17074 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17075
17076 fi
17077
17078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17079
17080
17081 fi
17082 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17083 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17084 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17085 :; INTELCXX10=yes
17086 else
17087 :;
17088 fi
17089 ac_ext=c
17090 ac_cpp='$CPP $CPPFLAGS'
17091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17094
17095
17096
17097 fi
17098
17099 if test "x$GCXX" != "xyes"; then
17100 if test "xCXX" = "xC"; then
17101 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17102 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17103 if test "${bakefile_cv_c_exto+set}" = set; then
17104 echo $ECHO_N "(cached) $ECHO_C" >&6
17105 else
17106 cat >conftest.$ac_ext <<_ACEOF
17107 /* confdefs.h. */
17108 _ACEOF
17109 cat confdefs.h >>conftest.$ac_ext
17110 cat >>conftest.$ac_ext <<_ACEOF
17111 /* end confdefs.h. */
17112
17113 int
17114 main ()
17115 {
17116
17117 ;
17118 return 0;
17119 }
17120 _ACEOF
17121 rm -f conftest.$ac_objext conftest.$ac_ext.o
17122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17123 (eval $ac_compile) 2>&5
17124 ac_status=$?
17125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17126 (exit $ac_status); }; then
17127 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17128 case $ac_file in
17129 conftest.$ac_ext.o)
17130 bakefile_cv_c_exto="-ext o"
17131 ;;
17132 *)
17133 ;;
17134 esac
17135 done
17136 else
17137 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17138 See \`config.log' for more details." >&5
17139 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17140 See \`config.log' for more details." >&2;}
17141 { (exit 1); exit 1; }; }
17142
17143 fi
17144
17145 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17146
17147 fi
17148 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17149 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17150 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17151 if test "c" = "c"; then
17152 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17153 fi
17154 if test "c" = "cxx"; then
17155 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17156 fi
17157 fi
17158
17159 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17160 unset ac_cv_prog_cc_g
17161 ac_test_CFLAGS=${CFLAGS+set}
17162 ac_save_CFLAGS=$CFLAGS
17163 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17164 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17165 if test "${ac_cv_prog_cc_g+set}" = set; then
17166 echo $ECHO_N "(cached) $ECHO_C" >&6
17167 else
17168 ac_save_c_werror_flag=$ac_c_werror_flag
17169 ac_c_werror_flag=yes
17170 ac_cv_prog_cc_g=no
17171 CFLAGS="-g"
17172 cat >conftest.$ac_ext <<_ACEOF
17173 /* confdefs.h. */
17174 _ACEOF
17175 cat confdefs.h >>conftest.$ac_ext
17176 cat >>conftest.$ac_ext <<_ACEOF
17177 /* end confdefs.h. */
17178
17179 int
17180 main ()
17181 {
17182
17183 ;
17184 return 0;
17185 }
17186 _ACEOF
17187 rm -f conftest.$ac_objext
17188 if { (ac_try="$ac_compile"
17189 case "(($ac_try" in
17190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17191 *) ac_try_echo=$ac_try;;
17192 esac
17193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17194 (eval "$ac_compile") 2>conftest.er1
17195 ac_status=$?
17196 grep -v '^ *+' conftest.er1 >conftest.err
17197 rm -f conftest.er1
17198 cat conftest.err >&5
17199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17200 (exit $ac_status); } && {
17201 test -z "$ac_c_werror_flag" ||
17202 test ! -s conftest.err
17203 } && test -s conftest.$ac_objext; then
17204 ac_cv_prog_cc_g=yes
17205 else
17206 echo "$as_me: failed program was:" >&5
17207 sed 's/^/| /' conftest.$ac_ext >&5
17208
17209 CFLAGS=""
17210 cat >conftest.$ac_ext <<_ACEOF
17211 /* confdefs.h. */
17212 _ACEOF
17213 cat confdefs.h >>conftest.$ac_ext
17214 cat >>conftest.$ac_ext <<_ACEOF
17215 /* end confdefs.h. */
17216
17217 int
17218 main ()
17219 {
17220
17221 ;
17222 return 0;
17223 }
17224 _ACEOF
17225 rm -f conftest.$ac_objext
17226 if { (ac_try="$ac_compile"
17227 case "(($ac_try" in
17228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17229 *) ac_try_echo=$ac_try;;
17230 esac
17231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17232 (eval "$ac_compile") 2>conftest.er1
17233 ac_status=$?
17234 grep -v '^ *+' conftest.er1 >conftest.err
17235 rm -f conftest.er1
17236 cat conftest.err >&5
17237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17238 (exit $ac_status); } && {
17239 test -z "$ac_c_werror_flag" ||
17240 test ! -s conftest.err
17241 } && test -s conftest.$ac_objext; then
17242 :
17243 else
17244 echo "$as_me: failed program was:" >&5
17245 sed 's/^/| /' conftest.$ac_ext >&5
17246
17247 ac_c_werror_flag=$ac_save_c_werror_flag
17248 CFLAGS="-g"
17249 cat >conftest.$ac_ext <<_ACEOF
17250 /* confdefs.h. */
17251 _ACEOF
17252 cat confdefs.h >>conftest.$ac_ext
17253 cat >>conftest.$ac_ext <<_ACEOF
17254 /* end confdefs.h. */
17255
17256 int
17257 main ()
17258 {
17259
17260 ;
17261 return 0;
17262 }
17263 _ACEOF
17264 rm -f conftest.$ac_objext
17265 if { (ac_try="$ac_compile"
17266 case "(($ac_try" in
17267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17268 *) ac_try_echo=$ac_try;;
17269 esac
17270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17271 (eval "$ac_compile") 2>conftest.er1
17272 ac_status=$?
17273 grep -v '^ *+' conftest.er1 >conftest.err
17274 rm -f conftest.er1
17275 cat conftest.err >&5
17276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17277 (exit $ac_status); } && {
17278 test -z "$ac_c_werror_flag" ||
17279 test ! -s conftest.err
17280 } && test -s conftest.$ac_objext; then
17281 ac_cv_prog_cc_g=yes
17282 else
17283 echo "$as_me: failed program was:" >&5
17284 sed 's/^/| /' conftest.$ac_ext >&5
17285
17286
17287 fi
17288
17289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17290 fi
17291
17292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17293 fi
17294
17295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17296 ac_c_werror_flag=$ac_save_c_werror_flag
17297 fi
17298 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17299 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17300 if test "$ac_test_CFLAGS" = set; then
17301 CFLAGS=$ac_save_CFLAGS
17302 elif test $ac_cv_prog_cc_g = yes; then
17303 if test "$GCC" = yes; then
17304 CFLAGS="-g -O2"
17305 else
17306 CFLAGS="-g"
17307 fi
17308 else
17309 if test "$GCC" = yes; then
17310 CFLAGS="-O2"
17311 else
17312 CFLAGS=
17313 fi
17314 fi
17315 fi
17316 fi
17317
17318 case `uname -s` in
17319 AIX*)
17320
17321
17322 ac_ext=cpp
17323 ac_cpp='$CXXCPP $CPPFLAGS'
17324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17327
17328 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17329 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17330 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17331 echo $ECHO_N "(cached) $ECHO_C" >&6
17332 else
17333 cat >conftest.$ac_ext <<_ACEOF
17334 /* confdefs.h. */
17335 _ACEOF
17336 cat confdefs.h >>conftest.$ac_ext
17337 cat >>conftest.$ac_ext <<_ACEOF
17338 /* end confdefs.h. */
17339
17340 int
17341 main ()
17342 {
17343
17344 #ifndef __xlC__
17345 choke me
17346 #endif
17347
17348 ;
17349 return 0;
17350 }
17351 _ACEOF
17352 rm -f conftest.$ac_objext
17353 if { (ac_try="$ac_compile"
17354 case "(($ac_try" in
17355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17356 *) ac_try_echo=$ac_try;;
17357 esac
17358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17359 (eval "$ac_compile") 2>conftest.er1
17360 ac_status=$?
17361 grep -v '^ *+' conftest.er1 >conftest.err
17362 rm -f conftest.er1
17363 cat conftest.err >&5
17364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17365 (exit $ac_status); } && {
17366 test -z "$ac_cxx_werror_flag" ||
17367 test ! -s conftest.err
17368 } && test -s conftest.$ac_objext; then
17369 bakefile_cv_cxx_compiler___xlC__=yes
17370 else
17371 echo "$as_me: failed program was:" >&5
17372 sed 's/^/| /' conftest.$ac_ext >&5
17373
17374 bakefile_cv_cxx_compiler___xlC__=no
17375
17376 fi
17377
17378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17379
17380
17381 fi
17382 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17383 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17384 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17385 :; XLCXX=yes
17386 else
17387 :;
17388 fi
17389 ac_ext=c
17390 ac_cpp='$CPP $CPPFLAGS'
17391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17394
17395
17396
17397 ;;
17398
17399 Darwin)
17400
17401
17402 ac_ext=cpp
17403 ac_cpp='$CXXCPP $CPPFLAGS'
17404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17407
17408 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17409 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17410 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17411 echo $ECHO_N "(cached) $ECHO_C" >&6
17412 else
17413 cat >conftest.$ac_ext <<_ACEOF
17414 /* confdefs.h. */
17415 _ACEOF
17416 cat confdefs.h >>conftest.$ac_ext
17417 cat >>conftest.$ac_ext <<_ACEOF
17418 /* end confdefs.h. */
17419
17420 int
17421 main ()
17422 {
17423
17424 #ifndef __MWERKS__
17425 choke me
17426 #endif
17427
17428 ;
17429 return 0;
17430 }
17431 _ACEOF
17432 rm -f conftest.$ac_objext
17433 if { (ac_try="$ac_compile"
17434 case "(($ac_try" in
17435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17436 *) ac_try_echo=$ac_try;;
17437 esac
17438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17439 (eval "$ac_compile") 2>conftest.er1
17440 ac_status=$?
17441 grep -v '^ *+' conftest.er1 >conftest.err
17442 rm -f conftest.er1
17443 cat conftest.err >&5
17444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17445 (exit $ac_status); } && {
17446 test -z "$ac_cxx_werror_flag" ||
17447 test ! -s conftest.err
17448 } && test -s conftest.$ac_objext; then
17449 bakefile_cv_cxx_compiler___MWERKS__=yes
17450 else
17451 echo "$as_me: failed program was:" >&5
17452 sed 's/^/| /' conftest.$ac_ext >&5
17453
17454 bakefile_cv_cxx_compiler___MWERKS__=no
17455
17456 fi
17457
17458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17459
17460
17461 fi
17462 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17463 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17464 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17465 :; MWCXX=yes
17466 else
17467 :;
17468 fi
17469 ac_ext=c
17470 ac_cpp='$CPP $CPPFLAGS'
17471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17474
17475
17476
17477 if test "$MWCXX" != "yes"; then
17478
17479
17480 ac_ext=cpp
17481 ac_cpp='$CXXCPP $CPPFLAGS'
17482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17485
17486 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17487 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17488 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17489 echo $ECHO_N "(cached) $ECHO_C" >&6
17490 else
17491 cat >conftest.$ac_ext <<_ACEOF
17492 /* confdefs.h. */
17493 _ACEOF
17494 cat confdefs.h >>conftest.$ac_ext
17495 cat >>conftest.$ac_ext <<_ACEOF
17496 /* end confdefs.h. */
17497
17498 int
17499 main ()
17500 {
17501
17502 #ifndef __xlC__
17503 choke me
17504 #endif
17505
17506 ;
17507 return 0;
17508 }
17509 _ACEOF
17510 rm -f conftest.$ac_objext
17511 if { (ac_try="$ac_compile"
17512 case "(($ac_try" in
17513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17514 *) ac_try_echo=$ac_try;;
17515 esac
17516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17517 (eval "$ac_compile") 2>conftest.er1
17518 ac_status=$?
17519 grep -v '^ *+' conftest.er1 >conftest.err
17520 rm -f conftest.er1
17521 cat conftest.err >&5
17522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17523 (exit $ac_status); } && {
17524 test -z "$ac_cxx_werror_flag" ||
17525 test ! -s conftest.err
17526 } && test -s conftest.$ac_objext; then
17527 bakefile_cv_cxx_compiler___xlC__=yes
17528 else
17529 echo "$as_me: failed program was:" >&5
17530 sed 's/^/| /' conftest.$ac_ext >&5
17531
17532 bakefile_cv_cxx_compiler___xlC__=no
17533
17534 fi
17535
17536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17537
17538
17539 fi
17540 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17541 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17542 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17543 :; XLCXX=yes
17544 else
17545 :;
17546 fi
17547 ac_ext=c
17548 ac_cpp='$CPP $CPPFLAGS'
17549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17552
17553
17554
17555 fi
17556 ;;
17557
17558 IRIX*)
17559
17560
17561 ac_ext=cpp
17562 ac_cpp='$CXXCPP $CPPFLAGS'
17563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17566
17567 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17568 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17569 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17570 echo $ECHO_N "(cached) $ECHO_C" >&6
17571 else
17572 cat >conftest.$ac_ext <<_ACEOF
17573 /* confdefs.h. */
17574 _ACEOF
17575 cat confdefs.h >>conftest.$ac_ext
17576 cat >>conftest.$ac_ext <<_ACEOF
17577 /* end confdefs.h. */
17578
17579 int
17580 main ()
17581 {
17582
17583 #ifndef _SGI_COMPILER_VERSION
17584 choke me
17585 #endif
17586
17587 ;
17588 return 0;
17589 }
17590 _ACEOF
17591 rm -f conftest.$ac_objext
17592 if { (ac_try="$ac_compile"
17593 case "(($ac_try" in
17594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17595 *) ac_try_echo=$ac_try;;
17596 esac
17597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17598 (eval "$ac_compile") 2>conftest.er1
17599 ac_status=$?
17600 grep -v '^ *+' conftest.er1 >conftest.err
17601 rm -f conftest.er1
17602 cat conftest.err >&5
17603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17604 (exit $ac_status); } && {
17605 test -z "$ac_cxx_werror_flag" ||
17606 test ! -s conftest.err
17607 } && test -s conftest.$ac_objext; then
17608 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17609 else
17610 echo "$as_me: failed program was:" >&5
17611 sed 's/^/| /' conftest.$ac_ext >&5
17612
17613 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17614
17615 fi
17616
17617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17618
17619
17620 fi
17621 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17622 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17623 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17624 :; SGICXX=yes
17625 else
17626 :;
17627 fi
17628 ac_ext=c
17629 ac_cpp='$CPP $CPPFLAGS'
17630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17633
17634
17635
17636 ;;
17637
17638 Linux*)
17639 if test "$INTELCXX" != "yes"; then
17640
17641
17642 ac_ext=cpp
17643 ac_cpp='$CXXCPP $CPPFLAGS'
17644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17647
17648 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17649 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17650 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17651 echo $ECHO_N "(cached) $ECHO_C" >&6
17652 else
17653 cat >conftest.$ac_ext <<_ACEOF
17654 /* confdefs.h. */
17655 _ACEOF
17656 cat confdefs.h >>conftest.$ac_ext
17657 cat >>conftest.$ac_ext <<_ACEOF
17658 /* end confdefs.h. */
17659
17660 int
17661 main ()
17662 {
17663
17664 #ifndef __SUNPRO_CC
17665 choke me
17666 #endif
17667
17668 ;
17669 return 0;
17670 }
17671 _ACEOF
17672 rm -f conftest.$ac_objext
17673 if { (ac_try="$ac_compile"
17674 case "(($ac_try" in
17675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17676 *) ac_try_echo=$ac_try;;
17677 esac
17678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17679 (eval "$ac_compile") 2>conftest.er1
17680 ac_status=$?
17681 grep -v '^ *+' conftest.er1 >conftest.err
17682 rm -f conftest.er1
17683 cat conftest.err >&5
17684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17685 (exit $ac_status); } && {
17686 test -z "$ac_cxx_werror_flag" ||
17687 test ! -s conftest.err
17688 } && test -s conftest.$ac_objext; then
17689 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17690 else
17691 echo "$as_me: failed program was:" >&5
17692 sed 's/^/| /' conftest.$ac_ext >&5
17693
17694 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17695
17696 fi
17697
17698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17699
17700
17701 fi
17702 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17703 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17704 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17705 :; SUNCXX=yes
17706 else
17707 :;
17708 fi
17709 ac_ext=c
17710 ac_cpp='$CPP $CPPFLAGS'
17711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17714
17715
17716
17717 fi
17718 ;;
17719
17720 HP-UX*)
17721
17722
17723 ac_ext=cpp
17724 ac_cpp='$CXXCPP $CPPFLAGS'
17725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17728
17729 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17730 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17731 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17732 echo $ECHO_N "(cached) $ECHO_C" >&6
17733 else
17734 cat >conftest.$ac_ext <<_ACEOF
17735 /* confdefs.h. */
17736 _ACEOF
17737 cat confdefs.h >>conftest.$ac_ext
17738 cat >>conftest.$ac_ext <<_ACEOF
17739 /* end confdefs.h. */
17740
17741 int
17742 main ()
17743 {
17744
17745 #ifndef __HP_aCC
17746 choke me
17747 #endif
17748
17749 ;
17750 return 0;
17751 }
17752 _ACEOF
17753 rm -f conftest.$ac_objext
17754 if { (ac_try="$ac_compile"
17755 case "(($ac_try" in
17756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17757 *) ac_try_echo=$ac_try;;
17758 esac
17759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17760 (eval "$ac_compile") 2>conftest.er1
17761 ac_status=$?
17762 grep -v '^ *+' conftest.er1 >conftest.err
17763 rm -f conftest.er1
17764 cat conftest.err >&5
17765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17766 (exit $ac_status); } && {
17767 test -z "$ac_cxx_werror_flag" ||
17768 test ! -s conftest.err
17769 } && test -s conftest.$ac_objext; then
17770 bakefile_cv_cxx_compiler___HP_aCC=yes
17771 else
17772 echo "$as_me: failed program was:" >&5
17773 sed 's/^/| /' conftest.$ac_ext >&5
17774
17775 bakefile_cv_cxx_compiler___HP_aCC=no
17776
17777 fi
17778
17779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17780
17781
17782 fi
17783 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17784 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17785 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17786 :; HPCXX=yes
17787 else
17788 :;
17789 fi
17790 ac_ext=c
17791 ac_cpp='$CPP $CPPFLAGS'
17792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17795
17796
17797
17798 ;;
17799
17800 OSF1)
17801
17802
17803 ac_ext=cpp
17804 ac_cpp='$CXXCPP $CPPFLAGS'
17805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17808
17809 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17810 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17811 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17812 echo $ECHO_N "(cached) $ECHO_C" >&6
17813 else
17814 cat >conftest.$ac_ext <<_ACEOF
17815 /* confdefs.h. */
17816 _ACEOF
17817 cat confdefs.h >>conftest.$ac_ext
17818 cat >>conftest.$ac_ext <<_ACEOF
17819 /* end confdefs.h. */
17820
17821 int
17822 main ()
17823 {
17824
17825 #ifndef __DECCXX
17826 choke me
17827 #endif
17828
17829 ;
17830 return 0;
17831 }
17832 _ACEOF
17833 rm -f conftest.$ac_objext
17834 if { (ac_try="$ac_compile"
17835 case "(($ac_try" in
17836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17837 *) ac_try_echo=$ac_try;;
17838 esac
17839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17840 (eval "$ac_compile") 2>conftest.er1
17841 ac_status=$?
17842 grep -v '^ *+' conftest.er1 >conftest.err
17843 rm -f conftest.er1
17844 cat conftest.err >&5
17845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17846 (exit $ac_status); } && {
17847 test -z "$ac_cxx_werror_flag" ||
17848 test ! -s conftest.err
17849 } && test -s conftest.$ac_objext; then
17850 bakefile_cv_cxx_compiler___DECCXX=yes
17851 else
17852 echo "$as_me: failed program was:" >&5
17853 sed 's/^/| /' conftest.$ac_ext >&5
17854
17855 bakefile_cv_cxx_compiler___DECCXX=no
17856
17857 fi
17858
17859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17860
17861
17862 fi
17863 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17864 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17865 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17866 :; COMPAQCXX=yes
17867 else
17868 :;
17869 fi
17870 ac_ext=c
17871 ac_cpp='$CPP $CPPFLAGS'
17872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17875
17876
17877
17878 ;;
17879
17880 SunOS)
17881
17882
17883 ac_ext=cpp
17884 ac_cpp='$CXXCPP $CPPFLAGS'
17885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17888
17889 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17890 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17891 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17892 echo $ECHO_N "(cached) $ECHO_C" >&6
17893 else
17894 cat >conftest.$ac_ext <<_ACEOF
17895 /* confdefs.h. */
17896 _ACEOF
17897 cat confdefs.h >>conftest.$ac_ext
17898 cat >>conftest.$ac_ext <<_ACEOF
17899 /* end confdefs.h. */
17900
17901 int
17902 main ()
17903 {
17904
17905 #ifndef __SUNPRO_CC
17906 choke me
17907 #endif
17908
17909 ;
17910 return 0;
17911 }
17912 _ACEOF
17913 rm -f conftest.$ac_objext
17914 if { (ac_try="$ac_compile"
17915 case "(($ac_try" in
17916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17917 *) ac_try_echo=$ac_try;;
17918 esac
17919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17920 (eval "$ac_compile") 2>conftest.er1
17921 ac_status=$?
17922 grep -v '^ *+' conftest.er1 >conftest.err
17923 rm -f conftest.er1
17924 cat conftest.err >&5
17925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17926 (exit $ac_status); } && {
17927 test -z "$ac_cxx_werror_flag" ||
17928 test ! -s conftest.err
17929 } && test -s conftest.$ac_objext; then
17930 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17931 else
17932 echo "$as_me: failed program was:" >&5
17933 sed 's/^/| /' conftest.$ac_ext >&5
17934
17935 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17936
17937 fi
17938
17939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17940
17941
17942 fi
17943 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17944 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17945 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17946 :; SUNCXX=yes
17947 else
17948 :;
17949 fi
17950 ac_ext=c
17951 ac_cpp='$CPP $CPPFLAGS'
17952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17955
17956
17957
17958 ;;
17959 esac
17960 fi
17961
17962
17963
17964 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17965 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17966 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17967 { (exit 1); exit 1; }; }
17968 fi
17969
17970 if test "x$SUNCXX" != xyes; then
17971 if test -n "$ac_tool_prefix"; then
17972 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17973 set dummy ${ac_tool_prefix}ar; ac_word=$2
17974 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17976 if test "${ac_cv_prog_AR+set}" = set; then
17977 echo $ECHO_N "(cached) $ECHO_C" >&6
17978 else
17979 if test -n "$AR"; then
17980 ac_cv_prog_AR="$AR" # Let the user override the test.
17981 else
17982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17983 for as_dir in $PATH
17984 do
17985 IFS=$as_save_IFS
17986 test -z "$as_dir" && as_dir=.
17987 for ac_exec_ext in '' $ac_executable_extensions; do
17988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17989 ac_cv_prog_AR="${ac_tool_prefix}ar"
17990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17991 break 2
17992 fi
17993 done
17994 done
17995 IFS=$as_save_IFS
17996
17997 fi
17998 fi
17999 AR=$ac_cv_prog_AR
18000 if test -n "$AR"; then
18001 { echo "$as_me:$LINENO: result: $AR" >&5
18002 echo "${ECHO_T}$AR" >&6; }
18003 else
18004 { echo "$as_me:$LINENO: result: no" >&5
18005 echo "${ECHO_T}no" >&6; }
18006 fi
18007
18008
18009 fi
18010 if test -z "$ac_cv_prog_AR"; then
18011 ac_ct_AR=$AR
18012 # Extract the first word of "ar", so it can be a program name with args.
18013 set dummy ar; ac_word=$2
18014 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18016 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18017 echo $ECHO_N "(cached) $ECHO_C" >&6
18018 else
18019 if test -n "$ac_ct_AR"; then
18020 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18021 else
18022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18023 for as_dir in $PATH
18024 do
18025 IFS=$as_save_IFS
18026 test -z "$as_dir" && as_dir=.
18027 for ac_exec_ext in '' $ac_executable_extensions; do
18028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18029 ac_cv_prog_ac_ct_AR="ar"
18030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18031 break 2
18032 fi
18033 done
18034 done
18035 IFS=$as_save_IFS
18036
18037 fi
18038 fi
18039 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18040 if test -n "$ac_ct_AR"; then
18041 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18042 echo "${ECHO_T}$ac_ct_AR" >&6; }
18043 else
18044 { echo "$as_me:$LINENO: result: no" >&5
18045 echo "${ECHO_T}no" >&6; }
18046 fi
18047
18048 if test "x$ac_ct_AR" = x; then
18049 AR=""
18050 else
18051 case $cross_compiling:$ac_tool_warned in
18052 yes:)
18053 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18054 whose name does not start with the host triplet. If you think this
18055 configuration is useful to you, please write to autoconf@gnu.org." >&5
18056 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18057 whose name does not start with the host triplet. If you think this
18058 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18059 ac_tool_warned=yes ;;
18060 esac
18061 AR=$ac_ct_AR
18062 fi
18063 else
18064 AR="$ac_cv_prog_AR"
18065 fi
18066
18067 if test "x$AR" = "x" ; then
18068 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18069 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18070 { (exit 1); exit 1; }; }
18071 fi
18072 fi
18073
18074 retest_macosx_linking=no
18075
18076 #if test "$wxUSE_MAC" = 1; then
18077 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18078 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18079 # Implicitly turn on the new --with-macosx-sdk using the default
18080 # SDK which provides the behavior this option has always had.
18081 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18082 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18083 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18084 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18085 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18086 wxUSE_MACOSX_SDK=yes
18087 fi
18088 else
18089 # Complain to user if he specified an argument to --enable-universal_binary
18090 # and also 1) specified --with-macosx-sdk using the default (yes) or
18091 # 2) specified --with-macosx-sdk using a path or 3) specified
18092 # --without-macosx-sdk (no).
18093 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18094 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18095 See \`config.log' for more details." >&5
18096 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18097 See \`config.log' for more details." >&2;}
18098 { (exit 1); exit 1; }; }
18099 else
18100 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18101 # special-case the empty string because the below test simply
18102 # converts "no" to the empty string anyway.
18103 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18104 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18105 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18106 fi
18107 fi
18108 OSX_UNIV_OPTS="-arch ppc -arch i386"
18109 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18110 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18111 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18112 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18113 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18114 retest_macosx_linking=yes
18115
18116 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18117 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18118 bk_use_pch=no
18119 fi
18120 #fi
18121
18122 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18123 wxUSE_MACOSX_SDK=
18124 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18125 # TODO: Search for most recent SDK and use it.
18126 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18127 fi
18128
18129
18130 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18131 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18132 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18133 if ! test -d "$wxUSE_MACOSX_SDK"; then
18134 { { echo "$as_me:$LINENO: error: not found
18135 See \`config.log' for more details." >&5
18136 echo "$as_me: error: not found
18137 See \`config.log' for more details." >&2;}
18138 { (exit 1); exit 1; }; }
18139 else
18140 { echo "$as_me:$LINENO: result: exists" >&5
18141 echo "${ECHO_T}exists" >&6; }
18142 fi
18143 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18144 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18145 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18146 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18147 retest_macosx_linking=yes
18148 fi
18149
18150 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18151 wxUSE_MACOSX_VERSION_MIN=
18152 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18153 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18154 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18155 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18156
18157 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/'`
18158
18159 # If that failed, try again with the new key
18160 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18161
18162 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/'`
18163
18164 fi
18165
18166 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18167 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18168 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18169 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18170 else
18171 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18172 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18173 wxUSE_MACOSX_VERSION_MIN=
18174 fi
18175 else
18176 wxUSE_MACOSX_VERSION_MIN=
18177 fi
18178 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18179 if test "$wxUSE_MAC" = 1; then
18180 # otherwise configure stops on leopard for universal_binary
18181 wxUSE_MACOSX_VERSION_MIN=10.4
18182 fi
18183 fi
18184
18185 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18186 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18187 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18188 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18189 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18190 retest_macosx_linking=yes
18191 fi
18192
18193 if test "x$retest_macosx_linking" = "xyes"; then
18194 ac_ext=c
18195 ac_cpp='$CPP $CPPFLAGS'
18196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18199
18200 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18201 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18202 cat >conftest.$ac_ext <<_ACEOF
18203 /* confdefs.h. */
18204 _ACEOF
18205 cat confdefs.h >>conftest.$ac_ext
18206 cat >>conftest.$ac_ext <<_ACEOF
18207 /* end confdefs.h. */
18208
18209 int
18210 main ()
18211 {
18212
18213 ;
18214 return 0;
18215 }
18216 _ACEOF
18217 rm -f conftest.$ac_objext conftest$ac_exeext
18218 if { (ac_try="$ac_link"
18219 case "(($ac_try" in
18220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18221 *) ac_try_echo=$ac_try;;
18222 esac
18223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18224 (eval "$ac_link") 2>conftest.er1
18225 ac_status=$?
18226 grep -v '^ *+' conftest.er1 >conftest.err
18227 rm -f conftest.er1
18228 cat conftest.err >&5
18229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18230 (exit $ac_status); } && {
18231 test -z "$ac_c_werror_flag" ||
18232 test ! -s conftest.err
18233 } && test -s conftest$ac_exeext &&
18234 $as_test_x conftest$ac_exeext; then
18235 { echo "$as_me:$LINENO: result: yes" >&5
18236 echo "${ECHO_T}yes" >&6; }
18237 else
18238 echo "$as_me: failed program was:" >&5
18239 sed 's/^/| /' conftest.$ac_ext >&5
18240
18241 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18242 See \`config.log' for more details." >&5
18243 echo "$as_me: error: no. Try a different SDK
18244 See \`config.log' for more details." >&2;}
18245 { (exit 1); exit 1; }; }; exit 1
18246 fi
18247
18248 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18249 conftest$ac_exeext conftest.$ac_ext
18250 ac_ext=c
18251 ac_cpp='$CPP $CPPFLAGS'
18252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18255
18256
18257 ac_ext=cpp
18258 ac_cpp='$CXXCPP $CPPFLAGS'
18259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18262
18263 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18264 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18265 cat >conftest.$ac_ext <<_ACEOF
18266 /* confdefs.h. */
18267 _ACEOF
18268 cat confdefs.h >>conftest.$ac_ext
18269 cat >>conftest.$ac_ext <<_ACEOF
18270 /* end confdefs.h. */
18271
18272 int
18273 main ()
18274 {
18275
18276 ;
18277 return 0;
18278 }
18279 _ACEOF
18280 rm -f conftest.$ac_objext conftest$ac_exeext
18281 if { (ac_try="$ac_link"
18282 case "(($ac_try" in
18283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18284 *) ac_try_echo=$ac_try;;
18285 esac
18286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18287 (eval "$ac_link") 2>conftest.er1
18288 ac_status=$?
18289 grep -v '^ *+' conftest.er1 >conftest.err
18290 rm -f conftest.er1
18291 cat conftest.err >&5
18292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18293 (exit $ac_status); } && {
18294 test -z "$ac_cxx_werror_flag" ||
18295 test ! -s conftest.err
18296 } && test -s conftest$ac_exeext &&
18297 $as_test_x conftest$ac_exeext; then
18298 { echo "$as_me:$LINENO: result: yes" >&5
18299 echo "${ECHO_T}yes" >&6; }
18300 else
18301 echo "$as_me: failed program was:" >&5
18302 sed 's/^/| /' conftest.$ac_ext >&5
18303
18304 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18305 See \`config.log' for more details." >&5
18306 echo "$as_me: error: no. Try a different SDK
18307 See \`config.log' for more details." >&2;}
18308 { (exit 1); exit 1; }; }; exit 1
18309 fi
18310
18311 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18312 conftest$ac_exeext conftest.$ac_ext
18313 ac_ext=c
18314 ac_cpp='$CPP $CPPFLAGS'
18315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18318
18319 fi
18320
18321
18322 case "${host}" in
18323
18324 *-*-darwin* )
18325 INSTALL_PROGRAM="cp -fp"
18326 INSTALL_DATA="cp -fp"
18327 ;;
18328 *)
18329 ;;
18330 esac
18331
18332
18333 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18334 CXXFLAGS="-qunique $CXXFLAGS"
18335 fi
18336
18337 case "${host}" in
18338 powerpc-*-darwin* )
18339 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18340 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18341 cat >conftest.$ac_ext <<_ACEOF
18342 /* confdefs.h. */
18343 _ACEOF
18344 cat confdefs.h >>conftest.$ac_ext
18345 cat >>conftest.$ac_ext <<_ACEOF
18346 /* end confdefs.h. */
18347
18348 int
18349 main ()
18350 {
18351 #ifndef __POWERPC__
18352 choke me for lack of PowerPC
18353 #endif
18354
18355 ;
18356 return 0;
18357 }
18358 _ACEOF
18359 rm -f conftest.$ac_objext
18360 if { (ac_try="$ac_compile"
18361 case "(($ac_try" in
18362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18363 *) ac_try_echo=$ac_try;;
18364 esac
18365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18366 (eval "$ac_compile") 2>conftest.er1
18367 ac_status=$?
18368 grep -v '^ *+' conftest.er1 >conftest.err
18369 rm -f conftest.er1
18370 cat conftest.err >&5
18371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18372 (exit $ac_status); } && {
18373 test -z "$ac_c_werror_flag" ||
18374 test ! -s conftest.err
18375 } && test -s conftest.$ac_objext; then
18376 { echo "$as_me:$LINENO: result: yes" >&5
18377 echo "${ECHO_T}yes" >&6; }
18378 else
18379 echo "$as_me: failed program was:" >&5
18380 sed 's/^/| /' conftest.$ac_ext >&5
18381
18382 { echo "$as_me:$LINENO: result: no" >&5
18383 echo "${ECHO_T}no" >&6; }
18384 cat >>confdefs.h <<\_ACEOF
18385 #define __POWERPC__ 1
18386 _ACEOF
18387
18388
18389 fi
18390
18391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18392 ;;
18393 esac
18394
18395 case "${host}" in
18396 *-*-darwin* )
18397 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18398 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18399 cat >conftest.$ac_ext <<_ACEOF
18400 /* confdefs.h. */
18401 _ACEOF
18402 cat confdefs.h >>conftest.$ac_ext
18403 cat >>conftest.$ac_ext <<_ACEOF
18404 /* end confdefs.h. */
18405 #include <CoreFoundation/CFBase.h>
18406
18407 int
18408 main ()
18409 {
18410
18411 ;
18412 return 0;
18413 }
18414 _ACEOF
18415 rm -f conftest.$ac_objext
18416 if { (ac_try="$ac_compile"
18417 case "(($ac_try" in
18418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18419 *) ac_try_echo=$ac_try;;
18420 esac
18421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18422 (eval "$ac_compile") 2>conftest.er1
18423 ac_status=$?
18424 grep -v '^ *+' conftest.er1 >conftest.err
18425 rm -f conftest.er1
18426 cat conftest.err >&5
18427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18428 (exit $ac_status); } && {
18429 test -z "$ac_c_werror_flag" ||
18430 test ! -s conftest.err
18431 } && test -s conftest.$ac_objext; then
18432 { echo "$as_me:$LINENO: result: yes" >&5
18433 echo "${ECHO_T}yes" >&6; }
18434 else
18435 echo "$as_me: failed program was:" >&5
18436 sed 's/^/| /' conftest.$ac_ext >&5
18437
18438 { echo "$as_me:$LINENO: result: no" >&5
18439 echo "${ECHO_T}no" >&6; }
18440 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18441 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18442 cat >conftest.$ac_ext <<_ACEOF
18443 /* confdefs.h. */
18444 _ACEOF
18445 cat confdefs.h >>conftest.$ac_ext
18446 cat >>conftest.$ac_ext <<_ACEOF
18447 /* end confdefs.h. */
18448 #define __CF_USE_FRAMEWORK_INCLUDES__
18449 #include <CoreFoundation/CFBase.h>
18450
18451 int
18452 main ()
18453 {
18454
18455 ;
18456 return 0;
18457 }
18458 _ACEOF
18459 rm -f conftest.$ac_objext
18460 if { (ac_try="$ac_compile"
18461 case "(($ac_try" in
18462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18463 *) ac_try_echo=$ac_try;;
18464 esac
18465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18466 (eval "$ac_compile") 2>conftest.er1
18467 ac_status=$?
18468 grep -v '^ *+' conftest.er1 >conftest.err
18469 rm -f conftest.er1
18470 cat conftest.err >&5
18471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18472 (exit $ac_status); } && {
18473 test -z "$ac_c_werror_flag" ||
18474 test ! -s conftest.err
18475 } && test -s conftest.$ac_objext; then
18476 { echo "$as_me:$LINENO: result: yes" >&5
18477 echo "${ECHO_T}yes" >&6; }
18478 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18479 else
18480 echo "$as_me: failed program was:" >&5
18481 sed 's/^/| /' conftest.$ac_ext >&5
18482
18483 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18484 See \`config.log' for more details." >&5
18485 echo "$as_me: error: no. CoreFoundation not available.
18486 See \`config.log' for more details." >&2;}
18487 { (exit 1); exit 1; }; }
18488
18489 fi
18490
18491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18492
18493
18494 fi
18495
18496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18497 ;;
18498 esac
18499
18500 wants_win32=0
18501 doesnt_want_win32=0
18502 case "${host}" in
18503 *-*-cygwin*)
18504 if test "$wxUSE_MSW" = 1 ; then
18505 wants_win32=1
18506 else
18507 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18508 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18509 if test "${wx_cv_nocygwin+set}" = set; then
18510 echo $ECHO_N "(cached) $ECHO_C" >&6
18511 else
18512
18513 cat >conftest.$ac_ext <<_ACEOF
18514 /* confdefs.h. */
18515 _ACEOF
18516 cat confdefs.h >>conftest.$ac_ext
18517 cat >>conftest.$ac_ext <<_ACEOF
18518 /* end confdefs.h. */
18519
18520 int
18521 main ()
18522 {
18523
18524 #ifdef __MINGW32__
18525 choke me
18526 #endif
18527
18528 ;
18529 return 0;
18530 }
18531 _ACEOF
18532 rm -f conftest.$ac_objext
18533 if { (ac_try="$ac_compile"
18534 case "(($ac_try" in
18535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18536 *) ac_try_echo=$ac_try;;
18537 esac
18538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18539 (eval "$ac_compile") 2>conftest.er1
18540 ac_status=$?
18541 grep -v '^ *+' conftest.er1 >conftest.err
18542 rm -f conftest.er1
18543 cat conftest.err >&5
18544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18545 (exit $ac_status); } && {
18546 test -z "$ac_c_werror_flag" ||
18547 test ! -s conftest.err
18548 } && test -s conftest.$ac_objext; then
18549 wx_cv_nocygwin=no
18550 else
18551 echo "$as_me: failed program was:" >&5
18552 sed 's/^/| /' conftest.$ac_ext >&5
18553
18554 wx_cv_nocygwin=yes
18555
18556 fi
18557
18558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18559
18560
18561 fi
18562 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18563 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18564
18565 if test "$wx_cv_nocygwin" = "yes"; then
18566 wants_win32=1
18567 else
18568 doesnt_want_win32=1
18569 fi
18570 fi
18571 if test "$wants_win32" = 1 ; then
18572 BAKEFILE_FORCE_PLATFORM=win32
18573 fi
18574 ;;
18575 *-*-mingw*)
18576 wants_win32=1
18577 ;;
18578 esac
18579
18580 if test "$wxUSE_WINE" = "yes"; then
18581 wants_win32=1
18582 LDFLAGS_GUI="-mwindows"
18583 fi
18584
18585 if test "$wants_win32" = 1 ; then
18586 USE_UNIX=0
18587 USE_WIN32=1
18588 cat >>confdefs.h <<\_ACEOF
18589 #define __WIN32__ 1
18590 _ACEOF
18591
18592 cat >>confdefs.h <<\_ACEOF
18593 #define __WIN95__ 1
18594 _ACEOF
18595
18596 cat >>confdefs.h <<\_ACEOF
18597 #define __WINDOWS__ 1
18598 _ACEOF
18599
18600 cat >>confdefs.h <<\_ACEOF
18601 #define __GNUWIN32__ 1
18602 _ACEOF
18603
18604 cat >>confdefs.h <<\_ACEOF
18605 #define STRICT 1
18606 _ACEOF
18607
18608 fi
18609 if test "$doesnt_want_win32" = 1 ; then
18610 USE_UNIX=1
18611 USE_WIN32=0
18612 fi
18613
18614 if test "$USE_UNIX" = 1 ; then
18615 wxUSE_UNIX=yes
18616 cat >>confdefs.h <<\_ACEOF
18617 #define __UNIX__ 1
18618 _ACEOF
18619
18620 fi
18621
18622 case "${host}" in
18623 *-pc-os2_emx | *-pc-os2-emx )
18624 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18625 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18626 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18627 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18628 echo $ECHO_N "(cached) $ECHO_C" >&6
18629 else
18630 ac_check_lib_save_LIBS=$LIBS
18631 LIBS="-lcExt $LIBS"
18632 cat >conftest.$ac_ext <<_ACEOF
18633 /* confdefs.h. */
18634 _ACEOF
18635 cat confdefs.h >>conftest.$ac_ext
18636 cat >>conftest.$ac_ext <<_ACEOF
18637 /* end confdefs.h. */
18638
18639 /* Override any GCC internal prototype to avoid an error.
18640 Use char because int might match the return type of a GCC
18641 builtin and then its argument prototype would still apply. */
18642 #ifdef __cplusplus
18643 extern "C"
18644 #endif
18645 char drand48 ();
18646 int
18647 main ()
18648 {
18649 return drand48 ();
18650 ;
18651 return 0;
18652 }
18653 _ACEOF
18654 rm -f conftest.$ac_objext conftest$ac_exeext
18655 if { (ac_try="$ac_link"
18656 case "(($ac_try" in
18657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18658 *) ac_try_echo=$ac_try;;
18659 esac
18660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18661 (eval "$ac_link") 2>conftest.er1
18662 ac_status=$?
18663 grep -v '^ *+' conftest.er1 >conftest.err
18664 rm -f conftest.er1
18665 cat conftest.err >&5
18666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18667 (exit $ac_status); } && {
18668 test -z "$ac_c_werror_flag" ||
18669 test ! -s conftest.err
18670 } && test -s conftest$ac_exeext &&
18671 $as_test_x conftest$ac_exeext; then
18672 ac_cv_lib_cExt_drand48=yes
18673 else
18674 echo "$as_me: failed program was:" >&5
18675 sed 's/^/| /' conftest.$ac_ext >&5
18676
18677 ac_cv_lib_cExt_drand48=no
18678 fi
18679
18680 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18681 conftest$ac_exeext conftest.$ac_ext
18682 LIBS=$ac_check_lib_save_LIBS
18683 fi
18684 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18685 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18686 if test $ac_cv_lib_cExt_drand48 = yes; then
18687 LIBS="$LIBS -lcExt"
18688 fi
18689
18690 else
18691 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18692 fi
18693 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18694 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18695 if test "${wx_cv_gccversion+set}" = set; then
18696 echo $ECHO_N "(cached) $ECHO_C" >&6
18697 else
18698
18699 if test "$cross_compiling" = yes; then
18700 wx_cv_gccversion="EMX2"
18701
18702 else
18703 cat >conftest.$ac_ext <<_ACEOF
18704 /* confdefs.h. */
18705 _ACEOF
18706 cat confdefs.h >>conftest.$ac_ext
18707 cat >>conftest.$ac_ext <<_ACEOF
18708 /* end confdefs.h. */
18709
18710 #include <stdio.h>
18711
18712 int main()
18713 {
18714 FILE *f=fopen("conftestval", "w");
18715 if (!f) exit(1);
18716 fprintf(f,
18717 #if (__GNUC__ < 3)
18718 "EMX2"
18719 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18720 "EMX3"
18721 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18722 "Innotek5"
18723 #else
18724 "Innotek6"
18725 #endif
18726 );
18727 exit(0);
18728 }
18729
18730 _ACEOF
18731 rm -f conftest$ac_exeext
18732 if { (ac_try="$ac_link"
18733 case "(($ac_try" in
18734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18735 *) ac_try_echo=$ac_try;;
18736 esac
18737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18738 (eval "$ac_link") 2>&5
18739 ac_status=$?
18740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18741 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18742 { (case "(($ac_try" in
18743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18744 *) ac_try_echo=$ac_try;;
18745 esac
18746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18747 (eval "$ac_try") 2>&5
18748 ac_status=$?
18749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18750 (exit $ac_status); }; }; then
18751 wx_cv_gccversion=`cat conftestval`
18752 else
18753 echo "$as_me: program exited with status $ac_status" >&5
18754 echo "$as_me: failed program was:" >&5
18755 sed 's/^/| /' conftest.$ac_ext >&5
18756
18757 ( exit $ac_status )
18758 wx_cv_gccversion="EMX2"
18759 fi
18760 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18761 fi
18762
18763
18764
18765 fi
18766 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18767 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18768 if test "$wx_cv_gccversion" = "EMX2"; then
18769 LIBS="$LIBS -lstdcpp"
18770 LDFLAGS="$LDFLAGS -Zsysv-signals"
18771 else
18772 if test "$wx_cv_gccversion" = "EMX3"; then
18773 LIBS="$LIBS -lstdcxx -lgcc"
18774 LDFLAGS="$LDFLAGS -Zsysv-signals"
18775 else
18776 LIBS="$LIBS -lstdc++"
18777 fi
18778 fi
18779 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18780 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18781 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18782 wxUSE_OMF=yes
18783 enable_omf=yes
18784 fi
18785 ;;
18786 *)
18787
18788 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18789 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18790 if test "${ac_cv_string_strcasecmp+set}" = set; then
18791 echo $ECHO_N "(cached) $ECHO_C" >&6
18792 else
18793
18794 cat >conftest.$ac_ext <<_ACEOF
18795 /* confdefs.h. */
18796 _ACEOF
18797 cat confdefs.h >>conftest.$ac_ext
18798 cat >>conftest.$ac_ext <<_ACEOF
18799 /* end confdefs.h. */
18800
18801 #include <string.h>
18802
18803 int
18804 main ()
18805 {
18806
18807 strcasecmp("foo", "bar");
18808
18809 ;
18810 return 0;
18811 }
18812 _ACEOF
18813 rm -f conftest.$ac_objext conftest$ac_exeext
18814 if { (ac_try="$ac_link"
18815 case "(($ac_try" in
18816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18817 *) ac_try_echo=$ac_try;;
18818 esac
18819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18820 (eval "$ac_link") 2>conftest.er1
18821 ac_status=$?
18822 grep -v '^ *+' conftest.er1 >conftest.err
18823 rm -f conftest.er1
18824 cat conftest.err >&5
18825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18826 (exit $ac_status); } && {
18827 test -z "$ac_c_werror_flag" ||
18828 test ! -s conftest.err
18829 } && test -s conftest$ac_exeext &&
18830 $as_test_x conftest$ac_exeext; then
18831 ac_cv_string_strcasecmp=yes
18832 else
18833 echo "$as_me: failed program was:" >&5
18834 sed 's/^/| /' conftest.$ac_ext >&5
18835
18836 ac_cv_string_strcasecmp=no
18837
18838 fi
18839
18840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18841 conftest$ac_exeext conftest.$ac_ext
18842
18843 fi
18844 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18845 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18846
18847 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18848 cat >>confdefs.h <<\_ACEOF
18849 #define HAVE_STRCASECMP_IN_STRING_H 1
18850 _ACEOF
18851
18852 else
18853 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18854 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18855 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18856 echo $ECHO_N "(cached) $ECHO_C" >&6
18857 else
18858
18859 cat >conftest.$ac_ext <<_ACEOF
18860 /* confdefs.h. */
18861 _ACEOF
18862 cat confdefs.h >>conftest.$ac_ext
18863 cat >>conftest.$ac_ext <<_ACEOF
18864 /* end confdefs.h. */
18865
18866 #include <strings.h>
18867
18868 int
18869 main ()
18870 {
18871
18872 strcasecmp("foo", "bar");
18873
18874 ;
18875 return 0;
18876 }
18877 _ACEOF
18878 rm -f conftest.$ac_objext conftest$ac_exeext
18879 if { (ac_try="$ac_link"
18880 case "(($ac_try" in
18881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18882 *) ac_try_echo=$ac_try;;
18883 esac
18884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18885 (eval "$ac_link") 2>conftest.er1
18886 ac_status=$?
18887 grep -v '^ *+' conftest.er1 >conftest.err
18888 rm -f conftest.er1
18889 cat conftest.err >&5
18890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18891 (exit $ac_status); } && {
18892 test -z "$ac_c_werror_flag" ||
18893 test ! -s conftest.err
18894 } && test -s conftest$ac_exeext &&
18895 $as_test_x conftest$ac_exeext; then
18896 ac_cv_strings_strcasecmp=yes
18897 else
18898 echo "$as_me: failed program was:" >&5
18899 sed 's/^/| /' conftest.$ac_ext >&5
18900
18901 ac_cv_strings_strcasecmp=no
18902
18903 fi
18904
18905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18906 conftest$ac_exeext conftest.$ac_ext
18907
18908 fi
18909 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18910 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18911
18912 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18913 cat >>confdefs.h <<\_ACEOF
18914 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18915 _ACEOF
18916
18917 else
18918 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18919 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18920 { (exit 1); exit 1; }; }
18921 fi
18922 fi
18923
18924 ;;
18925 esac
18926
18927
18928 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18929 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18930 if test "${ac_cv_header_stdc+set}" = set; then
18931 echo $ECHO_N "(cached) $ECHO_C" >&6
18932 else
18933 cat >conftest.$ac_ext <<_ACEOF
18934 /* confdefs.h. */
18935 _ACEOF
18936 cat confdefs.h >>conftest.$ac_ext
18937 cat >>conftest.$ac_ext <<_ACEOF
18938 /* end confdefs.h. */
18939 #include <stdlib.h>
18940 #include <stdarg.h>
18941 #include <string.h>
18942 #include <float.h>
18943
18944 int
18945 main ()
18946 {
18947
18948 ;
18949 return 0;
18950 }
18951 _ACEOF
18952 rm -f conftest.$ac_objext
18953 if { (ac_try="$ac_compile"
18954 case "(($ac_try" in
18955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18956 *) ac_try_echo=$ac_try;;
18957 esac
18958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18959 (eval "$ac_compile") 2>conftest.er1
18960 ac_status=$?
18961 grep -v '^ *+' conftest.er1 >conftest.err
18962 rm -f conftest.er1
18963 cat conftest.err >&5
18964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18965 (exit $ac_status); } && {
18966 test -z "$ac_c_werror_flag" ||
18967 test ! -s conftest.err
18968 } && test -s conftest.$ac_objext; then
18969 ac_cv_header_stdc=yes
18970 else
18971 echo "$as_me: failed program was:" >&5
18972 sed 's/^/| /' conftest.$ac_ext >&5
18973
18974 ac_cv_header_stdc=no
18975 fi
18976
18977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18978
18979 if test $ac_cv_header_stdc = yes; then
18980 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18981 cat >conftest.$ac_ext <<_ACEOF
18982 /* confdefs.h. */
18983 _ACEOF
18984 cat confdefs.h >>conftest.$ac_ext
18985 cat >>conftest.$ac_ext <<_ACEOF
18986 /* end confdefs.h. */
18987 #include <string.h>
18988
18989 _ACEOF
18990 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18991 $EGREP "memchr" >/dev/null 2>&1; then
18992 :
18993 else
18994 ac_cv_header_stdc=no
18995 fi
18996 rm -f conftest*
18997
18998 fi
18999
19000 if test $ac_cv_header_stdc = yes; then
19001 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19002 cat >conftest.$ac_ext <<_ACEOF
19003 /* confdefs.h. */
19004 _ACEOF
19005 cat confdefs.h >>conftest.$ac_ext
19006 cat >>conftest.$ac_ext <<_ACEOF
19007 /* end confdefs.h. */
19008 #include <stdlib.h>
19009
19010 _ACEOF
19011 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19012 $EGREP "free" >/dev/null 2>&1; then
19013 :
19014 else
19015 ac_cv_header_stdc=no
19016 fi
19017 rm -f conftest*
19018
19019 fi
19020
19021 if test $ac_cv_header_stdc = yes; then
19022 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19023 if test "$cross_compiling" = yes; then
19024 :
19025 else
19026 cat >conftest.$ac_ext <<_ACEOF
19027 /* confdefs.h. */
19028 _ACEOF
19029 cat confdefs.h >>conftest.$ac_ext
19030 cat >>conftest.$ac_ext <<_ACEOF
19031 /* end confdefs.h. */
19032 #include <ctype.h>
19033 #include <stdlib.h>
19034 #if ((' ' & 0x0FF) == 0x020)
19035 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19036 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19037 #else
19038 # define ISLOWER(c) \
19039 (('a' <= (c) && (c) <= 'i') \
19040 || ('j' <= (c) && (c) <= 'r') \
19041 || ('s' <= (c) && (c) <= 'z'))
19042 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19043 #endif
19044
19045 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19046 int
19047 main ()
19048 {
19049 int i;
19050 for (i = 0; i < 256; i++)
19051 if (XOR (islower (i), ISLOWER (i))
19052 || toupper (i) != TOUPPER (i))
19053 return 2;
19054 return 0;
19055 }
19056 _ACEOF
19057 rm -f conftest$ac_exeext
19058 if { (ac_try="$ac_link"
19059 case "(($ac_try" in
19060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19061 *) ac_try_echo=$ac_try;;
19062 esac
19063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19064 (eval "$ac_link") 2>&5
19065 ac_status=$?
19066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19067 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19068 { (case "(($ac_try" in
19069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19070 *) ac_try_echo=$ac_try;;
19071 esac
19072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19073 (eval "$ac_try") 2>&5
19074 ac_status=$?
19075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19076 (exit $ac_status); }; }; then
19077 :
19078 else
19079 echo "$as_me: program exited with status $ac_status" >&5
19080 echo "$as_me: failed program was:" >&5
19081 sed 's/^/| /' conftest.$ac_ext >&5
19082
19083 ( exit $ac_status )
19084 ac_cv_header_stdc=no
19085 fi
19086 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19087 fi
19088
19089
19090 fi
19091 fi
19092 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19093 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19094 if test $ac_cv_header_stdc = yes; then
19095
19096 cat >>confdefs.h <<\_ACEOF
19097 #define STDC_HEADERS 1
19098 _ACEOF
19099
19100 fi
19101
19102 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19103
19104
19105
19106
19107
19108
19109
19110
19111
19112 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19113 inttypes.h stdint.h unistd.h
19114 do
19115 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19116 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19117 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19118 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19119 echo $ECHO_N "(cached) $ECHO_C" >&6
19120 else
19121 cat >conftest.$ac_ext <<_ACEOF
19122 /* confdefs.h. */
19123 _ACEOF
19124 cat confdefs.h >>conftest.$ac_ext
19125 cat >>conftest.$ac_ext <<_ACEOF
19126 /* end confdefs.h. */
19127 $ac_includes_default
19128
19129 #include <$ac_header>
19130 _ACEOF
19131 rm -f conftest.$ac_objext
19132 if { (ac_try="$ac_compile"
19133 case "(($ac_try" in
19134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19135 *) ac_try_echo=$ac_try;;
19136 esac
19137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19138 (eval "$ac_compile") 2>conftest.er1
19139 ac_status=$?
19140 grep -v '^ *+' conftest.er1 >conftest.err
19141 rm -f conftest.er1
19142 cat conftest.err >&5
19143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19144 (exit $ac_status); } && {
19145 test -z "$ac_c_werror_flag" ||
19146 test ! -s conftest.err
19147 } && test -s conftest.$ac_objext; then
19148 eval "$as_ac_Header=yes"
19149 else
19150 echo "$as_me: failed program was:" >&5
19151 sed 's/^/| /' conftest.$ac_ext >&5
19152
19153 eval "$as_ac_Header=no"
19154 fi
19155
19156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19157 fi
19158 ac_res=`eval echo '${'$as_ac_Header'}'`
19159 { echo "$as_me:$LINENO: result: $ac_res" >&5
19160 echo "${ECHO_T}$ac_res" >&6; }
19161 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19162 cat >>confdefs.h <<_ACEOF
19163 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19164 _ACEOF
19165
19166 fi
19167
19168 done
19169
19170
19171
19172
19173 for ac_header in langinfo.h wchar.h
19174 do
19175 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19176 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19177 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19178 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19179 echo $ECHO_N "(cached) $ECHO_C" >&6
19180 else
19181 cat >conftest.$ac_ext <<_ACEOF
19182 /* confdefs.h. */
19183 _ACEOF
19184 cat confdefs.h >>conftest.$ac_ext
19185 cat >>conftest.$ac_ext <<_ACEOF
19186 /* end confdefs.h. */
19187 $ac_includes_default
19188
19189 #include <$ac_header>
19190 _ACEOF
19191 rm -f conftest.$ac_objext
19192 if { (ac_try="$ac_compile"
19193 case "(($ac_try" in
19194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19195 *) ac_try_echo=$ac_try;;
19196 esac
19197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19198 (eval "$ac_compile") 2>conftest.er1
19199 ac_status=$?
19200 grep -v '^ *+' conftest.er1 >conftest.err
19201 rm -f conftest.er1
19202 cat conftest.err >&5
19203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19204 (exit $ac_status); } && {
19205 test -z "$ac_c_werror_flag" ||
19206 test ! -s conftest.err
19207 } && test -s conftest.$ac_objext; then
19208 eval "$as_ac_Header=yes"
19209 else
19210 echo "$as_me: failed program was:" >&5
19211 sed 's/^/| /' conftest.$ac_ext >&5
19212
19213 eval "$as_ac_Header=no"
19214 fi
19215
19216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19217 fi
19218 ac_res=`eval echo '${'$as_ac_Header'}'`
19219 { echo "$as_me:$LINENO: result: $ac_res" >&5
19220 echo "${ECHO_T}$ac_res" >&6; }
19221 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19222 cat >>confdefs.h <<_ACEOF
19223 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19224 _ACEOF
19225
19226 fi
19227
19228 done
19229
19230
19231 if test "$ac_cv_header_wchar_h" != "yes"; then
19232
19233 for ac_header in wcstr.h
19234 do
19235 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19236 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19237 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19238 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19239 echo $ECHO_N "(cached) $ECHO_C" >&6
19240 else
19241 cat >conftest.$ac_ext <<_ACEOF
19242 /* confdefs.h. */
19243 _ACEOF
19244 cat confdefs.h >>conftest.$ac_ext
19245 cat >>conftest.$ac_ext <<_ACEOF
19246 /* end confdefs.h. */
19247 $ac_includes_default
19248
19249 #include <$ac_header>
19250 _ACEOF
19251 rm -f conftest.$ac_objext
19252 if { (ac_try="$ac_compile"
19253 case "(($ac_try" in
19254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19255 *) ac_try_echo=$ac_try;;
19256 esac
19257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19258 (eval "$ac_compile") 2>conftest.er1
19259 ac_status=$?
19260 grep -v '^ *+' conftest.er1 >conftest.err
19261 rm -f conftest.er1
19262 cat conftest.err >&5
19263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19264 (exit $ac_status); } && {
19265 test -z "$ac_c_werror_flag" ||
19266 test ! -s conftest.err
19267 } && test -s conftest.$ac_objext; then
19268 eval "$as_ac_Header=yes"
19269 else
19270 echo "$as_me: failed program was:" >&5
19271 sed 's/^/| /' conftest.$ac_ext >&5
19272
19273 eval "$as_ac_Header=no"
19274 fi
19275
19276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19277 fi
19278 ac_res=`eval echo '${'$as_ac_Header'}'`
19279 { echo "$as_me:$LINENO: result: $ac_res" >&5
19280 echo "${ECHO_T}$ac_res" >&6; }
19281 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19282 cat >>confdefs.h <<_ACEOF
19283 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19284 _ACEOF
19285
19286 fi
19287
19288 done
19289
19290 fi
19291
19292 case "${host}" in
19293 *-pc-os2_emx | *-pc-os2-emx )
19294 if test $ac_cv_header_langinfo_h = "yes" \
19295 -a \( "$wx_cv_gccversion" = "EMX2" \
19296 -o "$wx_cv_gccversion" = "EMX3" \
19297 -o "$wx_cv_gccversion" = "Innotek5" \); then
19298 LIBS="$LIBS -lintl"
19299 fi
19300 ;;
19301 esac
19302
19303 if test "$USE_UNIX" = 1 ; then
19304
19305 for ac_header in sys/select.h
19306 do
19307 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19308 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19309 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19310 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19311 echo $ECHO_N "(cached) $ECHO_C" >&6
19312 else
19313 cat >conftest.$ac_ext <<_ACEOF
19314 /* confdefs.h. */
19315 _ACEOF
19316 cat confdefs.h >>conftest.$ac_ext
19317 cat >>conftest.$ac_ext <<_ACEOF
19318 /* end confdefs.h. */
19319 $ac_includes_default
19320
19321 #include <$ac_header>
19322 _ACEOF
19323 rm -f conftest.$ac_objext
19324 if { (ac_try="$ac_compile"
19325 case "(($ac_try" in
19326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19327 *) ac_try_echo=$ac_try;;
19328 esac
19329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19330 (eval "$ac_compile") 2>conftest.er1
19331 ac_status=$?
19332 grep -v '^ *+' conftest.er1 >conftest.err
19333 rm -f conftest.er1
19334 cat conftest.err >&5
19335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19336 (exit $ac_status); } && {
19337 test -z "$ac_c_werror_flag" ||
19338 test ! -s conftest.err
19339 } && test -s conftest.$ac_objext; then
19340 eval "$as_ac_Header=yes"
19341 else
19342 echo "$as_me: failed program was:" >&5
19343 sed 's/^/| /' conftest.$ac_ext >&5
19344
19345 eval "$as_ac_Header=no"
19346 fi
19347
19348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19349 fi
19350 ac_res=`eval echo '${'$as_ac_Header'}'`
19351 { echo "$as_me:$LINENO: result: $ac_res" >&5
19352 echo "${ECHO_T}$ac_res" >&6; }
19353 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19354 cat >>confdefs.h <<_ACEOF
19355 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19356 _ACEOF
19357
19358 fi
19359
19360 done
19361
19362 fi
19363
19364
19365 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19366 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19367 if test "${ac_cv_c_const+set}" = set; then
19368 echo $ECHO_N "(cached) $ECHO_C" >&6
19369 else
19370 cat >conftest.$ac_ext <<_ACEOF
19371 /* confdefs.h. */
19372 _ACEOF
19373 cat confdefs.h >>conftest.$ac_ext
19374 cat >>conftest.$ac_ext <<_ACEOF
19375 /* end confdefs.h. */
19376
19377 int
19378 main ()
19379 {
19380 /* FIXME: Include the comments suggested by Paul. */
19381 #ifndef __cplusplus
19382 /* Ultrix mips cc rejects this. */
19383 typedef int charset[2];
19384 const charset cs;
19385 /* SunOS 4.1.1 cc rejects this. */
19386 char const *const *pcpcc;
19387 char **ppc;
19388 /* NEC SVR4.0.2 mips cc rejects this. */
19389 struct point {int x, y;};
19390 static struct point const zero = {0,0};
19391 /* AIX XL C 1.02.0.0 rejects this.
19392 It does not let you subtract one const X* pointer from another in
19393 an arm of an if-expression whose if-part is not a constant
19394 expression */
19395 const char *g = "string";
19396 pcpcc = &g + (g ? g-g : 0);
19397 /* HPUX 7.0 cc rejects these. */
19398 ++pcpcc;
19399 ppc = (char**) pcpcc;
19400 pcpcc = (char const *const *) ppc;
19401 { /* SCO 3.2v4 cc rejects this. */
19402 char *t;
19403 char const *s = 0 ? (char *) 0 : (char const *) 0;
19404
19405 *t++ = 0;
19406 if (s) return 0;
19407 }
19408 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19409 int x[] = {25, 17};
19410 const int *foo = &x[0];
19411 ++foo;
19412 }
19413 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19414 typedef const int *iptr;
19415 iptr p = 0;
19416 ++p;
19417 }
19418 { /* AIX XL C 1.02.0.0 rejects this saying
19419 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19420 struct s { int j; const int *ap[3]; };
19421 struct s *b; b->j = 5;
19422 }
19423 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19424 const int foo = 10;
19425 if (!foo) return 0;
19426 }
19427 return !cs[0] && !zero.x;
19428 #endif
19429
19430 ;
19431 return 0;
19432 }
19433 _ACEOF
19434 rm -f conftest.$ac_objext
19435 if { (ac_try="$ac_compile"
19436 case "(($ac_try" in
19437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19438 *) ac_try_echo=$ac_try;;
19439 esac
19440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19441 (eval "$ac_compile") 2>conftest.er1
19442 ac_status=$?
19443 grep -v '^ *+' conftest.er1 >conftest.err
19444 rm -f conftest.er1
19445 cat conftest.err >&5
19446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19447 (exit $ac_status); } && {
19448 test -z "$ac_c_werror_flag" ||
19449 test ! -s conftest.err
19450 } && test -s conftest.$ac_objext; then
19451 ac_cv_c_const=yes
19452 else
19453 echo "$as_me: failed program was:" >&5
19454 sed 's/^/| /' conftest.$ac_ext >&5
19455
19456 ac_cv_c_const=no
19457 fi
19458
19459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19460 fi
19461 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19462 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19463 if test $ac_cv_c_const = no; then
19464
19465 cat >>confdefs.h <<\_ACEOF
19466 #define const
19467 _ACEOF
19468
19469 fi
19470
19471 { echo "$as_me:$LINENO: checking for inline" >&5
19472 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19473 if test "${ac_cv_c_inline+set}" = set; then
19474 echo $ECHO_N "(cached) $ECHO_C" >&6
19475 else
19476 ac_cv_c_inline=no
19477 for ac_kw in inline __inline__ __inline; do
19478 cat >conftest.$ac_ext <<_ACEOF
19479 /* confdefs.h. */
19480 _ACEOF
19481 cat confdefs.h >>conftest.$ac_ext
19482 cat >>conftest.$ac_ext <<_ACEOF
19483 /* end confdefs.h. */
19484 #ifndef __cplusplus
19485 typedef int foo_t;
19486 static $ac_kw foo_t static_foo () {return 0; }
19487 $ac_kw foo_t foo () {return 0; }
19488 #endif
19489
19490 _ACEOF
19491 rm -f conftest.$ac_objext
19492 if { (ac_try="$ac_compile"
19493 case "(($ac_try" in
19494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19495 *) ac_try_echo=$ac_try;;
19496 esac
19497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19498 (eval "$ac_compile") 2>conftest.er1
19499 ac_status=$?
19500 grep -v '^ *+' conftest.er1 >conftest.err
19501 rm -f conftest.er1
19502 cat conftest.err >&5
19503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19504 (exit $ac_status); } && {
19505 test -z "$ac_c_werror_flag" ||
19506 test ! -s conftest.err
19507 } && test -s conftest.$ac_objext; then
19508 ac_cv_c_inline=$ac_kw
19509 else
19510 echo "$as_me: failed program was:" >&5
19511 sed 's/^/| /' conftest.$ac_ext >&5
19512
19513
19514 fi
19515
19516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19517 test "$ac_cv_c_inline" != no && break
19518 done
19519
19520 fi
19521 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19522 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19523
19524
19525 case $ac_cv_c_inline in
19526 inline | yes) ;;
19527 *)
19528 case $ac_cv_c_inline in
19529 no) ac_val=;;
19530 *) ac_val=$ac_cv_c_inline;;
19531 esac
19532 cat >>confdefs.h <<_ACEOF
19533 #ifndef __cplusplus
19534 #define inline $ac_val
19535 #endif
19536 _ACEOF
19537 ;;
19538 esac
19539
19540
19541 { echo "$as_me:$LINENO: checking for short" >&5
19542 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19543 if test "${ac_cv_type_short+set}" = set; then
19544 echo $ECHO_N "(cached) $ECHO_C" >&6
19545 else
19546 cat >conftest.$ac_ext <<_ACEOF
19547 /* confdefs.h. */
19548 _ACEOF
19549 cat confdefs.h >>conftest.$ac_ext
19550 cat >>conftest.$ac_ext <<_ACEOF
19551 /* end confdefs.h. */
19552 $ac_includes_default
19553 typedef short ac__type_new_;
19554 int
19555 main ()
19556 {
19557 if ((ac__type_new_ *) 0)
19558 return 0;
19559 if (sizeof (ac__type_new_))
19560 return 0;
19561 ;
19562 return 0;
19563 }
19564 _ACEOF
19565 rm -f conftest.$ac_objext
19566 if { (ac_try="$ac_compile"
19567 case "(($ac_try" in
19568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19569 *) ac_try_echo=$ac_try;;
19570 esac
19571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19572 (eval "$ac_compile") 2>conftest.er1
19573 ac_status=$?
19574 grep -v '^ *+' conftest.er1 >conftest.err
19575 rm -f conftest.er1
19576 cat conftest.err >&5
19577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19578 (exit $ac_status); } && {
19579 test -z "$ac_c_werror_flag" ||
19580 test ! -s conftest.err
19581 } && test -s conftest.$ac_objext; then
19582 ac_cv_type_short=yes
19583 else
19584 echo "$as_me: failed program was:" >&5
19585 sed 's/^/| /' conftest.$ac_ext >&5
19586
19587 ac_cv_type_short=no
19588 fi
19589
19590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19591 fi
19592 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19593 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19594
19595 # The cast to long int works around a bug in the HP C Compiler
19596 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19597 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19598 # This bug is HP SR number 8606223364.
19599 { echo "$as_me:$LINENO: checking size of short" >&5
19600 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19601 if test "${ac_cv_sizeof_short+set}" = set; then
19602 echo $ECHO_N "(cached) $ECHO_C" >&6
19603 else
19604 if test "$cross_compiling" = yes; then
19605 # Depending upon the size, compute the lo and hi bounds.
19606 cat >conftest.$ac_ext <<_ACEOF
19607 /* confdefs.h. */
19608 _ACEOF
19609 cat confdefs.h >>conftest.$ac_ext
19610 cat >>conftest.$ac_ext <<_ACEOF
19611 /* end confdefs.h. */
19612 $ac_includes_default
19613 typedef short ac__type_sizeof_;
19614 int
19615 main ()
19616 {
19617 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19618 test_array [0] = 0
19619
19620 ;
19621 return 0;
19622 }
19623 _ACEOF
19624 rm -f conftest.$ac_objext
19625 if { (ac_try="$ac_compile"
19626 case "(($ac_try" in
19627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19628 *) ac_try_echo=$ac_try;;
19629 esac
19630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19631 (eval "$ac_compile") 2>conftest.er1
19632 ac_status=$?
19633 grep -v '^ *+' conftest.er1 >conftest.err
19634 rm -f conftest.er1
19635 cat conftest.err >&5
19636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19637 (exit $ac_status); } && {
19638 test -z "$ac_c_werror_flag" ||
19639 test ! -s conftest.err
19640 } && test -s conftest.$ac_objext; then
19641 ac_lo=0 ac_mid=0
19642 while :; do
19643 cat >conftest.$ac_ext <<_ACEOF
19644 /* confdefs.h. */
19645 _ACEOF
19646 cat confdefs.h >>conftest.$ac_ext
19647 cat >>conftest.$ac_ext <<_ACEOF
19648 /* end confdefs.h. */
19649 $ac_includes_default
19650 typedef short ac__type_sizeof_;
19651 int
19652 main ()
19653 {
19654 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19655 test_array [0] = 0
19656
19657 ;
19658 return 0;
19659 }
19660 _ACEOF
19661 rm -f conftest.$ac_objext
19662 if { (ac_try="$ac_compile"
19663 case "(($ac_try" in
19664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19665 *) ac_try_echo=$ac_try;;
19666 esac
19667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19668 (eval "$ac_compile") 2>conftest.er1
19669 ac_status=$?
19670 grep -v '^ *+' conftest.er1 >conftest.err
19671 rm -f conftest.er1
19672 cat conftest.err >&5
19673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19674 (exit $ac_status); } && {
19675 test -z "$ac_c_werror_flag" ||
19676 test ! -s conftest.err
19677 } && test -s conftest.$ac_objext; then
19678 ac_hi=$ac_mid; break
19679 else
19680 echo "$as_me: failed program was:" >&5
19681 sed 's/^/| /' conftest.$ac_ext >&5
19682
19683 ac_lo=`expr $ac_mid + 1`
19684 if test $ac_lo -le $ac_mid; then
19685 ac_lo= ac_hi=
19686 break
19687 fi
19688 ac_mid=`expr 2 '*' $ac_mid + 1`
19689 fi
19690
19691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19692 done
19693 else
19694 echo "$as_me: failed program was:" >&5
19695 sed 's/^/| /' conftest.$ac_ext >&5
19696
19697 cat >conftest.$ac_ext <<_ACEOF
19698 /* confdefs.h. */
19699 _ACEOF
19700 cat confdefs.h >>conftest.$ac_ext
19701 cat >>conftest.$ac_ext <<_ACEOF
19702 /* end confdefs.h. */
19703 $ac_includes_default
19704 typedef short ac__type_sizeof_;
19705 int
19706 main ()
19707 {
19708 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19709 test_array [0] = 0
19710
19711 ;
19712 return 0;
19713 }
19714 _ACEOF
19715 rm -f conftest.$ac_objext
19716 if { (ac_try="$ac_compile"
19717 case "(($ac_try" in
19718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19719 *) ac_try_echo=$ac_try;;
19720 esac
19721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19722 (eval "$ac_compile") 2>conftest.er1
19723 ac_status=$?
19724 grep -v '^ *+' conftest.er1 >conftest.err
19725 rm -f conftest.er1
19726 cat conftest.err >&5
19727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19728 (exit $ac_status); } && {
19729 test -z "$ac_c_werror_flag" ||
19730 test ! -s conftest.err
19731 } && test -s conftest.$ac_objext; then
19732 ac_hi=-1 ac_mid=-1
19733 while :; do
19734 cat >conftest.$ac_ext <<_ACEOF
19735 /* confdefs.h. */
19736 _ACEOF
19737 cat confdefs.h >>conftest.$ac_ext
19738 cat >>conftest.$ac_ext <<_ACEOF
19739 /* end confdefs.h. */
19740 $ac_includes_default
19741 typedef short ac__type_sizeof_;
19742 int
19743 main ()
19744 {
19745 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19746 test_array [0] = 0
19747
19748 ;
19749 return 0;
19750 }
19751 _ACEOF
19752 rm -f conftest.$ac_objext
19753 if { (ac_try="$ac_compile"
19754 case "(($ac_try" in
19755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19756 *) ac_try_echo=$ac_try;;
19757 esac
19758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19759 (eval "$ac_compile") 2>conftest.er1
19760 ac_status=$?
19761 grep -v '^ *+' conftest.er1 >conftest.err
19762 rm -f conftest.er1
19763 cat conftest.err >&5
19764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19765 (exit $ac_status); } && {
19766 test -z "$ac_c_werror_flag" ||
19767 test ! -s conftest.err
19768 } && test -s conftest.$ac_objext; then
19769 ac_lo=$ac_mid; break
19770 else
19771 echo "$as_me: failed program was:" >&5
19772 sed 's/^/| /' conftest.$ac_ext >&5
19773
19774 ac_hi=`expr '(' $ac_mid ')' - 1`
19775 if test $ac_mid -le $ac_hi; then
19776 ac_lo= ac_hi=
19777 break
19778 fi
19779 ac_mid=`expr 2 '*' $ac_mid`
19780 fi
19781
19782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19783 done
19784 else
19785 echo "$as_me: failed program was:" >&5
19786 sed 's/^/| /' conftest.$ac_ext >&5
19787
19788 ac_lo= ac_hi=
19789 fi
19790
19791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19792 fi
19793
19794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19795 # Binary search between lo and hi bounds.
19796 while test "x$ac_lo" != "x$ac_hi"; do
19797 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19798 cat >conftest.$ac_ext <<_ACEOF
19799 /* confdefs.h. */
19800 _ACEOF
19801 cat confdefs.h >>conftest.$ac_ext
19802 cat >>conftest.$ac_ext <<_ACEOF
19803 /* end confdefs.h. */
19804 $ac_includes_default
19805 typedef short ac__type_sizeof_;
19806 int
19807 main ()
19808 {
19809 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19810 test_array [0] = 0
19811
19812 ;
19813 return 0;
19814 }
19815 _ACEOF
19816 rm -f conftest.$ac_objext
19817 if { (ac_try="$ac_compile"
19818 case "(($ac_try" in
19819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19820 *) ac_try_echo=$ac_try;;
19821 esac
19822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19823 (eval "$ac_compile") 2>conftest.er1
19824 ac_status=$?
19825 grep -v '^ *+' conftest.er1 >conftest.err
19826 rm -f conftest.er1
19827 cat conftest.err >&5
19828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19829 (exit $ac_status); } && {
19830 test -z "$ac_c_werror_flag" ||
19831 test ! -s conftest.err
19832 } && test -s conftest.$ac_objext; then
19833 ac_hi=$ac_mid
19834 else
19835 echo "$as_me: failed program was:" >&5
19836 sed 's/^/| /' conftest.$ac_ext >&5
19837
19838 ac_lo=`expr '(' $ac_mid ')' + 1`
19839 fi
19840
19841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19842 done
19843 case $ac_lo in
19844 ?*) ac_cv_sizeof_short=$ac_lo;;
19845 '') if test "$ac_cv_type_short" = yes; then
19846 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19847 See \`config.log' for more details." >&5
19848 echo "$as_me: error: cannot compute sizeof (short)
19849 See \`config.log' for more details." >&2;}
19850 { (exit 77); exit 77; }; }
19851 else
19852 ac_cv_sizeof_short=0
19853 fi ;;
19854 esac
19855 else
19856 cat >conftest.$ac_ext <<_ACEOF
19857 /* confdefs.h. */
19858 _ACEOF
19859 cat confdefs.h >>conftest.$ac_ext
19860 cat >>conftest.$ac_ext <<_ACEOF
19861 /* end confdefs.h. */
19862 $ac_includes_default
19863 typedef short ac__type_sizeof_;
19864 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19865 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19866 #include <stdio.h>
19867 #include <stdlib.h>
19868 int
19869 main ()
19870 {
19871
19872 FILE *f = fopen ("conftest.val", "w");
19873 if (! f)
19874 return 1;
19875 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19876 {
19877 long int i = longval ();
19878 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19879 return 1;
19880 fprintf (f, "%ld\n", i);
19881 }
19882 else
19883 {
19884 unsigned long int i = ulongval ();
19885 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19886 return 1;
19887 fprintf (f, "%lu\n", i);
19888 }
19889 return ferror (f) || fclose (f) != 0;
19890
19891 ;
19892 return 0;
19893 }
19894 _ACEOF
19895 rm -f conftest$ac_exeext
19896 if { (ac_try="$ac_link"
19897 case "(($ac_try" in
19898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19899 *) ac_try_echo=$ac_try;;
19900 esac
19901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19902 (eval "$ac_link") 2>&5
19903 ac_status=$?
19904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19905 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19906 { (case "(($ac_try" in
19907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19908 *) ac_try_echo=$ac_try;;
19909 esac
19910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19911 (eval "$ac_try") 2>&5
19912 ac_status=$?
19913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19914 (exit $ac_status); }; }; then
19915 ac_cv_sizeof_short=`cat conftest.val`
19916 else
19917 echo "$as_me: program exited with status $ac_status" >&5
19918 echo "$as_me: failed program was:" >&5
19919 sed 's/^/| /' conftest.$ac_ext >&5
19920
19921 ( exit $ac_status )
19922 if test "$ac_cv_type_short" = yes; then
19923 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19924 See \`config.log' for more details." >&5
19925 echo "$as_me: error: cannot compute sizeof (short)
19926 See \`config.log' for more details." >&2;}
19927 { (exit 77); exit 77; }; }
19928 else
19929 ac_cv_sizeof_short=0
19930 fi
19931 fi
19932 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19933 fi
19934 rm -f conftest.val
19935 fi
19936 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19937 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19938
19939
19940
19941 cat >>confdefs.h <<_ACEOF
19942 #define SIZEOF_SHORT $ac_cv_sizeof_short
19943 _ACEOF
19944
19945
19946 { echo "$as_me:$LINENO: checking for void *" >&5
19947 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19948 if test "${ac_cv_type_void_p+set}" = set; then
19949 echo $ECHO_N "(cached) $ECHO_C" >&6
19950 else
19951 cat >conftest.$ac_ext <<_ACEOF
19952 /* confdefs.h. */
19953 _ACEOF
19954 cat confdefs.h >>conftest.$ac_ext
19955 cat >>conftest.$ac_ext <<_ACEOF
19956 /* end confdefs.h. */
19957 $ac_includes_default
19958 typedef void * ac__type_new_;
19959 int
19960 main ()
19961 {
19962 if ((ac__type_new_ *) 0)
19963 return 0;
19964 if (sizeof (ac__type_new_))
19965 return 0;
19966 ;
19967 return 0;
19968 }
19969 _ACEOF
19970 rm -f conftest.$ac_objext
19971 if { (ac_try="$ac_compile"
19972 case "(($ac_try" in
19973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19974 *) ac_try_echo=$ac_try;;
19975 esac
19976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19977 (eval "$ac_compile") 2>conftest.er1
19978 ac_status=$?
19979 grep -v '^ *+' conftest.er1 >conftest.err
19980 rm -f conftest.er1
19981 cat conftest.err >&5
19982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19983 (exit $ac_status); } && {
19984 test -z "$ac_c_werror_flag" ||
19985 test ! -s conftest.err
19986 } && test -s conftest.$ac_objext; then
19987 ac_cv_type_void_p=yes
19988 else
19989 echo "$as_me: failed program was:" >&5
19990 sed 's/^/| /' conftest.$ac_ext >&5
19991
19992 ac_cv_type_void_p=no
19993 fi
19994
19995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19996 fi
19997 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19998 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19999
20000 # The cast to long int works around a bug in the HP C Compiler
20001 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20002 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20003 # This bug is HP SR number 8606223364.
20004 { echo "$as_me:$LINENO: checking size of void *" >&5
20005 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20006 if test "${ac_cv_sizeof_void_p+set}" = set; then
20007 echo $ECHO_N "(cached) $ECHO_C" >&6
20008 else
20009 if test "$cross_compiling" = yes; then
20010 # Depending upon the size, compute the lo and hi bounds.
20011 cat >conftest.$ac_ext <<_ACEOF
20012 /* confdefs.h. */
20013 _ACEOF
20014 cat confdefs.h >>conftest.$ac_ext
20015 cat >>conftest.$ac_ext <<_ACEOF
20016 /* end confdefs.h. */
20017 $ac_includes_default
20018 typedef void * ac__type_sizeof_;
20019 int
20020 main ()
20021 {
20022 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20023 test_array [0] = 0
20024
20025 ;
20026 return 0;
20027 }
20028 _ACEOF
20029 rm -f conftest.$ac_objext
20030 if { (ac_try="$ac_compile"
20031 case "(($ac_try" in
20032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20033 *) ac_try_echo=$ac_try;;
20034 esac
20035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20036 (eval "$ac_compile") 2>conftest.er1
20037 ac_status=$?
20038 grep -v '^ *+' conftest.er1 >conftest.err
20039 rm -f conftest.er1
20040 cat conftest.err >&5
20041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20042 (exit $ac_status); } && {
20043 test -z "$ac_c_werror_flag" ||
20044 test ! -s conftest.err
20045 } && test -s conftest.$ac_objext; then
20046 ac_lo=0 ac_mid=0
20047 while :; do
20048 cat >conftest.$ac_ext <<_ACEOF
20049 /* confdefs.h. */
20050 _ACEOF
20051 cat confdefs.h >>conftest.$ac_ext
20052 cat >>conftest.$ac_ext <<_ACEOF
20053 /* end confdefs.h. */
20054 $ac_includes_default
20055 typedef void * ac__type_sizeof_;
20056 int
20057 main ()
20058 {
20059 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20060 test_array [0] = 0
20061
20062 ;
20063 return 0;
20064 }
20065 _ACEOF
20066 rm -f conftest.$ac_objext
20067 if { (ac_try="$ac_compile"
20068 case "(($ac_try" in
20069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20070 *) ac_try_echo=$ac_try;;
20071 esac
20072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20073 (eval "$ac_compile") 2>conftest.er1
20074 ac_status=$?
20075 grep -v '^ *+' conftest.er1 >conftest.err
20076 rm -f conftest.er1
20077 cat conftest.err >&5
20078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20079 (exit $ac_status); } && {
20080 test -z "$ac_c_werror_flag" ||
20081 test ! -s conftest.err
20082 } && test -s conftest.$ac_objext; then
20083 ac_hi=$ac_mid; break
20084 else
20085 echo "$as_me: failed program was:" >&5
20086 sed 's/^/| /' conftest.$ac_ext >&5
20087
20088 ac_lo=`expr $ac_mid + 1`
20089 if test $ac_lo -le $ac_mid; then
20090 ac_lo= ac_hi=
20091 break
20092 fi
20093 ac_mid=`expr 2 '*' $ac_mid + 1`
20094 fi
20095
20096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20097 done
20098 else
20099 echo "$as_me: failed program was:" >&5
20100 sed 's/^/| /' conftest.$ac_ext >&5
20101
20102 cat >conftest.$ac_ext <<_ACEOF
20103 /* confdefs.h. */
20104 _ACEOF
20105 cat confdefs.h >>conftest.$ac_ext
20106 cat >>conftest.$ac_ext <<_ACEOF
20107 /* end confdefs.h. */
20108 $ac_includes_default
20109 typedef void * ac__type_sizeof_;
20110 int
20111 main ()
20112 {
20113 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20114 test_array [0] = 0
20115
20116 ;
20117 return 0;
20118 }
20119 _ACEOF
20120 rm -f conftest.$ac_objext
20121 if { (ac_try="$ac_compile"
20122 case "(($ac_try" in
20123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20124 *) ac_try_echo=$ac_try;;
20125 esac
20126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20127 (eval "$ac_compile") 2>conftest.er1
20128 ac_status=$?
20129 grep -v '^ *+' conftest.er1 >conftest.err
20130 rm -f conftest.er1
20131 cat conftest.err >&5
20132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20133 (exit $ac_status); } && {
20134 test -z "$ac_c_werror_flag" ||
20135 test ! -s conftest.err
20136 } && test -s conftest.$ac_objext; then
20137 ac_hi=-1 ac_mid=-1
20138 while :; do
20139 cat >conftest.$ac_ext <<_ACEOF
20140 /* confdefs.h. */
20141 _ACEOF
20142 cat confdefs.h >>conftest.$ac_ext
20143 cat >>conftest.$ac_ext <<_ACEOF
20144 /* end confdefs.h. */
20145 $ac_includes_default
20146 typedef void * ac__type_sizeof_;
20147 int
20148 main ()
20149 {
20150 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20151 test_array [0] = 0
20152
20153 ;
20154 return 0;
20155 }
20156 _ACEOF
20157 rm -f conftest.$ac_objext
20158 if { (ac_try="$ac_compile"
20159 case "(($ac_try" in
20160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20161 *) ac_try_echo=$ac_try;;
20162 esac
20163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20164 (eval "$ac_compile") 2>conftest.er1
20165 ac_status=$?
20166 grep -v '^ *+' conftest.er1 >conftest.err
20167 rm -f conftest.er1
20168 cat conftest.err >&5
20169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20170 (exit $ac_status); } && {
20171 test -z "$ac_c_werror_flag" ||
20172 test ! -s conftest.err
20173 } && test -s conftest.$ac_objext; then
20174 ac_lo=$ac_mid; break
20175 else
20176 echo "$as_me: failed program was:" >&5
20177 sed 's/^/| /' conftest.$ac_ext >&5
20178
20179 ac_hi=`expr '(' $ac_mid ')' - 1`
20180 if test $ac_mid -le $ac_hi; then
20181 ac_lo= ac_hi=
20182 break
20183 fi
20184 ac_mid=`expr 2 '*' $ac_mid`
20185 fi
20186
20187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20188 done
20189 else
20190 echo "$as_me: failed program was:" >&5
20191 sed 's/^/| /' conftest.$ac_ext >&5
20192
20193 ac_lo= ac_hi=
20194 fi
20195
20196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20197 fi
20198
20199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20200 # Binary search between lo and hi bounds.
20201 while test "x$ac_lo" != "x$ac_hi"; do
20202 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20203 cat >conftest.$ac_ext <<_ACEOF
20204 /* confdefs.h. */
20205 _ACEOF
20206 cat confdefs.h >>conftest.$ac_ext
20207 cat >>conftest.$ac_ext <<_ACEOF
20208 /* end confdefs.h. */
20209 $ac_includes_default
20210 typedef void * ac__type_sizeof_;
20211 int
20212 main ()
20213 {
20214 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20215 test_array [0] = 0
20216
20217 ;
20218 return 0;
20219 }
20220 _ACEOF
20221 rm -f conftest.$ac_objext
20222 if { (ac_try="$ac_compile"
20223 case "(($ac_try" in
20224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20225 *) ac_try_echo=$ac_try;;
20226 esac
20227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20228 (eval "$ac_compile") 2>conftest.er1
20229 ac_status=$?
20230 grep -v '^ *+' conftest.er1 >conftest.err
20231 rm -f conftest.er1
20232 cat conftest.err >&5
20233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20234 (exit $ac_status); } && {
20235 test -z "$ac_c_werror_flag" ||
20236 test ! -s conftest.err
20237 } && test -s conftest.$ac_objext; then
20238 ac_hi=$ac_mid
20239 else
20240 echo "$as_me: failed program was:" >&5
20241 sed 's/^/| /' conftest.$ac_ext >&5
20242
20243 ac_lo=`expr '(' $ac_mid ')' + 1`
20244 fi
20245
20246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20247 done
20248 case $ac_lo in
20249 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20250 '') if test "$ac_cv_type_void_p" = yes; then
20251 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20252 See \`config.log' for more details." >&5
20253 echo "$as_me: error: cannot compute sizeof (void *)
20254 See \`config.log' for more details." >&2;}
20255 { (exit 77); exit 77; }; }
20256 else
20257 ac_cv_sizeof_void_p=0
20258 fi ;;
20259 esac
20260 else
20261 cat >conftest.$ac_ext <<_ACEOF
20262 /* confdefs.h. */
20263 _ACEOF
20264 cat confdefs.h >>conftest.$ac_ext
20265 cat >>conftest.$ac_ext <<_ACEOF
20266 /* end confdefs.h. */
20267 $ac_includes_default
20268 typedef void * ac__type_sizeof_;
20269 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20270 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20271 #include <stdio.h>
20272 #include <stdlib.h>
20273 int
20274 main ()
20275 {
20276
20277 FILE *f = fopen ("conftest.val", "w");
20278 if (! f)
20279 return 1;
20280 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20281 {
20282 long int i = longval ();
20283 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20284 return 1;
20285 fprintf (f, "%ld\n", i);
20286 }
20287 else
20288 {
20289 unsigned long int i = ulongval ();
20290 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20291 return 1;
20292 fprintf (f, "%lu\n", i);
20293 }
20294 return ferror (f) || fclose (f) != 0;
20295
20296 ;
20297 return 0;
20298 }
20299 _ACEOF
20300 rm -f conftest$ac_exeext
20301 if { (ac_try="$ac_link"
20302 case "(($ac_try" in
20303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20304 *) ac_try_echo=$ac_try;;
20305 esac
20306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20307 (eval "$ac_link") 2>&5
20308 ac_status=$?
20309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20310 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20311 { (case "(($ac_try" in
20312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20313 *) ac_try_echo=$ac_try;;
20314 esac
20315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20316 (eval "$ac_try") 2>&5
20317 ac_status=$?
20318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20319 (exit $ac_status); }; }; then
20320 ac_cv_sizeof_void_p=`cat conftest.val`
20321 else
20322 echo "$as_me: program exited with status $ac_status" >&5
20323 echo "$as_me: failed program was:" >&5
20324 sed 's/^/| /' conftest.$ac_ext >&5
20325
20326 ( exit $ac_status )
20327 if test "$ac_cv_type_void_p" = yes; then
20328 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20329 See \`config.log' for more details." >&5
20330 echo "$as_me: error: cannot compute sizeof (void *)
20331 See \`config.log' for more details." >&2;}
20332 { (exit 77); exit 77; }; }
20333 else
20334 ac_cv_sizeof_void_p=0
20335 fi
20336 fi
20337 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20338 fi
20339 rm -f conftest.val
20340 fi
20341 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20342 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20343
20344
20345
20346 cat >>confdefs.h <<_ACEOF
20347 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20348 _ACEOF
20349
20350
20351 { echo "$as_me:$LINENO: checking for int" >&5
20352 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20353 if test "${ac_cv_type_int+set}" = set; then
20354 echo $ECHO_N "(cached) $ECHO_C" >&6
20355 else
20356 cat >conftest.$ac_ext <<_ACEOF
20357 /* confdefs.h. */
20358 _ACEOF
20359 cat confdefs.h >>conftest.$ac_ext
20360 cat >>conftest.$ac_ext <<_ACEOF
20361 /* end confdefs.h. */
20362 $ac_includes_default
20363 typedef int ac__type_new_;
20364 int
20365 main ()
20366 {
20367 if ((ac__type_new_ *) 0)
20368 return 0;
20369 if (sizeof (ac__type_new_))
20370 return 0;
20371 ;
20372 return 0;
20373 }
20374 _ACEOF
20375 rm -f conftest.$ac_objext
20376 if { (ac_try="$ac_compile"
20377 case "(($ac_try" in
20378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20379 *) ac_try_echo=$ac_try;;
20380 esac
20381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20382 (eval "$ac_compile") 2>conftest.er1
20383 ac_status=$?
20384 grep -v '^ *+' conftest.er1 >conftest.err
20385 rm -f conftest.er1
20386 cat conftest.err >&5
20387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20388 (exit $ac_status); } && {
20389 test -z "$ac_c_werror_flag" ||
20390 test ! -s conftest.err
20391 } && test -s conftest.$ac_objext; then
20392 ac_cv_type_int=yes
20393 else
20394 echo "$as_me: failed program was:" >&5
20395 sed 's/^/| /' conftest.$ac_ext >&5
20396
20397 ac_cv_type_int=no
20398 fi
20399
20400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20401 fi
20402 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20403 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20404
20405 # The cast to long int works around a bug in the HP C Compiler
20406 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20407 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20408 # This bug is HP SR number 8606223364.
20409 { echo "$as_me:$LINENO: checking size of int" >&5
20410 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20411 if test "${ac_cv_sizeof_int+set}" = set; then
20412 echo $ECHO_N "(cached) $ECHO_C" >&6
20413 else
20414 if test "$cross_compiling" = yes; then
20415 # Depending upon the size, compute the lo and hi bounds.
20416 cat >conftest.$ac_ext <<_ACEOF
20417 /* confdefs.h. */
20418 _ACEOF
20419 cat confdefs.h >>conftest.$ac_ext
20420 cat >>conftest.$ac_ext <<_ACEOF
20421 /* end confdefs.h. */
20422 $ac_includes_default
20423 typedef int ac__type_sizeof_;
20424 int
20425 main ()
20426 {
20427 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20428 test_array [0] = 0
20429
20430 ;
20431 return 0;
20432 }
20433 _ACEOF
20434 rm -f conftest.$ac_objext
20435 if { (ac_try="$ac_compile"
20436 case "(($ac_try" in
20437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20438 *) ac_try_echo=$ac_try;;
20439 esac
20440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20441 (eval "$ac_compile") 2>conftest.er1
20442 ac_status=$?
20443 grep -v '^ *+' conftest.er1 >conftest.err
20444 rm -f conftest.er1
20445 cat conftest.err >&5
20446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20447 (exit $ac_status); } && {
20448 test -z "$ac_c_werror_flag" ||
20449 test ! -s conftest.err
20450 } && test -s conftest.$ac_objext; then
20451 ac_lo=0 ac_mid=0
20452 while :; do
20453 cat >conftest.$ac_ext <<_ACEOF
20454 /* confdefs.h. */
20455 _ACEOF
20456 cat confdefs.h >>conftest.$ac_ext
20457 cat >>conftest.$ac_ext <<_ACEOF
20458 /* end confdefs.h. */
20459 $ac_includes_default
20460 typedef int ac__type_sizeof_;
20461 int
20462 main ()
20463 {
20464 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20465 test_array [0] = 0
20466
20467 ;
20468 return 0;
20469 }
20470 _ACEOF
20471 rm -f conftest.$ac_objext
20472 if { (ac_try="$ac_compile"
20473 case "(($ac_try" in
20474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20475 *) ac_try_echo=$ac_try;;
20476 esac
20477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20478 (eval "$ac_compile") 2>conftest.er1
20479 ac_status=$?
20480 grep -v '^ *+' conftest.er1 >conftest.err
20481 rm -f conftest.er1
20482 cat conftest.err >&5
20483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20484 (exit $ac_status); } && {
20485 test -z "$ac_c_werror_flag" ||
20486 test ! -s conftest.err
20487 } && test -s conftest.$ac_objext; then
20488 ac_hi=$ac_mid; break
20489 else
20490 echo "$as_me: failed program was:" >&5
20491 sed 's/^/| /' conftest.$ac_ext >&5
20492
20493 ac_lo=`expr $ac_mid + 1`
20494 if test $ac_lo -le $ac_mid; then
20495 ac_lo= ac_hi=
20496 break
20497 fi
20498 ac_mid=`expr 2 '*' $ac_mid + 1`
20499 fi
20500
20501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20502 done
20503 else
20504 echo "$as_me: failed program was:" >&5
20505 sed 's/^/| /' conftest.$ac_ext >&5
20506
20507 cat >conftest.$ac_ext <<_ACEOF
20508 /* confdefs.h. */
20509 _ACEOF
20510 cat confdefs.h >>conftest.$ac_ext
20511 cat >>conftest.$ac_ext <<_ACEOF
20512 /* end confdefs.h. */
20513 $ac_includes_default
20514 typedef int ac__type_sizeof_;
20515 int
20516 main ()
20517 {
20518 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20519 test_array [0] = 0
20520
20521 ;
20522 return 0;
20523 }
20524 _ACEOF
20525 rm -f conftest.$ac_objext
20526 if { (ac_try="$ac_compile"
20527 case "(($ac_try" in
20528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20529 *) ac_try_echo=$ac_try;;
20530 esac
20531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20532 (eval "$ac_compile") 2>conftest.er1
20533 ac_status=$?
20534 grep -v '^ *+' conftest.er1 >conftest.err
20535 rm -f conftest.er1
20536 cat conftest.err >&5
20537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20538 (exit $ac_status); } && {
20539 test -z "$ac_c_werror_flag" ||
20540 test ! -s conftest.err
20541 } && test -s conftest.$ac_objext; then
20542 ac_hi=-1 ac_mid=-1
20543 while :; do
20544 cat >conftest.$ac_ext <<_ACEOF
20545 /* confdefs.h. */
20546 _ACEOF
20547 cat confdefs.h >>conftest.$ac_ext
20548 cat >>conftest.$ac_ext <<_ACEOF
20549 /* end confdefs.h. */
20550 $ac_includes_default
20551 typedef int ac__type_sizeof_;
20552 int
20553 main ()
20554 {
20555 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20556 test_array [0] = 0
20557
20558 ;
20559 return 0;
20560 }
20561 _ACEOF
20562 rm -f conftest.$ac_objext
20563 if { (ac_try="$ac_compile"
20564 case "(($ac_try" in
20565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20566 *) ac_try_echo=$ac_try;;
20567 esac
20568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20569 (eval "$ac_compile") 2>conftest.er1
20570 ac_status=$?
20571 grep -v '^ *+' conftest.er1 >conftest.err
20572 rm -f conftest.er1
20573 cat conftest.err >&5
20574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20575 (exit $ac_status); } && {
20576 test -z "$ac_c_werror_flag" ||
20577 test ! -s conftest.err
20578 } && test -s conftest.$ac_objext; then
20579 ac_lo=$ac_mid; break
20580 else
20581 echo "$as_me: failed program was:" >&5
20582 sed 's/^/| /' conftest.$ac_ext >&5
20583
20584 ac_hi=`expr '(' $ac_mid ')' - 1`
20585 if test $ac_mid -le $ac_hi; then
20586 ac_lo= ac_hi=
20587 break
20588 fi
20589 ac_mid=`expr 2 '*' $ac_mid`
20590 fi
20591
20592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20593 done
20594 else
20595 echo "$as_me: failed program was:" >&5
20596 sed 's/^/| /' conftest.$ac_ext >&5
20597
20598 ac_lo= ac_hi=
20599 fi
20600
20601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20602 fi
20603
20604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20605 # Binary search between lo and hi bounds.
20606 while test "x$ac_lo" != "x$ac_hi"; do
20607 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20608 cat >conftest.$ac_ext <<_ACEOF
20609 /* confdefs.h. */
20610 _ACEOF
20611 cat confdefs.h >>conftest.$ac_ext
20612 cat >>conftest.$ac_ext <<_ACEOF
20613 /* end confdefs.h. */
20614 $ac_includes_default
20615 typedef int ac__type_sizeof_;
20616 int
20617 main ()
20618 {
20619 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20620 test_array [0] = 0
20621
20622 ;
20623 return 0;
20624 }
20625 _ACEOF
20626 rm -f conftest.$ac_objext
20627 if { (ac_try="$ac_compile"
20628 case "(($ac_try" in
20629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20630 *) ac_try_echo=$ac_try;;
20631 esac
20632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20633 (eval "$ac_compile") 2>conftest.er1
20634 ac_status=$?
20635 grep -v '^ *+' conftest.er1 >conftest.err
20636 rm -f conftest.er1
20637 cat conftest.err >&5
20638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20639 (exit $ac_status); } && {
20640 test -z "$ac_c_werror_flag" ||
20641 test ! -s conftest.err
20642 } && test -s conftest.$ac_objext; then
20643 ac_hi=$ac_mid
20644 else
20645 echo "$as_me: failed program was:" >&5
20646 sed 's/^/| /' conftest.$ac_ext >&5
20647
20648 ac_lo=`expr '(' $ac_mid ')' + 1`
20649 fi
20650
20651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20652 done
20653 case $ac_lo in
20654 ?*) ac_cv_sizeof_int=$ac_lo;;
20655 '') if test "$ac_cv_type_int" = yes; then
20656 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20657 See \`config.log' for more details." >&5
20658 echo "$as_me: error: cannot compute sizeof (int)
20659 See \`config.log' for more details." >&2;}
20660 { (exit 77); exit 77; }; }
20661 else
20662 ac_cv_sizeof_int=0
20663 fi ;;
20664 esac
20665 else
20666 cat >conftest.$ac_ext <<_ACEOF
20667 /* confdefs.h. */
20668 _ACEOF
20669 cat confdefs.h >>conftest.$ac_ext
20670 cat >>conftest.$ac_ext <<_ACEOF
20671 /* end confdefs.h. */
20672 $ac_includes_default
20673 typedef int ac__type_sizeof_;
20674 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20675 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20676 #include <stdio.h>
20677 #include <stdlib.h>
20678 int
20679 main ()
20680 {
20681
20682 FILE *f = fopen ("conftest.val", "w");
20683 if (! f)
20684 return 1;
20685 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20686 {
20687 long int i = longval ();
20688 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20689 return 1;
20690 fprintf (f, "%ld\n", i);
20691 }
20692 else
20693 {
20694 unsigned long int i = ulongval ();
20695 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20696 return 1;
20697 fprintf (f, "%lu\n", i);
20698 }
20699 return ferror (f) || fclose (f) != 0;
20700
20701 ;
20702 return 0;
20703 }
20704 _ACEOF
20705 rm -f conftest$ac_exeext
20706 if { (ac_try="$ac_link"
20707 case "(($ac_try" in
20708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20709 *) ac_try_echo=$ac_try;;
20710 esac
20711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20712 (eval "$ac_link") 2>&5
20713 ac_status=$?
20714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20715 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20716 { (case "(($ac_try" in
20717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20718 *) ac_try_echo=$ac_try;;
20719 esac
20720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20721 (eval "$ac_try") 2>&5
20722 ac_status=$?
20723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20724 (exit $ac_status); }; }; then
20725 ac_cv_sizeof_int=`cat conftest.val`
20726 else
20727 echo "$as_me: program exited with status $ac_status" >&5
20728 echo "$as_me: failed program was:" >&5
20729 sed 's/^/| /' conftest.$ac_ext >&5
20730
20731 ( exit $ac_status )
20732 if test "$ac_cv_type_int" = yes; then
20733 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20734 See \`config.log' for more details." >&5
20735 echo "$as_me: error: cannot compute sizeof (int)
20736 See \`config.log' for more details." >&2;}
20737 { (exit 77); exit 77; }; }
20738 else
20739 ac_cv_sizeof_int=0
20740 fi
20741 fi
20742 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20743 fi
20744 rm -f conftest.val
20745 fi
20746 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20747 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20748
20749
20750
20751 cat >>confdefs.h <<_ACEOF
20752 #define SIZEOF_INT $ac_cv_sizeof_int
20753 _ACEOF
20754
20755
20756 { echo "$as_me:$LINENO: checking for long" >&5
20757 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20758 if test "${ac_cv_type_long+set}" = set; then
20759 echo $ECHO_N "(cached) $ECHO_C" >&6
20760 else
20761 cat >conftest.$ac_ext <<_ACEOF
20762 /* confdefs.h. */
20763 _ACEOF
20764 cat confdefs.h >>conftest.$ac_ext
20765 cat >>conftest.$ac_ext <<_ACEOF
20766 /* end confdefs.h. */
20767 $ac_includes_default
20768 typedef long ac__type_new_;
20769 int
20770 main ()
20771 {
20772 if ((ac__type_new_ *) 0)
20773 return 0;
20774 if (sizeof (ac__type_new_))
20775 return 0;
20776 ;
20777 return 0;
20778 }
20779 _ACEOF
20780 rm -f conftest.$ac_objext
20781 if { (ac_try="$ac_compile"
20782 case "(($ac_try" in
20783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20784 *) ac_try_echo=$ac_try;;
20785 esac
20786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20787 (eval "$ac_compile") 2>conftest.er1
20788 ac_status=$?
20789 grep -v '^ *+' conftest.er1 >conftest.err
20790 rm -f conftest.er1
20791 cat conftest.err >&5
20792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20793 (exit $ac_status); } && {
20794 test -z "$ac_c_werror_flag" ||
20795 test ! -s conftest.err
20796 } && test -s conftest.$ac_objext; then
20797 ac_cv_type_long=yes
20798 else
20799 echo "$as_me: failed program was:" >&5
20800 sed 's/^/| /' conftest.$ac_ext >&5
20801
20802 ac_cv_type_long=no
20803 fi
20804
20805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20806 fi
20807 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20808 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20809
20810 # The cast to long int works around a bug in the HP C Compiler
20811 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20812 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20813 # This bug is HP SR number 8606223364.
20814 { echo "$as_me:$LINENO: checking size of long" >&5
20815 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20816 if test "${ac_cv_sizeof_long+set}" = set; then
20817 echo $ECHO_N "(cached) $ECHO_C" >&6
20818 else
20819 if test "$cross_compiling" = yes; then
20820 # Depending upon the size, compute the lo and hi bounds.
20821 cat >conftest.$ac_ext <<_ACEOF
20822 /* confdefs.h. */
20823 _ACEOF
20824 cat confdefs.h >>conftest.$ac_ext
20825 cat >>conftest.$ac_ext <<_ACEOF
20826 /* end confdefs.h. */
20827 $ac_includes_default
20828 typedef long ac__type_sizeof_;
20829 int
20830 main ()
20831 {
20832 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20833 test_array [0] = 0
20834
20835 ;
20836 return 0;
20837 }
20838 _ACEOF
20839 rm -f conftest.$ac_objext
20840 if { (ac_try="$ac_compile"
20841 case "(($ac_try" in
20842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20843 *) ac_try_echo=$ac_try;;
20844 esac
20845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20846 (eval "$ac_compile") 2>conftest.er1
20847 ac_status=$?
20848 grep -v '^ *+' conftest.er1 >conftest.err
20849 rm -f conftest.er1
20850 cat conftest.err >&5
20851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20852 (exit $ac_status); } && {
20853 test -z "$ac_c_werror_flag" ||
20854 test ! -s conftest.err
20855 } && test -s conftest.$ac_objext; then
20856 ac_lo=0 ac_mid=0
20857 while :; do
20858 cat >conftest.$ac_ext <<_ACEOF
20859 /* confdefs.h. */
20860 _ACEOF
20861 cat confdefs.h >>conftest.$ac_ext
20862 cat >>conftest.$ac_ext <<_ACEOF
20863 /* end confdefs.h. */
20864 $ac_includes_default
20865 typedef long ac__type_sizeof_;
20866 int
20867 main ()
20868 {
20869 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20870 test_array [0] = 0
20871
20872 ;
20873 return 0;
20874 }
20875 _ACEOF
20876 rm -f conftest.$ac_objext
20877 if { (ac_try="$ac_compile"
20878 case "(($ac_try" in
20879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20880 *) ac_try_echo=$ac_try;;
20881 esac
20882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20883 (eval "$ac_compile") 2>conftest.er1
20884 ac_status=$?
20885 grep -v '^ *+' conftest.er1 >conftest.err
20886 rm -f conftest.er1
20887 cat conftest.err >&5
20888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20889 (exit $ac_status); } && {
20890 test -z "$ac_c_werror_flag" ||
20891 test ! -s conftest.err
20892 } && test -s conftest.$ac_objext; then
20893 ac_hi=$ac_mid; break
20894 else
20895 echo "$as_me: failed program was:" >&5
20896 sed 's/^/| /' conftest.$ac_ext >&5
20897
20898 ac_lo=`expr $ac_mid + 1`
20899 if test $ac_lo -le $ac_mid; then
20900 ac_lo= ac_hi=
20901 break
20902 fi
20903 ac_mid=`expr 2 '*' $ac_mid + 1`
20904 fi
20905
20906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20907 done
20908 else
20909 echo "$as_me: failed program was:" >&5
20910 sed 's/^/| /' conftest.$ac_ext >&5
20911
20912 cat >conftest.$ac_ext <<_ACEOF
20913 /* confdefs.h. */
20914 _ACEOF
20915 cat confdefs.h >>conftest.$ac_ext
20916 cat >>conftest.$ac_ext <<_ACEOF
20917 /* end confdefs.h. */
20918 $ac_includes_default
20919 typedef long ac__type_sizeof_;
20920 int
20921 main ()
20922 {
20923 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20924 test_array [0] = 0
20925
20926 ;
20927 return 0;
20928 }
20929 _ACEOF
20930 rm -f conftest.$ac_objext
20931 if { (ac_try="$ac_compile"
20932 case "(($ac_try" in
20933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20934 *) ac_try_echo=$ac_try;;
20935 esac
20936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20937 (eval "$ac_compile") 2>conftest.er1
20938 ac_status=$?
20939 grep -v '^ *+' conftest.er1 >conftest.err
20940 rm -f conftest.er1
20941 cat conftest.err >&5
20942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20943 (exit $ac_status); } && {
20944 test -z "$ac_c_werror_flag" ||
20945 test ! -s conftest.err
20946 } && test -s conftest.$ac_objext; then
20947 ac_hi=-1 ac_mid=-1
20948 while :; do
20949 cat >conftest.$ac_ext <<_ACEOF
20950 /* confdefs.h. */
20951 _ACEOF
20952 cat confdefs.h >>conftest.$ac_ext
20953 cat >>conftest.$ac_ext <<_ACEOF
20954 /* end confdefs.h. */
20955 $ac_includes_default
20956 typedef long ac__type_sizeof_;
20957 int
20958 main ()
20959 {
20960 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20961 test_array [0] = 0
20962
20963 ;
20964 return 0;
20965 }
20966 _ACEOF
20967 rm -f conftest.$ac_objext
20968 if { (ac_try="$ac_compile"
20969 case "(($ac_try" in
20970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20971 *) ac_try_echo=$ac_try;;
20972 esac
20973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20974 (eval "$ac_compile") 2>conftest.er1
20975 ac_status=$?
20976 grep -v '^ *+' conftest.er1 >conftest.err
20977 rm -f conftest.er1
20978 cat conftest.err >&5
20979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20980 (exit $ac_status); } && {
20981 test -z "$ac_c_werror_flag" ||
20982 test ! -s conftest.err
20983 } && test -s conftest.$ac_objext; then
20984 ac_lo=$ac_mid; break
20985 else
20986 echo "$as_me: failed program was:" >&5
20987 sed 's/^/| /' conftest.$ac_ext >&5
20988
20989 ac_hi=`expr '(' $ac_mid ')' - 1`
20990 if test $ac_mid -le $ac_hi; then
20991 ac_lo= ac_hi=
20992 break
20993 fi
20994 ac_mid=`expr 2 '*' $ac_mid`
20995 fi
20996
20997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20998 done
20999 else
21000 echo "$as_me: failed program was:" >&5
21001 sed 's/^/| /' conftest.$ac_ext >&5
21002
21003 ac_lo= ac_hi=
21004 fi
21005
21006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21007 fi
21008
21009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21010 # Binary search between lo and hi bounds.
21011 while test "x$ac_lo" != "x$ac_hi"; do
21012 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21013 cat >conftest.$ac_ext <<_ACEOF
21014 /* confdefs.h. */
21015 _ACEOF
21016 cat confdefs.h >>conftest.$ac_ext
21017 cat >>conftest.$ac_ext <<_ACEOF
21018 /* end confdefs.h. */
21019 $ac_includes_default
21020 typedef long ac__type_sizeof_;
21021 int
21022 main ()
21023 {
21024 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21025 test_array [0] = 0
21026
21027 ;
21028 return 0;
21029 }
21030 _ACEOF
21031 rm -f conftest.$ac_objext
21032 if { (ac_try="$ac_compile"
21033 case "(($ac_try" in
21034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21035 *) ac_try_echo=$ac_try;;
21036 esac
21037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21038 (eval "$ac_compile") 2>conftest.er1
21039 ac_status=$?
21040 grep -v '^ *+' conftest.er1 >conftest.err
21041 rm -f conftest.er1
21042 cat conftest.err >&5
21043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21044 (exit $ac_status); } && {
21045 test -z "$ac_c_werror_flag" ||
21046 test ! -s conftest.err
21047 } && test -s conftest.$ac_objext; then
21048 ac_hi=$ac_mid
21049 else
21050 echo "$as_me: failed program was:" >&5
21051 sed 's/^/| /' conftest.$ac_ext >&5
21052
21053 ac_lo=`expr '(' $ac_mid ')' + 1`
21054 fi
21055
21056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21057 done
21058 case $ac_lo in
21059 ?*) ac_cv_sizeof_long=$ac_lo;;
21060 '') if test "$ac_cv_type_long" = yes; then
21061 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21062 See \`config.log' for more details." >&5
21063 echo "$as_me: error: cannot compute sizeof (long)
21064 See \`config.log' for more details." >&2;}
21065 { (exit 77); exit 77; }; }
21066 else
21067 ac_cv_sizeof_long=0
21068 fi ;;
21069 esac
21070 else
21071 cat >conftest.$ac_ext <<_ACEOF
21072 /* confdefs.h. */
21073 _ACEOF
21074 cat confdefs.h >>conftest.$ac_ext
21075 cat >>conftest.$ac_ext <<_ACEOF
21076 /* end confdefs.h. */
21077 $ac_includes_default
21078 typedef long ac__type_sizeof_;
21079 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21080 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21081 #include <stdio.h>
21082 #include <stdlib.h>
21083 int
21084 main ()
21085 {
21086
21087 FILE *f = fopen ("conftest.val", "w");
21088 if (! f)
21089 return 1;
21090 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21091 {
21092 long int i = longval ();
21093 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21094 return 1;
21095 fprintf (f, "%ld\n", i);
21096 }
21097 else
21098 {
21099 unsigned long int i = ulongval ();
21100 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21101 return 1;
21102 fprintf (f, "%lu\n", i);
21103 }
21104 return ferror (f) || fclose (f) != 0;
21105
21106 ;
21107 return 0;
21108 }
21109 _ACEOF
21110 rm -f conftest$ac_exeext
21111 if { (ac_try="$ac_link"
21112 case "(($ac_try" in
21113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21114 *) ac_try_echo=$ac_try;;
21115 esac
21116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21117 (eval "$ac_link") 2>&5
21118 ac_status=$?
21119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21120 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21121 { (case "(($ac_try" in
21122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21123 *) ac_try_echo=$ac_try;;
21124 esac
21125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21126 (eval "$ac_try") 2>&5
21127 ac_status=$?
21128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21129 (exit $ac_status); }; }; then
21130 ac_cv_sizeof_long=`cat conftest.val`
21131 else
21132 echo "$as_me: program exited with status $ac_status" >&5
21133 echo "$as_me: failed program was:" >&5
21134 sed 's/^/| /' conftest.$ac_ext >&5
21135
21136 ( exit $ac_status )
21137 if test "$ac_cv_type_long" = yes; then
21138 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21139 See \`config.log' for more details." >&5
21140 echo "$as_me: error: cannot compute sizeof (long)
21141 See \`config.log' for more details." >&2;}
21142 { (exit 77); exit 77; }; }
21143 else
21144 ac_cv_sizeof_long=0
21145 fi
21146 fi
21147 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21148 fi
21149 rm -f conftest.val
21150 fi
21151 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21152 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21153
21154
21155
21156 cat >>confdefs.h <<_ACEOF
21157 #define SIZEOF_LONG $ac_cv_sizeof_long
21158 _ACEOF
21159
21160
21161 { echo "$as_me:$LINENO: checking for size_t" >&5
21162 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21163 if test "${ac_cv_type_size_t+set}" = set; then
21164 echo $ECHO_N "(cached) $ECHO_C" >&6
21165 else
21166 cat >conftest.$ac_ext <<_ACEOF
21167 /* confdefs.h. */
21168 _ACEOF
21169 cat confdefs.h >>conftest.$ac_ext
21170 cat >>conftest.$ac_ext <<_ACEOF
21171 /* end confdefs.h. */
21172 $ac_includes_default
21173 typedef size_t ac__type_new_;
21174 int
21175 main ()
21176 {
21177 if ((ac__type_new_ *) 0)
21178 return 0;
21179 if (sizeof (ac__type_new_))
21180 return 0;
21181 ;
21182 return 0;
21183 }
21184 _ACEOF
21185 rm -f conftest.$ac_objext
21186 if { (ac_try="$ac_compile"
21187 case "(($ac_try" in
21188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21189 *) ac_try_echo=$ac_try;;
21190 esac
21191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21192 (eval "$ac_compile") 2>conftest.er1
21193 ac_status=$?
21194 grep -v '^ *+' conftest.er1 >conftest.err
21195 rm -f conftest.er1
21196 cat conftest.err >&5
21197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21198 (exit $ac_status); } && {
21199 test -z "$ac_c_werror_flag" ||
21200 test ! -s conftest.err
21201 } && test -s conftest.$ac_objext; then
21202 ac_cv_type_size_t=yes
21203 else
21204 echo "$as_me: failed program was:" >&5
21205 sed 's/^/| /' conftest.$ac_ext >&5
21206
21207 ac_cv_type_size_t=no
21208 fi
21209
21210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21211 fi
21212 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21213 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21214
21215 # The cast to long int works around a bug in the HP C Compiler
21216 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21217 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21218 # This bug is HP SR number 8606223364.
21219 { echo "$as_me:$LINENO: checking size of size_t" >&5
21220 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21221 if test "${ac_cv_sizeof_size_t+set}" = set; then
21222 echo $ECHO_N "(cached) $ECHO_C" >&6
21223 else
21224 if test "$cross_compiling" = yes; then
21225 # Depending upon the size, compute the lo and hi bounds.
21226 cat >conftest.$ac_ext <<_ACEOF
21227 /* confdefs.h. */
21228 _ACEOF
21229 cat confdefs.h >>conftest.$ac_ext
21230 cat >>conftest.$ac_ext <<_ACEOF
21231 /* end confdefs.h. */
21232 $ac_includes_default
21233 typedef size_t ac__type_sizeof_;
21234 int
21235 main ()
21236 {
21237 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21238 test_array [0] = 0
21239
21240 ;
21241 return 0;
21242 }
21243 _ACEOF
21244 rm -f conftest.$ac_objext
21245 if { (ac_try="$ac_compile"
21246 case "(($ac_try" in
21247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21248 *) ac_try_echo=$ac_try;;
21249 esac
21250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21251 (eval "$ac_compile") 2>conftest.er1
21252 ac_status=$?
21253 grep -v '^ *+' conftest.er1 >conftest.err
21254 rm -f conftest.er1
21255 cat conftest.err >&5
21256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21257 (exit $ac_status); } && {
21258 test -z "$ac_c_werror_flag" ||
21259 test ! -s conftest.err
21260 } && test -s conftest.$ac_objext; then
21261 ac_lo=0 ac_mid=0
21262 while :; do
21263 cat >conftest.$ac_ext <<_ACEOF
21264 /* confdefs.h. */
21265 _ACEOF
21266 cat confdefs.h >>conftest.$ac_ext
21267 cat >>conftest.$ac_ext <<_ACEOF
21268 /* end confdefs.h. */
21269 $ac_includes_default
21270 typedef size_t ac__type_sizeof_;
21271 int
21272 main ()
21273 {
21274 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21275 test_array [0] = 0
21276
21277 ;
21278 return 0;
21279 }
21280 _ACEOF
21281 rm -f conftest.$ac_objext
21282 if { (ac_try="$ac_compile"
21283 case "(($ac_try" in
21284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21285 *) ac_try_echo=$ac_try;;
21286 esac
21287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21288 (eval "$ac_compile") 2>conftest.er1
21289 ac_status=$?
21290 grep -v '^ *+' conftest.er1 >conftest.err
21291 rm -f conftest.er1
21292 cat conftest.err >&5
21293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21294 (exit $ac_status); } && {
21295 test -z "$ac_c_werror_flag" ||
21296 test ! -s conftest.err
21297 } && test -s conftest.$ac_objext; then
21298 ac_hi=$ac_mid; break
21299 else
21300 echo "$as_me: failed program was:" >&5
21301 sed 's/^/| /' conftest.$ac_ext >&5
21302
21303 ac_lo=`expr $ac_mid + 1`
21304 if test $ac_lo -le $ac_mid; then
21305 ac_lo= ac_hi=
21306 break
21307 fi
21308 ac_mid=`expr 2 '*' $ac_mid + 1`
21309 fi
21310
21311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21312 done
21313 else
21314 echo "$as_me: failed program was:" >&5
21315 sed 's/^/| /' conftest.$ac_ext >&5
21316
21317 cat >conftest.$ac_ext <<_ACEOF
21318 /* confdefs.h. */
21319 _ACEOF
21320 cat confdefs.h >>conftest.$ac_ext
21321 cat >>conftest.$ac_ext <<_ACEOF
21322 /* end confdefs.h. */
21323 $ac_includes_default
21324 typedef size_t ac__type_sizeof_;
21325 int
21326 main ()
21327 {
21328 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21329 test_array [0] = 0
21330
21331 ;
21332 return 0;
21333 }
21334 _ACEOF
21335 rm -f conftest.$ac_objext
21336 if { (ac_try="$ac_compile"
21337 case "(($ac_try" in
21338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21339 *) ac_try_echo=$ac_try;;
21340 esac
21341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21342 (eval "$ac_compile") 2>conftest.er1
21343 ac_status=$?
21344 grep -v '^ *+' conftest.er1 >conftest.err
21345 rm -f conftest.er1
21346 cat conftest.err >&5
21347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21348 (exit $ac_status); } && {
21349 test -z "$ac_c_werror_flag" ||
21350 test ! -s conftest.err
21351 } && test -s conftest.$ac_objext; then
21352 ac_hi=-1 ac_mid=-1
21353 while :; do
21354 cat >conftest.$ac_ext <<_ACEOF
21355 /* confdefs.h. */
21356 _ACEOF
21357 cat confdefs.h >>conftest.$ac_ext
21358 cat >>conftest.$ac_ext <<_ACEOF
21359 /* end confdefs.h. */
21360 $ac_includes_default
21361 typedef size_t ac__type_sizeof_;
21362 int
21363 main ()
21364 {
21365 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21366 test_array [0] = 0
21367
21368 ;
21369 return 0;
21370 }
21371 _ACEOF
21372 rm -f conftest.$ac_objext
21373 if { (ac_try="$ac_compile"
21374 case "(($ac_try" in
21375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21376 *) ac_try_echo=$ac_try;;
21377 esac
21378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21379 (eval "$ac_compile") 2>conftest.er1
21380 ac_status=$?
21381 grep -v '^ *+' conftest.er1 >conftest.err
21382 rm -f conftest.er1
21383 cat conftest.err >&5
21384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21385 (exit $ac_status); } && {
21386 test -z "$ac_c_werror_flag" ||
21387 test ! -s conftest.err
21388 } && test -s conftest.$ac_objext; then
21389 ac_lo=$ac_mid; break
21390 else
21391 echo "$as_me: failed program was:" >&5
21392 sed 's/^/| /' conftest.$ac_ext >&5
21393
21394 ac_hi=`expr '(' $ac_mid ')' - 1`
21395 if test $ac_mid -le $ac_hi; then
21396 ac_lo= ac_hi=
21397 break
21398 fi
21399 ac_mid=`expr 2 '*' $ac_mid`
21400 fi
21401
21402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21403 done
21404 else
21405 echo "$as_me: failed program was:" >&5
21406 sed 's/^/| /' conftest.$ac_ext >&5
21407
21408 ac_lo= ac_hi=
21409 fi
21410
21411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21412 fi
21413
21414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21415 # Binary search between lo and hi bounds.
21416 while test "x$ac_lo" != "x$ac_hi"; do
21417 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21418 cat >conftest.$ac_ext <<_ACEOF
21419 /* confdefs.h. */
21420 _ACEOF
21421 cat confdefs.h >>conftest.$ac_ext
21422 cat >>conftest.$ac_ext <<_ACEOF
21423 /* end confdefs.h. */
21424 $ac_includes_default
21425 typedef size_t ac__type_sizeof_;
21426 int
21427 main ()
21428 {
21429 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21430 test_array [0] = 0
21431
21432 ;
21433 return 0;
21434 }
21435 _ACEOF
21436 rm -f conftest.$ac_objext
21437 if { (ac_try="$ac_compile"
21438 case "(($ac_try" in
21439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21440 *) ac_try_echo=$ac_try;;
21441 esac
21442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21443 (eval "$ac_compile") 2>conftest.er1
21444 ac_status=$?
21445 grep -v '^ *+' conftest.er1 >conftest.err
21446 rm -f conftest.er1
21447 cat conftest.err >&5
21448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21449 (exit $ac_status); } && {
21450 test -z "$ac_c_werror_flag" ||
21451 test ! -s conftest.err
21452 } && test -s conftest.$ac_objext; then
21453 ac_hi=$ac_mid
21454 else
21455 echo "$as_me: failed program was:" >&5
21456 sed 's/^/| /' conftest.$ac_ext >&5
21457
21458 ac_lo=`expr '(' $ac_mid ')' + 1`
21459 fi
21460
21461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21462 done
21463 case $ac_lo in
21464 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21465 '') if test "$ac_cv_type_size_t" = yes; then
21466 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21467 See \`config.log' for more details." >&5
21468 echo "$as_me: error: cannot compute sizeof (size_t)
21469 See \`config.log' for more details." >&2;}
21470 { (exit 77); exit 77; }; }
21471 else
21472 ac_cv_sizeof_size_t=0
21473 fi ;;
21474 esac
21475 else
21476 cat >conftest.$ac_ext <<_ACEOF
21477 /* confdefs.h. */
21478 _ACEOF
21479 cat confdefs.h >>conftest.$ac_ext
21480 cat >>conftest.$ac_ext <<_ACEOF
21481 /* end confdefs.h. */
21482 $ac_includes_default
21483 typedef size_t ac__type_sizeof_;
21484 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21485 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21486 #include <stdio.h>
21487 #include <stdlib.h>
21488 int
21489 main ()
21490 {
21491
21492 FILE *f = fopen ("conftest.val", "w");
21493 if (! f)
21494 return 1;
21495 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21496 {
21497 long int i = longval ();
21498 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21499 return 1;
21500 fprintf (f, "%ld\n", i);
21501 }
21502 else
21503 {
21504 unsigned long int i = ulongval ();
21505 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21506 return 1;
21507 fprintf (f, "%lu\n", i);
21508 }
21509 return ferror (f) || fclose (f) != 0;
21510
21511 ;
21512 return 0;
21513 }
21514 _ACEOF
21515 rm -f conftest$ac_exeext
21516 if { (ac_try="$ac_link"
21517 case "(($ac_try" in
21518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21519 *) ac_try_echo=$ac_try;;
21520 esac
21521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21522 (eval "$ac_link") 2>&5
21523 ac_status=$?
21524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21525 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21526 { (case "(($ac_try" in
21527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21528 *) ac_try_echo=$ac_try;;
21529 esac
21530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21531 (eval "$ac_try") 2>&5
21532 ac_status=$?
21533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21534 (exit $ac_status); }; }; then
21535 ac_cv_sizeof_size_t=`cat conftest.val`
21536 else
21537 echo "$as_me: program exited with status $ac_status" >&5
21538 echo "$as_me: failed program was:" >&5
21539 sed 's/^/| /' conftest.$ac_ext >&5
21540
21541 ( exit $ac_status )
21542 if test "$ac_cv_type_size_t" = yes; then
21543 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21544 See \`config.log' for more details." >&5
21545 echo "$as_me: error: cannot compute sizeof (size_t)
21546 See \`config.log' for more details." >&2;}
21547 { (exit 77); exit 77; }; }
21548 else
21549 ac_cv_sizeof_size_t=0
21550 fi
21551 fi
21552 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21553 fi
21554 rm -f conftest.val
21555 fi
21556 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21557 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21558
21559
21560
21561 cat >>confdefs.h <<_ACEOF
21562 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21563 _ACEOF
21564
21565
21566
21567 case "${host}" in
21568 arm-*-linux* )
21569 { echo "$as_me:$LINENO: checking for long long" >&5
21570 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21571 if test "${ac_cv_type_long_long+set}" = set; then
21572 echo $ECHO_N "(cached) $ECHO_C" >&6
21573 else
21574 cat >conftest.$ac_ext <<_ACEOF
21575 /* confdefs.h. */
21576 _ACEOF
21577 cat confdefs.h >>conftest.$ac_ext
21578 cat >>conftest.$ac_ext <<_ACEOF
21579 /* end confdefs.h. */
21580 $ac_includes_default
21581 typedef long long ac__type_new_;
21582 int
21583 main ()
21584 {
21585 if ((ac__type_new_ *) 0)
21586 return 0;
21587 if (sizeof (ac__type_new_))
21588 return 0;
21589 ;
21590 return 0;
21591 }
21592 _ACEOF
21593 rm -f conftest.$ac_objext
21594 if { (ac_try="$ac_compile"
21595 case "(($ac_try" in
21596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21597 *) ac_try_echo=$ac_try;;
21598 esac
21599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21600 (eval "$ac_compile") 2>conftest.er1
21601 ac_status=$?
21602 grep -v '^ *+' conftest.er1 >conftest.err
21603 rm -f conftest.er1
21604 cat conftest.err >&5
21605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21606 (exit $ac_status); } && {
21607 test -z "$ac_c_werror_flag" ||
21608 test ! -s conftest.err
21609 } && test -s conftest.$ac_objext; then
21610 ac_cv_type_long_long=yes
21611 else
21612 echo "$as_me: failed program was:" >&5
21613 sed 's/^/| /' conftest.$ac_ext >&5
21614
21615 ac_cv_type_long_long=no
21616 fi
21617
21618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21619 fi
21620 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21621 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21622
21623 # The cast to long int works around a bug in the HP C Compiler
21624 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21625 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21626 # This bug is HP SR number 8606223364.
21627 { echo "$as_me:$LINENO: checking size of long long" >&5
21628 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21629 if test "${ac_cv_sizeof_long_long+set}" = set; then
21630 echo $ECHO_N "(cached) $ECHO_C" >&6
21631 else
21632 if test "$cross_compiling" = yes; then
21633 # Depending upon the size, compute the lo and hi bounds.
21634 cat >conftest.$ac_ext <<_ACEOF
21635 /* confdefs.h. */
21636 _ACEOF
21637 cat confdefs.h >>conftest.$ac_ext
21638 cat >>conftest.$ac_ext <<_ACEOF
21639 /* end confdefs.h. */
21640 $ac_includes_default
21641 typedef long long ac__type_sizeof_;
21642 int
21643 main ()
21644 {
21645 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21646 test_array [0] = 0
21647
21648 ;
21649 return 0;
21650 }
21651 _ACEOF
21652 rm -f conftest.$ac_objext
21653 if { (ac_try="$ac_compile"
21654 case "(($ac_try" in
21655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21656 *) ac_try_echo=$ac_try;;
21657 esac
21658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21659 (eval "$ac_compile") 2>conftest.er1
21660 ac_status=$?
21661 grep -v '^ *+' conftest.er1 >conftest.err
21662 rm -f conftest.er1
21663 cat conftest.err >&5
21664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21665 (exit $ac_status); } && {
21666 test -z "$ac_c_werror_flag" ||
21667 test ! -s conftest.err
21668 } && test -s conftest.$ac_objext; then
21669 ac_lo=0 ac_mid=0
21670 while :; do
21671 cat >conftest.$ac_ext <<_ACEOF
21672 /* confdefs.h. */
21673 _ACEOF
21674 cat confdefs.h >>conftest.$ac_ext
21675 cat >>conftest.$ac_ext <<_ACEOF
21676 /* end confdefs.h. */
21677 $ac_includes_default
21678 typedef long long ac__type_sizeof_;
21679 int
21680 main ()
21681 {
21682 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21683 test_array [0] = 0
21684
21685 ;
21686 return 0;
21687 }
21688 _ACEOF
21689 rm -f conftest.$ac_objext
21690 if { (ac_try="$ac_compile"
21691 case "(($ac_try" in
21692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21693 *) ac_try_echo=$ac_try;;
21694 esac
21695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21696 (eval "$ac_compile") 2>conftest.er1
21697 ac_status=$?
21698 grep -v '^ *+' conftest.er1 >conftest.err
21699 rm -f conftest.er1
21700 cat conftest.err >&5
21701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21702 (exit $ac_status); } && {
21703 test -z "$ac_c_werror_flag" ||
21704 test ! -s conftest.err
21705 } && test -s conftest.$ac_objext; then
21706 ac_hi=$ac_mid; break
21707 else
21708 echo "$as_me: failed program was:" >&5
21709 sed 's/^/| /' conftest.$ac_ext >&5
21710
21711 ac_lo=`expr $ac_mid + 1`
21712 if test $ac_lo -le $ac_mid; then
21713 ac_lo= ac_hi=
21714 break
21715 fi
21716 ac_mid=`expr 2 '*' $ac_mid + 1`
21717 fi
21718
21719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21720 done
21721 else
21722 echo "$as_me: failed program was:" >&5
21723 sed 's/^/| /' conftest.$ac_ext >&5
21724
21725 cat >conftest.$ac_ext <<_ACEOF
21726 /* confdefs.h. */
21727 _ACEOF
21728 cat confdefs.h >>conftest.$ac_ext
21729 cat >>conftest.$ac_ext <<_ACEOF
21730 /* end confdefs.h. */
21731 $ac_includes_default
21732 typedef long long ac__type_sizeof_;
21733 int
21734 main ()
21735 {
21736 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21737 test_array [0] = 0
21738
21739 ;
21740 return 0;
21741 }
21742 _ACEOF
21743 rm -f conftest.$ac_objext
21744 if { (ac_try="$ac_compile"
21745 case "(($ac_try" in
21746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21747 *) ac_try_echo=$ac_try;;
21748 esac
21749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21750 (eval "$ac_compile") 2>conftest.er1
21751 ac_status=$?
21752 grep -v '^ *+' conftest.er1 >conftest.err
21753 rm -f conftest.er1
21754 cat conftest.err >&5
21755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21756 (exit $ac_status); } && {
21757 test -z "$ac_c_werror_flag" ||
21758 test ! -s conftest.err
21759 } && test -s conftest.$ac_objext; then
21760 ac_hi=-1 ac_mid=-1
21761 while :; do
21762 cat >conftest.$ac_ext <<_ACEOF
21763 /* confdefs.h. */
21764 _ACEOF
21765 cat confdefs.h >>conftest.$ac_ext
21766 cat >>conftest.$ac_ext <<_ACEOF
21767 /* end confdefs.h. */
21768 $ac_includes_default
21769 typedef long long ac__type_sizeof_;
21770 int
21771 main ()
21772 {
21773 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21774 test_array [0] = 0
21775
21776 ;
21777 return 0;
21778 }
21779 _ACEOF
21780 rm -f conftest.$ac_objext
21781 if { (ac_try="$ac_compile"
21782 case "(($ac_try" in
21783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21784 *) ac_try_echo=$ac_try;;
21785 esac
21786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21787 (eval "$ac_compile") 2>conftest.er1
21788 ac_status=$?
21789 grep -v '^ *+' conftest.er1 >conftest.err
21790 rm -f conftest.er1
21791 cat conftest.err >&5
21792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21793 (exit $ac_status); } && {
21794 test -z "$ac_c_werror_flag" ||
21795 test ! -s conftest.err
21796 } && test -s conftest.$ac_objext; then
21797 ac_lo=$ac_mid; break
21798 else
21799 echo "$as_me: failed program was:" >&5
21800 sed 's/^/| /' conftest.$ac_ext >&5
21801
21802 ac_hi=`expr '(' $ac_mid ')' - 1`
21803 if test $ac_mid -le $ac_hi; then
21804 ac_lo= ac_hi=
21805 break
21806 fi
21807 ac_mid=`expr 2 '*' $ac_mid`
21808 fi
21809
21810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21811 done
21812 else
21813 echo "$as_me: failed program was:" >&5
21814 sed 's/^/| /' conftest.$ac_ext >&5
21815
21816 ac_lo= ac_hi=
21817 fi
21818
21819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21820 fi
21821
21822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21823 # Binary search between lo and hi bounds.
21824 while test "x$ac_lo" != "x$ac_hi"; do
21825 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21826 cat >conftest.$ac_ext <<_ACEOF
21827 /* confdefs.h. */
21828 _ACEOF
21829 cat confdefs.h >>conftest.$ac_ext
21830 cat >>conftest.$ac_ext <<_ACEOF
21831 /* end confdefs.h. */
21832 $ac_includes_default
21833 typedef long long ac__type_sizeof_;
21834 int
21835 main ()
21836 {
21837 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21838 test_array [0] = 0
21839
21840 ;
21841 return 0;
21842 }
21843 _ACEOF
21844 rm -f conftest.$ac_objext
21845 if { (ac_try="$ac_compile"
21846 case "(($ac_try" in
21847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21848 *) ac_try_echo=$ac_try;;
21849 esac
21850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21851 (eval "$ac_compile") 2>conftest.er1
21852 ac_status=$?
21853 grep -v '^ *+' conftest.er1 >conftest.err
21854 rm -f conftest.er1
21855 cat conftest.err >&5
21856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21857 (exit $ac_status); } && {
21858 test -z "$ac_c_werror_flag" ||
21859 test ! -s conftest.err
21860 } && test -s conftest.$ac_objext; then
21861 ac_hi=$ac_mid
21862 else
21863 echo "$as_me: failed program was:" >&5
21864 sed 's/^/| /' conftest.$ac_ext >&5
21865
21866 ac_lo=`expr '(' $ac_mid ')' + 1`
21867 fi
21868
21869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21870 done
21871 case $ac_lo in
21872 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21873 '') if test "$ac_cv_type_long_long" = yes; then
21874 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21875 See \`config.log' for more details." >&5
21876 echo "$as_me: error: cannot compute sizeof (long long)
21877 See \`config.log' for more details." >&2;}
21878 { (exit 77); exit 77; }; }
21879 else
21880 ac_cv_sizeof_long_long=0
21881 fi ;;
21882 esac
21883 else
21884 cat >conftest.$ac_ext <<_ACEOF
21885 /* confdefs.h. */
21886 _ACEOF
21887 cat confdefs.h >>conftest.$ac_ext
21888 cat >>conftest.$ac_ext <<_ACEOF
21889 /* end confdefs.h. */
21890 $ac_includes_default
21891 typedef long long ac__type_sizeof_;
21892 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21893 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21894 #include <stdio.h>
21895 #include <stdlib.h>
21896 int
21897 main ()
21898 {
21899
21900 FILE *f = fopen ("conftest.val", "w");
21901 if (! f)
21902 return 1;
21903 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21904 {
21905 long int i = longval ();
21906 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21907 return 1;
21908 fprintf (f, "%ld\n", i);
21909 }
21910 else
21911 {
21912 unsigned long int i = ulongval ();
21913 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21914 return 1;
21915 fprintf (f, "%lu\n", i);
21916 }
21917 return ferror (f) || fclose (f) != 0;
21918
21919 ;
21920 return 0;
21921 }
21922 _ACEOF
21923 rm -f conftest$ac_exeext
21924 if { (ac_try="$ac_link"
21925 case "(($ac_try" in
21926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21927 *) ac_try_echo=$ac_try;;
21928 esac
21929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21930 (eval "$ac_link") 2>&5
21931 ac_status=$?
21932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21933 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21934 { (case "(($ac_try" in
21935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21936 *) ac_try_echo=$ac_try;;
21937 esac
21938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21939 (eval "$ac_try") 2>&5
21940 ac_status=$?
21941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21942 (exit $ac_status); }; }; then
21943 ac_cv_sizeof_long_long=`cat conftest.val`
21944 else
21945 echo "$as_me: program exited with status $ac_status" >&5
21946 echo "$as_me: failed program was:" >&5
21947 sed 's/^/| /' conftest.$ac_ext >&5
21948
21949 ( exit $ac_status )
21950 if test "$ac_cv_type_long_long" = yes; then
21951 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21952 See \`config.log' for more details." >&5
21953 echo "$as_me: error: cannot compute sizeof (long long)
21954 See \`config.log' for more details." >&2;}
21955 { (exit 77); exit 77; }; }
21956 else
21957 ac_cv_sizeof_long_long=0
21958 fi
21959 fi
21960 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21961 fi
21962 rm -f conftest.val
21963 fi
21964 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21965 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21966
21967
21968
21969 cat >>confdefs.h <<_ACEOF
21970 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21971 _ACEOF
21972
21973
21974 ;;
21975 *-hp-hpux* )
21976 { echo "$as_me:$LINENO: checking for long long" >&5
21977 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21978 if test "${ac_cv_type_long_long+set}" = set; then
21979 echo $ECHO_N "(cached) $ECHO_C" >&6
21980 else
21981 cat >conftest.$ac_ext <<_ACEOF
21982 /* confdefs.h. */
21983 _ACEOF
21984 cat confdefs.h >>conftest.$ac_ext
21985 cat >>conftest.$ac_ext <<_ACEOF
21986 /* end confdefs.h. */
21987 $ac_includes_default
21988 typedef long long ac__type_new_;
21989 int
21990 main ()
21991 {
21992 if ((ac__type_new_ *) 0)
21993 return 0;
21994 if (sizeof (ac__type_new_))
21995 return 0;
21996 ;
21997 return 0;
21998 }
21999 _ACEOF
22000 rm -f conftest.$ac_objext
22001 if { (ac_try="$ac_compile"
22002 case "(($ac_try" in
22003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22004 *) ac_try_echo=$ac_try;;
22005 esac
22006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22007 (eval "$ac_compile") 2>conftest.er1
22008 ac_status=$?
22009 grep -v '^ *+' conftest.er1 >conftest.err
22010 rm -f conftest.er1
22011 cat conftest.err >&5
22012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22013 (exit $ac_status); } && {
22014 test -z "$ac_c_werror_flag" ||
22015 test ! -s conftest.err
22016 } && test -s conftest.$ac_objext; then
22017 ac_cv_type_long_long=yes
22018 else
22019 echo "$as_me: failed program was:" >&5
22020 sed 's/^/| /' conftest.$ac_ext >&5
22021
22022 ac_cv_type_long_long=no
22023 fi
22024
22025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22026 fi
22027 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22028 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22029
22030 # The cast to long int works around a bug in the HP C Compiler
22031 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22032 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22033 # This bug is HP SR number 8606223364.
22034 { echo "$as_me:$LINENO: checking size of long long" >&5
22035 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22036 if test "${ac_cv_sizeof_long_long+set}" = set; then
22037 echo $ECHO_N "(cached) $ECHO_C" >&6
22038 else
22039 if test "$cross_compiling" = yes; then
22040 # Depending upon the size, compute the lo and hi bounds.
22041 cat >conftest.$ac_ext <<_ACEOF
22042 /* confdefs.h. */
22043 _ACEOF
22044 cat confdefs.h >>conftest.$ac_ext
22045 cat >>conftest.$ac_ext <<_ACEOF
22046 /* end confdefs.h. */
22047 $ac_includes_default
22048 typedef long long ac__type_sizeof_;
22049 int
22050 main ()
22051 {
22052 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22053 test_array [0] = 0
22054
22055 ;
22056 return 0;
22057 }
22058 _ACEOF
22059 rm -f conftest.$ac_objext
22060 if { (ac_try="$ac_compile"
22061 case "(($ac_try" in
22062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22063 *) ac_try_echo=$ac_try;;
22064 esac
22065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22066 (eval "$ac_compile") 2>conftest.er1
22067 ac_status=$?
22068 grep -v '^ *+' conftest.er1 >conftest.err
22069 rm -f conftest.er1
22070 cat conftest.err >&5
22071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22072 (exit $ac_status); } && {
22073 test -z "$ac_c_werror_flag" ||
22074 test ! -s conftest.err
22075 } && test -s conftest.$ac_objext; then
22076 ac_lo=0 ac_mid=0
22077 while :; do
22078 cat >conftest.$ac_ext <<_ACEOF
22079 /* confdefs.h. */
22080 _ACEOF
22081 cat confdefs.h >>conftest.$ac_ext
22082 cat >>conftest.$ac_ext <<_ACEOF
22083 /* end confdefs.h. */
22084 $ac_includes_default
22085 typedef long long ac__type_sizeof_;
22086 int
22087 main ()
22088 {
22089 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22090 test_array [0] = 0
22091
22092 ;
22093 return 0;
22094 }
22095 _ACEOF
22096 rm -f conftest.$ac_objext
22097 if { (ac_try="$ac_compile"
22098 case "(($ac_try" in
22099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22100 *) ac_try_echo=$ac_try;;
22101 esac
22102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22103 (eval "$ac_compile") 2>conftest.er1
22104 ac_status=$?
22105 grep -v '^ *+' conftest.er1 >conftest.err
22106 rm -f conftest.er1
22107 cat conftest.err >&5
22108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22109 (exit $ac_status); } && {
22110 test -z "$ac_c_werror_flag" ||
22111 test ! -s conftest.err
22112 } && test -s conftest.$ac_objext; then
22113 ac_hi=$ac_mid; break
22114 else
22115 echo "$as_me: failed program was:" >&5
22116 sed 's/^/| /' conftest.$ac_ext >&5
22117
22118 ac_lo=`expr $ac_mid + 1`
22119 if test $ac_lo -le $ac_mid; then
22120 ac_lo= ac_hi=
22121 break
22122 fi
22123 ac_mid=`expr 2 '*' $ac_mid + 1`
22124 fi
22125
22126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22127 done
22128 else
22129 echo "$as_me: failed program was:" >&5
22130 sed 's/^/| /' conftest.$ac_ext >&5
22131
22132 cat >conftest.$ac_ext <<_ACEOF
22133 /* confdefs.h. */
22134 _ACEOF
22135 cat confdefs.h >>conftest.$ac_ext
22136 cat >>conftest.$ac_ext <<_ACEOF
22137 /* end confdefs.h. */
22138 $ac_includes_default
22139 typedef long long ac__type_sizeof_;
22140 int
22141 main ()
22142 {
22143 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22144 test_array [0] = 0
22145
22146 ;
22147 return 0;
22148 }
22149 _ACEOF
22150 rm -f conftest.$ac_objext
22151 if { (ac_try="$ac_compile"
22152 case "(($ac_try" in
22153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22154 *) ac_try_echo=$ac_try;;
22155 esac
22156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22157 (eval "$ac_compile") 2>conftest.er1
22158 ac_status=$?
22159 grep -v '^ *+' conftest.er1 >conftest.err
22160 rm -f conftest.er1
22161 cat conftest.err >&5
22162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22163 (exit $ac_status); } && {
22164 test -z "$ac_c_werror_flag" ||
22165 test ! -s conftest.err
22166 } && test -s conftest.$ac_objext; then
22167 ac_hi=-1 ac_mid=-1
22168 while :; do
22169 cat >conftest.$ac_ext <<_ACEOF
22170 /* confdefs.h. */
22171 _ACEOF
22172 cat confdefs.h >>conftest.$ac_ext
22173 cat >>conftest.$ac_ext <<_ACEOF
22174 /* end confdefs.h. */
22175 $ac_includes_default
22176 typedef long long ac__type_sizeof_;
22177 int
22178 main ()
22179 {
22180 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22181 test_array [0] = 0
22182
22183 ;
22184 return 0;
22185 }
22186 _ACEOF
22187 rm -f conftest.$ac_objext
22188 if { (ac_try="$ac_compile"
22189 case "(($ac_try" in
22190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22191 *) ac_try_echo=$ac_try;;
22192 esac
22193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22194 (eval "$ac_compile") 2>conftest.er1
22195 ac_status=$?
22196 grep -v '^ *+' conftest.er1 >conftest.err
22197 rm -f conftest.er1
22198 cat conftest.err >&5
22199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22200 (exit $ac_status); } && {
22201 test -z "$ac_c_werror_flag" ||
22202 test ! -s conftest.err
22203 } && test -s conftest.$ac_objext; then
22204 ac_lo=$ac_mid; break
22205 else
22206 echo "$as_me: failed program was:" >&5
22207 sed 's/^/| /' conftest.$ac_ext >&5
22208
22209 ac_hi=`expr '(' $ac_mid ')' - 1`
22210 if test $ac_mid -le $ac_hi; then
22211 ac_lo= ac_hi=
22212 break
22213 fi
22214 ac_mid=`expr 2 '*' $ac_mid`
22215 fi
22216
22217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22218 done
22219 else
22220 echo "$as_me: failed program was:" >&5
22221 sed 's/^/| /' conftest.$ac_ext >&5
22222
22223 ac_lo= ac_hi=
22224 fi
22225
22226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22227 fi
22228
22229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22230 # Binary search between lo and hi bounds.
22231 while test "x$ac_lo" != "x$ac_hi"; do
22232 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22233 cat >conftest.$ac_ext <<_ACEOF
22234 /* confdefs.h. */
22235 _ACEOF
22236 cat confdefs.h >>conftest.$ac_ext
22237 cat >>conftest.$ac_ext <<_ACEOF
22238 /* end confdefs.h. */
22239 $ac_includes_default
22240 typedef long long ac__type_sizeof_;
22241 int
22242 main ()
22243 {
22244 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22245 test_array [0] = 0
22246
22247 ;
22248 return 0;
22249 }
22250 _ACEOF
22251 rm -f conftest.$ac_objext
22252 if { (ac_try="$ac_compile"
22253 case "(($ac_try" in
22254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22255 *) ac_try_echo=$ac_try;;
22256 esac
22257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22258 (eval "$ac_compile") 2>conftest.er1
22259 ac_status=$?
22260 grep -v '^ *+' conftest.er1 >conftest.err
22261 rm -f conftest.er1
22262 cat conftest.err >&5
22263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22264 (exit $ac_status); } && {
22265 test -z "$ac_c_werror_flag" ||
22266 test ! -s conftest.err
22267 } && test -s conftest.$ac_objext; then
22268 ac_hi=$ac_mid
22269 else
22270 echo "$as_me: failed program was:" >&5
22271 sed 's/^/| /' conftest.$ac_ext >&5
22272
22273 ac_lo=`expr '(' $ac_mid ')' + 1`
22274 fi
22275
22276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22277 done
22278 case $ac_lo in
22279 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22280 '') if test "$ac_cv_type_long_long" = yes; then
22281 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22282 See \`config.log' for more details." >&5
22283 echo "$as_me: error: cannot compute sizeof (long long)
22284 See \`config.log' for more details." >&2;}
22285 { (exit 77); exit 77; }; }
22286 else
22287 ac_cv_sizeof_long_long=0
22288 fi ;;
22289 esac
22290 else
22291 cat >conftest.$ac_ext <<_ACEOF
22292 /* confdefs.h. */
22293 _ACEOF
22294 cat confdefs.h >>conftest.$ac_ext
22295 cat >>conftest.$ac_ext <<_ACEOF
22296 /* end confdefs.h. */
22297 $ac_includes_default
22298 typedef long long ac__type_sizeof_;
22299 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22300 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22301 #include <stdio.h>
22302 #include <stdlib.h>
22303 int
22304 main ()
22305 {
22306
22307 FILE *f = fopen ("conftest.val", "w");
22308 if (! f)
22309 return 1;
22310 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22311 {
22312 long int i = longval ();
22313 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22314 return 1;
22315 fprintf (f, "%ld\n", i);
22316 }
22317 else
22318 {
22319 unsigned long int i = ulongval ();
22320 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22321 return 1;
22322 fprintf (f, "%lu\n", i);
22323 }
22324 return ferror (f) || fclose (f) != 0;
22325
22326 ;
22327 return 0;
22328 }
22329 _ACEOF
22330 rm -f conftest$ac_exeext
22331 if { (ac_try="$ac_link"
22332 case "(($ac_try" in
22333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22334 *) ac_try_echo=$ac_try;;
22335 esac
22336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22337 (eval "$ac_link") 2>&5
22338 ac_status=$?
22339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22340 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22341 { (case "(($ac_try" in
22342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22343 *) ac_try_echo=$ac_try;;
22344 esac
22345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22346 (eval "$ac_try") 2>&5
22347 ac_status=$?
22348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22349 (exit $ac_status); }; }; then
22350 ac_cv_sizeof_long_long=`cat conftest.val`
22351 else
22352 echo "$as_me: program exited with status $ac_status" >&5
22353 echo "$as_me: failed program was:" >&5
22354 sed 's/^/| /' conftest.$ac_ext >&5
22355
22356 ( exit $ac_status )
22357 if test "$ac_cv_type_long_long" = yes; then
22358 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22359 See \`config.log' for more details." >&5
22360 echo "$as_me: error: cannot compute sizeof (long long)
22361 See \`config.log' for more details." >&2;}
22362 { (exit 77); exit 77; }; }
22363 else
22364 ac_cv_sizeof_long_long=0
22365 fi
22366 fi
22367 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22368 fi
22369 rm -f conftest.val
22370 fi
22371 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22372 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22373
22374
22375
22376 cat >>confdefs.h <<_ACEOF
22377 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22378 _ACEOF
22379
22380
22381 if test "$ac_cv_sizeof_long_long" != 0; then
22382 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22383 fi
22384 ;;
22385 * )
22386 { echo "$as_me:$LINENO: checking for long long" >&5
22387 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22388 if test "${ac_cv_type_long_long+set}" = set; then
22389 echo $ECHO_N "(cached) $ECHO_C" >&6
22390 else
22391 cat >conftest.$ac_ext <<_ACEOF
22392 /* confdefs.h. */
22393 _ACEOF
22394 cat confdefs.h >>conftest.$ac_ext
22395 cat >>conftest.$ac_ext <<_ACEOF
22396 /* end confdefs.h. */
22397 $ac_includes_default
22398 typedef long long ac__type_new_;
22399 int
22400 main ()
22401 {
22402 if ((ac__type_new_ *) 0)
22403 return 0;
22404 if (sizeof (ac__type_new_))
22405 return 0;
22406 ;
22407 return 0;
22408 }
22409 _ACEOF
22410 rm -f conftest.$ac_objext
22411 if { (ac_try="$ac_compile"
22412 case "(($ac_try" in
22413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22414 *) ac_try_echo=$ac_try;;
22415 esac
22416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22417 (eval "$ac_compile") 2>conftest.er1
22418 ac_status=$?
22419 grep -v '^ *+' conftest.er1 >conftest.err
22420 rm -f conftest.er1
22421 cat conftest.err >&5
22422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22423 (exit $ac_status); } && {
22424 test -z "$ac_c_werror_flag" ||
22425 test ! -s conftest.err
22426 } && test -s conftest.$ac_objext; then
22427 ac_cv_type_long_long=yes
22428 else
22429 echo "$as_me: failed program was:" >&5
22430 sed 's/^/| /' conftest.$ac_ext >&5
22431
22432 ac_cv_type_long_long=no
22433 fi
22434
22435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22436 fi
22437 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22438 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22439
22440 # The cast to long int works around a bug in the HP C Compiler
22441 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22442 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22443 # This bug is HP SR number 8606223364.
22444 { echo "$as_me:$LINENO: checking size of long long" >&5
22445 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22446 if test "${ac_cv_sizeof_long_long+set}" = set; then
22447 echo $ECHO_N "(cached) $ECHO_C" >&6
22448 else
22449 if test "$cross_compiling" = yes; then
22450 # Depending upon the size, compute the lo and hi bounds.
22451 cat >conftest.$ac_ext <<_ACEOF
22452 /* confdefs.h. */
22453 _ACEOF
22454 cat confdefs.h >>conftest.$ac_ext
22455 cat >>conftest.$ac_ext <<_ACEOF
22456 /* end confdefs.h. */
22457 $ac_includes_default
22458 typedef long long ac__type_sizeof_;
22459 int
22460 main ()
22461 {
22462 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22463 test_array [0] = 0
22464
22465 ;
22466 return 0;
22467 }
22468 _ACEOF
22469 rm -f conftest.$ac_objext
22470 if { (ac_try="$ac_compile"
22471 case "(($ac_try" in
22472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22473 *) ac_try_echo=$ac_try;;
22474 esac
22475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22476 (eval "$ac_compile") 2>conftest.er1
22477 ac_status=$?
22478 grep -v '^ *+' conftest.er1 >conftest.err
22479 rm -f conftest.er1
22480 cat conftest.err >&5
22481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22482 (exit $ac_status); } && {
22483 test -z "$ac_c_werror_flag" ||
22484 test ! -s conftest.err
22485 } && test -s conftest.$ac_objext; then
22486 ac_lo=0 ac_mid=0
22487 while :; do
22488 cat >conftest.$ac_ext <<_ACEOF
22489 /* confdefs.h. */
22490 _ACEOF
22491 cat confdefs.h >>conftest.$ac_ext
22492 cat >>conftest.$ac_ext <<_ACEOF
22493 /* end confdefs.h. */
22494 $ac_includes_default
22495 typedef long long ac__type_sizeof_;
22496 int
22497 main ()
22498 {
22499 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22500 test_array [0] = 0
22501
22502 ;
22503 return 0;
22504 }
22505 _ACEOF
22506 rm -f conftest.$ac_objext
22507 if { (ac_try="$ac_compile"
22508 case "(($ac_try" in
22509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22510 *) ac_try_echo=$ac_try;;
22511 esac
22512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22513 (eval "$ac_compile") 2>conftest.er1
22514 ac_status=$?
22515 grep -v '^ *+' conftest.er1 >conftest.err
22516 rm -f conftest.er1
22517 cat conftest.err >&5
22518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22519 (exit $ac_status); } && {
22520 test -z "$ac_c_werror_flag" ||
22521 test ! -s conftest.err
22522 } && test -s conftest.$ac_objext; then
22523 ac_hi=$ac_mid; break
22524 else
22525 echo "$as_me: failed program was:" >&5
22526 sed 's/^/| /' conftest.$ac_ext >&5
22527
22528 ac_lo=`expr $ac_mid + 1`
22529 if test $ac_lo -le $ac_mid; then
22530 ac_lo= ac_hi=
22531 break
22532 fi
22533 ac_mid=`expr 2 '*' $ac_mid + 1`
22534 fi
22535
22536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22537 done
22538 else
22539 echo "$as_me: failed program was:" >&5
22540 sed 's/^/| /' conftest.$ac_ext >&5
22541
22542 cat >conftest.$ac_ext <<_ACEOF
22543 /* confdefs.h. */
22544 _ACEOF
22545 cat confdefs.h >>conftest.$ac_ext
22546 cat >>conftest.$ac_ext <<_ACEOF
22547 /* end confdefs.h. */
22548 $ac_includes_default
22549 typedef long long ac__type_sizeof_;
22550 int
22551 main ()
22552 {
22553 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22554 test_array [0] = 0
22555
22556 ;
22557 return 0;
22558 }
22559 _ACEOF
22560 rm -f conftest.$ac_objext
22561 if { (ac_try="$ac_compile"
22562 case "(($ac_try" in
22563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22564 *) ac_try_echo=$ac_try;;
22565 esac
22566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22567 (eval "$ac_compile") 2>conftest.er1
22568 ac_status=$?
22569 grep -v '^ *+' conftest.er1 >conftest.err
22570 rm -f conftest.er1
22571 cat conftest.err >&5
22572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22573 (exit $ac_status); } && {
22574 test -z "$ac_c_werror_flag" ||
22575 test ! -s conftest.err
22576 } && test -s conftest.$ac_objext; then
22577 ac_hi=-1 ac_mid=-1
22578 while :; do
22579 cat >conftest.$ac_ext <<_ACEOF
22580 /* confdefs.h. */
22581 _ACEOF
22582 cat confdefs.h >>conftest.$ac_ext
22583 cat >>conftest.$ac_ext <<_ACEOF
22584 /* end confdefs.h. */
22585 $ac_includes_default
22586 typedef long long ac__type_sizeof_;
22587 int
22588 main ()
22589 {
22590 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22591 test_array [0] = 0
22592
22593 ;
22594 return 0;
22595 }
22596 _ACEOF
22597 rm -f conftest.$ac_objext
22598 if { (ac_try="$ac_compile"
22599 case "(($ac_try" in
22600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22601 *) ac_try_echo=$ac_try;;
22602 esac
22603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22604 (eval "$ac_compile") 2>conftest.er1
22605 ac_status=$?
22606 grep -v '^ *+' conftest.er1 >conftest.err
22607 rm -f conftest.er1
22608 cat conftest.err >&5
22609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22610 (exit $ac_status); } && {
22611 test -z "$ac_c_werror_flag" ||
22612 test ! -s conftest.err
22613 } && test -s conftest.$ac_objext; then
22614 ac_lo=$ac_mid; break
22615 else
22616 echo "$as_me: failed program was:" >&5
22617 sed 's/^/| /' conftest.$ac_ext >&5
22618
22619 ac_hi=`expr '(' $ac_mid ')' - 1`
22620 if test $ac_mid -le $ac_hi; then
22621 ac_lo= ac_hi=
22622 break
22623 fi
22624 ac_mid=`expr 2 '*' $ac_mid`
22625 fi
22626
22627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22628 done
22629 else
22630 echo "$as_me: failed program was:" >&5
22631 sed 's/^/| /' conftest.$ac_ext >&5
22632
22633 ac_lo= ac_hi=
22634 fi
22635
22636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22637 fi
22638
22639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22640 # Binary search between lo and hi bounds.
22641 while test "x$ac_lo" != "x$ac_hi"; do
22642 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22643 cat >conftest.$ac_ext <<_ACEOF
22644 /* confdefs.h. */
22645 _ACEOF
22646 cat confdefs.h >>conftest.$ac_ext
22647 cat >>conftest.$ac_ext <<_ACEOF
22648 /* end confdefs.h. */
22649 $ac_includes_default
22650 typedef long long ac__type_sizeof_;
22651 int
22652 main ()
22653 {
22654 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22655 test_array [0] = 0
22656
22657 ;
22658 return 0;
22659 }
22660 _ACEOF
22661 rm -f conftest.$ac_objext
22662 if { (ac_try="$ac_compile"
22663 case "(($ac_try" in
22664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22665 *) ac_try_echo=$ac_try;;
22666 esac
22667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22668 (eval "$ac_compile") 2>conftest.er1
22669 ac_status=$?
22670 grep -v '^ *+' conftest.er1 >conftest.err
22671 rm -f conftest.er1
22672 cat conftest.err >&5
22673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22674 (exit $ac_status); } && {
22675 test -z "$ac_c_werror_flag" ||
22676 test ! -s conftest.err
22677 } && test -s conftest.$ac_objext; then
22678 ac_hi=$ac_mid
22679 else
22680 echo "$as_me: failed program was:" >&5
22681 sed 's/^/| /' conftest.$ac_ext >&5
22682
22683 ac_lo=`expr '(' $ac_mid ')' + 1`
22684 fi
22685
22686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22687 done
22688 case $ac_lo in
22689 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22690 '') if test "$ac_cv_type_long_long" = yes; then
22691 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22692 See \`config.log' for more details." >&5
22693 echo "$as_me: error: cannot compute sizeof (long long)
22694 See \`config.log' for more details." >&2;}
22695 { (exit 77); exit 77; }; }
22696 else
22697 ac_cv_sizeof_long_long=0
22698 fi ;;
22699 esac
22700 else
22701 cat >conftest.$ac_ext <<_ACEOF
22702 /* confdefs.h. */
22703 _ACEOF
22704 cat confdefs.h >>conftest.$ac_ext
22705 cat >>conftest.$ac_ext <<_ACEOF
22706 /* end confdefs.h. */
22707 $ac_includes_default
22708 typedef long long ac__type_sizeof_;
22709 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22710 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22711 #include <stdio.h>
22712 #include <stdlib.h>
22713 int
22714 main ()
22715 {
22716
22717 FILE *f = fopen ("conftest.val", "w");
22718 if (! f)
22719 return 1;
22720 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22721 {
22722 long int i = longval ();
22723 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22724 return 1;
22725 fprintf (f, "%ld\n", i);
22726 }
22727 else
22728 {
22729 unsigned long int i = ulongval ();
22730 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22731 return 1;
22732 fprintf (f, "%lu\n", i);
22733 }
22734 return ferror (f) || fclose (f) != 0;
22735
22736 ;
22737 return 0;
22738 }
22739 _ACEOF
22740 rm -f conftest$ac_exeext
22741 if { (ac_try="$ac_link"
22742 case "(($ac_try" in
22743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22744 *) ac_try_echo=$ac_try;;
22745 esac
22746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22747 (eval "$ac_link") 2>&5
22748 ac_status=$?
22749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22750 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22751 { (case "(($ac_try" in
22752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22753 *) ac_try_echo=$ac_try;;
22754 esac
22755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22756 (eval "$ac_try") 2>&5
22757 ac_status=$?
22758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22759 (exit $ac_status); }; }; then
22760 ac_cv_sizeof_long_long=`cat conftest.val`
22761 else
22762 echo "$as_me: program exited with status $ac_status" >&5
22763 echo "$as_me: failed program was:" >&5
22764 sed 's/^/| /' conftest.$ac_ext >&5
22765
22766 ( exit $ac_status )
22767 if test "$ac_cv_type_long_long" = yes; then
22768 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22769 See \`config.log' for more details." >&5
22770 echo "$as_me: error: cannot compute sizeof (long long)
22771 See \`config.log' for more details." >&2;}
22772 { (exit 77); exit 77; }; }
22773 else
22774 ac_cv_sizeof_long_long=0
22775 fi
22776 fi
22777 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22778 fi
22779 rm -f conftest.val
22780 fi
22781 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22782 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22783
22784
22785
22786 cat >>confdefs.h <<_ACEOF
22787 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22788 _ACEOF
22789
22790
22791 esac
22792
22793 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22794 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22795 if test "${ac_cv_type_wchar_t+set}" = set; then
22796 echo $ECHO_N "(cached) $ECHO_C" >&6
22797 else
22798 cat >conftest.$ac_ext <<_ACEOF
22799 /* confdefs.h. */
22800 _ACEOF
22801 cat confdefs.h >>conftest.$ac_ext
22802 cat >>conftest.$ac_ext <<_ACEOF
22803 /* end confdefs.h. */
22804
22805 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22806 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22807 # error "fake wchar_t"
22808 #endif
22809 #ifdef HAVE_WCHAR_H
22810 # ifdef __CYGWIN__
22811 # include <stddef.h>
22812 # endif
22813 # include <wchar.h>
22814 #endif
22815 #ifdef HAVE_STDLIB_H
22816 # include <stdlib.h>
22817 #endif
22818 #include <stdio.h>
22819
22820
22821
22822 typedef wchar_t ac__type_new_;
22823 int
22824 main ()
22825 {
22826 if ((ac__type_new_ *) 0)
22827 return 0;
22828 if (sizeof (ac__type_new_))
22829 return 0;
22830 ;
22831 return 0;
22832 }
22833 _ACEOF
22834 rm -f conftest.$ac_objext
22835 if { (ac_try="$ac_compile"
22836 case "(($ac_try" in
22837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22838 *) ac_try_echo=$ac_try;;
22839 esac
22840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22841 (eval "$ac_compile") 2>conftest.er1
22842 ac_status=$?
22843 grep -v '^ *+' conftest.er1 >conftest.err
22844 rm -f conftest.er1
22845 cat conftest.err >&5
22846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22847 (exit $ac_status); } && {
22848 test -z "$ac_c_werror_flag" ||
22849 test ! -s conftest.err
22850 } && test -s conftest.$ac_objext; then
22851 ac_cv_type_wchar_t=yes
22852 else
22853 echo "$as_me: failed program was:" >&5
22854 sed 's/^/| /' conftest.$ac_ext >&5
22855
22856 ac_cv_type_wchar_t=no
22857 fi
22858
22859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22860 fi
22861 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22862 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22863
22864 # The cast to long int works around a bug in the HP C Compiler
22865 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22866 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22867 # This bug is HP SR number 8606223364.
22868 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22869 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22870 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22871 echo $ECHO_N "(cached) $ECHO_C" >&6
22872 else
22873 if test "$cross_compiling" = yes; then
22874 # Depending upon the size, compute the lo and hi bounds.
22875 cat >conftest.$ac_ext <<_ACEOF
22876 /* confdefs.h. */
22877 _ACEOF
22878 cat confdefs.h >>conftest.$ac_ext
22879 cat >>conftest.$ac_ext <<_ACEOF
22880 /* end confdefs.h. */
22881
22882 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22883 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22884 # error "fake wchar_t"
22885 #endif
22886 #ifdef HAVE_WCHAR_H
22887 # ifdef __CYGWIN__
22888 # include <stddef.h>
22889 # endif
22890 # include <wchar.h>
22891 #endif
22892 #ifdef HAVE_STDLIB_H
22893 # include <stdlib.h>
22894 #endif
22895 #include <stdio.h>
22896
22897
22898
22899 typedef wchar_t ac__type_sizeof_;
22900 int
22901 main ()
22902 {
22903 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22904 test_array [0] = 0
22905
22906 ;
22907 return 0;
22908 }
22909 _ACEOF
22910 rm -f conftest.$ac_objext
22911 if { (ac_try="$ac_compile"
22912 case "(($ac_try" in
22913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22914 *) ac_try_echo=$ac_try;;
22915 esac
22916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22917 (eval "$ac_compile") 2>conftest.er1
22918 ac_status=$?
22919 grep -v '^ *+' conftest.er1 >conftest.err
22920 rm -f conftest.er1
22921 cat conftest.err >&5
22922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22923 (exit $ac_status); } && {
22924 test -z "$ac_c_werror_flag" ||
22925 test ! -s conftest.err
22926 } && test -s conftest.$ac_objext; then
22927 ac_lo=0 ac_mid=0
22928 while :; do
22929 cat >conftest.$ac_ext <<_ACEOF
22930 /* confdefs.h. */
22931 _ACEOF
22932 cat confdefs.h >>conftest.$ac_ext
22933 cat >>conftest.$ac_ext <<_ACEOF
22934 /* end confdefs.h. */
22935
22936 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22937 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22938 # error "fake wchar_t"
22939 #endif
22940 #ifdef HAVE_WCHAR_H
22941 # ifdef __CYGWIN__
22942 # include <stddef.h>
22943 # endif
22944 # include <wchar.h>
22945 #endif
22946 #ifdef HAVE_STDLIB_H
22947 # include <stdlib.h>
22948 #endif
22949 #include <stdio.h>
22950
22951
22952
22953 typedef wchar_t ac__type_sizeof_;
22954 int
22955 main ()
22956 {
22957 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22958 test_array [0] = 0
22959
22960 ;
22961 return 0;
22962 }
22963 _ACEOF
22964 rm -f conftest.$ac_objext
22965 if { (ac_try="$ac_compile"
22966 case "(($ac_try" in
22967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22968 *) ac_try_echo=$ac_try;;
22969 esac
22970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22971 (eval "$ac_compile") 2>conftest.er1
22972 ac_status=$?
22973 grep -v '^ *+' conftest.er1 >conftest.err
22974 rm -f conftest.er1
22975 cat conftest.err >&5
22976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22977 (exit $ac_status); } && {
22978 test -z "$ac_c_werror_flag" ||
22979 test ! -s conftest.err
22980 } && test -s conftest.$ac_objext; then
22981 ac_hi=$ac_mid; break
22982 else
22983 echo "$as_me: failed program was:" >&5
22984 sed 's/^/| /' conftest.$ac_ext >&5
22985
22986 ac_lo=`expr $ac_mid + 1`
22987 if test $ac_lo -le $ac_mid; then
22988 ac_lo= ac_hi=
22989 break
22990 fi
22991 ac_mid=`expr 2 '*' $ac_mid + 1`
22992 fi
22993
22994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22995 done
22996 else
22997 echo "$as_me: failed program was:" >&5
22998 sed 's/^/| /' conftest.$ac_ext >&5
22999
23000 cat >conftest.$ac_ext <<_ACEOF
23001 /* confdefs.h. */
23002 _ACEOF
23003 cat confdefs.h >>conftest.$ac_ext
23004 cat >>conftest.$ac_ext <<_ACEOF
23005 /* end confdefs.h. */
23006
23007 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23008 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23009 # error "fake wchar_t"
23010 #endif
23011 #ifdef HAVE_WCHAR_H
23012 # ifdef __CYGWIN__
23013 # include <stddef.h>
23014 # endif
23015 # include <wchar.h>
23016 #endif
23017 #ifdef HAVE_STDLIB_H
23018 # include <stdlib.h>
23019 #endif
23020 #include <stdio.h>
23021
23022
23023
23024 typedef wchar_t ac__type_sizeof_;
23025 int
23026 main ()
23027 {
23028 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23029 test_array [0] = 0
23030
23031 ;
23032 return 0;
23033 }
23034 _ACEOF
23035 rm -f conftest.$ac_objext
23036 if { (ac_try="$ac_compile"
23037 case "(($ac_try" in
23038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23039 *) ac_try_echo=$ac_try;;
23040 esac
23041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23042 (eval "$ac_compile") 2>conftest.er1
23043 ac_status=$?
23044 grep -v '^ *+' conftest.er1 >conftest.err
23045 rm -f conftest.er1
23046 cat conftest.err >&5
23047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23048 (exit $ac_status); } && {
23049 test -z "$ac_c_werror_flag" ||
23050 test ! -s conftest.err
23051 } && test -s conftest.$ac_objext; then
23052 ac_hi=-1 ac_mid=-1
23053 while :; do
23054 cat >conftest.$ac_ext <<_ACEOF
23055 /* confdefs.h. */
23056 _ACEOF
23057 cat confdefs.h >>conftest.$ac_ext
23058 cat >>conftest.$ac_ext <<_ACEOF
23059 /* end confdefs.h. */
23060
23061 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23062 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23063 # error "fake wchar_t"
23064 #endif
23065 #ifdef HAVE_WCHAR_H
23066 # ifdef __CYGWIN__
23067 # include <stddef.h>
23068 # endif
23069 # include <wchar.h>
23070 #endif
23071 #ifdef HAVE_STDLIB_H
23072 # include <stdlib.h>
23073 #endif
23074 #include <stdio.h>
23075
23076
23077
23078 typedef wchar_t ac__type_sizeof_;
23079 int
23080 main ()
23081 {
23082 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23083 test_array [0] = 0
23084
23085 ;
23086 return 0;
23087 }
23088 _ACEOF
23089 rm -f conftest.$ac_objext
23090 if { (ac_try="$ac_compile"
23091 case "(($ac_try" in
23092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23093 *) ac_try_echo=$ac_try;;
23094 esac
23095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23096 (eval "$ac_compile") 2>conftest.er1
23097 ac_status=$?
23098 grep -v '^ *+' conftest.er1 >conftest.err
23099 rm -f conftest.er1
23100 cat conftest.err >&5
23101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23102 (exit $ac_status); } && {
23103 test -z "$ac_c_werror_flag" ||
23104 test ! -s conftest.err
23105 } && test -s conftest.$ac_objext; then
23106 ac_lo=$ac_mid; break
23107 else
23108 echo "$as_me: failed program was:" >&5
23109 sed 's/^/| /' conftest.$ac_ext >&5
23110
23111 ac_hi=`expr '(' $ac_mid ')' - 1`
23112 if test $ac_mid -le $ac_hi; then
23113 ac_lo= ac_hi=
23114 break
23115 fi
23116 ac_mid=`expr 2 '*' $ac_mid`
23117 fi
23118
23119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23120 done
23121 else
23122 echo "$as_me: failed program was:" >&5
23123 sed 's/^/| /' conftest.$ac_ext >&5
23124
23125 ac_lo= ac_hi=
23126 fi
23127
23128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23129 fi
23130
23131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23132 # Binary search between lo and hi bounds.
23133 while test "x$ac_lo" != "x$ac_hi"; do
23134 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23135 cat >conftest.$ac_ext <<_ACEOF
23136 /* confdefs.h. */
23137 _ACEOF
23138 cat confdefs.h >>conftest.$ac_ext
23139 cat >>conftest.$ac_ext <<_ACEOF
23140 /* end confdefs.h. */
23141
23142 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23143 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23144 # error "fake wchar_t"
23145 #endif
23146 #ifdef HAVE_WCHAR_H
23147 # ifdef __CYGWIN__
23148 # include <stddef.h>
23149 # endif
23150 # include <wchar.h>
23151 #endif
23152 #ifdef HAVE_STDLIB_H
23153 # include <stdlib.h>
23154 #endif
23155 #include <stdio.h>
23156
23157
23158
23159 typedef wchar_t ac__type_sizeof_;
23160 int
23161 main ()
23162 {
23163 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23164 test_array [0] = 0
23165
23166 ;
23167 return 0;
23168 }
23169 _ACEOF
23170 rm -f conftest.$ac_objext
23171 if { (ac_try="$ac_compile"
23172 case "(($ac_try" in
23173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23174 *) ac_try_echo=$ac_try;;
23175 esac
23176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23177 (eval "$ac_compile") 2>conftest.er1
23178 ac_status=$?
23179 grep -v '^ *+' conftest.er1 >conftest.err
23180 rm -f conftest.er1
23181 cat conftest.err >&5
23182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23183 (exit $ac_status); } && {
23184 test -z "$ac_c_werror_flag" ||
23185 test ! -s conftest.err
23186 } && test -s conftest.$ac_objext; then
23187 ac_hi=$ac_mid
23188 else
23189 echo "$as_me: failed program was:" >&5
23190 sed 's/^/| /' conftest.$ac_ext >&5
23191
23192 ac_lo=`expr '(' $ac_mid ')' + 1`
23193 fi
23194
23195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23196 done
23197 case $ac_lo in
23198 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23199 '') if test "$ac_cv_type_wchar_t" = yes; then
23200 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23201 See \`config.log' for more details." >&5
23202 echo "$as_me: error: cannot compute sizeof (wchar_t)
23203 See \`config.log' for more details." >&2;}
23204 { (exit 77); exit 77; }; }
23205 else
23206 ac_cv_sizeof_wchar_t=0
23207 fi ;;
23208 esac
23209 else
23210 cat >conftest.$ac_ext <<_ACEOF
23211 /* confdefs.h. */
23212 _ACEOF
23213 cat confdefs.h >>conftest.$ac_ext
23214 cat >>conftest.$ac_ext <<_ACEOF
23215 /* end confdefs.h. */
23216
23217 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23218 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23219 # error "fake wchar_t"
23220 #endif
23221 #ifdef HAVE_WCHAR_H
23222 # ifdef __CYGWIN__
23223 # include <stddef.h>
23224 # endif
23225 # include <wchar.h>
23226 #endif
23227 #ifdef HAVE_STDLIB_H
23228 # include <stdlib.h>
23229 #endif
23230 #include <stdio.h>
23231
23232
23233
23234 typedef wchar_t ac__type_sizeof_;
23235 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23236 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23237 #include <stdio.h>
23238 #include <stdlib.h>
23239 int
23240 main ()
23241 {
23242
23243 FILE *f = fopen ("conftest.val", "w");
23244 if (! f)
23245 return 1;
23246 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23247 {
23248 long int i = longval ();
23249 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23250 return 1;
23251 fprintf (f, "%ld\n", i);
23252 }
23253 else
23254 {
23255 unsigned long int i = ulongval ();
23256 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23257 return 1;
23258 fprintf (f, "%lu\n", i);
23259 }
23260 return ferror (f) || fclose (f) != 0;
23261
23262 ;
23263 return 0;
23264 }
23265 _ACEOF
23266 rm -f conftest$ac_exeext
23267 if { (ac_try="$ac_link"
23268 case "(($ac_try" in
23269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23270 *) ac_try_echo=$ac_try;;
23271 esac
23272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23273 (eval "$ac_link") 2>&5
23274 ac_status=$?
23275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23276 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23277 { (case "(($ac_try" in
23278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23279 *) ac_try_echo=$ac_try;;
23280 esac
23281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23282 (eval "$ac_try") 2>&5
23283 ac_status=$?
23284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23285 (exit $ac_status); }; }; then
23286 ac_cv_sizeof_wchar_t=`cat conftest.val`
23287 else
23288 echo "$as_me: program exited with status $ac_status" >&5
23289 echo "$as_me: failed program was:" >&5
23290 sed 's/^/| /' conftest.$ac_ext >&5
23291
23292 ( exit $ac_status )
23293 if test "$ac_cv_type_wchar_t" = yes; then
23294 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23295 See \`config.log' for more details." >&5
23296 echo "$as_me: error: cannot compute sizeof (wchar_t)
23297 See \`config.log' for more details." >&2;}
23298 { (exit 77); exit 77; }; }
23299 else
23300 ac_cv_sizeof_wchar_t=0
23301 fi
23302 fi
23303 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23304 fi
23305 rm -f conftest.val
23306 fi
23307 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23308 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23309
23310
23311
23312 cat >>confdefs.h <<_ACEOF
23313 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23314 _ACEOF
23315
23316
23317 if test "$ac_cv_sizeof_wchar_t" != 0; then
23318 wxUSE_WCHAR_T=yes
23319 else
23320 wxUSE_WCHAR_T=no
23321 fi
23322
23323 { echo "$as_me:$LINENO: checking for va_copy" >&5
23324 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23325 if test "${wx_cv_func_va_copy+set}" = set; then
23326 echo $ECHO_N "(cached) $ECHO_C" >&6
23327 else
23328
23329 ac_ext=cpp
23330 ac_cpp='$CXXCPP $CPPFLAGS'
23331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23334
23335 cat >conftest.$ac_ext <<_ACEOF
23336
23337 #include <stdarg.h>
23338 void foo(char *f, ...)
23339 {
23340 va_list ap1, ap2;
23341 va_start(ap1, f);
23342 va_copy(ap2, ap1);
23343 va_end(ap2);
23344 va_end(ap1);
23345 }
23346 int main()
23347 {
23348 foo("hi", 17);
23349 return 0;
23350 }
23351 _ACEOF
23352 rm -f conftest.$ac_objext conftest$ac_exeext
23353 if { (ac_try="$ac_link"
23354 case "(($ac_try" in
23355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23356 *) ac_try_echo=$ac_try;;
23357 esac
23358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23359 (eval "$ac_link") 2>conftest.er1
23360 ac_status=$?
23361 grep -v '^ *+' conftest.er1 >conftest.err
23362 rm -f conftest.er1
23363 cat conftest.err >&5
23364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23365 (exit $ac_status); } && {
23366 test -z "$ac_cxx_werror_flag" ||
23367 test ! -s conftest.err
23368 } && test -s conftest$ac_exeext &&
23369 $as_test_x conftest$ac_exeext; then
23370 wx_cv_func_va_copy=yes
23371 else
23372 echo "$as_me: failed program was:" >&5
23373 sed 's/^/| /' conftest.$ac_ext >&5
23374
23375 wx_cv_func_va_copy=no
23376
23377 fi
23378
23379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23380 conftest$ac_exeext conftest.$ac_ext
23381 ac_ext=c
23382 ac_cpp='$CPP $CPPFLAGS'
23383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23386
23387
23388
23389 fi
23390 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23391 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23392
23393 if test $wx_cv_func_va_copy = "yes"; then
23394 cat >>confdefs.h <<\_ACEOF
23395 #define HAVE_VA_COPY 1
23396 _ACEOF
23397
23398 else
23399 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23400 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23401 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23402 echo $ECHO_N "(cached) $ECHO_C" >&6
23403 else
23404
23405 if test "$cross_compiling" = yes; then
23406 wx_cv_type_va_list_lvalue=yes
23407
23408 else
23409 cat >conftest.$ac_ext <<_ACEOF
23410
23411 #include <stdarg.h>
23412 int foo(char *f, ...)
23413 {
23414 va_list ap1, ap2;
23415 va_start(ap1, f);
23416 ap2 = ap1;
23417 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23418 return 1;
23419 va_end(ap2);
23420 va_end(ap1);
23421 return 0;
23422 }
23423 int main()
23424 {
23425 return foo("hi", 17);
23426 }
23427 _ACEOF
23428 rm -f conftest$ac_exeext
23429 if { (ac_try="$ac_link"
23430 case "(($ac_try" in
23431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23432 *) ac_try_echo=$ac_try;;
23433 esac
23434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23435 (eval "$ac_link") 2>&5
23436 ac_status=$?
23437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23438 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23439 { (case "(($ac_try" in
23440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23441 *) ac_try_echo=$ac_try;;
23442 esac
23443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23444 (eval "$ac_try") 2>&5
23445 ac_status=$?
23446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23447 (exit $ac_status); }; }; then
23448 wx_cv_type_va_list_lvalue=yes
23449 else
23450 echo "$as_me: program exited with status $ac_status" >&5
23451 echo "$as_me: failed program was:" >&5
23452 sed 's/^/| /' conftest.$ac_ext >&5
23453
23454 ( exit $ac_status )
23455 wx_cv_type_va_list_lvalue=no
23456 fi
23457 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23458 fi
23459
23460
23461
23462
23463 fi
23464 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23465 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23466
23467 if test $wx_cv_type_va_list_lvalue != "yes"; then
23468 cat >>confdefs.h <<\_ACEOF
23469 #define VA_LIST_IS_ARRAY 1
23470 _ACEOF
23471
23472 fi
23473 fi
23474
23475 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23476
23477 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23478 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23479 if test "${wx_cv_have_variadic_macros+set}" = set; then
23480 echo $ECHO_N "(cached) $ECHO_C" >&6
23481 else
23482
23483 ac_ext=cpp
23484 ac_cpp='$CXXCPP $CPPFLAGS'
23485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23488
23489 cat >conftest.$ac_ext <<_ACEOF
23490 /* confdefs.h. */
23491 _ACEOF
23492 cat confdefs.h >>conftest.$ac_ext
23493 cat >>conftest.$ac_ext <<_ACEOF
23494 /* end confdefs.h. */
23495
23496 #include <stdio.h>
23497 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23498
23499 int
23500 main ()
23501 {
23502
23503 test("%s %d %p", "test", 1, 0);
23504
23505
23506 ;
23507 return 0;
23508 }
23509 _ACEOF
23510 rm -f conftest.$ac_objext
23511 if { (ac_try="$ac_compile"
23512 case "(($ac_try" in
23513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23514 *) ac_try_echo=$ac_try;;
23515 esac
23516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23517 (eval "$ac_compile") 2>conftest.er1
23518 ac_status=$?
23519 grep -v '^ *+' conftest.er1 >conftest.err
23520 rm -f conftest.er1
23521 cat conftest.err >&5
23522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23523 (exit $ac_status); } && {
23524 test -z "$ac_cxx_werror_flag" ||
23525 test ! -s conftest.err
23526 } && test -s conftest.$ac_objext; then
23527 wx_cv_have_variadic_macros=yes
23528 else
23529 echo "$as_me: failed program was:" >&5
23530 sed 's/^/| /' conftest.$ac_ext >&5
23531
23532 wx_cv_have_variadic_macros=no
23533
23534 fi
23535
23536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23537 ac_ext=c
23538 ac_cpp='$CPP $CPPFLAGS'
23539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23542
23543
23544
23545 fi
23546 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23547 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23548
23549 if test $wx_cv_have_variadic_macros = "yes"; then
23550 cat >>confdefs.h <<\_ACEOF
23551 #define HAVE_VARIADIC_MACROS 1
23552 _ACEOF
23553
23554 fi
23555
23556 fi
23557
23558 LARGEFILE_CPPFLAGS=
23559 # Check whether --enable-largefile was given.
23560 if test "${enable_largefile+set}" = set; then
23561 enableval=$enable_largefile;
23562 fi
23563
23564 if test "$enable_largefile" != no; then
23565 wx_largefile=no
23566
23567 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23568 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23569 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23570 echo $ECHO_N "(cached) $ECHO_C" >&6
23571 else
23572
23573 cat >conftest.$ac_ext <<_ACEOF
23574 /* confdefs.h. */
23575 _ACEOF
23576 cat confdefs.h >>conftest.$ac_ext
23577 cat >>conftest.$ac_ext <<_ACEOF
23578 /* end confdefs.h. */
23579 #define _FILE_OFFSET_BITS 64
23580 #include <sys/types.h>
23581 int
23582 main ()
23583 {
23584 typedef struct {
23585 unsigned int field: sizeof(off_t) == 8;
23586 } wxlf;
23587
23588 ;
23589 return 0;
23590 }
23591 _ACEOF
23592 rm -f conftest.$ac_objext
23593 if { (ac_try="$ac_compile"
23594 case "(($ac_try" in
23595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23596 *) ac_try_echo=$ac_try;;
23597 esac
23598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23599 (eval "$ac_compile") 2>conftest.er1
23600 ac_status=$?
23601 grep -v '^ *+' conftest.er1 >conftest.err
23602 rm -f conftest.er1
23603 cat conftest.err >&5
23604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23605 (exit $ac_status); } && {
23606 test -z "$ac_c_werror_flag" ||
23607 test ! -s conftest.err
23608 } && test -s conftest.$ac_objext; then
23609 ac_cv_sys_file_offset_bits=64
23610 else
23611 echo "$as_me: failed program was:" >&5
23612 sed 's/^/| /' conftest.$ac_ext >&5
23613
23614 ac_cv_sys_file_offset_bits=no
23615 fi
23616
23617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23618
23619
23620 fi
23621 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23622 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23623
23624 if test "$ac_cv_sys_file_offset_bits" != no; then
23625 wx_largefile=yes
23626 cat >>confdefs.h <<_ACEOF
23627 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23628 _ACEOF
23629
23630 fi
23631
23632 if test "x$wx_largefile" != "xyes"; then
23633
23634 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23635 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23636 if test "${ac_cv_sys_large_files+set}" = set; then
23637 echo $ECHO_N "(cached) $ECHO_C" >&6
23638 else
23639
23640 cat >conftest.$ac_ext <<_ACEOF
23641 /* confdefs.h. */
23642 _ACEOF
23643 cat confdefs.h >>conftest.$ac_ext
23644 cat >>conftest.$ac_ext <<_ACEOF
23645 /* end confdefs.h. */
23646 #define _LARGE_FILES 1
23647 #include <sys/types.h>
23648 int
23649 main ()
23650 {
23651 typedef struct {
23652 unsigned int field: sizeof(off_t) == 8;
23653 } wxlf;
23654
23655 ;
23656 return 0;
23657 }
23658 _ACEOF
23659 rm -f conftest.$ac_objext
23660 if { (ac_try="$ac_compile"
23661 case "(($ac_try" in
23662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23663 *) ac_try_echo=$ac_try;;
23664 esac
23665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23666 (eval "$ac_compile") 2>conftest.er1
23667 ac_status=$?
23668 grep -v '^ *+' conftest.er1 >conftest.err
23669 rm -f conftest.er1
23670 cat conftest.err >&5
23671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23672 (exit $ac_status); } && {
23673 test -z "$ac_c_werror_flag" ||
23674 test ! -s conftest.err
23675 } && test -s conftest.$ac_objext; then
23676 ac_cv_sys_large_files=1
23677 else
23678 echo "$as_me: failed program was:" >&5
23679 sed 's/^/| /' conftest.$ac_ext >&5
23680
23681 ac_cv_sys_large_files=no
23682 fi
23683
23684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23685
23686
23687 fi
23688 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23689 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23690
23691 if test "$ac_cv_sys_large_files" != no; then
23692 wx_largefile=yes
23693 cat >>confdefs.h <<_ACEOF
23694 #define _LARGE_FILES $ac_cv_sys_large_files
23695 _ACEOF
23696
23697 fi
23698
23699 fi
23700
23701 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23702 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23703 if test "x$wx_largefile" = "xyes"; then
23704 cat >>confdefs.h <<\_ACEOF
23705 #define HAVE_LARGEFILE_SUPPORT 1
23706 _ACEOF
23707
23708 fi
23709 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23710 echo "${ECHO_T}$wx_largefile" >&6; }
23711 fi
23712
23713 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23714 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23715 elif test "$ac_cv_sys_large_files" = 1; then
23716 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23717 fi
23718
23719 if test -n "$LARGEFILE_CPPFLAGS"; then
23720 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23721
23722 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23723 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23724 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23725 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23726 echo $ECHO_N "(cached) $ECHO_C" >&6
23727 else
23728
23729 ac_ext=cpp
23730 ac_cpp='$CXXCPP $CPPFLAGS'
23731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23734
23735 cat >conftest.$ac_ext <<_ACEOF
23736 /* confdefs.h. */
23737 _ACEOF
23738 cat confdefs.h >>conftest.$ac_ext
23739 cat >>conftest.$ac_ext <<_ACEOF
23740 /* end confdefs.h. */
23741
23742 int
23743 main ()
23744 {
23745
23746 #ifndef __STDC_EXT__
23747 choke me
23748 #endif
23749
23750 ;
23751 return 0;
23752 }
23753 _ACEOF
23754 rm -f conftest.$ac_objext
23755 if { (ac_try="$ac_compile"
23756 case "(($ac_try" in
23757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23758 *) ac_try_echo=$ac_try;;
23759 esac
23760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23761 (eval "$ac_compile") 2>conftest.er1
23762 ac_status=$?
23763 grep -v '^ *+' conftest.er1 >conftest.err
23764 rm -f conftest.er1
23765 cat conftest.err >&5
23766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23767 (exit $ac_status); } && {
23768 test -z "$ac_cxx_werror_flag" ||
23769 test ! -s conftest.err
23770 } && test -s conftest.$ac_objext; then
23771 wx_cv_STDC_EXT_required=no
23772 else
23773 echo "$as_me: failed program was:" >&5
23774 sed 's/^/| /' conftest.$ac_ext >&5
23775
23776 wx_cv_STDC_EXT_required=yes
23777
23778 fi
23779
23780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23781 ac_ext=c
23782 ac_cpp='$CPP $CPPFLAGS'
23783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23786
23787
23788
23789 fi
23790 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23791 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23792 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23793 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23794 fi
23795 fi
23796 fi
23797
23798 ac_ext=cpp
23799 ac_cpp='$CXXCPP $CPPFLAGS'
23800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23803
23804 old_CPPFLAGS="$CPPFLAGS"
23805 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
23806 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23807 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23808 if test "${ac_cv_sys_largefile_source+set}" = set; then
23809 echo $ECHO_N "(cached) $ECHO_C" >&6
23810 else
23811 while :; do
23812 cat >conftest.$ac_ext <<_ACEOF
23813 /* confdefs.h. */
23814 _ACEOF
23815 cat confdefs.h >>conftest.$ac_ext
23816 cat >>conftest.$ac_ext <<_ACEOF
23817 /* end confdefs.h. */
23818 #include <sys/types.h> /* for off_t */
23819 #include <stdio.h>
23820 int
23821 main ()
23822 {
23823 int (*fp) (FILE *, off_t, int) = fseeko;
23824 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23825 ;
23826 return 0;
23827 }
23828 _ACEOF
23829 rm -f conftest.$ac_objext conftest$ac_exeext
23830 if { (ac_try="$ac_link"
23831 case "(($ac_try" in
23832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23833 *) ac_try_echo=$ac_try;;
23834 esac
23835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23836 (eval "$ac_link") 2>conftest.er1
23837 ac_status=$?
23838 grep -v '^ *+' conftest.er1 >conftest.err
23839 rm -f conftest.er1
23840 cat conftest.err >&5
23841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23842 (exit $ac_status); } && {
23843 test -z "$ac_cxx_werror_flag" ||
23844 test ! -s conftest.err
23845 } && test -s conftest$ac_exeext &&
23846 $as_test_x conftest$ac_exeext; then
23847 ac_cv_sys_largefile_source=no; break
23848 else
23849 echo "$as_me: failed program was:" >&5
23850 sed 's/^/| /' conftest.$ac_ext >&5
23851
23852
23853 fi
23854
23855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23856 conftest$ac_exeext conftest.$ac_ext
23857 cat >conftest.$ac_ext <<_ACEOF
23858 /* confdefs.h. */
23859 _ACEOF
23860 cat confdefs.h >>conftest.$ac_ext
23861 cat >>conftest.$ac_ext <<_ACEOF
23862 /* end confdefs.h. */
23863 #define _LARGEFILE_SOURCE 1
23864 #include <sys/types.h> /* for off_t */
23865 #include <stdio.h>
23866 int
23867 main ()
23868 {
23869 int (*fp) (FILE *, off_t, int) = fseeko;
23870 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23871 ;
23872 return 0;
23873 }
23874 _ACEOF
23875 rm -f conftest.$ac_objext conftest$ac_exeext
23876 if { (ac_try="$ac_link"
23877 case "(($ac_try" in
23878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23879 *) ac_try_echo=$ac_try;;
23880 esac
23881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23882 (eval "$ac_link") 2>conftest.er1
23883 ac_status=$?
23884 grep -v '^ *+' conftest.er1 >conftest.err
23885 rm -f conftest.er1
23886 cat conftest.err >&5
23887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23888 (exit $ac_status); } && {
23889 test -z "$ac_cxx_werror_flag" ||
23890 test ! -s conftest.err
23891 } && test -s conftest$ac_exeext &&
23892 $as_test_x conftest$ac_exeext; then
23893 ac_cv_sys_largefile_source=1; break
23894 else
23895 echo "$as_me: failed program was:" >&5
23896 sed 's/^/| /' conftest.$ac_ext >&5
23897
23898
23899 fi
23900
23901 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23902 conftest$ac_exeext conftest.$ac_ext
23903 ac_cv_sys_largefile_source=unknown
23904 break
23905 done
23906 fi
23907 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23908 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23909 case $ac_cv_sys_largefile_source in #(
23910 no | unknown) ;;
23911 *)
23912 cat >>confdefs.h <<_ACEOF
23913 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23914 _ACEOF
23915 ;;
23916 esac
23917 rm -f conftest*
23918
23919 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23920 # in glibc 2.1.3, but that breaks too many other things.
23921 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23922 if test $ac_cv_sys_largefile_source != unknown; then
23923
23924 cat >>confdefs.h <<\_ACEOF
23925 #define HAVE_FSEEKO 1
23926 _ACEOF
23927
23928 fi
23929
23930 CPPFLAGS="$old_CPPFLAGS"
23931 ac_ext=c
23932 ac_cpp='$CPP $CPPFLAGS'
23933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23936
23937 if test "$ac_cv_sys_largefile_source" != no; then
23938 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23939 fi
23940
23941 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23942 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23943 if test "${ac_cv_c_bigendian+set}" = set; then
23944 echo $ECHO_N "(cached) $ECHO_C" >&6
23945 else
23946 ac_cv_c_bigendian=unknown
23947 # See if sys/param.h defines the BYTE_ORDER macro.
23948 cat >conftest.$ac_ext <<_ACEOF
23949 /* confdefs.h. */
23950 _ACEOF
23951 cat confdefs.h >>conftest.$ac_ext
23952 cat >>conftest.$ac_ext <<_ACEOF
23953 /* end confdefs.h. */
23954 #include <sys/types.h>
23955 #include <sys/param.h>
23956 int
23957 main ()
23958 {
23959
23960 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23961 bogus endian macros
23962 #endif
23963 ;
23964 return 0;
23965 }
23966 _ACEOF
23967 rm -f conftest.$ac_objext
23968 if { (ac_try="$ac_compile"
23969 case "(($ac_try" in
23970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23971 *) ac_try_echo=$ac_try;;
23972 esac
23973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23974 (eval "$ac_compile") 2>conftest.er1
23975 ac_status=$?
23976 grep -v '^ *+' conftest.er1 >conftest.err
23977 rm -f conftest.er1
23978 cat conftest.err >&5
23979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23980 (exit $ac_status); } && {
23981 test -z "$ac_c_werror_flag" ||
23982 test ! -s conftest.err
23983 } && test -s conftest.$ac_objext; then
23984 # It does; now see whether it defined to BIG_ENDIAN or not.
23985 cat >conftest.$ac_ext <<_ACEOF
23986 /* confdefs.h. */
23987 _ACEOF
23988 cat confdefs.h >>conftest.$ac_ext
23989 cat >>conftest.$ac_ext <<_ACEOF
23990 /* end confdefs.h. */
23991 #include <sys/types.h>
23992 #include <sys/param.h>
23993 int
23994 main ()
23995 {
23996
23997 #if BYTE_ORDER != BIG_ENDIAN
23998 not big endian
23999 #endif
24000 ;
24001 return 0;
24002 }
24003 _ACEOF
24004 rm -f conftest.$ac_objext
24005 if { (ac_try="$ac_compile"
24006 case "(($ac_try" in
24007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24008 *) ac_try_echo=$ac_try;;
24009 esac
24010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24011 (eval "$ac_compile") 2>conftest.er1
24012 ac_status=$?
24013 grep -v '^ *+' conftest.er1 >conftest.err
24014 rm -f conftest.er1
24015 cat conftest.err >&5
24016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24017 (exit $ac_status); } && {
24018 test -z "$ac_c_werror_flag" ||
24019 test ! -s conftest.err
24020 } && test -s conftest.$ac_objext; then
24021 ac_cv_c_bigendian=yes
24022 else
24023 echo "$as_me: failed program was:" >&5
24024 sed 's/^/| /' conftest.$ac_ext >&5
24025
24026 ac_cv_c_bigendian=no
24027 fi
24028
24029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24030 else
24031 echo "$as_me: failed program was:" >&5
24032 sed 's/^/| /' conftest.$ac_ext >&5
24033
24034
24035 fi
24036
24037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24038 if test $ac_cv_c_bigendian = unknown; then
24039 if test "$cross_compiling" = yes; then
24040 ac_cv_c_bigendian=unknown
24041 else
24042 cat >conftest.$ac_ext <<_ACEOF
24043 /* confdefs.h. */
24044 _ACEOF
24045 cat confdefs.h >>conftest.$ac_ext
24046 cat >>conftest.$ac_ext <<_ACEOF
24047 /* end confdefs.h. */
24048 main () {
24049 /* Are we little or big endian? From Harbison&Steele. */
24050 union
24051 {
24052 long l;
24053 char c[sizeof (long)];
24054 } u;
24055 u.l = 1;
24056 exit (u.c[sizeof (long) - 1] == 1);
24057 }
24058 _ACEOF
24059 rm -f conftest$ac_exeext
24060 if { (ac_try="$ac_link"
24061 case "(($ac_try" in
24062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24063 *) ac_try_echo=$ac_try;;
24064 esac
24065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24066 (eval "$ac_link") 2>&5
24067 ac_status=$?
24068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24069 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24070 { (case "(($ac_try" in
24071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24072 *) ac_try_echo=$ac_try;;
24073 esac
24074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24075 (eval "$ac_try") 2>&5
24076 ac_status=$?
24077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24078 (exit $ac_status); }; }; then
24079 ac_cv_c_bigendian=no
24080 else
24081 echo "$as_me: program exited with status $ac_status" >&5
24082 echo "$as_me: failed program was:" >&5
24083 sed 's/^/| /' conftest.$ac_ext >&5
24084
24085 ( exit $ac_status )
24086 ac_cv_c_bigendian=yes
24087 fi
24088 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24089 fi
24090
24091
24092 fi
24093 fi
24094 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24095 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24096 if test $ac_cv_c_bigendian = unknown; then
24097 { 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
24098 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;}
24099 fi
24100 if test $ac_cv_c_bigendian = yes; then
24101 cat >>confdefs.h <<\_ACEOF
24102 #define WORDS_BIGENDIAN 1
24103 _ACEOF
24104
24105 fi
24106
24107
24108
24109
24110 ac_ext=cpp
24111 ac_cpp='$CXXCPP $CPPFLAGS'
24112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24115
24116
24117
24118 for ac_header in iostream
24119 do
24120 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24121 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24122 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24123 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24124 echo $ECHO_N "(cached) $ECHO_C" >&6
24125 else
24126 cat >conftest.$ac_ext <<_ACEOF
24127 /* confdefs.h. */
24128 _ACEOF
24129 cat confdefs.h >>conftest.$ac_ext
24130 cat >>conftest.$ac_ext <<_ACEOF
24131 /* end confdefs.h. */
24132
24133
24134 #include <$ac_header>
24135 _ACEOF
24136 rm -f conftest.$ac_objext
24137 if { (ac_try="$ac_compile"
24138 case "(($ac_try" in
24139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24140 *) ac_try_echo=$ac_try;;
24141 esac
24142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24143 (eval "$ac_compile") 2>conftest.er1
24144 ac_status=$?
24145 grep -v '^ *+' conftest.er1 >conftest.err
24146 rm -f conftest.er1
24147 cat conftest.err >&5
24148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24149 (exit $ac_status); } && {
24150 test -z "$ac_cxx_werror_flag" ||
24151 test ! -s conftest.err
24152 } && test -s conftest.$ac_objext; then
24153 eval "$as_ac_Header=yes"
24154 else
24155 echo "$as_me: failed program was:" >&5
24156 sed 's/^/| /' conftest.$ac_ext >&5
24157
24158 eval "$as_ac_Header=no"
24159 fi
24160
24161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24162 fi
24163 ac_res=`eval echo '${'$as_ac_Header'}'`
24164 { echo "$as_me:$LINENO: result: $ac_res" >&5
24165 echo "${ECHO_T}$ac_res" >&6; }
24166 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24167 cat >>confdefs.h <<_ACEOF
24168 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24169 _ACEOF
24170
24171 fi
24172
24173 done
24174
24175
24176 if test "$ac_cv_header_iostream" = "yes" ; then
24177 :
24178 else
24179 cat >>confdefs.h <<\_ACEOF
24180 #define wxUSE_IOSTREAMH 1
24181 _ACEOF
24182
24183 fi
24184
24185 ac_ext=c
24186 ac_cpp='$CPP $CPPFLAGS'
24187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24190
24191
24192
24193
24194 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24195 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24196 if test "${wx_cv_explicit+set}" = set; then
24197 echo $ECHO_N "(cached) $ECHO_C" >&6
24198 else
24199
24200
24201 ac_ext=cpp
24202 ac_cpp='$CXXCPP $CPPFLAGS'
24203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24206
24207
24208 cat >conftest.$ac_ext <<_ACEOF
24209 /* confdefs.h. */
24210 _ACEOF
24211 cat confdefs.h >>conftest.$ac_ext
24212 cat >>conftest.$ac_ext <<_ACEOF
24213 /* end confdefs.h. */
24214
24215 class Foo { public: explicit Foo(int) {} };
24216
24217 int
24218 main ()
24219 {
24220
24221 return 0;
24222
24223 ;
24224 return 0;
24225 }
24226 _ACEOF
24227 rm -f conftest.$ac_objext
24228 if { (ac_try="$ac_compile"
24229 case "(($ac_try" in
24230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24231 *) ac_try_echo=$ac_try;;
24232 esac
24233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24234 (eval "$ac_compile") 2>conftest.er1
24235 ac_status=$?
24236 grep -v '^ *+' conftest.er1 >conftest.err
24237 rm -f conftest.er1
24238 cat conftest.err >&5
24239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24240 (exit $ac_status); } && {
24241 test -z "$ac_cxx_werror_flag" ||
24242 test ! -s conftest.err
24243 } && test -s conftest.$ac_objext; then
24244
24245 cat >conftest.$ac_ext <<_ACEOF
24246 /* confdefs.h. */
24247 _ACEOF
24248 cat confdefs.h >>conftest.$ac_ext
24249 cat >>conftest.$ac_ext <<_ACEOF
24250 /* end confdefs.h. */
24251
24252 class Foo { public: explicit Foo(int) {} };
24253 static void TakeFoo(const Foo& foo) { }
24254
24255 int
24256 main ()
24257 {
24258
24259 TakeFoo(17);
24260 return 0;
24261
24262 ;
24263 return 0;
24264 }
24265 _ACEOF
24266 rm -f conftest.$ac_objext
24267 if { (ac_try="$ac_compile"
24268 case "(($ac_try" in
24269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24270 *) ac_try_echo=$ac_try;;
24271 esac
24272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24273 (eval "$ac_compile") 2>conftest.er1
24274 ac_status=$?
24275 grep -v '^ *+' conftest.er1 >conftest.err
24276 rm -f conftest.er1
24277 cat conftest.err >&5
24278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24279 (exit $ac_status); } && {
24280 test -z "$ac_cxx_werror_flag" ||
24281 test ! -s conftest.err
24282 } && test -s conftest.$ac_objext; then
24283 wx_cv_explicit=no
24284 else
24285 echo "$as_me: failed program was:" >&5
24286 sed 's/^/| /' conftest.$ac_ext >&5
24287
24288 wx_cv_explicit=yes
24289
24290 fi
24291
24292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24293
24294 else
24295 echo "$as_me: failed program was:" >&5
24296 sed 's/^/| /' conftest.$ac_ext >&5
24297
24298 wx_cv_explicit=no
24299
24300 fi
24301
24302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24303
24304 ac_ext=c
24305 ac_cpp='$CPP $CPPFLAGS'
24306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24309
24310
24311 fi
24312 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24313 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24314
24315 if test "$wx_cv_explicit" = "yes"; then
24316 cat >>confdefs.h <<\_ACEOF
24317 #define HAVE_EXPLICIT 1
24318 _ACEOF
24319
24320 fi
24321
24322
24323 if test "x$SUNCXX" = xyes; then
24324 CXXFLAGS="-features=tmplife $CXXFLAGS"
24325 fi
24326
24327 if test "x$SUNCC" = xyes; then
24328 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24329 fi
24330
24331 if test "x$SGICC" = "xyes"; then
24332 CFLAGS="-woff 3970 $CFLAGS"
24333 fi
24334 if test "x$SGICXX" = "xyes"; then
24335 CXXFLAGS="-woff 3970 $CXXFLAGS"
24336 fi
24337
24338 if test "x$HPCC" = "xyes"; then
24339 CFLAGS="+W 2011,2450 $CFLAGS"
24340 fi
24341 if test "x$HPCXX" = "xyes"; then
24342 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24343 fi
24344
24345 if test "x$COMPAQCXX" = "xyes"; then
24346 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24347 fi
24348
24349 ac_ext=cpp
24350 ac_cpp='$CXXCPP $CPPFLAGS'
24351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24354
24355
24356 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24357 if test "$wxUSE_UNICODE" = "yes"; then
24358 std_string="std::wstring"
24359 char_type="wchar_t"
24360 else
24361 std_string="std::string"
24362 char_type="char"
24363 fi
24364
24365 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24366 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24367 if test "${wx_cv_class_stdstring+set}" = set; then
24368 echo $ECHO_N "(cached) $ECHO_C" >&6
24369 else
24370
24371 cat >conftest.$ac_ext <<_ACEOF
24372 /* confdefs.h. */
24373 _ACEOF
24374 cat confdefs.h >>conftest.$ac_ext
24375 cat >>conftest.$ac_ext <<_ACEOF
24376 /* end confdefs.h. */
24377 #include <string>
24378 int
24379 main ()
24380 {
24381 $std_string foo;
24382 ;
24383 return 0;
24384 }
24385 _ACEOF
24386 rm -f conftest.$ac_objext
24387 if { (ac_try="$ac_compile"
24388 case "(($ac_try" in
24389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24390 *) ac_try_echo=$ac_try;;
24391 esac
24392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24393 (eval "$ac_compile") 2>conftest.er1
24394 ac_status=$?
24395 grep -v '^ *+' conftest.er1 >conftest.err
24396 rm -f conftest.er1
24397 cat conftest.err >&5
24398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24399 (exit $ac_status); } && {
24400 test -z "$ac_cxx_werror_flag" ||
24401 test ! -s conftest.err
24402 } && test -s conftest.$ac_objext; then
24403 wx_cv_class_stdstring=yes
24404 else
24405 echo "$as_me: failed program was:" >&5
24406 sed 's/^/| /' conftest.$ac_ext >&5
24407
24408 wx_cv_class_stdstring=no
24409
24410 fi
24411
24412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24413
24414
24415 fi
24416 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24417 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24418
24419 if test "$wx_cv_class_stdstring" = yes; then
24420 if test "$wxUSE_UNICODE" = "yes"; then
24421 cat >>confdefs.h <<\_ACEOF
24422 #define HAVE_STD_WSTRING 1
24423 _ACEOF
24424
24425 fi
24426 else
24427 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24428 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24429 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24430 echo $ECHO_N "(cached) $ECHO_C" >&6
24431 else
24432
24433 cat >conftest.$ac_ext <<_ACEOF
24434 /* confdefs.h. */
24435 _ACEOF
24436 cat confdefs.h >>conftest.$ac_ext
24437 cat >>conftest.$ac_ext <<_ACEOF
24438 /* end confdefs.h. */
24439
24440 #ifdef HAVE_WCHAR_H
24441 # ifdef __CYGWIN__
24442 # include <stddef.h>
24443 # endif
24444 # include <wchar.h>
24445 #endif
24446 #ifdef HAVE_STDLIB_H
24447 # include <stdlib.h>
24448 #endif
24449 #include <stdio.h>
24450 #include <string>
24451
24452 int
24453 main ()
24454 {
24455 std::basic_string<$char_type> foo;
24456 const $char_type* dummy = foo.c_str();
24457 ;
24458 return 0;
24459 }
24460 _ACEOF
24461 rm -f conftest.$ac_objext
24462 if { (ac_try="$ac_compile"
24463 case "(($ac_try" in
24464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24465 *) ac_try_echo=$ac_try;;
24466 esac
24467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24468 (eval "$ac_compile") 2>conftest.er1
24469 ac_status=$?
24470 grep -v '^ *+' conftest.er1 >conftest.err
24471 rm -f conftest.er1
24472 cat conftest.err >&5
24473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24474 (exit $ac_status); } && {
24475 test -z "$ac_cxx_werror_flag" ||
24476 test ! -s conftest.err
24477 } && test -s conftest.$ac_objext; then
24478 wx_cv_class_stdbasicstring=yes
24479 else
24480 echo "$as_me: failed program was:" >&5
24481 sed 's/^/| /' conftest.$ac_ext >&5
24482
24483 wx_cv_class_stdbasicstring=no
24484
24485 fi
24486
24487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24488
24489
24490 fi
24491 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24492 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24493
24494 if test "$wx_cv_class_stdbasicstring" != yes; then
24495 if test "$wxUSE_STL" = "yes"; then
24496 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24497 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24498 { (exit 1); exit 1; }; }
24499 elif test "$wxUSE_STD_STRING" = "yes"; then
24500 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24501 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24502 { (exit 1); exit 1; }; }
24503 else
24504 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24505 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24506 wxUSE_STD_STRING=no
24507 fi
24508 fi
24509 fi
24510 fi
24511
24512 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24513 { echo "$as_me:$LINENO: checking for std::istream" >&5
24514 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24515 if test "${ac_cv_type_std__istream+set}" = set; then
24516 echo $ECHO_N "(cached) $ECHO_C" >&6
24517 else
24518 cat >conftest.$ac_ext <<_ACEOF
24519 /* confdefs.h. */
24520 _ACEOF
24521 cat confdefs.h >>conftest.$ac_ext
24522 cat >>conftest.$ac_ext <<_ACEOF
24523 /* end confdefs.h. */
24524 #include <iostream>
24525
24526 typedef std::istream ac__type_new_;
24527 int
24528 main ()
24529 {
24530 if ((ac__type_new_ *) 0)
24531 return 0;
24532 if (sizeof (ac__type_new_))
24533 return 0;
24534 ;
24535 return 0;
24536 }
24537 _ACEOF
24538 rm -f conftest.$ac_objext
24539 if { (ac_try="$ac_compile"
24540 case "(($ac_try" in
24541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24542 *) ac_try_echo=$ac_try;;
24543 esac
24544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24545 (eval "$ac_compile") 2>conftest.er1
24546 ac_status=$?
24547 grep -v '^ *+' conftest.er1 >conftest.err
24548 rm -f conftest.er1
24549 cat conftest.err >&5
24550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24551 (exit $ac_status); } && {
24552 test -z "$ac_cxx_werror_flag" ||
24553 test ! -s conftest.err
24554 } && test -s conftest.$ac_objext; then
24555 ac_cv_type_std__istream=yes
24556 else
24557 echo "$as_me: failed program was:" >&5
24558 sed 's/^/| /' conftest.$ac_ext >&5
24559
24560 ac_cv_type_std__istream=no
24561 fi
24562
24563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24564 fi
24565 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24566 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24567 if test $ac_cv_type_std__istream = yes; then
24568
24569 cat >>confdefs.h <<_ACEOF
24570 #define HAVE_STD__ISTREAM 1
24571 _ACEOF
24572
24573
24574 else
24575 wxUSE_STD_IOSTREAM=no
24576 fi
24577 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24578 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24579 if test "${ac_cv_type_std__ostream+set}" = set; then
24580 echo $ECHO_N "(cached) $ECHO_C" >&6
24581 else
24582 cat >conftest.$ac_ext <<_ACEOF
24583 /* confdefs.h. */
24584 _ACEOF
24585 cat confdefs.h >>conftest.$ac_ext
24586 cat >>conftest.$ac_ext <<_ACEOF
24587 /* end confdefs.h. */
24588 #include <iostream>
24589
24590 typedef std::ostream ac__type_new_;
24591 int
24592 main ()
24593 {
24594 if ((ac__type_new_ *) 0)
24595 return 0;
24596 if (sizeof (ac__type_new_))
24597 return 0;
24598 ;
24599 return 0;
24600 }
24601 _ACEOF
24602 rm -f conftest.$ac_objext
24603 if { (ac_try="$ac_compile"
24604 case "(($ac_try" in
24605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24606 *) ac_try_echo=$ac_try;;
24607 esac
24608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24609 (eval "$ac_compile") 2>conftest.er1
24610 ac_status=$?
24611 grep -v '^ *+' conftest.er1 >conftest.err
24612 rm -f conftest.er1
24613 cat conftest.err >&5
24614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24615 (exit $ac_status); } && {
24616 test -z "$ac_cxx_werror_flag" ||
24617 test ! -s conftest.err
24618 } && test -s conftest.$ac_objext; then
24619 ac_cv_type_std__ostream=yes
24620 else
24621 echo "$as_me: failed program was:" >&5
24622 sed 's/^/| /' conftest.$ac_ext >&5
24623
24624 ac_cv_type_std__ostream=no
24625 fi
24626
24627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24628 fi
24629 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24630 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24631 if test $ac_cv_type_std__ostream = yes; then
24632
24633 cat >>confdefs.h <<_ACEOF
24634 #define HAVE_STD__OSTREAM 1
24635 _ACEOF
24636
24637
24638 else
24639 wxUSE_STD_IOSTREAM=no
24640 fi
24641
24642
24643 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24644 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24645 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24646 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24647 { (exit 1); exit 1; }; }
24648 else
24649 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24650 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24651 fi
24652 fi
24653 fi
24654
24655 if test "$wxUSE_STL" = "yes"; then
24656 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24657 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24658 if test "${wx_cv_lib_stl+set}" = set; then
24659 echo $ECHO_N "(cached) $ECHO_C" >&6
24660 else
24661 cat >conftest.$ac_ext <<_ACEOF
24662 /* confdefs.h. */
24663 _ACEOF
24664 cat confdefs.h >>conftest.$ac_ext
24665 cat >>conftest.$ac_ext <<_ACEOF
24666 /* end confdefs.h. */
24667 #include <string>
24668 #include <functional>
24669 #include <algorithm>
24670 #include <vector>
24671 #include <list>
24672 int
24673 main ()
24674 {
24675 std::vector<int> moo;
24676 std::list<int> foo;
24677 std::vector<int>::iterator it =
24678 std::find_if(moo.begin(), moo.end(),
24679 std::bind2nd(std::less<int>(), 3));
24680 ;
24681 return 0;
24682 }
24683 _ACEOF
24684 rm -f conftest.$ac_objext
24685 if { (ac_try="$ac_compile"
24686 case "(($ac_try" in
24687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24688 *) ac_try_echo=$ac_try;;
24689 esac
24690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24691 (eval "$ac_compile") 2>conftest.er1
24692 ac_status=$?
24693 grep -v '^ *+' conftest.er1 >conftest.err
24694 rm -f conftest.er1
24695 cat conftest.err >&5
24696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24697 (exit $ac_status); } && {
24698 test -z "$ac_cxx_werror_flag" ||
24699 test ! -s conftest.err
24700 } && test -s conftest.$ac_objext; then
24701 wx_cv_lib_stl=yes
24702 else
24703 echo "$as_me: failed program was:" >&5
24704 sed 's/^/| /' conftest.$ac_ext >&5
24705
24706 wx_cv_lib_stl=no
24707
24708 fi
24709
24710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24711
24712 fi
24713 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24714 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24715
24716 if test "$wx_cv_lib_stl" != yes; then
24717 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24718 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24719 { (exit 1); exit 1; }; }
24720 fi
24721
24722 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24723 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24724 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24725 echo $ECHO_N "(cached) $ECHO_C" >&6
24726 else
24727 cat >conftest.$ac_ext <<_ACEOF
24728 /* confdefs.h. */
24729 _ACEOF
24730 cat confdefs.h >>conftest.$ac_ext
24731 cat >>conftest.$ac_ext <<_ACEOF
24732 /* end confdefs.h. */
24733 #include <string>
24734 int
24735 main ()
24736 {
24737 std::string foo, bar;
24738 foo.compare(bar);
24739 foo.compare(1, 1, bar);
24740 foo.compare(1, 1, bar, 1, 1);
24741 foo.compare("");
24742 foo.compare(1, 1, "");
24743 foo.compare(1, 1, "", 2);
24744 ;
24745 return 0;
24746 }
24747 _ACEOF
24748 rm -f conftest.$ac_objext
24749 if { (ac_try="$ac_compile"
24750 case "(($ac_try" in
24751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24752 *) ac_try_echo=$ac_try;;
24753 esac
24754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24755 (eval "$ac_compile") 2>conftest.er1
24756 ac_status=$?
24757 grep -v '^ *+' conftest.er1 >conftest.err
24758 rm -f conftest.er1
24759 cat conftest.err >&5
24760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24761 (exit $ac_status); } && {
24762 test -z "$ac_cxx_werror_flag" ||
24763 test ! -s conftest.err
24764 } && test -s conftest.$ac_objext; then
24765 wx_cv_func_stdstring_compare=yes
24766 else
24767 echo "$as_me: failed program was:" >&5
24768 sed 's/^/| /' conftest.$ac_ext >&5
24769
24770 wx_cv_func_stdstring_compare=no
24771
24772 fi
24773
24774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24775
24776 fi
24777 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24778 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24779
24780 if test "$wx_cv_func_stdstring_compare" = yes; then
24781 cat >>confdefs.h <<\_ACEOF
24782 #define HAVE_STD_STRING_COMPARE 1
24783 _ACEOF
24784
24785 fi
24786
24787 if test "$wx_cv_class_gnuhashmapset" = yes; then
24788 cat >>confdefs.h <<\_ACEOF
24789 #define HAVE_EXT_HASH_MAP 1
24790 _ACEOF
24791
24792 cat >>confdefs.h <<\_ACEOF
24793 #define HAVE_GNU_CXX_HASH_MAP 1
24794 _ACEOF
24795
24796 fi
24797
24798 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24799 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24800 if test "${ac_cv_header_unordered_map+set}" = set; then
24801 echo $ECHO_N "(cached) $ECHO_C" >&6
24802 else
24803 cat >conftest.$ac_ext <<_ACEOF
24804 /* confdefs.h. */
24805 _ACEOF
24806 cat confdefs.h >>conftest.$ac_ext
24807 cat >>conftest.$ac_ext <<_ACEOF
24808 /* end confdefs.h. */
24809
24810
24811
24812 #include <unordered_map>
24813 _ACEOF
24814 rm -f conftest.$ac_objext
24815 if { (ac_try="$ac_compile"
24816 case "(($ac_try" in
24817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24818 *) ac_try_echo=$ac_try;;
24819 esac
24820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24821 (eval "$ac_compile") 2>conftest.er1
24822 ac_status=$?
24823 grep -v '^ *+' conftest.er1 >conftest.err
24824 rm -f conftest.er1
24825 cat conftest.err >&5
24826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24827 (exit $ac_status); } && {
24828 test -z "$ac_cxx_werror_flag" ||
24829 test ! -s conftest.err
24830 } && test -s conftest.$ac_objext; then
24831 ac_cv_header_unordered_map=yes
24832 else
24833 echo "$as_me: failed program was:" >&5
24834 sed 's/^/| /' conftest.$ac_ext >&5
24835
24836 ac_cv_header_unordered_map=no
24837 fi
24838
24839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24840 fi
24841 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24842 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24843 if test $ac_cv_header_unordered_map = yes; then
24844 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24845 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24846 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24847 echo $ECHO_N "(cached) $ECHO_C" >&6
24848 else
24849 cat >conftest.$ac_ext <<_ACEOF
24850 /* confdefs.h. */
24851 _ACEOF
24852 cat confdefs.h >>conftest.$ac_ext
24853 cat >>conftest.$ac_ext <<_ACEOF
24854 /* end confdefs.h. */
24855 #include <unordered_map>
24856 #include <unordered_set>
24857 int
24858 main ()
24859 {
24860 std::unordered_map<double*, char*> test1;
24861 std::unordered_set<char*> test2;
24862 ;
24863 return 0;
24864 }
24865 _ACEOF
24866 rm -f conftest.$ac_objext
24867 if { (ac_try="$ac_compile"
24868 case "(($ac_try" in
24869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24870 *) ac_try_echo=$ac_try;;
24871 esac
24872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24873 (eval "$ac_compile") 2>conftest.er1
24874 ac_status=$?
24875 grep -v '^ *+' conftest.er1 >conftest.err
24876 rm -f conftest.er1
24877 cat conftest.err >&5
24878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24879 (exit $ac_status); } && {
24880 test -z "$ac_cxx_werror_flag" ||
24881 test ! -s conftest.err
24882 } && test -s conftest.$ac_objext; then
24883 wx_cv_class_stdunorderedmapset=yes
24884 else
24885 echo "$as_me: failed program was:" >&5
24886 sed 's/^/| /' conftest.$ac_ext >&5
24887
24888 wx_cv_class_stdunorderedmapset=no
24889 fi
24890
24891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24892
24893
24894 fi
24895 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
24896 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
24897 fi
24898
24899
24900
24901 if test "$wx_cv_class_stdunorderedmapset" = yes; then
24902 cat >>confdefs.h <<\_ACEOF
24903 #define HAVE_STD_UNORDERED_MAP 1
24904 _ACEOF
24905
24906 cat >>confdefs.h <<\_ACEOF
24907 #define HAVE_STD_UNORDERED_SET 1
24908 _ACEOF
24909
24910 else
24911 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
24912 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
24913 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
24914 echo $ECHO_N "(cached) $ECHO_C" >&6
24915 else
24916 cat >conftest.$ac_ext <<_ACEOF
24917 /* confdefs.h. */
24918 _ACEOF
24919 cat confdefs.h >>conftest.$ac_ext
24920 cat >>conftest.$ac_ext <<_ACEOF
24921 /* end confdefs.h. */
24922
24923
24924
24925 #include <tr1/unordered_map>
24926 _ACEOF
24927 rm -f conftest.$ac_objext
24928 if { (ac_try="$ac_compile"
24929 case "(($ac_try" in
24930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24931 *) ac_try_echo=$ac_try;;
24932 esac
24933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24934 (eval "$ac_compile") 2>conftest.er1
24935 ac_status=$?
24936 grep -v '^ *+' conftest.er1 >conftest.err
24937 rm -f conftest.er1
24938 cat conftest.err >&5
24939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24940 (exit $ac_status); } && {
24941 test -z "$ac_cxx_werror_flag" ||
24942 test ! -s conftest.err
24943 } && test -s conftest.$ac_objext; then
24944 ac_cv_header_tr1_unordered_map=yes
24945 else
24946 echo "$as_me: failed program was:" >&5
24947 sed 's/^/| /' conftest.$ac_ext >&5
24948
24949 ac_cv_header_tr1_unordered_map=no
24950 fi
24951
24952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24953 fi
24954 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
24955 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
24956 if test $ac_cv_header_tr1_unordered_map = yes; then
24957 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
24958 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
24959 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
24960 echo $ECHO_N "(cached) $ECHO_C" >&6
24961 else
24962 cat >conftest.$ac_ext <<_ACEOF
24963 /* confdefs.h. */
24964 _ACEOF
24965 cat confdefs.h >>conftest.$ac_ext
24966 cat >>conftest.$ac_ext <<_ACEOF
24967 /* end confdefs.h. */
24968 #include <tr1/unordered_map>
24969 #include <tr1/unordered_set>
24970 int
24971 main ()
24972 {
24973 std::tr1::unordered_map<double*, char*> test1;
24974 std::tr1::unordered_set<char*> test2;
24975 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
24976 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
24977 #endif
24978 ;
24979 return 0;
24980 }
24981 _ACEOF
24982 rm -f conftest.$ac_objext
24983 if { (ac_try="$ac_compile"
24984 case "(($ac_try" in
24985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24986 *) ac_try_echo=$ac_try;;
24987 esac
24988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24989 (eval "$ac_compile") 2>conftest.er1
24990 ac_status=$?
24991 grep -v '^ *+' conftest.er1 >conftest.err
24992 rm -f conftest.er1
24993 cat conftest.err >&5
24994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24995 (exit $ac_status); } && {
24996 test -z "$ac_cxx_werror_flag" ||
24997 test ! -s conftest.err
24998 } && test -s conftest.$ac_objext; then
24999 wx_cv_class_tr1unorderedmapset=yes
25000 else
25001 echo "$as_me: failed program was:" >&5
25002 sed 's/^/| /' conftest.$ac_ext >&5
25003
25004 wx_cv_class_tr1unorderedmapset=no
25005 fi
25006
25007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25008
25009
25010 fi
25011 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25012 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25013 fi
25014
25015
25016
25017 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25018 cat >>confdefs.h <<\_ACEOF
25019 #define HAVE_TR1_UNORDERED_MAP 1
25020 _ACEOF
25021
25022 cat >>confdefs.h <<\_ACEOF
25023 #define HAVE_TR1_UNORDERED_SET 1
25024 _ACEOF
25025
25026 else
25027 { echo "$as_me:$LINENO: checking for hash_map" >&5
25028 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25029 if test "${ac_cv_header_hash_map+set}" = set; then
25030 echo $ECHO_N "(cached) $ECHO_C" >&6
25031 else
25032 cat >conftest.$ac_ext <<_ACEOF
25033 /* confdefs.h. */
25034 _ACEOF
25035 cat confdefs.h >>conftest.$ac_ext
25036 cat >>conftest.$ac_ext <<_ACEOF
25037 /* end confdefs.h. */
25038
25039
25040
25041 #include <hash_map>
25042 _ACEOF
25043 rm -f conftest.$ac_objext
25044 if { (ac_try="$ac_compile"
25045 case "(($ac_try" in
25046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25047 *) ac_try_echo=$ac_try;;
25048 esac
25049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25050 (eval "$ac_compile") 2>conftest.er1
25051 ac_status=$?
25052 grep -v '^ *+' conftest.er1 >conftest.err
25053 rm -f conftest.er1
25054 cat conftest.err >&5
25055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25056 (exit $ac_status); } && {
25057 test -z "$ac_cxx_werror_flag" ||
25058 test ! -s conftest.err
25059 } && test -s conftest.$ac_objext; then
25060 ac_cv_header_hash_map=yes
25061 else
25062 echo "$as_me: failed program was:" >&5
25063 sed 's/^/| /' conftest.$ac_ext >&5
25064
25065 ac_cv_header_hash_map=no
25066 fi
25067
25068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25069 fi
25070 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25071 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25072 if test $ac_cv_header_hash_map = yes; then
25073 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25074 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25075 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25076 echo $ECHO_N "(cached) $ECHO_C" >&6
25077 else
25078 cat >conftest.$ac_ext <<_ACEOF
25079 /* confdefs.h. */
25080 _ACEOF
25081 cat confdefs.h >>conftest.$ac_ext
25082 cat >>conftest.$ac_ext <<_ACEOF
25083 /* end confdefs.h. */
25084 #include <hash_map>
25085 #include <hash_set>
25086 int
25087 main ()
25088 {
25089 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25090 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25091 ;
25092 return 0;
25093 }
25094 _ACEOF
25095 rm -f conftest.$ac_objext
25096 if { (ac_try="$ac_compile"
25097 case "(($ac_try" in
25098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25099 *) ac_try_echo=$ac_try;;
25100 esac
25101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25102 (eval "$ac_compile") 2>conftest.er1
25103 ac_status=$?
25104 grep -v '^ *+' conftest.er1 >conftest.err
25105 rm -f conftest.er1
25106 cat conftest.err >&5
25107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25108 (exit $ac_status); } && {
25109 test -z "$ac_cxx_werror_flag" ||
25110 test ! -s conftest.err
25111 } && test -s conftest.$ac_objext; then
25112 wx_cv_class_stdhashmapset=yes
25113 else
25114 echo "$as_me: failed program was:" >&5
25115 sed 's/^/| /' conftest.$ac_ext >&5
25116
25117 wx_cv_class_stdhashmapset=no
25118 fi
25119
25120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25121
25122
25123 fi
25124 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25125 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25126 fi
25127
25128
25129
25130 if test "$wx_cv_class_stdhashmapset" = yes; then
25131 cat >>confdefs.h <<\_ACEOF
25132 #define HAVE_HASH_MAP 1
25133 _ACEOF
25134
25135 cat >>confdefs.h <<\_ACEOF
25136 #define HAVE_STD_HASH_MAP 1
25137 _ACEOF
25138
25139 fi
25140
25141 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25142 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25143 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25144 echo $ECHO_N "(cached) $ECHO_C" >&6
25145 else
25146 cat >conftest.$ac_ext <<_ACEOF
25147 /* confdefs.h. */
25148 _ACEOF
25149 cat confdefs.h >>conftest.$ac_ext
25150 cat >>conftest.$ac_ext <<_ACEOF
25151 /* end confdefs.h. */
25152
25153
25154
25155 #include <ext/hash_map>
25156 _ACEOF
25157 rm -f conftest.$ac_objext
25158 if { (ac_try="$ac_compile"
25159 case "(($ac_try" in
25160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25161 *) ac_try_echo=$ac_try;;
25162 esac
25163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25164 (eval "$ac_compile") 2>conftest.er1
25165 ac_status=$?
25166 grep -v '^ *+' conftest.er1 >conftest.err
25167 rm -f conftest.er1
25168 cat conftest.err >&5
25169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25170 (exit $ac_status); } && {
25171 test -z "$ac_cxx_werror_flag" ||
25172 test ! -s conftest.err
25173 } && test -s conftest.$ac_objext; then
25174 ac_cv_header_ext_hash_map=yes
25175 else
25176 echo "$as_me: failed program was:" >&5
25177 sed 's/^/| /' conftest.$ac_ext >&5
25178
25179 ac_cv_header_ext_hash_map=no
25180 fi
25181
25182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25183 fi
25184 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25185 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25186 if test $ac_cv_header_ext_hash_map = yes; then
25187 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25188 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25189 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25190 echo $ECHO_N "(cached) $ECHO_C" >&6
25191 else
25192 cat >conftest.$ac_ext <<_ACEOF
25193 /* confdefs.h. */
25194 _ACEOF
25195 cat confdefs.h >>conftest.$ac_ext
25196 cat >>conftest.$ac_ext <<_ACEOF
25197 /* end confdefs.h. */
25198 #include <ext/hash_map>
25199 #include <ext/hash_set>
25200 int
25201 main ()
25202 {
25203 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25204 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25205 ;
25206 return 0;
25207 }
25208 _ACEOF
25209 rm -f conftest.$ac_objext
25210 if { (ac_try="$ac_compile"
25211 case "(($ac_try" in
25212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25213 *) ac_try_echo=$ac_try;;
25214 esac
25215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25216 (eval "$ac_compile") 2>conftest.er1
25217 ac_status=$?
25218 grep -v '^ *+' conftest.er1 >conftest.err
25219 rm -f conftest.er1
25220 cat conftest.err >&5
25221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25222 (exit $ac_status); } && {
25223 test -z "$ac_cxx_werror_flag" ||
25224 test ! -s conftest.err
25225 } && test -s conftest.$ac_objext; then
25226 wx_cv_class_gnuhashmapset=yes
25227 else
25228 echo "$as_me: failed program was:" >&5
25229 sed 's/^/| /' conftest.$ac_ext >&5
25230
25231 wx_cv_class_gnuhashmapset=no
25232 fi
25233
25234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25235
25236
25237 fi
25238 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25239 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25240 fi
25241
25242
25243
25244 fi
25245 fi
25246 fi
25247
25248
25249
25250 if test -n "$GCC"; then
25251 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25252 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25253 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25254 echo $ECHO_N "(cached) $ECHO_C" >&6
25255 else
25256
25257 cat >conftest.$ac_ext <<_ACEOF
25258 /* confdefs.h. */
25259 _ACEOF
25260 cat confdefs.h >>conftest.$ac_ext
25261 cat >>conftest.$ac_ext <<_ACEOF
25262 /* end confdefs.h. */
25263
25264 int
25265 main ()
25266 {
25267
25268 unsigned int value=0;
25269 /* wxAtomicInc doesn't use return value here */
25270 __sync_fetch_and_add(&value, 2);
25271 __sync_sub_and_fetch(&value, 1);
25272 /* but wxAtomicDec does, so mimic that: */
25273 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25274
25275 ;
25276 return 0;
25277 }
25278 _ACEOF
25279 rm -f conftest.$ac_objext conftest$ac_exeext
25280 if { (ac_try="$ac_link"
25281 case "(($ac_try" in
25282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25283 *) ac_try_echo=$ac_try;;
25284 esac
25285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25286 (eval "$ac_link") 2>conftest.er1
25287 ac_status=$?
25288 grep -v '^ *+' conftest.er1 >conftest.err
25289 rm -f conftest.er1
25290 cat conftest.err >&5
25291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25292 (exit $ac_status); } && {
25293 test -z "$ac_cxx_werror_flag" ||
25294 test ! -s conftest.err
25295 } && test -s conftest$ac_exeext &&
25296 $as_test_x conftest$ac_exeext; then
25297 wx_cv_cc_gcc_atomic_builtins=yes
25298 else
25299 echo "$as_me: failed program was:" >&5
25300 sed 's/^/| /' conftest.$ac_ext >&5
25301
25302 wx_cv_cc_gcc_atomic_builtins=no
25303 fi
25304
25305 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25306 conftest$ac_exeext conftest.$ac_ext
25307
25308 fi
25309
25310 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25311 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25312 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25313 cat >>confdefs.h <<\_ACEOF
25314 #define HAVE_GCC_ATOMIC_BUILTINS 1
25315 _ACEOF
25316
25317 fi
25318 fi
25319
25320
25321 ac_ext=c
25322 ac_cpp='$CPP $CPPFLAGS'
25323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25326
25327
25328
25329 SEARCH_INCLUDE="\
25330 /usr/local/include \
25331 /usr/local/X11/include \
25332 /usr/local/include/X11 \
25333 /usr/local/X11R6/include \
25334 /usr/local/include/X11R6 \
25335 \
25336 /usr/Motif-2.1/include \
25337 /usr/Motif-1.2/include \
25338 /usr/include/Motif1.2 \
25339 \
25340 /usr/dt/include \
25341 /usr/openwin/include \
25342 \
25343 /usr/include/Xm \
25344 \
25345 /usr/X11R6/include \
25346 /usr/X11R6.4/include \
25347 \
25348 /usr/include/X11R6 \
25349 \
25350 /usr/X11/include \
25351 /usr/include/X11 \
25352 \
25353 /usr/XFree86/include/X11 \
25354 /usr/pkg/include \
25355 \
25356 /usr/local/X1R5/include \
25357 /usr/local/include/X11R5 \
25358 /usr/X11R5/include \
25359 /usr/include/X11R5 \
25360 \
25361 /usr/local/X11R4/include \
25362 /usr/local/include/X11R4 \
25363 /usr/X11R4/include \
25364 /usr/include/X11R4 \
25365 \
25366 /usr/openwin/share/include"
25367
25368 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25369 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25370
25371 case "${host}" in
25372 *-*-irix6* )
25373 if test "${wx_cv_std_libpath+set}" = set; then
25374 echo $ECHO_N "(cached) $ECHO_C" >&6
25375 else
25376
25377 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25378 for e in a so sl dylib dll.a; do
25379 libc="$d/libc.$e"
25380 if test -f $libc; then
25381 save_LIBS="$LIBS"
25382 LIBS="$libc"
25383 cat >conftest.$ac_ext <<_ACEOF
25384 int main() { return 0; }
25385 _ACEOF
25386 rm -f conftest.$ac_objext conftest$ac_exeext
25387 if { (ac_try="$ac_link"
25388 case "(($ac_try" in
25389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25390 *) ac_try_echo=$ac_try;;
25391 esac
25392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25393 (eval "$ac_link") 2>conftest.er1
25394 ac_status=$?
25395 grep -v '^ *+' conftest.er1 >conftest.err
25396 rm -f conftest.er1
25397 cat conftest.err >&5
25398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25399 (exit $ac_status); } && {
25400 test -z "$ac_c_werror_flag" ||
25401 test ! -s conftest.err
25402 } && test -s conftest$ac_exeext &&
25403 $as_test_x conftest$ac_exeext; then
25404 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25405 else
25406 echo "$as_me: failed program was:" >&5
25407 sed 's/^/| /' conftest.$ac_ext >&5
25408
25409
25410 fi
25411
25412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25413 conftest$ac_exeext conftest.$ac_ext
25414 LIBS="$save_LIBS"
25415 if test "x$wx_cv_std_libpath" != "x"; then
25416 break 2
25417 fi
25418 fi
25419 done
25420 done
25421 if test "x$wx_cv_std_libpath" = "x"; then
25422 wx_cv_std_libpath="lib"
25423 fi
25424
25425
25426 fi
25427
25428 ;;
25429
25430 *-*-solaris2* )
25431 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25432 wx_cv_std_libpath="lib/64"
25433 else
25434 wx_cv_std_libpath="lib"
25435 fi
25436 ;;
25437
25438 *-*-linux* )
25439 if test "$ac_cv_sizeof_void_p" = 8 -a \
25440 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25441 wx_cv_std_libpath="lib64"
25442 else
25443 wx_cv_std_libpath="lib"
25444 fi
25445 ;;
25446
25447 *)
25448 wx_cv_std_libpath="lib";
25449 ;;
25450 esac
25451
25452 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25453 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25454
25455 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25456
25457 if test "$build" != "$host" -a "$GCC" = yes; then
25458 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25459 cross_root=`dirname $cross_root`
25460 cross_root=`dirname $cross_root`
25461
25462 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25463 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25464 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25465
25466 if test -z "$PKG_CONFIG_PATH"; then
25467 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25468 export PKG_CONFIG_PATH
25469 fi
25470
25471 if test -z "$x_includes" -o "$x_includes" = NONE; then
25472
25473 ac_find_includes=
25474 for ac_dir in $SEARCH_INCLUDE /usr/include;
25475 do
25476 if test -f "$ac_dir/X11/Intrinsic.h"; then
25477 ac_find_includes=$ac_dir
25478 break
25479 fi
25480 done
25481
25482 x_includes=$ac_find_includes
25483 fi
25484 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25485
25486 ac_find_libraries=
25487 for ac_dir in $SEARCH_LIB;
25488 do
25489 for ac_extension in a so sl dylib dll.a; do
25490 if test -f "$ac_dir/libXt.$ac_extension"; then
25491 ac_find_libraries=$ac_dir
25492 break 2
25493 fi
25494 done
25495 done
25496
25497 x_libraries=$ac_find_libraries
25498 fi
25499 fi
25500 fi
25501
25502
25503 cat >confcache <<\_ACEOF
25504 # This file is a shell script that caches the results of configure
25505 # tests run on this system so they can be shared between configure
25506 # scripts and configure runs, see configure's option --config-cache.
25507 # It is not useful on other systems. If it contains results you don't
25508 # want to keep, you may remove or edit it.
25509 #
25510 # config.status only pays attention to the cache file if you give it
25511 # the --recheck option to rerun configure.
25512 #
25513 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25514 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25515 # following values.
25516
25517 _ACEOF
25518
25519 # The following way of writing the cache mishandles newlines in values,
25520 # but we know of no workaround that is simple, portable, and efficient.
25521 # So, we kill variables containing newlines.
25522 # Ultrix sh set writes to stderr and can't be redirected directly,
25523 # and sets the high bit in the cache file unless we assign to the vars.
25524 (
25525 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25526 eval ac_val=\$$ac_var
25527 case $ac_val in #(
25528 *${as_nl}*)
25529 case $ac_var in #(
25530 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25531 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25532 esac
25533 case $ac_var in #(
25534 _ | IFS | as_nl) ;; #(
25535 *) $as_unset $ac_var ;;
25536 esac ;;
25537 esac
25538 done
25539
25540 (set) 2>&1 |
25541 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25542 *${as_nl}ac_space=\ *)
25543 # `set' does not quote correctly, so add quotes (double-quote
25544 # substitution turns \\\\ into \\, and sed turns \\ into \).
25545 sed -n \
25546 "s/'/'\\\\''/g;
25547 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25548 ;; #(
25549 *)
25550 # `set' quotes correctly as required by POSIX, so do not add quotes.
25551 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25552 ;;
25553 esac |
25554 sort
25555 ) |
25556 sed '
25557 /^ac_cv_env_/b end
25558 t clear
25559 :clear
25560 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25561 t end
25562 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25563 :end' >>confcache
25564 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25565 if test -w "$cache_file"; then
25566 test "x$cache_file" != "x/dev/null" &&
25567 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25568 echo "$as_me: updating cache $cache_file" >&6;}
25569 cat confcache >$cache_file
25570 else
25571 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25572 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25573 fi
25574 fi
25575 rm -f confcache
25576
25577 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25578 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25579 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25580 if test "${wx_cv_lib_glibc21+set}" = set; then
25581 echo $ECHO_N "(cached) $ECHO_C" >&6
25582 else
25583
25584 cat >conftest.$ac_ext <<_ACEOF
25585 /* confdefs.h. */
25586 _ACEOF
25587 cat confdefs.h >>conftest.$ac_ext
25588 cat >>conftest.$ac_ext <<_ACEOF
25589 /* end confdefs.h. */
25590 #include <features.h>
25591 int
25592 main ()
25593 {
25594
25595 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25596 not glibc 2.1
25597 #endif
25598
25599 ;
25600 return 0;
25601 }
25602 _ACEOF
25603 rm -f conftest.$ac_objext
25604 if { (ac_try="$ac_compile"
25605 case "(($ac_try" in
25606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25607 *) ac_try_echo=$ac_try;;
25608 esac
25609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25610 (eval "$ac_compile") 2>conftest.er1
25611 ac_status=$?
25612 grep -v '^ *+' conftest.er1 >conftest.err
25613 rm -f conftest.er1
25614 cat conftest.err >&5
25615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25616 (exit $ac_status); } && {
25617 test -z "$ac_c_werror_flag" ||
25618 test ! -s conftest.err
25619 } && test -s conftest.$ac_objext; then
25620
25621 wx_cv_lib_glibc21=yes
25622
25623 else
25624 echo "$as_me: failed program was:" >&5
25625 sed 's/^/| /' conftest.$ac_ext >&5
25626
25627
25628 wx_cv_lib_glibc21=no
25629
25630
25631 fi
25632
25633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25634
25635 fi
25636 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25637 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25638 if test "$wx_cv_lib_glibc21" = "yes"; then
25639 cat >>confdefs.h <<\_ACEOF
25640 #define wxHAVE_GLIBC2 1
25641 _ACEOF
25642
25643 fi
25644 fi
25645
25646 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25647 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25648 cat >>confdefs.h <<\_ACEOF
25649 #define _GNU_SOURCE 1
25650 _ACEOF
25651
25652 fi
25653 fi
25654
25655 have_cos=0
25656 have_floor=0
25657
25658 for ac_func in cos
25659 do
25660 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25661 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25663 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25664 echo $ECHO_N "(cached) $ECHO_C" >&6
25665 else
25666 cat >conftest.$ac_ext <<_ACEOF
25667 /* confdefs.h. */
25668 _ACEOF
25669 cat confdefs.h >>conftest.$ac_ext
25670 cat >>conftest.$ac_ext <<_ACEOF
25671 /* end confdefs.h. */
25672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25673 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25674 #define $ac_func innocuous_$ac_func
25675
25676 /* System header to define __stub macros and hopefully few prototypes,
25677 which can conflict with char $ac_func (); below.
25678 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25679 <limits.h> exists even on freestanding compilers. */
25680
25681 #ifdef __STDC__
25682 # include <limits.h>
25683 #else
25684 # include <assert.h>
25685 #endif
25686
25687 #undef $ac_func
25688
25689 /* Override any GCC internal prototype to avoid an error.
25690 Use char because int might match the return type of a GCC
25691 builtin and then its argument prototype would still apply. */
25692 #ifdef __cplusplus
25693 extern "C"
25694 #endif
25695 char $ac_func ();
25696 /* The GNU C library defines this for functions which it implements
25697 to always fail with ENOSYS. Some functions are actually named
25698 something starting with __ and the normal name is an alias. */
25699 #if defined __stub_$ac_func || defined __stub___$ac_func
25700 choke me
25701 #endif
25702
25703 int
25704 main ()
25705 {
25706 return $ac_func ();
25707 ;
25708 return 0;
25709 }
25710 _ACEOF
25711 rm -f conftest.$ac_objext conftest$ac_exeext
25712 if { (ac_try="$ac_link"
25713 case "(($ac_try" in
25714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25715 *) ac_try_echo=$ac_try;;
25716 esac
25717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25718 (eval "$ac_link") 2>conftest.er1
25719 ac_status=$?
25720 grep -v '^ *+' conftest.er1 >conftest.err
25721 rm -f conftest.er1
25722 cat conftest.err >&5
25723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25724 (exit $ac_status); } && {
25725 test -z "$ac_c_werror_flag" ||
25726 test ! -s conftest.err
25727 } && test -s conftest$ac_exeext &&
25728 $as_test_x conftest$ac_exeext; then
25729 eval "$as_ac_var=yes"
25730 else
25731 echo "$as_me: failed program was:" >&5
25732 sed 's/^/| /' conftest.$ac_ext >&5
25733
25734 eval "$as_ac_var=no"
25735 fi
25736
25737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25738 conftest$ac_exeext conftest.$ac_ext
25739 fi
25740 ac_res=`eval echo '${'$as_ac_var'}'`
25741 { echo "$as_me:$LINENO: result: $ac_res" >&5
25742 echo "${ECHO_T}$ac_res" >&6; }
25743 if test `eval echo '${'$as_ac_var'}'` = yes; then
25744 cat >>confdefs.h <<_ACEOF
25745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25746 _ACEOF
25747 have_cos=1
25748 fi
25749 done
25750
25751
25752 for ac_func in floor
25753 do
25754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25755 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25757 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25758 echo $ECHO_N "(cached) $ECHO_C" >&6
25759 else
25760 cat >conftest.$ac_ext <<_ACEOF
25761 /* confdefs.h. */
25762 _ACEOF
25763 cat confdefs.h >>conftest.$ac_ext
25764 cat >>conftest.$ac_ext <<_ACEOF
25765 /* end confdefs.h. */
25766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25768 #define $ac_func innocuous_$ac_func
25769
25770 /* System header to define __stub macros and hopefully few prototypes,
25771 which can conflict with char $ac_func (); below.
25772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25773 <limits.h> exists even on freestanding compilers. */
25774
25775 #ifdef __STDC__
25776 # include <limits.h>
25777 #else
25778 # include <assert.h>
25779 #endif
25780
25781 #undef $ac_func
25782
25783 /* Override any GCC internal prototype to avoid an error.
25784 Use char because int might match the return type of a GCC
25785 builtin and then its argument prototype would still apply. */
25786 #ifdef __cplusplus
25787 extern "C"
25788 #endif
25789 char $ac_func ();
25790 /* The GNU C library defines this for functions which it implements
25791 to always fail with ENOSYS. Some functions are actually named
25792 something starting with __ and the normal name is an alias. */
25793 #if defined __stub_$ac_func || defined __stub___$ac_func
25794 choke me
25795 #endif
25796
25797 int
25798 main ()
25799 {
25800 return $ac_func ();
25801 ;
25802 return 0;
25803 }
25804 _ACEOF
25805 rm -f conftest.$ac_objext conftest$ac_exeext
25806 if { (ac_try="$ac_link"
25807 case "(($ac_try" in
25808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25809 *) ac_try_echo=$ac_try;;
25810 esac
25811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25812 (eval "$ac_link") 2>conftest.er1
25813 ac_status=$?
25814 grep -v '^ *+' conftest.er1 >conftest.err
25815 rm -f conftest.er1
25816 cat conftest.err >&5
25817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25818 (exit $ac_status); } && {
25819 test -z "$ac_c_werror_flag" ||
25820 test ! -s conftest.err
25821 } && test -s conftest$ac_exeext &&
25822 $as_test_x conftest$ac_exeext; then
25823 eval "$as_ac_var=yes"
25824 else
25825 echo "$as_me: failed program was:" >&5
25826 sed 's/^/| /' conftest.$ac_ext >&5
25827
25828 eval "$as_ac_var=no"
25829 fi
25830
25831 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25832 conftest$ac_exeext conftest.$ac_ext
25833 fi
25834 ac_res=`eval echo '${'$as_ac_var'}'`
25835 { echo "$as_me:$LINENO: result: $ac_res" >&5
25836 echo "${ECHO_T}$ac_res" >&6; }
25837 if test `eval echo '${'$as_ac_var'}'` = yes; then
25838 cat >>confdefs.h <<_ACEOF
25839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25840 _ACEOF
25841 have_floor=1
25842 fi
25843 done
25844
25845 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25846 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25847 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25848 { echo "$as_me:$LINENO: result: yes" >&5
25849 echo "${ECHO_T}yes" >&6; }
25850 else
25851 { echo "$as_me:$LINENO: result: no" >&5
25852 echo "${ECHO_T}no" >&6; }
25853 LIBS="$LIBS -lm"
25854 # use different functions to avoid configure caching
25855 have_sin=0
25856 have_ceil=0
25857
25858 for ac_func in sin
25859 do
25860 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25861 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25863 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25864 echo $ECHO_N "(cached) $ECHO_C" >&6
25865 else
25866 cat >conftest.$ac_ext <<_ACEOF
25867 /* confdefs.h. */
25868 _ACEOF
25869 cat confdefs.h >>conftest.$ac_ext
25870 cat >>conftest.$ac_ext <<_ACEOF
25871 /* end confdefs.h. */
25872 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25874 #define $ac_func innocuous_$ac_func
25875
25876 /* System header to define __stub macros and hopefully few prototypes,
25877 which can conflict with char $ac_func (); below.
25878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25879 <limits.h> exists even on freestanding compilers. */
25880
25881 #ifdef __STDC__
25882 # include <limits.h>
25883 #else
25884 # include <assert.h>
25885 #endif
25886
25887 #undef $ac_func
25888
25889 /* Override any GCC internal prototype to avoid an error.
25890 Use char because int might match the return type of a GCC
25891 builtin and then its argument prototype would still apply. */
25892 #ifdef __cplusplus
25893 extern "C"
25894 #endif
25895 char $ac_func ();
25896 /* The GNU C library defines this for functions which it implements
25897 to always fail with ENOSYS. Some functions are actually named
25898 something starting with __ and the normal name is an alias. */
25899 #if defined __stub_$ac_func || defined __stub___$ac_func
25900 choke me
25901 #endif
25902
25903 int
25904 main ()
25905 {
25906 return $ac_func ();
25907 ;
25908 return 0;
25909 }
25910 _ACEOF
25911 rm -f conftest.$ac_objext conftest$ac_exeext
25912 if { (ac_try="$ac_link"
25913 case "(($ac_try" in
25914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25915 *) ac_try_echo=$ac_try;;
25916 esac
25917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25918 (eval "$ac_link") 2>conftest.er1
25919 ac_status=$?
25920 grep -v '^ *+' conftest.er1 >conftest.err
25921 rm -f conftest.er1
25922 cat conftest.err >&5
25923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25924 (exit $ac_status); } && {
25925 test -z "$ac_c_werror_flag" ||
25926 test ! -s conftest.err
25927 } && test -s conftest$ac_exeext &&
25928 $as_test_x conftest$ac_exeext; then
25929 eval "$as_ac_var=yes"
25930 else
25931 echo "$as_me: failed program was:" >&5
25932 sed 's/^/| /' conftest.$ac_ext >&5
25933
25934 eval "$as_ac_var=no"
25935 fi
25936
25937 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25938 conftest$ac_exeext conftest.$ac_ext
25939 fi
25940 ac_res=`eval echo '${'$as_ac_var'}'`
25941 { echo "$as_me:$LINENO: result: $ac_res" >&5
25942 echo "${ECHO_T}$ac_res" >&6; }
25943 if test `eval echo '${'$as_ac_var'}'` = yes; then
25944 cat >>confdefs.h <<_ACEOF
25945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25946 _ACEOF
25947 have_sin=1
25948 fi
25949 done
25950
25951
25952 for ac_func in ceil
25953 do
25954 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25955 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25957 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25958 echo $ECHO_N "(cached) $ECHO_C" >&6
25959 else
25960 cat >conftest.$ac_ext <<_ACEOF
25961 /* confdefs.h. */
25962 _ACEOF
25963 cat confdefs.h >>conftest.$ac_ext
25964 cat >>conftest.$ac_ext <<_ACEOF
25965 /* end confdefs.h. */
25966 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25967 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25968 #define $ac_func innocuous_$ac_func
25969
25970 /* System header to define __stub macros and hopefully few prototypes,
25971 which can conflict with char $ac_func (); below.
25972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25973 <limits.h> exists even on freestanding compilers. */
25974
25975 #ifdef __STDC__
25976 # include <limits.h>
25977 #else
25978 # include <assert.h>
25979 #endif
25980
25981 #undef $ac_func
25982
25983 /* Override any GCC internal prototype to avoid an error.
25984 Use char because int might match the return type of a GCC
25985 builtin and then its argument prototype would still apply. */
25986 #ifdef __cplusplus
25987 extern "C"
25988 #endif
25989 char $ac_func ();
25990 /* The GNU C library defines this for functions which it implements
25991 to always fail with ENOSYS. Some functions are actually named
25992 something starting with __ and the normal name is an alias. */
25993 #if defined __stub_$ac_func || defined __stub___$ac_func
25994 choke me
25995 #endif
25996
25997 int
25998 main ()
25999 {
26000 return $ac_func ();
26001 ;
26002 return 0;
26003 }
26004 _ACEOF
26005 rm -f conftest.$ac_objext conftest$ac_exeext
26006 if { (ac_try="$ac_link"
26007 case "(($ac_try" in
26008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26009 *) ac_try_echo=$ac_try;;
26010 esac
26011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26012 (eval "$ac_link") 2>conftest.er1
26013 ac_status=$?
26014 grep -v '^ *+' conftest.er1 >conftest.err
26015 rm -f conftest.er1
26016 cat conftest.err >&5
26017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26018 (exit $ac_status); } && {
26019 test -z "$ac_c_werror_flag" ||
26020 test ! -s conftest.err
26021 } && test -s conftest$ac_exeext &&
26022 $as_test_x conftest$ac_exeext; then
26023 eval "$as_ac_var=yes"
26024 else
26025 echo "$as_me: failed program was:" >&5
26026 sed 's/^/| /' conftest.$ac_ext >&5
26027
26028 eval "$as_ac_var=no"
26029 fi
26030
26031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26032 conftest$ac_exeext conftest.$ac_ext
26033 fi
26034 ac_res=`eval echo '${'$as_ac_var'}'`
26035 { echo "$as_me:$LINENO: result: $ac_res" >&5
26036 echo "${ECHO_T}$ac_res" >&6; }
26037 if test `eval echo '${'$as_ac_var'}'` = yes; then
26038 cat >>confdefs.h <<_ACEOF
26039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26040 _ACEOF
26041 have_ceil=1
26042 fi
26043 done
26044
26045 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26046 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26047 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26048 { echo "$as_me:$LINENO: result: yes" >&5
26049 echo "${ECHO_T}yes" >&6; }
26050 else
26051 { echo "$as_me:$LINENO: result: no" >&5
26052 echo "${ECHO_T}no" >&6; }
26053 # not sure we should warn the user, crash, etc.
26054 fi
26055 fi
26056
26057 ac_ext=cpp
26058 ac_cpp='$CXXCPP $CPPFLAGS'
26059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26062
26063 if test "wxUSE_UNICODE" = "yes"; then
26064
26065 for wx_func in wcstoull
26066 do
26067 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26068 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26069 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26070 echo $ECHO_N "(cached) $ECHO_C" >&6
26071 else
26072
26073 cat >conftest.$ac_ext <<_ACEOF
26074
26075 /* confdefs.h. */
26076 _ACEOF
26077 cat confdefs.h >>conftest.$ac_ext
26078 cat >>conftest.$ac_ext <<_ACEOF
26079 /* end confdefs.h. */
26080
26081
26082 $ac_includes_default
26083
26084 int
26085 main ()
26086 {
26087
26088 #ifndef $wx_func
26089 &$wx_func;
26090 #endif
26091
26092
26093 ;
26094 return 0;
26095 }
26096
26097 _ACEOF
26098 rm -f conftest.$ac_objext conftest$ac_exeext
26099 if { (ac_try="$ac_link"
26100 case "(($ac_try" in
26101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26102 *) ac_try_echo=$ac_try;;
26103 esac
26104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26105 (eval "$ac_link") 2>conftest.er1
26106 ac_status=$?
26107 grep -v '^ *+' conftest.er1 >conftest.err
26108 rm -f conftest.er1
26109 cat conftest.err >&5
26110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26111 (exit $ac_status); } && {
26112 test -z "$ac_cxx_werror_flag" ||
26113 test ! -s conftest.err
26114 } && test -s conftest$ac_exeext &&
26115 $as_test_x conftest$ac_exeext; then
26116 eval wx_cv_func_$wx_func=yes
26117 else
26118 echo "$as_me: failed program was:" >&5
26119 sed 's/^/| /' conftest.$ac_ext >&5
26120
26121 eval wx_cv_func_$wx_func=no
26122 fi
26123
26124 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26125 conftest$ac_exeext conftest.$ac_ext
26126
26127 fi
26128 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26129 { echo "$as_me:$LINENO: result: $ac_res" >&5
26130 echo "${ECHO_T}$ac_res" >&6; }
26131
26132 if eval test \$wx_cv_func_$wx_func = yes
26133 then
26134 cat >>confdefs.h <<_ACEOF
26135 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26136 _ACEOF
26137
26138
26139 else
26140 :
26141
26142 fi
26143 done
26144
26145 else
26146
26147 for wx_func in strtoull
26148 do
26149 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26150 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26151 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26152 echo $ECHO_N "(cached) $ECHO_C" >&6
26153 else
26154
26155 cat >conftest.$ac_ext <<_ACEOF
26156
26157 /* confdefs.h. */
26158 _ACEOF
26159 cat confdefs.h >>conftest.$ac_ext
26160 cat >>conftest.$ac_ext <<_ACEOF
26161 /* end confdefs.h. */
26162
26163
26164 $ac_includes_default
26165
26166 int
26167 main ()
26168 {
26169
26170 #ifndef $wx_func
26171 &$wx_func;
26172 #endif
26173
26174
26175 ;
26176 return 0;
26177 }
26178
26179 _ACEOF
26180 rm -f conftest.$ac_objext conftest$ac_exeext
26181 if { (ac_try="$ac_link"
26182 case "(($ac_try" in
26183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26184 *) ac_try_echo=$ac_try;;
26185 esac
26186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26187 (eval "$ac_link") 2>conftest.er1
26188 ac_status=$?
26189 grep -v '^ *+' conftest.er1 >conftest.err
26190 rm -f conftest.er1
26191 cat conftest.err >&5
26192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26193 (exit $ac_status); } && {
26194 test -z "$ac_cxx_werror_flag" ||
26195 test ! -s conftest.err
26196 } && test -s conftest$ac_exeext &&
26197 $as_test_x conftest$ac_exeext; then
26198 eval wx_cv_func_$wx_func=yes
26199 else
26200 echo "$as_me: failed program was:" >&5
26201 sed 's/^/| /' conftest.$ac_ext >&5
26202
26203 eval wx_cv_func_$wx_func=no
26204 fi
26205
26206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26207 conftest$ac_exeext conftest.$ac_ext
26208
26209 fi
26210 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26211 { echo "$as_me:$LINENO: result: $ac_res" >&5
26212 echo "${ECHO_T}$ac_res" >&6; }
26213
26214 if eval test \$wx_cv_func_$wx_func = yes
26215 then
26216 cat >>confdefs.h <<_ACEOF
26217 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26218 _ACEOF
26219
26220
26221 else
26222 :
26223
26224 fi
26225 done
26226
26227 fi
26228 ac_ext=c
26229 ac_cpp='$CPP $CPPFLAGS'
26230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26233
26234
26235
26236
26237 if test "$wxUSE_REGEX" != "no"; then
26238 cat >>confdefs.h <<\_ACEOF
26239 #define wxUSE_REGEX 1
26240 _ACEOF
26241
26242
26243 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26244 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26245 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26246 wxUSE_REGEX=builtin
26247 fi
26248
26249 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26250 { echo "$as_me:$LINENO: checking for regex.h" >&5
26251 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26252 if test "${ac_cv_header_regex_h+set}" = set; then
26253 echo $ECHO_N "(cached) $ECHO_C" >&6
26254 else
26255 cat >conftest.$ac_ext <<_ACEOF
26256 /* confdefs.h. */
26257 _ACEOF
26258 cat confdefs.h >>conftest.$ac_ext
26259 cat >>conftest.$ac_ext <<_ACEOF
26260 /* end confdefs.h. */
26261
26262
26263 #include <regex.h>
26264 _ACEOF
26265 rm -f conftest.$ac_objext
26266 if { (ac_try="$ac_compile"
26267 case "(($ac_try" in
26268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26269 *) ac_try_echo=$ac_try;;
26270 esac
26271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26272 (eval "$ac_compile") 2>conftest.er1
26273 ac_status=$?
26274 grep -v '^ *+' conftest.er1 >conftest.err
26275 rm -f conftest.er1
26276 cat conftest.err >&5
26277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26278 (exit $ac_status); } && {
26279 test -z "$ac_c_werror_flag" ||
26280 test ! -s conftest.err
26281 } && test -s conftest.$ac_objext; then
26282 ac_cv_header_regex_h=yes
26283 else
26284 echo "$as_me: failed program was:" >&5
26285 sed 's/^/| /' conftest.$ac_ext >&5
26286
26287 ac_cv_header_regex_h=no
26288 fi
26289
26290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26291 fi
26292 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26293 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26294 if test $ac_cv_header_regex_h = yes; then
26295
26296
26297 for ac_func in regcomp re_search
26298 do
26299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26300 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26302 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26303 echo $ECHO_N "(cached) $ECHO_C" >&6
26304 else
26305 cat >conftest.$ac_ext <<_ACEOF
26306 /* confdefs.h. */
26307 _ACEOF
26308 cat confdefs.h >>conftest.$ac_ext
26309 cat >>conftest.$ac_ext <<_ACEOF
26310 /* end confdefs.h. */
26311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26313 #define $ac_func innocuous_$ac_func
26314
26315 /* System header to define __stub macros and hopefully few prototypes,
26316 which can conflict with char $ac_func (); below.
26317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26318 <limits.h> exists even on freestanding compilers. */
26319
26320 #ifdef __STDC__
26321 # include <limits.h>
26322 #else
26323 # include <assert.h>
26324 #endif
26325
26326 #undef $ac_func
26327
26328 /* Override any GCC internal prototype to avoid an error.
26329 Use char because int might match the return type of a GCC
26330 builtin and then its argument prototype would still apply. */
26331 #ifdef __cplusplus
26332 extern "C"
26333 #endif
26334 char $ac_func ();
26335 /* The GNU C library defines this for functions which it implements
26336 to always fail with ENOSYS. Some functions are actually named
26337 something starting with __ and the normal name is an alias. */
26338 #if defined __stub_$ac_func || defined __stub___$ac_func
26339 choke me
26340 #endif
26341
26342 int
26343 main ()
26344 {
26345 return $ac_func ();
26346 ;
26347 return 0;
26348 }
26349 _ACEOF
26350 rm -f conftest.$ac_objext conftest$ac_exeext
26351 if { (ac_try="$ac_link"
26352 case "(($ac_try" in
26353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26354 *) ac_try_echo=$ac_try;;
26355 esac
26356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26357 (eval "$ac_link") 2>conftest.er1
26358 ac_status=$?
26359 grep -v '^ *+' conftest.er1 >conftest.err
26360 rm -f conftest.er1
26361 cat conftest.err >&5
26362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26363 (exit $ac_status); } && {
26364 test -z "$ac_c_werror_flag" ||
26365 test ! -s conftest.err
26366 } && test -s conftest$ac_exeext &&
26367 $as_test_x conftest$ac_exeext; then
26368 eval "$as_ac_var=yes"
26369 else
26370 echo "$as_me: failed program was:" >&5
26371 sed 's/^/| /' conftest.$ac_ext >&5
26372
26373 eval "$as_ac_var=no"
26374 fi
26375
26376 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26377 conftest$ac_exeext conftest.$ac_ext
26378 fi
26379 ac_res=`eval echo '${'$as_ac_var'}'`
26380 { echo "$as_me:$LINENO: result: $ac_res" >&5
26381 echo "${ECHO_T}$ac_res" >&6; }
26382 if test `eval echo '${'$as_ac_var'}'` = yes; then
26383 cat >>confdefs.h <<_ACEOF
26384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26385 _ACEOF
26386
26387 fi
26388 done
26389
26390 fi
26391
26392
26393
26394 if test "x$ac_cv_func_regcomp" != "xyes"; then
26395 if test "$wxUSE_REGEX" = "sys" ; then
26396 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26397 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26398 { (exit 1); exit 1; }; }
26399 else
26400 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26401 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26402 wxUSE_REGEX=builtin
26403 fi
26404 else
26405 wxUSE_REGEX=sys
26406 cat >>confdefs.h <<\_ACEOF
26407 #define WX_NO_REGEX_ADVANCED 1
26408 _ACEOF
26409
26410 fi
26411 fi
26412 fi
26413
26414
26415 ZLIB_LINK=
26416 if test "$wxUSE_ZLIB" != "no" ; then
26417 cat >>confdefs.h <<\_ACEOF
26418 #define wxUSE_ZLIB 1
26419 _ACEOF
26420
26421
26422 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26423 if test "$USE_DARWIN" = 1; then
26424 system_zlib_h_ok="yes"
26425 else
26426 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26427 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26428 if test "${ac_cv_header_zlib_h+set}" = set; then
26429 echo $ECHO_N "(cached) $ECHO_C" >&6
26430 else
26431 if test "$cross_compiling" = yes; then
26432 unset ac_cv_header_zlib_h
26433
26434 else
26435 cat >conftest.$ac_ext <<_ACEOF
26436 /* confdefs.h. */
26437 _ACEOF
26438 cat confdefs.h >>conftest.$ac_ext
26439 cat >>conftest.$ac_ext <<_ACEOF
26440 /* end confdefs.h. */
26441
26442 #include <zlib.h>
26443 #include <stdio.h>
26444
26445 int main()
26446 {
26447 FILE *f=fopen("conftestval", "w");
26448 if (!f) exit(1);
26449 fprintf(f, "%s",
26450 ZLIB_VERSION[0] == '1' &&
26451 (ZLIB_VERSION[2] > '1' ||
26452 (ZLIB_VERSION[2] == '1' &&
26453 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26454 exit(0);
26455 }
26456
26457 _ACEOF
26458 rm -f conftest$ac_exeext
26459 if { (ac_try="$ac_link"
26460 case "(($ac_try" in
26461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26462 *) ac_try_echo=$ac_try;;
26463 esac
26464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26465 (eval "$ac_link") 2>&5
26466 ac_status=$?
26467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26468 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26469 { (case "(($ac_try" in
26470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26471 *) ac_try_echo=$ac_try;;
26472 esac
26473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26474 (eval "$ac_try") 2>&5
26475 ac_status=$?
26476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26477 (exit $ac_status); }; }; then
26478 ac_cv_header_zlib_h=`cat conftestval`
26479 else
26480 echo "$as_me: program exited with status $ac_status" >&5
26481 echo "$as_me: failed program was:" >&5
26482 sed 's/^/| /' conftest.$ac_ext >&5
26483
26484 ( exit $ac_status )
26485 ac_cv_header_zlib_h=no
26486 fi
26487 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26488 fi
26489
26490
26491
26492 fi
26493 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26494 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26495 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26496 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26497 if test "${ac_cv_header_zlib_h+set}" = set; then
26498 echo $ECHO_N "(cached) $ECHO_C" >&6
26499 else
26500 cat >conftest.$ac_ext <<_ACEOF
26501 /* confdefs.h. */
26502 _ACEOF
26503 cat confdefs.h >>conftest.$ac_ext
26504 cat >>conftest.$ac_ext <<_ACEOF
26505 /* end confdefs.h. */
26506
26507
26508 #include <zlib.h>
26509 _ACEOF
26510 rm -f conftest.$ac_objext
26511 if { (ac_try="$ac_compile"
26512 case "(($ac_try" in
26513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26514 *) ac_try_echo=$ac_try;;
26515 esac
26516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26517 (eval "$ac_compile") 2>conftest.er1
26518 ac_status=$?
26519 grep -v '^ *+' conftest.er1 >conftest.err
26520 rm -f conftest.er1
26521 cat conftest.err >&5
26522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26523 (exit $ac_status); } && {
26524 test -z "$ac_c_werror_flag" ||
26525 test ! -s conftest.err
26526 } && test -s conftest.$ac_objext; then
26527 ac_cv_header_zlib_h=yes
26528 else
26529 echo "$as_me: failed program was:" >&5
26530 sed 's/^/| /' conftest.$ac_ext >&5
26531
26532 ac_cv_header_zlib_h=no
26533 fi
26534
26535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26536 fi
26537 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26538 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26539
26540
26541
26542 system_zlib_h_ok=$ac_cv_header_zlib_h
26543 fi
26544
26545 if test "$system_zlib_h_ok" = "yes"; then
26546 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26547 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26548 if test "${ac_cv_lib_z_deflate+set}" = set; then
26549 echo $ECHO_N "(cached) $ECHO_C" >&6
26550 else
26551 ac_check_lib_save_LIBS=$LIBS
26552 LIBS="-lz $LIBS"
26553 cat >conftest.$ac_ext <<_ACEOF
26554 /* confdefs.h. */
26555 _ACEOF
26556 cat confdefs.h >>conftest.$ac_ext
26557 cat >>conftest.$ac_ext <<_ACEOF
26558 /* end confdefs.h. */
26559
26560 /* Override any GCC internal prototype to avoid an error.
26561 Use char because int might match the return type of a GCC
26562 builtin and then its argument prototype would still apply. */
26563 #ifdef __cplusplus
26564 extern "C"
26565 #endif
26566 char deflate ();
26567 int
26568 main ()
26569 {
26570 return deflate ();
26571 ;
26572 return 0;
26573 }
26574 _ACEOF
26575 rm -f conftest.$ac_objext conftest$ac_exeext
26576 if { (ac_try="$ac_link"
26577 case "(($ac_try" in
26578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26579 *) ac_try_echo=$ac_try;;
26580 esac
26581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26582 (eval "$ac_link") 2>conftest.er1
26583 ac_status=$?
26584 grep -v '^ *+' conftest.er1 >conftest.err
26585 rm -f conftest.er1
26586 cat conftest.err >&5
26587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26588 (exit $ac_status); } && {
26589 test -z "$ac_c_werror_flag" ||
26590 test ! -s conftest.err
26591 } && test -s conftest$ac_exeext &&
26592 $as_test_x conftest$ac_exeext; then
26593 ac_cv_lib_z_deflate=yes
26594 else
26595 echo "$as_me: failed program was:" >&5
26596 sed 's/^/| /' conftest.$ac_ext >&5
26597
26598 ac_cv_lib_z_deflate=no
26599 fi
26600
26601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26602 conftest$ac_exeext conftest.$ac_ext
26603 LIBS=$ac_check_lib_save_LIBS
26604 fi
26605 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26606 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26607 if test $ac_cv_lib_z_deflate = yes; then
26608 ZLIB_LINK=" -lz"
26609 fi
26610
26611 fi
26612
26613 if test "x$ZLIB_LINK" = "x" ; then
26614 if test "$wxUSE_ZLIB" = "sys" ; then
26615 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26616 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26617 { (exit 1); exit 1; }; }
26618 else
26619 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26620 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26621 wxUSE_ZLIB=builtin
26622 fi
26623 else
26624 wxUSE_ZLIB=sys
26625 fi
26626 fi
26627 fi
26628
26629
26630 PNG_LINK=
26631 if test "$wxUSE_LIBPNG" != "no" ; then
26632 cat >>confdefs.h <<\_ACEOF
26633 #define wxUSE_LIBPNG 1
26634 _ACEOF
26635
26636
26637 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26638 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26639 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26640 wxUSE_LIBPNG=sys
26641 fi
26642
26643 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26644 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26645 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26646 wxUSE_LIBPNG=builtin
26647 fi
26648
26649 if test "$wxUSE_MGL" != 1 ; then
26650 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26651 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26652 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26653 if test "${ac_cv_header_png_h+set}" = set; then
26654 echo $ECHO_N "(cached) $ECHO_C" >&6
26655 else
26656 if test "$cross_compiling" = yes; then
26657 unset ac_cv_header_png_h
26658
26659 else
26660 cat >conftest.$ac_ext <<_ACEOF
26661 /* confdefs.h. */
26662 _ACEOF
26663 cat confdefs.h >>conftest.$ac_ext
26664 cat >>conftest.$ac_ext <<_ACEOF
26665 /* end confdefs.h. */
26666
26667 #include <png.h>
26668 #include <stdio.h>
26669
26670 int main()
26671 {
26672 FILE *f=fopen("conftestval", "w");
26673 if (!f) exit(1);
26674 fprintf(f, "%s",
26675 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26676 exit(0);
26677 }
26678
26679 _ACEOF
26680 rm -f conftest$ac_exeext
26681 if { (ac_try="$ac_link"
26682 case "(($ac_try" in
26683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26684 *) ac_try_echo=$ac_try;;
26685 esac
26686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26687 (eval "$ac_link") 2>&5
26688 ac_status=$?
26689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26690 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26691 { (case "(($ac_try" in
26692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26693 *) ac_try_echo=$ac_try;;
26694 esac
26695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26696 (eval "$ac_try") 2>&5
26697 ac_status=$?
26698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26699 (exit $ac_status); }; }; then
26700 ac_cv_header_png_h=`cat conftestval`
26701 else
26702 echo "$as_me: program exited with status $ac_status" >&5
26703 echo "$as_me: failed program was:" >&5
26704 sed 's/^/| /' conftest.$ac_ext >&5
26705
26706 ( exit $ac_status )
26707 ac_cv_header_png_h=no
26708 fi
26709 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26710 fi
26711
26712
26713
26714 fi
26715 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26716 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26717 { echo "$as_me:$LINENO: checking for png.h" >&5
26718 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26719 if test "${ac_cv_header_png_h+set}" = set; then
26720 echo $ECHO_N "(cached) $ECHO_C" >&6
26721 else
26722 cat >conftest.$ac_ext <<_ACEOF
26723 /* confdefs.h. */
26724 _ACEOF
26725 cat confdefs.h >>conftest.$ac_ext
26726 cat >>conftest.$ac_ext <<_ACEOF
26727 /* end confdefs.h. */
26728
26729
26730 #include <png.h>
26731 _ACEOF
26732 rm -f conftest.$ac_objext
26733 if { (ac_try="$ac_compile"
26734 case "(($ac_try" in
26735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26736 *) ac_try_echo=$ac_try;;
26737 esac
26738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26739 (eval "$ac_compile") 2>conftest.er1
26740 ac_status=$?
26741 grep -v '^ *+' conftest.er1 >conftest.err
26742 rm -f conftest.er1
26743 cat conftest.err >&5
26744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26745 (exit $ac_status); } && {
26746 test -z "$ac_c_werror_flag" ||
26747 test ! -s conftest.err
26748 } && test -s conftest.$ac_objext; then
26749 ac_cv_header_png_h=yes
26750 else
26751 echo "$as_me: failed program was:" >&5
26752 sed 's/^/| /' conftest.$ac_ext >&5
26753
26754 ac_cv_header_png_h=no
26755 fi
26756
26757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26758 fi
26759 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26760 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26761
26762
26763
26764 if test "$ac_cv_header_png_h" = "yes"; then
26765 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26766 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26767 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26768 echo $ECHO_N "(cached) $ECHO_C" >&6
26769 else
26770 ac_check_lib_save_LIBS=$LIBS
26771 LIBS="-lpng -lz -lm $LIBS"
26772 cat >conftest.$ac_ext <<_ACEOF
26773 /* confdefs.h. */
26774 _ACEOF
26775 cat confdefs.h >>conftest.$ac_ext
26776 cat >>conftest.$ac_ext <<_ACEOF
26777 /* end confdefs.h. */
26778
26779 /* Override any GCC internal prototype to avoid an error.
26780 Use char because int might match the return type of a GCC
26781 builtin and then its argument prototype would still apply. */
26782 #ifdef __cplusplus
26783 extern "C"
26784 #endif
26785 char png_check_sig ();
26786 int
26787 main ()
26788 {
26789 return png_check_sig ();
26790 ;
26791 return 0;
26792 }
26793 _ACEOF
26794 rm -f conftest.$ac_objext conftest$ac_exeext
26795 if { (ac_try="$ac_link"
26796 case "(($ac_try" in
26797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26798 *) ac_try_echo=$ac_try;;
26799 esac
26800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26801 (eval "$ac_link") 2>conftest.er1
26802 ac_status=$?
26803 grep -v '^ *+' conftest.er1 >conftest.err
26804 rm -f conftest.er1
26805 cat conftest.err >&5
26806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26807 (exit $ac_status); } && {
26808 test -z "$ac_c_werror_flag" ||
26809 test ! -s conftest.err
26810 } && test -s conftest$ac_exeext &&
26811 $as_test_x conftest$ac_exeext; then
26812 ac_cv_lib_png_png_check_sig=yes
26813 else
26814 echo "$as_me: failed program was:" >&5
26815 sed 's/^/| /' conftest.$ac_ext >&5
26816
26817 ac_cv_lib_png_png_check_sig=no
26818 fi
26819
26820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26821 conftest$ac_exeext conftest.$ac_ext
26822 LIBS=$ac_check_lib_save_LIBS
26823 fi
26824 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26825 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26826 if test $ac_cv_lib_png_png_check_sig = yes; then
26827 PNG_LINK=" -lpng -lz"
26828 fi
26829
26830 fi
26831
26832 if test "x$PNG_LINK" = "x" ; then
26833 if test "$wxUSE_LIBPNG" = "sys" ; then
26834 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26835 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26836 { (exit 1); exit 1; }; }
26837 else
26838 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26839 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26840 wxUSE_LIBPNG=builtin
26841 fi
26842 else
26843 wxUSE_LIBPNG=sys
26844 fi
26845 fi
26846 fi
26847 fi
26848
26849
26850 JPEG_LINK=
26851 if test "$wxUSE_LIBJPEG" != "no" ; then
26852 cat >>confdefs.h <<\_ACEOF
26853 #define wxUSE_LIBJPEG 1
26854 _ACEOF
26855
26856
26857 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26858 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26859 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26860 wxUSE_LIBJPEG=sys
26861 fi
26862
26863 if test "$wxUSE_MGL" != 1 ; then
26864 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26865 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26866 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26867 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26868 echo $ECHO_N "(cached) $ECHO_C" >&6
26869 else
26870 cat >conftest.$ac_ext <<_ACEOF
26871 /* confdefs.h. */
26872 _ACEOF
26873 cat confdefs.h >>conftest.$ac_ext
26874 cat >>conftest.$ac_ext <<_ACEOF
26875 /* end confdefs.h. */
26876
26877 #undef HAVE_STDLIB_H
26878 #include <stdio.h>
26879 #include <jpeglib.h>
26880
26881 int
26882 main ()
26883 {
26884
26885
26886 ;
26887 return 0;
26888 }
26889 _ACEOF
26890 rm -f conftest.$ac_objext
26891 if { (ac_try="$ac_compile"
26892 case "(($ac_try" in
26893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26894 *) ac_try_echo=$ac_try;;
26895 esac
26896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26897 (eval "$ac_compile") 2>conftest.er1
26898 ac_status=$?
26899 grep -v '^ *+' conftest.er1 >conftest.err
26900 rm -f conftest.er1
26901 cat conftest.err >&5
26902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26903 (exit $ac_status); } && {
26904 test -z "$ac_c_werror_flag" ||
26905 test ! -s conftest.err
26906 } && test -s conftest.$ac_objext; then
26907 ac_cv_header_jpeglib_h=yes
26908 else
26909 echo "$as_me: failed program was:" >&5
26910 sed 's/^/| /' conftest.$ac_ext >&5
26911
26912 ac_cv_header_jpeglib_h=no
26913
26914 fi
26915
26916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26917
26918 fi
26919
26920 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26921 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26922
26923 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26924 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26925 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26926 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26927 echo $ECHO_N "(cached) $ECHO_C" >&6
26928 else
26929 ac_check_lib_save_LIBS=$LIBS
26930 LIBS="-ljpeg $LIBS"
26931 cat >conftest.$ac_ext <<_ACEOF
26932 /* confdefs.h. */
26933 _ACEOF
26934 cat confdefs.h >>conftest.$ac_ext
26935 cat >>conftest.$ac_ext <<_ACEOF
26936 /* end confdefs.h. */
26937
26938 /* Override any GCC internal prototype to avoid an error.
26939 Use char because int might match the return type of a GCC
26940 builtin and then its argument prototype would still apply. */
26941 #ifdef __cplusplus
26942 extern "C"
26943 #endif
26944 char jpeg_read_header ();
26945 int
26946 main ()
26947 {
26948 return jpeg_read_header ();
26949 ;
26950 return 0;
26951 }
26952 _ACEOF
26953 rm -f conftest.$ac_objext conftest$ac_exeext
26954 if { (ac_try="$ac_link"
26955 case "(($ac_try" in
26956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26957 *) ac_try_echo=$ac_try;;
26958 esac
26959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26960 (eval "$ac_link") 2>conftest.er1
26961 ac_status=$?
26962 grep -v '^ *+' conftest.er1 >conftest.err
26963 rm -f conftest.er1
26964 cat conftest.err >&5
26965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26966 (exit $ac_status); } && {
26967 test -z "$ac_c_werror_flag" ||
26968 test ! -s conftest.err
26969 } && test -s conftest$ac_exeext &&
26970 $as_test_x conftest$ac_exeext; then
26971 ac_cv_lib_jpeg_jpeg_read_header=yes
26972 else
26973 echo "$as_me: failed program was:" >&5
26974 sed 's/^/| /' conftest.$ac_ext >&5
26975
26976 ac_cv_lib_jpeg_jpeg_read_header=no
26977 fi
26978
26979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26980 conftest$ac_exeext conftest.$ac_ext
26981 LIBS=$ac_check_lib_save_LIBS
26982 fi
26983 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26984 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26985 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26986 JPEG_LINK=" -ljpeg"
26987 fi
26988
26989 fi
26990
26991 if test "x$JPEG_LINK" = "x" ; then
26992 if test "$wxUSE_LIBJPEG" = "sys" ; then
26993 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26994 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26995 { (exit 1); exit 1; }; }
26996 else
26997 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26998 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26999 wxUSE_LIBJPEG=builtin
27000 fi
27001 else
27002 wxUSE_LIBJPEG=sys
27003
27004 if test "$wxUSE_MSW" = 1; then
27005 { echo "$as_me:$LINENO: checking for boolean" >&5
27006 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27007 if test "${ac_cv_type_boolean+set}" = set; then
27008 echo $ECHO_N "(cached) $ECHO_C" >&6
27009 else
27010 cat >conftest.$ac_ext <<_ACEOF
27011 /* confdefs.h. */
27012 _ACEOF
27013 cat confdefs.h >>conftest.$ac_ext
27014 cat >>conftest.$ac_ext <<_ACEOF
27015 /* end confdefs.h. */
27016 #include <windows.h>
27017
27018 typedef boolean ac__type_new_;
27019 int
27020 main ()
27021 {
27022 if ((ac__type_new_ *) 0)
27023 return 0;
27024 if (sizeof (ac__type_new_))
27025 return 0;
27026 ;
27027 return 0;
27028 }
27029 _ACEOF
27030 rm -f conftest.$ac_objext
27031 if { (ac_try="$ac_compile"
27032 case "(($ac_try" in
27033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27034 *) ac_try_echo=$ac_try;;
27035 esac
27036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27037 (eval "$ac_compile") 2>conftest.er1
27038 ac_status=$?
27039 grep -v '^ *+' conftest.er1 >conftest.err
27040 rm -f conftest.er1
27041 cat conftest.err >&5
27042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27043 (exit $ac_status); } && {
27044 test -z "$ac_c_werror_flag" ||
27045 test ! -s conftest.err
27046 } && test -s conftest.$ac_objext; then
27047 ac_cv_type_boolean=yes
27048 else
27049 echo "$as_me: failed program was:" >&5
27050 sed 's/^/| /' conftest.$ac_ext >&5
27051
27052 ac_cv_type_boolean=no
27053 fi
27054
27055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27056 fi
27057 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27058 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27059 if test $ac_cv_type_boolean = yes; then
27060
27061 cat >>confdefs.h <<_ACEOF
27062 #define HAVE_BOOLEAN 1
27063 _ACEOF
27064
27065
27066 { echo "$as_me:$LINENO: checking for boolean" >&5
27067 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27068 if test "${ac_cv_type_boolean+set}" = set; then
27069 echo $ECHO_N "(cached) $ECHO_C" >&6
27070 else
27071 cat >conftest.$ac_ext <<_ACEOF
27072 /* confdefs.h. */
27073 _ACEOF
27074 cat confdefs.h >>conftest.$ac_ext
27075 cat >>conftest.$ac_ext <<_ACEOF
27076 /* end confdefs.h. */
27077
27078 #undef HAVE_BOOLEAN
27079 #include <stdio.h>
27080 #include <jpeglib.h>
27081
27082
27083 typedef boolean ac__type_new_;
27084 int
27085 main ()
27086 {
27087 if ((ac__type_new_ *) 0)
27088 return 0;
27089 if (sizeof (ac__type_new_))
27090 return 0;
27091 ;
27092 return 0;
27093 }
27094 _ACEOF
27095 rm -f conftest.$ac_objext
27096 if { (ac_try="$ac_compile"
27097 case "(($ac_try" in
27098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27099 *) ac_try_echo=$ac_try;;
27100 esac
27101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27102 (eval "$ac_compile") 2>conftest.er1
27103 ac_status=$?
27104 grep -v '^ *+' conftest.er1 >conftest.err
27105 rm -f conftest.er1
27106 cat conftest.err >&5
27107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27108 (exit $ac_status); } && {
27109 test -z "$ac_c_werror_flag" ||
27110 test ! -s conftest.err
27111 } && test -s conftest.$ac_objext; then
27112 ac_cv_type_boolean=yes
27113 else
27114 echo "$as_me: failed program was:" >&5
27115 sed 's/^/| /' conftest.$ac_ext >&5
27116
27117 ac_cv_type_boolean=no
27118 fi
27119
27120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27121 fi
27122 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27123 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27124
27125 # The cast to long int works around a bug in the HP C Compiler
27126 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27127 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27128 # This bug is HP SR number 8606223364.
27129 { echo "$as_me:$LINENO: checking size of boolean" >&5
27130 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27131 if test "${ac_cv_sizeof_boolean+set}" = set; then
27132 echo $ECHO_N "(cached) $ECHO_C" >&6
27133 else
27134 if test "$cross_compiling" = yes; then
27135 # Depending upon the size, compute the lo and hi bounds.
27136 cat >conftest.$ac_ext <<_ACEOF
27137 /* confdefs.h. */
27138 _ACEOF
27139 cat confdefs.h >>conftest.$ac_ext
27140 cat >>conftest.$ac_ext <<_ACEOF
27141 /* end confdefs.h. */
27142
27143 #undef HAVE_BOOLEAN
27144 #include <stdio.h>
27145 #include <jpeglib.h>
27146
27147
27148 typedef boolean ac__type_sizeof_;
27149 int
27150 main ()
27151 {
27152 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27153 test_array [0] = 0
27154
27155 ;
27156 return 0;
27157 }
27158 _ACEOF
27159 rm -f conftest.$ac_objext
27160 if { (ac_try="$ac_compile"
27161 case "(($ac_try" in
27162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27163 *) ac_try_echo=$ac_try;;
27164 esac
27165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27166 (eval "$ac_compile") 2>conftest.er1
27167 ac_status=$?
27168 grep -v '^ *+' conftest.er1 >conftest.err
27169 rm -f conftest.er1
27170 cat conftest.err >&5
27171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27172 (exit $ac_status); } && {
27173 test -z "$ac_c_werror_flag" ||
27174 test ! -s conftest.err
27175 } && test -s conftest.$ac_objext; then
27176 ac_lo=0 ac_mid=0
27177 while :; do
27178 cat >conftest.$ac_ext <<_ACEOF
27179 /* confdefs.h. */
27180 _ACEOF
27181 cat confdefs.h >>conftest.$ac_ext
27182 cat >>conftest.$ac_ext <<_ACEOF
27183 /* end confdefs.h. */
27184
27185 #undef HAVE_BOOLEAN
27186 #include <stdio.h>
27187 #include <jpeglib.h>
27188
27189
27190 typedef boolean ac__type_sizeof_;
27191 int
27192 main ()
27193 {
27194 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27195 test_array [0] = 0
27196
27197 ;
27198 return 0;
27199 }
27200 _ACEOF
27201 rm -f conftest.$ac_objext
27202 if { (ac_try="$ac_compile"
27203 case "(($ac_try" in
27204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27205 *) ac_try_echo=$ac_try;;
27206 esac
27207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27208 (eval "$ac_compile") 2>conftest.er1
27209 ac_status=$?
27210 grep -v '^ *+' conftest.er1 >conftest.err
27211 rm -f conftest.er1
27212 cat conftest.err >&5
27213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27214 (exit $ac_status); } && {
27215 test -z "$ac_c_werror_flag" ||
27216 test ! -s conftest.err
27217 } && test -s conftest.$ac_objext; then
27218 ac_hi=$ac_mid; break
27219 else
27220 echo "$as_me: failed program was:" >&5
27221 sed 's/^/| /' conftest.$ac_ext >&5
27222
27223 ac_lo=`expr $ac_mid + 1`
27224 if test $ac_lo -le $ac_mid; then
27225 ac_lo= ac_hi=
27226 break
27227 fi
27228 ac_mid=`expr 2 '*' $ac_mid + 1`
27229 fi
27230
27231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27232 done
27233 else
27234 echo "$as_me: failed program was:" >&5
27235 sed 's/^/| /' conftest.$ac_ext >&5
27236
27237 cat >conftest.$ac_ext <<_ACEOF
27238 /* confdefs.h. */
27239 _ACEOF
27240 cat confdefs.h >>conftest.$ac_ext
27241 cat >>conftest.$ac_ext <<_ACEOF
27242 /* end confdefs.h. */
27243
27244 #undef HAVE_BOOLEAN
27245 #include <stdio.h>
27246 #include <jpeglib.h>
27247
27248
27249 typedef boolean ac__type_sizeof_;
27250 int
27251 main ()
27252 {
27253 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27254 test_array [0] = 0
27255
27256 ;
27257 return 0;
27258 }
27259 _ACEOF
27260 rm -f conftest.$ac_objext
27261 if { (ac_try="$ac_compile"
27262 case "(($ac_try" in
27263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27264 *) ac_try_echo=$ac_try;;
27265 esac
27266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27267 (eval "$ac_compile") 2>conftest.er1
27268 ac_status=$?
27269 grep -v '^ *+' conftest.er1 >conftest.err
27270 rm -f conftest.er1
27271 cat conftest.err >&5
27272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27273 (exit $ac_status); } && {
27274 test -z "$ac_c_werror_flag" ||
27275 test ! -s conftest.err
27276 } && test -s conftest.$ac_objext; then
27277 ac_hi=-1 ac_mid=-1
27278 while :; do
27279 cat >conftest.$ac_ext <<_ACEOF
27280 /* confdefs.h. */
27281 _ACEOF
27282 cat confdefs.h >>conftest.$ac_ext
27283 cat >>conftest.$ac_ext <<_ACEOF
27284 /* end confdefs.h. */
27285
27286 #undef HAVE_BOOLEAN
27287 #include <stdio.h>
27288 #include <jpeglib.h>
27289
27290
27291 typedef boolean ac__type_sizeof_;
27292 int
27293 main ()
27294 {
27295 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27296 test_array [0] = 0
27297
27298 ;
27299 return 0;
27300 }
27301 _ACEOF
27302 rm -f conftest.$ac_objext
27303 if { (ac_try="$ac_compile"
27304 case "(($ac_try" in
27305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27306 *) ac_try_echo=$ac_try;;
27307 esac
27308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27309 (eval "$ac_compile") 2>conftest.er1
27310 ac_status=$?
27311 grep -v '^ *+' conftest.er1 >conftest.err
27312 rm -f conftest.er1
27313 cat conftest.err >&5
27314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27315 (exit $ac_status); } && {
27316 test -z "$ac_c_werror_flag" ||
27317 test ! -s conftest.err
27318 } && test -s conftest.$ac_objext; then
27319 ac_lo=$ac_mid; break
27320 else
27321 echo "$as_me: failed program was:" >&5
27322 sed 's/^/| /' conftest.$ac_ext >&5
27323
27324 ac_hi=`expr '(' $ac_mid ')' - 1`
27325 if test $ac_mid -le $ac_hi; then
27326 ac_lo= ac_hi=
27327 break
27328 fi
27329 ac_mid=`expr 2 '*' $ac_mid`
27330 fi
27331
27332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27333 done
27334 else
27335 echo "$as_me: failed program was:" >&5
27336 sed 's/^/| /' conftest.$ac_ext >&5
27337
27338 ac_lo= ac_hi=
27339 fi
27340
27341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27342 fi
27343
27344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27345 # Binary search between lo and hi bounds.
27346 while test "x$ac_lo" != "x$ac_hi"; do
27347 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27348 cat >conftest.$ac_ext <<_ACEOF
27349 /* confdefs.h. */
27350 _ACEOF
27351 cat confdefs.h >>conftest.$ac_ext
27352 cat >>conftest.$ac_ext <<_ACEOF
27353 /* end confdefs.h. */
27354
27355 #undef HAVE_BOOLEAN
27356 #include <stdio.h>
27357 #include <jpeglib.h>
27358
27359
27360 typedef boolean ac__type_sizeof_;
27361 int
27362 main ()
27363 {
27364 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27365 test_array [0] = 0
27366
27367 ;
27368 return 0;
27369 }
27370 _ACEOF
27371 rm -f conftest.$ac_objext
27372 if { (ac_try="$ac_compile"
27373 case "(($ac_try" in
27374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27375 *) ac_try_echo=$ac_try;;
27376 esac
27377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27378 (eval "$ac_compile") 2>conftest.er1
27379 ac_status=$?
27380 grep -v '^ *+' conftest.er1 >conftest.err
27381 rm -f conftest.er1
27382 cat conftest.err >&5
27383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27384 (exit $ac_status); } && {
27385 test -z "$ac_c_werror_flag" ||
27386 test ! -s conftest.err
27387 } && test -s conftest.$ac_objext; then
27388 ac_hi=$ac_mid
27389 else
27390 echo "$as_me: failed program was:" >&5
27391 sed 's/^/| /' conftest.$ac_ext >&5
27392
27393 ac_lo=`expr '(' $ac_mid ')' + 1`
27394 fi
27395
27396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27397 done
27398 case $ac_lo in
27399 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27400 '') if test "$ac_cv_type_boolean" = yes; then
27401 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27402 See \`config.log' for more details." >&5
27403 echo "$as_me: error: cannot compute sizeof (boolean)
27404 See \`config.log' for more details." >&2;}
27405 { (exit 77); exit 77; }; }
27406 else
27407 ac_cv_sizeof_boolean=0
27408 fi ;;
27409 esac
27410 else
27411 cat >conftest.$ac_ext <<_ACEOF
27412 /* confdefs.h. */
27413 _ACEOF
27414 cat confdefs.h >>conftest.$ac_ext
27415 cat >>conftest.$ac_ext <<_ACEOF
27416 /* end confdefs.h. */
27417
27418 #undef HAVE_BOOLEAN
27419 #include <stdio.h>
27420 #include <jpeglib.h>
27421
27422
27423 typedef boolean ac__type_sizeof_;
27424 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27425 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27426 #include <stdio.h>
27427 #include <stdlib.h>
27428 int
27429 main ()
27430 {
27431
27432 FILE *f = fopen ("conftest.val", "w");
27433 if (! f)
27434 return 1;
27435 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27436 {
27437 long int i = longval ();
27438 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27439 return 1;
27440 fprintf (f, "%ld\n", i);
27441 }
27442 else
27443 {
27444 unsigned long int i = ulongval ();
27445 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27446 return 1;
27447 fprintf (f, "%lu\n", i);
27448 }
27449 return ferror (f) || fclose (f) != 0;
27450
27451 ;
27452 return 0;
27453 }
27454 _ACEOF
27455 rm -f conftest$ac_exeext
27456 if { (ac_try="$ac_link"
27457 case "(($ac_try" in
27458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27459 *) ac_try_echo=$ac_try;;
27460 esac
27461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27462 (eval "$ac_link") 2>&5
27463 ac_status=$?
27464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27465 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27466 { (case "(($ac_try" in
27467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27468 *) ac_try_echo=$ac_try;;
27469 esac
27470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27471 (eval "$ac_try") 2>&5
27472 ac_status=$?
27473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27474 (exit $ac_status); }; }; then
27475 ac_cv_sizeof_boolean=`cat conftest.val`
27476 else
27477 echo "$as_me: program exited with status $ac_status" >&5
27478 echo "$as_me: failed program was:" >&5
27479 sed 's/^/| /' conftest.$ac_ext >&5
27480
27481 ( exit $ac_status )
27482 if test "$ac_cv_type_boolean" = yes; then
27483 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27484 See \`config.log' for more details." >&5
27485 echo "$as_me: error: cannot compute sizeof (boolean)
27486 See \`config.log' for more details." >&2;}
27487 { (exit 77); exit 77; }; }
27488 else
27489 ac_cv_sizeof_boolean=0
27490 fi
27491 fi
27492 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27493 fi
27494 rm -f conftest.val
27495 fi
27496 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27497 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27498
27499
27500
27501 cat >>confdefs.h <<_ACEOF
27502 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27503 _ACEOF
27504
27505
27506 cat >>confdefs.h <<_ACEOF
27507 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27508 _ACEOF
27509
27510
27511 fi
27512
27513 fi
27514 fi
27515 fi
27516 fi
27517 fi
27518
27519
27520 TIFF_LINK=
27521 TIFF_PREREQ_LINKS=-lm
27522 if test "$wxUSE_LIBTIFF" != "no" ; then
27523 cat >>confdefs.h <<\_ACEOF
27524 #define wxUSE_LIBTIFF 1
27525 _ACEOF
27526
27527
27528 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27529 if test "$wxUSE_LIBJPEG" = "sys"; then
27530 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27531 fi
27532 if test "$wxUSE_ZLIB" = "sys"; then
27533 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27534 fi
27535 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27536 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27537 if test "${ac_cv_header_tiffio_h+set}" = set; then
27538 echo $ECHO_N "(cached) $ECHO_C" >&6
27539 else
27540 cat >conftest.$ac_ext <<_ACEOF
27541 /* confdefs.h. */
27542 _ACEOF
27543 cat confdefs.h >>conftest.$ac_ext
27544 cat >>conftest.$ac_ext <<_ACEOF
27545 /* end confdefs.h. */
27546
27547
27548
27549 #include <tiffio.h>
27550 _ACEOF
27551 rm -f conftest.$ac_objext
27552 if { (ac_try="$ac_compile"
27553 case "(($ac_try" in
27554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27555 *) ac_try_echo=$ac_try;;
27556 esac
27557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27558 (eval "$ac_compile") 2>conftest.er1
27559 ac_status=$?
27560 grep -v '^ *+' conftest.er1 >conftest.err
27561 rm -f conftest.er1
27562 cat conftest.err >&5
27563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27564 (exit $ac_status); } && {
27565 test -z "$ac_c_werror_flag" ||
27566 test ! -s conftest.err
27567 } && test -s conftest.$ac_objext; then
27568 ac_cv_header_tiffio_h=yes
27569 else
27570 echo "$as_me: failed program was:" >&5
27571 sed 's/^/| /' conftest.$ac_ext >&5
27572
27573 ac_cv_header_tiffio_h=no
27574 fi
27575
27576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27577 fi
27578 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27579 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27580 if test $ac_cv_header_tiffio_h = yes; then
27581
27582 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27583 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27584 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27585 echo $ECHO_N "(cached) $ECHO_C" >&6
27586 else
27587 ac_check_lib_save_LIBS=$LIBS
27588 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27589 cat >conftest.$ac_ext <<_ACEOF
27590 /* confdefs.h. */
27591 _ACEOF
27592 cat confdefs.h >>conftest.$ac_ext
27593 cat >>conftest.$ac_ext <<_ACEOF
27594 /* end confdefs.h. */
27595
27596 /* Override any GCC internal prototype to avoid an error.
27597 Use char because int might match the return type of a GCC
27598 builtin and then its argument prototype would still apply. */
27599 #ifdef __cplusplus
27600 extern "C"
27601 #endif
27602 char TIFFError ();
27603 int
27604 main ()
27605 {
27606 return TIFFError ();
27607 ;
27608 return 0;
27609 }
27610 _ACEOF
27611 rm -f conftest.$ac_objext conftest$ac_exeext
27612 if { (ac_try="$ac_link"
27613 case "(($ac_try" in
27614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27615 *) ac_try_echo=$ac_try;;
27616 esac
27617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27618 (eval "$ac_link") 2>conftest.er1
27619 ac_status=$?
27620 grep -v '^ *+' conftest.er1 >conftest.err
27621 rm -f conftest.er1
27622 cat conftest.err >&5
27623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27624 (exit $ac_status); } && {
27625 test -z "$ac_c_werror_flag" ||
27626 test ! -s conftest.err
27627 } && test -s conftest$ac_exeext &&
27628 $as_test_x conftest$ac_exeext; then
27629 ac_cv_lib_tiff_TIFFError=yes
27630 else
27631 echo "$as_me: failed program was:" >&5
27632 sed 's/^/| /' conftest.$ac_ext >&5
27633
27634 ac_cv_lib_tiff_TIFFError=no
27635 fi
27636
27637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27638 conftest$ac_exeext conftest.$ac_ext
27639 LIBS=$ac_check_lib_save_LIBS
27640 fi
27641 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27642 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27643 if test $ac_cv_lib_tiff_TIFFError = yes; then
27644 TIFF_LINK=" -ltiff"
27645 fi
27646
27647
27648 fi
27649
27650
27651
27652 if test "x$TIFF_LINK" = "x" ; then
27653 if test "$wxUSE_LIBTIFF" = "sys" ; then
27654 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27655 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27656 { (exit 1); exit 1; }; }
27657 else
27658 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27659 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27660 wxUSE_LIBTIFF=builtin
27661 fi
27662 else
27663 wxUSE_LIBTIFF=sys
27664 fi
27665 fi
27666 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27667 if test "$wxUSE_LIBJPEG" = "no"; then
27668 ac_configure_args="$ac_configure_args --disable-jpeg"
27669 fi
27670 subdirs="$subdirs src/tiff"
27671
27672 fi
27673 fi
27674
27675
27676 if test "$wxUSE_WCHAR_T" != "yes"; then
27677 if test "$wxUSE_EXPAT" != "no"; then
27678 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27679 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27680 wxUSE_EXPAT=no
27681 fi
27682 if test "$wxUSE_XML" != "no"; then
27683 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27684 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27685 wxUSE_XML=no
27686 fi
27687 fi
27688
27689 if test "$wxUSE_EXPAT" != "no"; then
27690 wxUSE_XML=yes
27691 cat >>confdefs.h <<\_ACEOF
27692 #define wxUSE_EXPAT 1
27693 _ACEOF
27694
27695 cat >>confdefs.h <<\_ACEOF
27696 #define wxUSE_XML 1
27697 _ACEOF
27698
27699
27700 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27701 { echo "$as_me:$LINENO: checking for expat.h" >&5
27702 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27703 if test "${ac_cv_header_expat_h+set}" = set; then
27704 echo $ECHO_N "(cached) $ECHO_C" >&6
27705 else
27706 cat >conftest.$ac_ext <<_ACEOF
27707 /* confdefs.h. */
27708 _ACEOF
27709 cat confdefs.h >>conftest.$ac_ext
27710 cat >>conftest.$ac_ext <<_ACEOF
27711 /* end confdefs.h. */
27712
27713
27714 #include <expat.h>
27715 _ACEOF
27716 rm -f conftest.$ac_objext
27717 if { (ac_try="$ac_compile"
27718 case "(($ac_try" in
27719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27720 *) ac_try_echo=$ac_try;;
27721 esac
27722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27723 (eval "$ac_compile") 2>conftest.er1
27724 ac_status=$?
27725 grep -v '^ *+' conftest.er1 >conftest.err
27726 rm -f conftest.er1
27727 cat conftest.err >&5
27728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27729 (exit $ac_status); } && {
27730 test -z "$ac_c_werror_flag" ||
27731 test ! -s conftest.err
27732 } && test -s conftest.$ac_objext; then
27733 ac_cv_header_expat_h=yes
27734 else
27735 echo "$as_me: failed program was:" >&5
27736 sed 's/^/| /' conftest.$ac_ext >&5
27737
27738 ac_cv_header_expat_h=no
27739 fi
27740
27741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27742 fi
27743 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27744 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27745 if test $ac_cv_header_expat_h = yes; then
27746 found_expat_h=1
27747 fi
27748
27749
27750 if test "x$found_expat_h" = "x1"; then
27751 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27752 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27753 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27754 echo $ECHO_N "(cached) $ECHO_C" >&6
27755 else
27756
27757 ac_ext=cpp
27758 ac_cpp='$CXXCPP $CPPFLAGS'
27759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27762
27763 cat >conftest.$ac_ext <<_ACEOF
27764 /* confdefs.h. */
27765 _ACEOF
27766 cat confdefs.h >>conftest.$ac_ext
27767 cat >>conftest.$ac_ext <<_ACEOF
27768 /* end confdefs.h. */
27769 #include <expat.h>
27770 int
27771 main ()
27772 {
27773
27774 ;
27775 return 0;
27776 }
27777 _ACEOF
27778 rm -f conftest.$ac_objext
27779 if { (ac_try="$ac_compile"
27780 case "(($ac_try" in
27781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27782 *) ac_try_echo=$ac_try;;
27783 esac
27784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27785 (eval "$ac_compile") 2>conftest.er1
27786 ac_status=$?
27787 grep -v '^ *+' conftest.er1 >conftest.err
27788 rm -f conftest.er1
27789 cat conftest.err >&5
27790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27791 (exit $ac_status); } && {
27792 test -z "$ac_cxx_werror_flag" ||
27793 test ! -s conftest.err
27794 } && test -s conftest.$ac_objext; then
27795 wx_cv_expat_is_not_broken=yes
27796 else
27797 echo "$as_me: failed program was:" >&5
27798 sed 's/^/| /' conftest.$ac_ext >&5
27799
27800 wx_cv_expat_is_not_broken=no
27801
27802 fi
27803
27804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27805 ac_ext=c
27806 ac_cpp='$CPP $CPPFLAGS'
27807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27810
27811
27812
27813 fi
27814 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27815 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27816 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27817 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27818 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27819 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27820 echo $ECHO_N "(cached) $ECHO_C" >&6
27821 else
27822 ac_check_lib_save_LIBS=$LIBS
27823 LIBS="-lexpat $LIBS"
27824 cat >conftest.$ac_ext <<_ACEOF
27825 /* confdefs.h. */
27826 _ACEOF
27827 cat confdefs.h >>conftest.$ac_ext
27828 cat >>conftest.$ac_ext <<_ACEOF
27829 /* end confdefs.h. */
27830
27831 /* Override any GCC internal prototype to avoid an error.
27832 Use char because int might match the return type of a GCC
27833 builtin and then its argument prototype would still apply. */
27834 #ifdef __cplusplus
27835 extern "C"
27836 #endif
27837 char XML_ParserCreate ();
27838 int
27839 main ()
27840 {
27841 return XML_ParserCreate ();
27842 ;
27843 return 0;
27844 }
27845 _ACEOF
27846 rm -f conftest.$ac_objext conftest$ac_exeext
27847 if { (ac_try="$ac_link"
27848 case "(($ac_try" in
27849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27850 *) ac_try_echo=$ac_try;;
27851 esac
27852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27853 (eval "$ac_link") 2>conftest.er1
27854 ac_status=$?
27855 grep -v '^ *+' conftest.er1 >conftest.err
27856 rm -f conftest.er1
27857 cat conftest.err >&5
27858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27859 (exit $ac_status); } && {
27860 test -z "$ac_c_werror_flag" ||
27861 test ! -s conftest.err
27862 } && test -s conftest$ac_exeext &&
27863 $as_test_x conftest$ac_exeext; then
27864 ac_cv_lib_expat_XML_ParserCreate=yes
27865 else
27866 echo "$as_me: failed program was:" >&5
27867 sed 's/^/| /' conftest.$ac_ext >&5
27868
27869 ac_cv_lib_expat_XML_ParserCreate=no
27870 fi
27871
27872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27873 conftest$ac_exeext conftest.$ac_ext
27874 LIBS=$ac_check_lib_save_LIBS
27875 fi
27876 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27877 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27878 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27879 EXPAT_LINK=" -lexpat"
27880 fi
27881
27882 fi
27883 fi
27884 if test "x$EXPAT_LINK" = "x" ; then
27885 if test "$wxUSE_EXPAT" = "sys" ; then
27886 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27887 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27888 { (exit 1); exit 1; }; }
27889 else
27890 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27891 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27892 wxUSE_EXPAT=builtin
27893 fi
27894 else
27895 wxUSE_EXPAT=sys
27896 fi
27897 fi
27898 if test "$wxUSE_EXPAT" = "builtin" ; then
27899 subdirs="$subdirs src/expat"
27900
27901 fi
27902 fi
27903
27904
27905
27906 if test "$wxUSE_LIBMSPACK" != "no"; then
27907 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27908 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27909 if test "${ac_cv_header_mspack_h+set}" = set; then
27910 echo $ECHO_N "(cached) $ECHO_C" >&6
27911 else
27912 cat >conftest.$ac_ext <<_ACEOF
27913 /* confdefs.h. */
27914 _ACEOF
27915 cat confdefs.h >>conftest.$ac_ext
27916 cat >>conftest.$ac_ext <<_ACEOF
27917 /* end confdefs.h. */
27918
27919
27920 #include <mspack.h>
27921 _ACEOF
27922 rm -f conftest.$ac_objext
27923 if { (ac_try="$ac_compile"
27924 case "(($ac_try" in
27925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27926 *) ac_try_echo=$ac_try;;
27927 esac
27928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27929 (eval "$ac_compile") 2>conftest.er1
27930 ac_status=$?
27931 grep -v '^ *+' conftest.er1 >conftest.err
27932 rm -f conftest.er1
27933 cat conftest.err >&5
27934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27935 (exit $ac_status); } && {
27936 test -z "$ac_c_werror_flag" ||
27937 test ! -s conftest.err
27938 } && test -s conftest.$ac_objext; then
27939 ac_cv_header_mspack_h=yes
27940 else
27941 echo "$as_me: failed program was:" >&5
27942 sed 's/^/| /' conftest.$ac_ext >&5
27943
27944 ac_cv_header_mspack_h=no
27945 fi
27946
27947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27948 fi
27949 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27950 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27951 if test $ac_cv_header_mspack_h = yes; then
27952 found_mspack_h=1
27953 fi
27954
27955
27956 if test "x$found_mspack_h" = "x1"; then
27957 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27958 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
27959 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27960 echo $ECHO_N "(cached) $ECHO_C" >&6
27961 else
27962 ac_check_lib_save_LIBS=$LIBS
27963 LIBS="-lmspack $LIBS"
27964 cat >conftest.$ac_ext <<_ACEOF
27965 /* confdefs.h. */
27966 _ACEOF
27967 cat confdefs.h >>conftest.$ac_ext
27968 cat >>conftest.$ac_ext <<_ACEOF
27969 /* end confdefs.h. */
27970
27971 /* Override any GCC internal prototype to avoid an error.
27972 Use char because int might match the return type of a GCC
27973 builtin and then its argument prototype would still apply. */
27974 #ifdef __cplusplus
27975 extern "C"
27976 #endif
27977 char mspack_create_chm_decompressor ();
27978 int
27979 main ()
27980 {
27981 return mspack_create_chm_decompressor ();
27982 ;
27983 return 0;
27984 }
27985 _ACEOF
27986 rm -f conftest.$ac_objext conftest$ac_exeext
27987 if { (ac_try="$ac_link"
27988 case "(($ac_try" in
27989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27990 *) ac_try_echo=$ac_try;;
27991 esac
27992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27993 (eval "$ac_link") 2>conftest.er1
27994 ac_status=$?
27995 grep -v '^ *+' conftest.er1 >conftest.err
27996 rm -f conftest.er1
27997 cat conftest.err >&5
27998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27999 (exit $ac_status); } && {
28000 test -z "$ac_c_werror_flag" ||
28001 test ! -s conftest.err
28002 } && test -s conftest$ac_exeext &&
28003 $as_test_x conftest$ac_exeext; then
28004 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28005 else
28006 echo "$as_me: failed program was:" >&5
28007 sed 's/^/| /' conftest.$ac_ext >&5
28008
28009 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28010 fi
28011
28012 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28013 conftest$ac_exeext conftest.$ac_ext
28014 LIBS=$ac_check_lib_save_LIBS
28015 fi
28016 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28017 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28018 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28019 MSPACK_LINK=" -lmspack"
28020 fi
28021
28022 fi
28023 if test "x$MSPACK_LINK" = "x" ; then
28024 wxUSE_LIBMSPACK=no
28025 fi
28026 fi
28027
28028 if test "$wxUSE_LIBMSPACK" != "no"; then
28029 cat >>confdefs.h <<\_ACEOF
28030 #define wxUSE_LIBMSPACK 1
28031 _ACEOF
28032
28033 fi
28034
28035
28036
28037 AFMINSTALL=
28038 WIN32INSTALL=
28039
28040 TOOLKIT=
28041 TOOLKIT_INCLUDE=
28042 WIDGET_SET=
28043
28044 if test "$USE_WIN32" = 1 ; then
28045
28046 for ac_header in w32api.h
28047 do
28048 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28049 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28050 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28051 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28052 echo $ECHO_N "(cached) $ECHO_C" >&6
28053 else
28054 cat >conftest.$ac_ext <<_ACEOF
28055 /* confdefs.h. */
28056 _ACEOF
28057 cat confdefs.h >>conftest.$ac_ext
28058 cat >>conftest.$ac_ext <<_ACEOF
28059 /* end confdefs.h. */
28060
28061
28062 #include <$ac_header>
28063 _ACEOF
28064 rm -f conftest.$ac_objext
28065 if { (ac_try="$ac_compile"
28066 case "(($ac_try" in
28067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28068 *) ac_try_echo=$ac_try;;
28069 esac
28070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28071 (eval "$ac_compile") 2>conftest.er1
28072 ac_status=$?
28073 grep -v '^ *+' conftest.er1 >conftest.err
28074 rm -f conftest.er1
28075 cat conftest.err >&5
28076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28077 (exit $ac_status); } && {
28078 test -z "$ac_c_werror_flag" ||
28079 test ! -s conftest.err
28080 } && test -s conftest.$ac_objext; then
28081 eval "$as_ac_Header=yes"
28082 else
28083 echo "$as_me: failed program was:" >&5
28084 sed 's/^/| /' conftest.$ac_ext >&5
28085
28086 eval "$as_ac_Header=no"
28087 fi
28088
28089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28090 fi
28091 ac_res=`eval echo '${'$as_ac_Header'}'`
28092 { echo "$as_me:$LINENO: result: $ac_res" >&5
28093 echo "${ECHO_T}$ac_res" >&6; }
28094 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28095 cat >>confdefs.h <<_ACEOF
28096 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28097 _ACEOF
28098
28099 fi
28100
28101 done
28102
28103 { echo "$as_me:$LINENO: checking for windows.h" >&5
28104 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
28105 if test "${ac_cv_header_windows_h+set}" = set; then
28106 echo $ECHO_N "(cached) $ECHO_C" >&6
28107 else
28108 cat >conftest.$ac_ext <<_ACEOF
28109 /* confdefs.h. */
28110 _ACEOF
28111 cat confdefs.h >>conftest.$ac_ext
28112 cat >>conftest.$ac_ext <<_ACEOF
28113 /* end confdefs.h. */
28114
28115
28116 #include <windows.h>
28117 _ACEOF
28118 rm -f conftest.$ac_objext
28119 if { (ac_try="$ac_compile"
28120 case "(($ac_try" in
28121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28122 *) ac_try_echo=$ac_try;;
28123 esac
28124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28125 (eval "$ac_compile") 2>conftest.er1
28126 ac_status=$?
28127 grep -v '^ *+' conftest.er1 >conftest.err
28128 rm -f conftest.er1
28129 cat conftest.err >&5
28130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28131 (exit $ac_status); } && {
28132 test -z "$ac_c_werror_flag" ||
28133 test ! -s conftest.err
28134 } && test -s conftest.$ac_objext; then
28135 ac_cv_header_windows_h=yes
28136 else
28137 echo "$as_me: failed program was:" >&5
28138 sed 's/^/| /' conftest.$ac_ext >&5
28139
28140 ac_cv_header_windows_h=no
28141 fi
28142
28143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28144 fi
28145 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28146 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28147 if test $ac_cv_header_windows_h = yes; then
28148 :
28149 else
28150
28151 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28152 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28153 { (exit 1); exit 1; }; }
28154
28155 fi
28156
28157
28158
28159 case "${host}" in
28160 x86_64-*-mingw32* )
28161 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28162 ;;
28163 * )
28164 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28165 ;;
28166 esac
28167 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28168 LIBS="$LIBS -loleacc"
28169 fi
28170
28171 case "${host}" in
28172 *-*-cygwin* )
28173 LIBS="$LIBS -lkernel32 -luser32"
28174 esac
28175
28176 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28177 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28178
28179 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28180
28181 WIN32INSTALL=win32install
28182
28183 { echo "$as_me:$LINENO: checking for pbt.h" >&5
28184 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
28185 if test "${ac_cv_header_pbt_h+set}" = set; then
28186 echo $ECHO_N "(cached) $ECHO_C" >&6
28187 else
28188 cat >conftest.$ac_ext <<_ACEOF
28189 /* confdefs.h. */
28190 _ACEOF
28191 cat confdefs.h >>conftest.$ac_ext
28192 cat >>conftest.$ac_ext <<_ACEOF
28193 /* end confdefs.h. */
28194
28195
28196 #include <pbt.h>
28197 _ACEOF
28198 rm -f conftest.$ac_objext
28199 if { (ac_try="$ac_compile"
28200 case "(($ac_try" in
28201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28202 *) ac_try_echo=$ac_try;;
28203 esac
28204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28205 (eval "$ac_compile") 2>conftest.er1
28206 ac_status=$?
28207 grep -v '^ *+' conftest.er1 >conftest.err
28208 rm -f conftest.er1
28209 cat conftest.err >&5
28210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28211 (exit $ac_status); } && {
28212 test -z "$ac_c_werror_flag" ||
28213 test ! -s conftest.err
28214 } && test -s conftest.$ac_objext; then
28215 ac_cv_header_pbt_h=yes
28216 else
28217 echo "$as_me: failed program was:" >&5
28218 sed 's/^/| /' conftest.$ac_ext >&5
28219
28220 ac_cv_header_pbt_h=no
28221 fi
28222
28223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28224 fi
28225 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
28226 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28227 if test $ac_cv_header_pbt_h = yes; then
28228 :
28229 else
28230 cat >>confdefs.h <<\_ACEOF
28231 #define NEED_PBT_H 1
28232 _ACEOF
28233
28234 fi
28235
28236
28237 fi
28238
28239 if test "$wxUSE_GUI" = "yes"; then
28240 USE_GUI=1
28241
28242 GUI_TK_LIBRARY=
28243
28244 WXGTK12=
28245 WXGTK127=
28246 WXGTK2=
28247 WXGPE=
28248
28249 if test "$wxUSE_COCOA" = 1 ; then
28250 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28251 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28252 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28253 wxUSE_PRINTING_ARCHITECTURE=no
28254 fi
28255 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28256 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28257 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28258 wxUSE_DRAG_AND_DROP=no
28259 fi
28260 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28261 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
28262 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
28263 wxUSE_DRAGIMAGE=no
28264 fi
28265 fi
28266
28267 if test "$wxUSE_MSW" = 1 ; then
28268 TOOLKIT=MSW
28269 GUIDIST=MSW_DIST
28270
28271 case "${host}" in
28272 *-*-mingw32* )
28273 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28274 esac
28275 fi
28276
28277 if test "$wxUSE_GTK" = 1; then
28278 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
28279 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
28280
28281 gtk_version_cached=1
28282 if test "${wx_cv_lib_gtk+set}" = set; then
28283 echo $ECHO_N "(cached) $ECHO_C" >&6
28284 else
28285
28286 gtk_version_cached=0
28287 { echo "$as_me:$LINENO: result: " >&5
28288 echo "${ECHO_T}" >&6; }
28289
28290 GTK_MODULES=
28291 if test "$wxUSE_THREADS" = "yes"; then
28292 GTK_MODULES=gthread
28293 fi
28294
28295 wx_cv_lib_gtk=
28296 if test "x$wxGTK_VERSION" != "x1"
28297 then
28298 case "${host}" in
28299 *-*-solaris2* )
28300 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28301 enable_gtktest=no
28302 fi
28303 esac
28304
28305 # Check whether --enable-gtktest was given.
28306 if test "${enable_gtktest+set}" = set; then
28307 enableval=$enable_gtktest;
28308 else
28309 enable_gtktest=yes
28310 fi
28311
28312
28313 pkg_config_args=gtk+-2.0
28314 for module in . $GTK_MODULES
28315 do
28316 case "$module" in
28317 gthread)
28318 pkg_config_args="$pkg_config_args gthread-2.0"
28319 ;;
28320 esac
28321 done
28322
28323 no_gtk=""
28324
28325 # Extract the first word of "pkg-config", so it can be a program name with args.
28326 set dummy pkg-config; ac_word=$2
28327 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28329 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28330 echo $ECHO_N "(cached) $ECHO_C" >&6
28331 else
28332 case $PKG_CONFIG in
28333 [\\/]* | ?:[\\/]*)
28334 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28335 ;;
28336 *)
28337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28338 for as_dir in $PATH
28339 do
28340 IFS=$as_save_IFS
28341 test -z "$as_dir" && as_dir=.
28342 for ac_exec_ext in '' $ac_executable_extensions; do
28343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28344 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28346 break 2
28347 fi
28348 done
28349 done
28350 IFS=$as_save_IFS
28351
28352 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28353 ;;
28354 esac
28355 fi
28356 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28357 if test -n "$PKG_CONFIG"; then
28358 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28359 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28360 else
28361 { echo "$as_me:$LINENO: result: no" >&5
28362 echo "${ECHO_T}no" >&6; }
28363 fi
28364
28365
28366
28367 if test x$PKG_CONFIG != xno ; then
28368 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28369 :
28370 else
28371 echo "*** pkg-config too old; version 0.7 or better required."
28372 no_gtk=yes
28373 PKG_CONFIG=no
28374 fi
28375 else
28376 no_gtk=yes
28377 fi
28378
28379 min_gtk_version=2.4.0
28380 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28381 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28382
28383 if test x$PKG_CONFIG != xno ; then
28384 ## don't try to run the test against uninstalled libtool libs
28385 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28386 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28387 enable_gtktest=no
28388 fi
28389
28390 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28391 :
28392 else
28393 no_gtk=yes
28394 fi
28395 fi
28396
28397 if test x"$no_gtk" = x ; then
28398 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28399 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28400 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28401 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28402 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28403 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28404 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28405 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28406 if test "x$enable_gtktest" = "xyes" ; then
28407 ac_save_CFLAGS="$CFLAGS"
28408 ac_save_LIBS="$LIBS"
28409 CFLAGS="$CFLAGS $GTK_CFLAGS"
28410 LIBS="$GTK_LIBS $LIBS"
28411 rm -f conf.gtktest
28412 if test "$cross_compiling" = yes; then
28413 echo $ac_n "cross compiling; assumed OK... $ac_c"
28414 else
28415 cat >conftest.$ac_ext <<_ACEOF
28416 /* confdefs.h. */
28417 _ACEOF
28418 cat confdefs.h >>conftest.$ac_ext
28419 cat >>conftest.$ac_ext <<_ACEOF
28420 /* end confdefs.h. */
28421
28422 #include <gtk/gtk.h>
28423 #include <stdio.h>
28424 #include <stdlib.h>
28425
28426 int
28427 main ()
28428 {
28429 int major, minor, micro;
28430 char *tmp_version;
28431
28432 system ("touch conf.gtktest");
28433
28434 /* HP/UX 9 (%@#!) writes to sscanf strings */
28435 tmp_version = g_strdup("$min_gtk_version");
28436 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28437 printf("%s, bad version string\n", "$min_gtk_version");
28438 exit(1);
28439 }
28440
28441 if ((gtk_major_version != $gtk_config_major_version) ||
28442 (gtk_minor_version != $gtk_config_minor_version) ||
28443 (gtk_micro_version != $gtk_config_micro_version))
28444 {
28445 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28446 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28447 gtk_major_version, gtk_minor_version, gtk_micro_version);
28448 printf ("*** was found! If pkg-config was correct, then it is best\n");
28449 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28450 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28451 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28452 printf("*** required on your system.\n");
28453 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28454 printf("*** to point to the correct configuration files\n");
28455 }
28456 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28457 (gtk_minor_version != GTK_MINOR_VERSION) ||
28458 (gtk_micro_version != GTK_MICRO_VERSION))
28459 {
28460 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28461 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28462 printf("*** library (version %d.%d.%d)\n",
28463 gtk_major_version, gtk_minor_version, gtk_micro_version);
28464 }
28465 else
28466 {
28467 if ((gtk_major_version > major) ||
28468 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28469 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28470 {
28471 return 0;
28472 }
28473 else
28474 {
28475 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28476 gtk_major_version, gtk_minor_version, gtk_micro_version);
28477 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28478 major, minor, micro);
28479 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28480 printf("***\n");
28481 printf("*** If you have already installed a sufficiently new version, this error\n");
28482 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28483 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28484 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28485 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28486 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28487 printf("*** so that the correct libraries are found at run-time))\n");
28488 }
28489 }
28490 return 1;
28491 }
28492
28493 _ACEOF
28494 rm -f conftest$ac_exeext
28495 if { (ac_try="$ac_link"
28496 case "(($ac_try" in
28497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28498 *) ac_try_echo=$ac_try;;
28499 esac
28500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28501 (eval "$ac_link") 2>&5
28502 ac_status=$?
28503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28504 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28505 { (case "(($ac_try" in
28506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28507 *) ac_try_echo=$ac_try;;
28508 esac
28509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28510 (eval "$ac_try") 2>&5
28511 ac_status=$?
28512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28513 (exit $ac_status); }; }; then
28514 :
28515 else
28516 echo "$as_me: program exited with status $ac_status" >&5
28517 echo "$as_me: failed program was:" >&5
28518 sed 's/^/| /' conftest.$ac_ext >&5
28519
28520 ( exit $ac_status )
28521 no_gtk=yes
28522 fi
28523 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28524 fi
28525
28526
28527 CFLAGS="$ac_save_CFLAGS"
28528 LIBS="$ac_save_LIBS"
28529 fi
28530 fi
28531 if test "x$no_gtk" = x ; then
28532 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28533 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28534 wx_cv_lib_gtk=2.0
28535 else
28536 { echo "$as_me:$LINENO: result: no" >&5
28537 echo "${ECHO_T}no" >&6; }
28538 if test "$PKG_CONFIG" = "no" ; then
28539 echo "*** A new enough version of pkg-config was not found."
28540 echo "*** See http://pkgconfig.sourceforge.net"
28541 else
28542 if test -f conf.gtktest ; then
28543 :
28544 else
28545 echo "*** Could not run GTK+ test program, checking why..."
28546 ac_save_CFLAGS="$CFLAGS"
28547 ac_save_LIBS="$LIBS"
28548 CFLAGS="$CFLAGS $GTK_CFLAGS"
28549 LIBS="$LIBS $GTK_LIBS"
28550 cat >conftest.$ac_ext <<_ACEOF
28551 /* confdefs.h. */
28552 _ACEOF
28553 cat confdefs.h >>conftest.$ac_ext
28554 cat >>conftest.$ac_ext <<_ACEOF
28555 /* end confdefs.h. */
28556
28557 #include <gtk/gtk.h>
28558 #include <stdio.h>
28559
28560 int
28561 main ()
28562 {
28563 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28564 ;
28565 return 0;
28566 }
28567 _ACEOF
28568 rm -f conftest.$ac_objext conftest$ac_exeext
28569 if { (ac_try="$ac_link"
28570 case "(($ac_try" in
28571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28572 *) ac_try_echo=$ac_try;;
28573 esac
28574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28575 (eval "$ac_link") 2>conftest.er1
28576 ac_status=$?
28577 grep -v '^ *+' conftest.er1 >conftest.err
28578 rm -f conftest.er1
28579 cat conftest.err >&5
28580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28581 (exit $ac_status); } && {
28582 test -z "$ac_c_werror_flag" ||
28583 test ! -s conftest.err
28584 } && test -s conftest$ac_exeext &&
28585 $as_test_x conftest$ac_exeext; then
28586 echo "*** The test program compiled, but did not run. This usually means"
28587 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28588 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28589 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28590 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28591 echo "*** is required on your system"
28592 echo "***"
28593 echo "*** If you have an old version installed, it is best to remove it, although"
28594 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28595 else
28596 echo "$as_me: failed program was:" >&5
28597 sed 's/^/| /' conftest.$ac_ext >&5
28598
28599 echo "*** The test program failed to compile or link. See the file config.log for the"
28600 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28601 fi
28602
28603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28604 conftest$ac_exeext conftest.$ac_ext
28605 CFLAGS="$ac_save_CFLAGS"
28606 LIBS="$ac_save_LIBS"
28607 fi
28608 fi
28609 GTK_CFLAGS=""
28610 GTK_LIBS=""
28611 :
28612 fi
28613
28614
28615 rm -f conf.gtktest
28616
28617
28618 case "${host}" in
28619 *-*-solaris2* )
28620 if test "$wxUSE_SHARED" != "yes"; then
28621 GTK_LIBS="$GTK_LIBS -lX11"
28622 fi
28623 esac
28624 fi
28625
28626 if test -z "$wx_cv_lib_gtk"; then
28627 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28628
28629 # Check whether --with-gtk-prefix was given.
28630 if test "${with_gtk_prefix+set}" = set; then
28631 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28632 else
28633 gtk_config_prefix=""
28634 fi
28635
28636
28637 # Check whether --with-gtk-exec-prefix was given.
28638 if test "${with_gtk_exec_prefix+set}" = set; then
28639 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28640 else
28641 gtk_config_exec_prefix=""
28642 fi
28643
28644 # Check whether --enable-gtktest was given.
28645 if test "${enable_gtktest+set}" = set; then
28646 enableval=$enable_gtktest;
28647 else
28648 enable_gtktest=yes
28649 fi
28650
28651
28652 for module in . $GTK_MODULES
28653 do
28654 case "$module" in
28655 gthread)
28656 gtk_config_args="$gtk_config_args gthread"
28657 ;;
28658 esac
28659 done
28660
28661 if test x$gtk_config_exec_prefix != x ; then
28662 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28663 if test x${GTK_CONFIG+set} != xset ; then
28664 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28665 fi
28666 fi
28667 if test x$gtk_config_prefix != x ; then
28668 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28669 if test x${GTK_CONFIG+set} != xset ; then
28670 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28671 fi
28672 fi
28673
28674 # Extract the first word of "gtk-config", so it can be a program name with args.
28675 set dummy gtk-config; ac_word=$2
28676 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28678 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28679 echo $ECHO_N "(cached) $ECHO_C" >&6
28680 else
28681 case $GTK_CONFIG in
28682 [\\/]* | ?:[\\/]*)
28683 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28684 ;;
28685 *)
28686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28687 for as_dir in $PATH
28688 do
28689 IFS=$as_save_IFS
28690 test -z "$as_dir" && as_dir=.
28691 for ac_exec_ext in '' $ac_executable_extensions; do
28692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28693 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28695 break 2
28696 fi
28697 done
28698 done
28699 IFS=$as_save_IFS
28700
28701 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28702 ;;
28703 esac
28704 fi
28705 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28706 if test -n "$GTK_CONFIG"; then
28707 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28708 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28709 else
28710 { echo "$as_me:$LINENO: result: no" >&5
28711 echo "${ECHO_T}no" >&6; }
28712 fi
28713
28714
28715 min_gtk_version=1.2.7
28716 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28717 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28718 no_gtk=""
28719 if test "$GTK_CONFIG" = "no" ; then
28720 no_gtk=yes
28721 else
28722 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28723 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28724 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28725 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28726 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28727 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28728 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28729 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28730 if test "x$enable_gtktest" = "xyes" ; then
28731 ac_save_CFLAGS="$CFLAGS"
28732 ac_save_LIBS="$LIBS"
28733 CFLAGS="$CFLAGS $GTK_CFLAGS"
28734 LIBS="$GTK_LIBS $LIBS"
28735 rm -f conf.gtktest
28736 if test "$cross_compiling" = yes; then
28737 echo $ac_n "cross compiling; assumed OK... $ac_c"
28738 else
28739 cat >conftest.$ac_ext <<_ACEOF
28740 /* confdefs.h. */
28741 _ACEOF
28742 cat confdefs.h >>conftest.$ac_ext
28743 cat >>conftest.$ac_ext <<_ACEOF
28744 /* end confdefs.h. */
28745
28746 #include <gtk/gtk.h>
28747 #include <stdio.h>
28748 #include <stdlib.h>
28749
28750 int
28751 main ()
28752 {
28753 int major, minor, micro;
28754 char *tmp_version;
28755
28756 system ("touch conf.gtktest");
28757
28758 /* HP/UX 9 (%@#!) writes to sscanf strings */
28759 tmp_version = g_strdup("$min_gtk_version");
28760 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28761 printf("%s, bad version string\n", "$min_gtk_version");
28762 exit(1);
28763 }
28764
28765 if ((gtk_major_version != $gtk_config_major_version) ||
28766 (gtk_minor_version != $gtk_config_minor_version) ||
28767 (gtk_micro_version != $gtk_config_micro_version))
28768 {
28769 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28770 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28771 gtk_major_version, gtk_minor_version, gtk_micro_version);
28772 printf ("*** was found! If gtk-config was correct, then it is best\n");
28773 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28774 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28775 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28776 printf("*** required on your system.\n");
28777 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28778 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28779 printf("*** before re-running configure\n");
28780 }
28781 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28782 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28783 (gtk_minor_version != GTK_MINOR_VERSION) ||
28784 (gtk_micro_version != GTK_MICRO_VERSION))
28785 {
28786 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28787 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28788 printf("*** library (version %d.%d.%d)\n",
28789 gtk_major_version, gtk_minor_version, gtk_micro_version);
28790 }
28791 #endif /* defined (GTK_MAJOR_VERSION) ... */
28792 else
28793 {
28794 if ((gtk_major_version > major) ||
28795 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28796 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28797 {
28798 return 0;
28799 }
28800 else
28801 {
28802 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28803 gtk_major_version, gtk_minor_version, gtk_micro_version);
28804 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28805 major, minor, micro);
28806 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28807 printf("***\n");
28808 printf("*** If you have already installed a sufficiently new version, this error\n");
28809 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28810 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28811 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28812 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28813 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28814 printf("*** so that the correct libraries are found at run-time))\n");
28815 }
28816 }
28817 return 1;
28818 }
28819
28820 _ACEOF
28821 rm -f conftest$ac_exeext
28822 if { (ac_try="$ac_link"
28823 case "(($ac_try" in
28824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28825 *) ac_try_echo=$ac_try;;
28826 esac
28827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28828 (eval "$ac_link") 2>&5
28829 ac_status=$?
28830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28831 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28832 { (case "(($ac_try" in
28833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28834 *) ac_try_echo=$ac_try;;
28835 esac
28836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28837 (eval "$ac_try") 2>&5
28838 ac_status=$?
28839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28840 (exit $ac_status); }; }; then
28841 :
28842 else
28843 echo "$as_me: program exited with status $ac_status" >&5
28844 echo "$as_me: failed program was:" >&5
28845 sed 's/^/| /' conftest.$ac_ext >&5
28846
28847 ( exit $ac_status )
28848 no_gtk=yes
28849 fi
28850 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28851 fi
28852
28853
28854 CFLAGS="$ac_save_CFLAGS"
28855 LIBS="$ac_save_LIBS"
28856 fi
28857 fi
28858 if test "x$no_gtk" = x ; then
28859 { echo "$as_me:$LINENO: result: yes" >&5
28860 echo "${ECHO_T}yes" >&6; }
28861 wx_cv_lib_gtk=1.2.7
28862 else
28863 { echo "$as_me:$LINENO: result: no" >&5
28864 echo "${ECHO_T}no" >&6; }
28865 if test "$GTK_CONFIG" = "no" ; then
28866 echo "*** The gtk-config script installed by GTK could not be found"
28867 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28868 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28869 echo "*** full path to gtk-config."
28870 else
28871 if test -f conf.gtktest ; then
28872 :
28873 else
28874 echo "*** Could not run GTK test program, checking why..."
28875 CFLAGS="$CFLAGS $GTK_CFLAGS"
28876 LIBS="$LIBS $GTK_LIBS"
28877 cat >conftest.$ac_ext <<_ACEOF
28878 /* confdefs.h. */
28879 _ACEOF
28880 cat confdefs.h >>conftest.$ac_ext
28881 cat >>conftest.$ac_ext <<_ACEOF
28882 /* end confdefs.h. */
28883
28884 #include <gtk/gtk.h>
28885 #include <stdio.h>
28886
28887 int
28888 main ()
28889 {
28890 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28891 ;
28892 return 0;
28893 }
28894 _ACEOF
28895 rm -f conftest.$ac_objext conftest$ac_exeext
28896 if { (ac_try="$ac_link"
28897 case "(($ac_try" in
28898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28899 *) ac_try_echo=$ac_try;;
28900 esac
28901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28902 (eval "$ac_link") 2>conftest.er1
28903 ac_status=$?
28904 grep -v '^ *+' conftest.er1 >conftest.err
28905 rm -f conftest.er1
28906 cat conftest.err >&5
28907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28908 (exit $ac_status); } && {
28909 test -z "$ac_c_werror_flag" ||
28910 test ! -s conftest.err
28911 } && test -s conftest$ac_exeext &&
28912 $as_test_x conftest$ac_exeext; then
28913 echo "*** The test program compiled, but did not run. This usually means"
28914 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28915 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28916 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28917 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28918 echo "*** is required on your system"
28919 echo "***"
28920 echo "*** If you have an old version installed, it is best to remove it, although"
28921 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28922 echo "***"
28923 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28924 echo "*** came with the system with the command"
28925 echo "***"
28926 echo "*** rpm --erase --nodeps gtk gtk-devel"
28927 else
28928 echo "$as_me: failed program was:" >&5
28929 sed 's/^/| /' conftest.$ac_ext >&5
28930
28931 echo "*** The test program failed to compile or link. See the file config.log for the"
28932 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28933 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28934 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28935 fi
28936
28937 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28938 conftest$ac_exeext conftest.$ac_ext
28939 CFLAGS="$ac_save_CFLAGS"
28940 LIBS="$ac_save_LIBS"
28941 fi
28942 fi
28943 GTK_CFLAGS=""
28944 GTK_LIBS=""
28945 :
28946 fi
28947
28948
28949 rm -f conf.gtktest
28950
28951
28952 if test -z "$wx_cv_lib_gtk"; then
28953
28954 # Check whether --with-gtk-prefix was given.
28955 if test "${with_gtk_prefix+set}" = set; then
28956 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28957 else
28958 gtk_config_prefix=""
28959 fi
28960
28961
28962 # Check whether --with-gtk-exec-prefix was given.
28963 if test "${with_gtk_exec_prefix+set}" = set; then
28964 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28965 else
28966 gtk_config_exec_prefix=""
28967 fi
28968
28969 # Check whether --enable-gtktest was given.
28970 if test "${enable_gtktest+set}" = set; then
28971 enableval=$enable_gtktest;
28972 else
28973 enable_gtktest=yes
28974 fi
28975
28976
28977 for module in . $GTK_MODULES
28978 do
28979 case "$module" in
28980 gthread)
28981 gtk_config_args="$gtk_config_args gthread"
28982 ;;
28983 esac
28984 done
28985
28986 if test x$gtk_config_exec_prefix != x ; then
28987 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28988 if test x${GTK_CONFIG+set} != xset ; then
28989 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28990 fi
28991 fi
28992 if test x$gtk_config_prefix != x ; then
28993 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28994 if test x${GTK_CONFIG+set} != xset ; then
28995 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28996 fi
28997 fi
28998
28999 # Extract the first word of "gtk-config", so it can be a program name with args.
29000 set dummy gtk-config; ac_word=$2
29001 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29003 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29004 echo $ECHO_N "(cached) $ECHO_C" >&6
29005 else
29006 case $GTK_CONFIG in
29007 [\\/]* | ?:[\\/]*)
29008 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29009 ;;
29010 *)
29011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29012 for as_dir in $PATH
29013 do
29014 IFS=$as_save_IFS
29015 test -z "$as_dir" && as_dir=.
29016 for ac_exec_ext in '' $ac_executable_extensions; do
29017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29018 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29020 break 2
29021 fi
29022 done
29023 done
29024 IFS=$as_save_IFS
29025
29026 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29027 ;;
29028 esac
29029 fi
29030 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29031 if test -n "$GTK_CONFIG"; then
29032 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29033 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29034 else
29035 { echo "$as_me:$LINENO: result: no" >&5
29036 echo "${ECHO_T}no" >&6; }
29037 fi
29038
29039
29040 min_gtk_version=1.2.3
29041 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29042 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29043 no_gtk=""
29044 if test "$GTK_CONFIG" = "no" ; then
29045 no_gtk=yes
29046 else
29047 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29048 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29049 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29050 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29051 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29052 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29053 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29054 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29055 if test "x$enable_gtktest" = "xyes" ; then
29056 ac_save_CFLAGS="$CFLAGS"
29057 ac_save_LIBS="$LIBS"
29058 CFLAGS="$CFLAGS $GTK_CFLAGS"
29059 LIBS="$GTK_LIBS $LIBS"
29060 rm -f conf.gtktest
29061 if test "$cross_compiling" = yes; then
29062 echo $ac_n "cross compiling; assumed OK... $ac_c"
29063 else
29064 cat >conftest.$ac_ext <<_ACEOF
29065 /* confdefs.h. */
29066 _ACEOF
29067 cat confdefs.h >>conftest.$ac_ext
29068 cat >>conftest.$ac_ext <<_ACEOF
29069 /* end confdefs.h. */
29070
29071 #include <gtk/gtk.h>
29072 #include <stdio.h>
29073 #include <stdlib.h>
29074
29075 int
29076 main ()
29077 {
29078 int major, minor, micro;
29079 char *tmp_version;
29080
29081 system ("touch conf.gtktest");
29082
29083 /* HP/UX 9 (%@#!) writes to sscanf strings */
29084 tmp_version = g_strdup("$min_gtk_version");
29085 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29086 printf("%s, bad version string\n", "$min_gtk_version");
29087 exit(1);
29088 }
29089
29090 if ((gtk_major_version != $gtk_config_major_version) ||
29091 (gtk_minor_version != $gtk_config_minor_version) ||
29092 (gtk_micro_version != $gtk_config_micro_version))
29093 {
29094 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29095 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29096 gtk_major_version, gtk_minor_version, gtk_micro_version);
29097 printf ("*** was found! If gtk-config was correct, then it is best\n");
29098 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29099 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29100 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29101 printf("*** required on your system.\n");
29102 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29103 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29104 printf("*** before re-running configure\n");
29105 }
29106 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29107 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29108 (gtk_minor_version != GTK_MINOR_VERSION) ||
29109 (gtk_micro_version != GTK_MICRO_VERSION))
29110 {
29111 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29112 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29113 printf("*** library (version %d.%d.%d)\n",
29114 gtk_major_version, gtk_minor_version, gtk_micro_version);
29115 }
29116 #endif /* defined (GTK_MAJOR_VERSION) ... */
29117 else
29118 {
29119 if ((gtk_major_version > major) ||
29120 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29121 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29122 {
29123 return 0;
29124 }
29125 else
29126 {
29127 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29128 gtk_major_version, gtk_minor_version, gtk_micro_version);
29129 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29130 major, minor, micro);
29131 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29132 printf("***\n");
29133 printf("*** If you have already installed a sufficiently new version, this error\n");
29134 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29135 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29136 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29137 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29138 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29139 printf("*** so that the correct libraries are found at run-time))\n");
29140 }
29141 }
29142 return 1;
29143 }
29144
29145 _ACEOF
29146 rm -f conftest$ac_exeext
29147 if { (ac_try="$ac_link"
29148 case "(($ac_try" in
29149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29150 *) ac_try_echo=$ac_try;;
29151 esac
29152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29153 (eval "$ac_link") 2>&5
29154 ac_status=$?
29155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29156 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29157 { (case "(($ac_try" in
29158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29159 *) ac_try_echo=$ac_try;;
29160 esac
29161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29162 (eval "$ac_try") 2>&5
29163 ac_status=$?
29164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29165 (exit $ac_status); }; }; then
29166 :
29167 else
29168 echo "$as_me: program exited with status $ac_status" >&5
29169 echo "$as_me: failed program was:" >&5
29170 sed 's/^/| /' conftest.$ac_ext >&5
29171
29172 ( exit $ac_status )
29173 no_gtk=yes
29174 fi
29175 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29176 fi
29177
29178
29179 CFLAGS="$ac_save_CFLAGS"
29180 LIBS="$ac_save_LIBS"
29181 fi
29182 fi
29183 if test "x$no_gtk" = x ; then
29184 { echo "$as_me:$LINENO: result: yes" >&5
29185 echo "${ECHO_T}yes" >&6; }
29186 wx_cv_lib_gtk=1.2.3
29187 else
29188 { echo "$as_me:$LINENO: result: no" >&5
29189 echo "${ECHO_T}no" >&6; }
29190 if test "$GTK_CONFIG" = "no" ; then
29191 echo "*** The gtk-config script installed by GTK could not be found"
29192 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29193 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29194 echo "*** full path to gtk-config."
29195 else
29196 if test -f conf.gtktest ; then
29197 :
29198 else
29199 echo "*** Could not run GTK test program, checking why..."
29200 CFLAGS="$CFLAGS $GTK_CFLAGS"
29201 LIBS="$LIBS $GTK_LIBS"
29202 cat >conftest.$ac_ext <<_ACEOF
29203 /* confdefs.h. */
29204 _ACEOF
29205 cat confdefs.h >>conftest.$ac_ext
29206 cat >>conftest.$ac_ext <<_ACEOF
29207 /* end confdefs.h. */
29208
29209 #include <gtk/gtk.h>
29210 #include <stdio.h>
29211
29212 int
29213 main ()
29214 {
29215 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29216 ;
29217 return 0;
29218 }
29219 _ACEOF
29220 rm -f conftest.$ac_objext conftest$ac_exeext
29221 if { (ac_try="$ac_link"
29222 case "(($ac_try" in
29223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29224 *) ac_try_echo=$ac_try;;
29225 esac
29226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29227 (eval "$ac_link") 2>conftest.er1
29228 ac_status=$?
29229 grep -v '^ *+' conftest.er1 >conftest.err
29230 rm -f conftest.er1
29231 cat conftest.err >&5
29232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29233 (exit $ac_status); } && {
29234 test -z "$ac_c_werror_flag" ||
29235 test ! -s conftest.err
29236 } && test -s conftest$ac_exeext &&
29237 $as_test_x conftest$ac_exeext; then
29238 echo "*** The test program compiled, but did not run. This usually means"
29239 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29240 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29241 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29242 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29243 echo "*** is required on your system"
29244 echo "***"
29245 echo "*** If you have an old version installed, it is best to remove it, although"
29246 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29247 echo "***"
29248 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29249 echo "*** came with the system with the command"
29250 echo "***"
29251 echo "*** rpm --erase --nodeps gtk gtk-devel"
29252 else
29253 echo "$as_me: failed program was:" >&5
29254 sed 's/^/| /' conftest.$ac_ext >&5
29255
29256 echo "*** The test program failed to compile or link. See the file config.log for the"
29257 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29258 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29259 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29260 fi
29261
29262 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29263 conftest$ac_exeext conftest.$ac_ext
29264 CFLAGS="$ac_save_CFLAGS"
29265 LIBS="$ac_save_LIBS"
29266 fi
29267 fi
29268 GTK_CFLAGS=""
29269 GTK_LIBS=""
29270 :
29271 fi
29272
29273
29274 rm -f conf.gtktest
29275
29276 fi
29277 fi
29278 fi
29279
29280 if test -z "$wx_cv_lib_gtk"; then
29281 wx_cv_lib_gtk=none
29282 else
29283 wx_cv_cflags_gtk=$GTK_CFLAGS
29284 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29285 fi
29286
29287
29288 fi
29289
29290
29291 if test "$gtk_version_cached" = 1; then
29292 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29293 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29294 fi
29295
29296 case "$wx_cv_lib_gtk" in
29297 2.0) WXGTK2=1
29298 TOOLKIT_VERSION=2
29299 ;;
29300 1.2.7) WXGTK127=1
29301 WXGTK12=1
29302 ;;
29303 1.2.3) WXGTK12=1
29304 ;;
29305 *) { { echo "$as_me:$LINENO: error:
29306 The development files for GTK+ were not found. For GTK+ 2, please
29307 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29308 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29309 and that the version is 1.2.3 or above. Also check that the
29310 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29311 --libs' are in the LD_LIBRARY_PATH or equivalent.
29312 " >&5
29313 echo "$as_me: error:
29314 The development files for GTK+ were not found. For GTK+ 2, please
29315 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29316 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29317 and that the version is 1.2.3 or above. Also check that the
29318 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29319 --libs' are in the LD_LIBRARY_PATH or equivalent.
29320 " >&2;}
29321 { (exit 1); exit 1; }; }
29322 ;;
29323 esac
29324
29325 if test "$WXGTK2" = 1; then
29326 save_CFLAGS="$CFLAGS"
29327 save_LIBS="$LIBS"
29328 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29329 LIBS="$LIBS $wx_cv_libs_gtk"
29330
29331 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29332 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29333 cat >conftest.$ac_ext <<_ACEOF
29334 /* confdefs.h. */
29335 _ACEOF
29336 cat confdefs.h >>conftest.$ac_ext
29337 cat >>conftest.$ac_ext <<_ACEOF
29338 /* end confdefs.h. */
29339
29340 #include <gtk/gtk.h>
29341
29342 int
29343 main ()
29344 {
29345
29346 #if !GTK_CHECK_VERSION(2,10,0)
29347 Not GTK+ 2.10
29348 #endif
29349
29350 ;
29351 return 0;
29352 }
29353 _ACEOF
29354 rm -f conftest.$ac_objext
29355 if { (ac_try="$ac_compile"
29356 case "(($ac_try" in
29357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29358 *) ac_try_echo=$ac_try;;
29359 esac
29360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29361 (eval "$ac_compile") 2>conftest.er1
29362 ac_status=$?
29363 grep -v '^ *+' conftest.er1 >conftest.err
29364 rm -f conftest.er1
29365 cat conftest.err >&5
29366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29367 (exit $ac_status); } && {
29368 test -z "$ac_c_werror_flag" ||
29369 test ! -s conftest.err
29370 } && test -s conftest.$ac_objext; then
29371
29372 cat >>confdefs.h <<\_ACEOF
29373 #define __WXGTK210__ 1
29374 _ACEOF
29375
29376 cat >>confdefs.h <<\_ACEOF
29377 #define __WXGTK26__ 1
29378 _ACEOF
29379
29380 { echo "$as_me:$LINENO: result: yes" >&5
29381 echo "${ECHO_T}yes" >&6; }
29382 ac_wxgtk210=1
29383
29384 else
29385 echo "$as_me: failed program was:" >&5
29386 sed 's/^/| /' conftest.$ac_ext >&5
29387
29388
29389 { echo "$as_me:$LINENO: result: no" >&5
29390 echo "${ECHO_T}no" >&6; }
29391 ac_wxgtk210=0
29392
29393 fi
29394
29395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29396
29397 if test "$ac_wxgtk210" = 0; then
29398 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29399 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29400 cat >conftest.$ac_ext <<_ACEOF
29401 /* confdefs.h. */
29402 _ACEOF
29403 cat confdefs.h >>conftest.$ac_ext
29404 cat >>conftest.$ac_ext <<_ACEOF
29405 /* end confdefs.h. */
29406
29407 #include <gtk/gtk.h>
29408
29409 int
29410 main ()
29411 {
29412
29413 #if !GTK_CHECK_VERSION(2,6,0)
29414 Not GTK+ 2.6
29415 #endif
29416
29417 ;
29418 return 0;
29419 }
29420 _ACEOF
29421 rm -f conftest.$ac_objext
29422 if { (ac_try="$ac_compile"
29423 case "(($ac_try" in
29424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29425 *) ac_try_echo=$ac_try;;
29426 esac
29427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29428 (eval "$ac_compile") 2>conftest.er1
29429 ac_status=$?
29430 grep -v '^ *+' conftest.er1 >conftest.err
29431 rm -f conftest.er1
29432 cat conftest.err >&5
29433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29434 (exit $ac_status); } && {
29435 test -z "$ac_c_werror_flag" ||
29436 test ! -s conftest.err
29437 } && test -s conftest.$ac_objext; then
29438
29439 cat >>confdefs.h <<\_ACEOF
29440 #define __WXGTK26__ 1
29441 _ACEOF
29442
29443 { echo "$as_me:$LINENO: result: yes" >&5
29444 echo "${ECHO_T}yes" >&6; }
29445 ac_wxgtk26=1
29446
29447 else
29448 echo "$as_me: failed program was:" >&5
29449 sed 's/^/| /' conftest.$ac_ext >&5
29450
29451
29452 { echo "$as_me:$LINENO: result: no" >&5
29453 echo "${ECHO_T}no" >&6; }
29454 ac_wxgtk26=0
29455
29456 fi
29457
29458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29459 fi
29460
29461 CFLAGS="$save_CFLAGS"
29462 LIBS="$save_LIBS"
29463 else
29464 if test "$wxUSE_UNICODE" = "yes"; then
29465 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29466 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29467 wxUSE_UNICODE=no
29468 fi
29469
29470 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29471 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29472 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29473 echo $ECHO_N "(cached) $ECHO_C" >&6
29474 else
29475 ac_check_lib_save_LIBS=$LIBS
29476 LIBS="-lgdk $LIBS"
29477 cat >conftest.$ac_ext <<_ACEOF
29478 /* confdefs.h. */
29479 _ACEOF
29480 cat confdefs.h >>conftest.$ac_ext
29481 cat >>conftest.$ac_ext <<_ACEOF
29482 /* end confdefs.h. */
29483
29484 /* Override any GCC internal prototype to avoid an error.
29485 Use char because int might match the return type of a GCC
29486 builtin and then its argument prototype would still apply. */
29487 #ifdef __cplusplus
29488 extern "C"
29489 #endif
29490 char gdk_im_open ();
29491 int
29492 main ()
29493 {
29494 return gdk_im_open ();
29495 ;
29496 return 0;
29497 }
29498 _ACEOF
29499 rm -f conftest.$ac_objext conftest$ac_exeext
29500 if { (ac_try="$ac_link"
29501 case "(($ac_try" in
29502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29503 *) ac_try_echo=$ac_try;;
29504 esac
29505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29506 (eval "$ac_link") 2>conftest.er1
29507 ac_status=$?
29508 grep -v '^ *+' conftest.er1 >conftest.err
29509 rm -f conftest.er1
29510 cat conftest.err >&5
29511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29512 (exit $ac_status); } && {
29513 test -z "$ac_c_werror_flag" ||
29514 test ! -s conftest.err
29515 } && test -s conftest$ac_exeext &&
29516 $as_test_x conftest$ac_exeext; then
29517 ac_cv_lib_gdk_gdk_im_open=yes
29518 else
29519 echo "$as_me: failed program was:" >&5
29520 sed 's/^/| /' conftest.$ac_ext >&5
29521
29522 ac_cv_lib_gdk_gdk_im_open=no
29523 fi
29524
29525 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29526 conftest$ac_exeext conftest.$ac_ext
29527 LIBS=$ac_check_lib_save_LIBS
29528 fi
29529 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29530 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29531 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29532 cat >>confdefs.h <<\_ACEOF
29533 #define HAVE_XIM 1
29534 _ACEOF
29535
29536 fi
29537
29538
29539 if test "$USE_DARWIN" != 1; then
29540
29541 for ac_func in poll
29542 do
29543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29544 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29546 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29547 echo $ECHO_N "(cached) $ECHO_C" >&6
29548 else
29549 cat >conftest.$ac_ext <<_ACEOF
29550 /* confdefs.h. */
29551 _ACEOF
29552 cat confdefs.h >>conftest.$ac_ext
29553 cat >>conftest.$ac_ext <<_ACEOF
29554 /* end confdefs.h. */
29555 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29557 #define $ac_func innocuous_$ac_func
29558
29559 /* System header to define __stub macros and hopefully few prototypes,
29560 which can conflict with char $ac_func (); below.
29561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29562 <limits.h> exists even on freestanding compilers. */
29563
29564 #ifdef __STDC__
29565 # include <limits.h>
29566 #else
29567 # include <assert.h>
29568 #endif
29569
29570 #undef $ac_func
29571
29572 /* Override any GCC internal prototype to avoid an error.
29573 Use char because int might match the return type of a GCC
29574 builtin and then its argument prototype would still apply. */
29575 #ifdef __cplusplus
29576 extern "C"
29577 #endif
29578 char $ac_func ();
29579 /* The GNU C library defines this for functions which it implements
29580 to always fail with ENOSYS. Some functions are actually named
29581 something starting with __ and the normal name is an alias. */
29582 #if defined __stub_$ac_func || defined __stub___$ac_func
29583 choke me
29584 #endif
29585
29586 int
29587 main ()
29588 {
29589 return $ac_func ();
29590 ;
29591 return 0;
29592 }
29593 _ACEOF
29594 rm -f conftest.$ac_objext conftest$ac_exeext
29595 if { (ac_try="$ac_link"
29596 case "(($ac_try" in
29597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29598 *) ac_try_echo=$ac_try;;
29599 esac
29600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29601 (eval "$ac_link") 2>conftest.er1
29602 ac_status=$?
29603 grep -v '^ *+' conftest.er1 >conftest.err
29604 rm -f conftest.er1
29605 cat conftest.err >&5
29606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29607 (exit $ac_status); } && {
29608 test -z "$ac_c_werror_flag" ||
29609 test ! -s conftest.err
29610 } && test -s conftest$ac_exeext &&
29611 $as_test_x conftest$ac_exeext; then
29612 eval "$as_ac_var=yes"
29613 else
29614 echo "$as_me: failed program was:" >&5
29615 sed 's/^/| /' conftest.$ac_ext >&5
29616
29617 eval "$as_ac_var=no"
29618 fi
29619
29620 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29621 conftest$ac_exeext conftest.$ac_ext
29622 fi
29623 ac_res=`eval echo '${'$as_ac_var'}'`
29624 { echo "$as_me:$LINENO: result: $ac_res" >&5
29625 echo "${ECHO_T}$ac_res" >&6; }
29626 if test `eval echo '${'$as_ac_var'}'` = yes; then
29627 cat >>confdefs.h <<_ACEOF
29628 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29629 _ACEOF
29630
29631 fi
29632 done
29633
29634 fi
29635 fi
29636
29637 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29638 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29639
29640 AFMINSTALL=afminstall
29641 TOOLKIT=GTK
29642 GUIDIST=GTK_DIST
29643
29644 if test "$wxUSE_GPE" = "yes"; then
29645 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29646 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29647
29648 ac_find_libraries=
29649 for ac_dir in $SEARCH_LIB;
29650 do
29651 for ac_extension in a so sl dylib dll.a; do
29652 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29653 ac_find_libraries=$ac_dir
29654 break 2
29655 fi
29656 done
29657 done
29658
29659 if test "$ac_find_libraries" != "" ; then
29660
29661 if test "$ac_find_libraries" = "default location"; then
29662 ac_path_to_link=""
29663 else
29664 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29665 result=$?
29666 if test $result = 0; then
29667 ac_path_to_link=""
29668 else
29669 ac_path_to_link=" -L$ac_find_libraries"
29670 fi
29671 fi
29672
29673 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29674 WXGPE=1
29675 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29676 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29677 else
29678 { echo "$as_me:$LINENO: result: not found" >&5
29679 echo "${ECHO_T}not found" >&6; }
29680 fi
29681
29682 fi
29683 fi
29684
29685 if test "$wxUSE_MGL" = 1; then
29686 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29687 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29688 if test "x$MGL_ROOT" = x ; then
29689 { echo "$as_me:$LINENO: result: not found" >&5
29690 echo "${ECHO_T}not found" >&6; }
29691 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29692 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29693 { (exit 1); exit 1; }; }
29694 else
29695 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29696 echo "${ECHO_T}$MGL_ROOT" >&6; }
29697 fi
29698
29699 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29700 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29701 case "${host}" in
29702 *-*-linux* )
29703 if test "x$wxUSE_SHARED" = xyes ; then
29704 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29705 else
29706 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29707 fi
29708 ;;
29709 *-pc-msdosdjgpp )
29710 mgl_os_candidates="dos32/dj2"
29711 ;;
29712 *)
29713 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29714 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29715 { (exit 1); exit 1; }; }
29716 esac
29717
29718 mgl_lib_type=""
29719 mgl_os=""
29720
29721 for mgl_os_i in $mgl_os_candidates ; do
29722 if test "x$mgl_os" = x ; then
29723 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29724 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29725 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29726 mgl_lib_type=debug
29727 mgl_os=$mgl_os_i
29728 fi
29729 fi
29730 if test "x$mgl_lib_type" = x ; then
29731 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29732 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29733 mgl_lib_type=release
29734 mgl_os=$mgl_os_i
29735 fi
29736 fi
29737 fi
29738 done
29739
29740 if test "x$mgl_os" = x ; then
29741 { echo "$as_me:$LINENO: result: not found" >&5
29742 echo "${ECHO_T}not found" >&6; }
29743 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29744 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29745 { (exit 1); exit 1; }; }
29746 fi
29747 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29748 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29749
29750 wxUSE_UNIVERSAL="yes"
29751
29752 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29753 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29754
29755 AFMINSTALL=afminstall
29756 TOOLKIT=MGL
29757 GUIDIST=MGL_DIST
29758 fi
29759
29760 if test "$wxUSE_DFB" = 1; then
29761
29762
29763 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29764 if test -n "$ac_tool_prefix"; then
29765 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29766 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29767 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29769 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29770 echo $ECHO_N "(cached) $ECHO_C" >&6
29771 else
29772 case $PKG_CONFIG in
29773 [\\/]* | ?:[\\/]*)
29774 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29775 ;;
29776 *)
29777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29778 for as_dir in $PATH
29779 do
29780 IFS=$as_save_IFS
29781 test -z "$as_dir" && as_dir=.
29782 for ac_exec_ext in '' $ac_executable_extensions; do
29783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29784 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29786 break 2
29787 fi
29788 done
29789 done
29790 IFS=$as_save_IFS
29791
29792 ;;
29793 esac
29794 fi
29795 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29796 if test -n "$PKG_CONFIG"; then
29797 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29798 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29799 else
29800 { echo "$as_me:$LINENO: result: no" >&5
29801 echo "${ECHO_T}no" >&6; }
29802 fi
29803
29804
29805 fi
29806 if test -z "$ac_cv_path_PKG_CONFIG"; then
29807 ac_pt_PKG_CONFIG=$PKG_CONFIG
29808 # Extract the first word of "pkg-config", so it can be a program name with args.
29809 set dummy pkg-config; ac_word=$2
29810 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29812 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29813 echo $ECHO_N "(cached) $ECHO_C" >&6
29814 else
29815 case $ac_pt_PKG_CONFIG in
29816 [\\/]* | ?:[\\/]*)
29817 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29818 ;;
29819 *)
29820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29821 for as_dir in $PATH
29822 do
29823 IFS=$as_save_IFS
29824 test -z "$as_dir" && as_dir=.
29825 for ac_exec_ext in '' $ac_executable_extensions; do
29826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29827 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29829 break 2
29830 fi
29831 done
29832 done
29833 IFS=$as_save_IFS
29834
29835 ;;
29836 esac
29837 fi
29838 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29839 if test -n "$ac_pt_PKG_CONFIG"; then
29840 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29841 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29842 else
29843 { echo "$as_me:$LINENO: result: no" >&5
29844 echo "${ECHO_T}no" >&6; }
29845 fi
29846
29847 if test "x$ac_pt_PKG_CONFIG" = x; then
29848 PKG_CONFIG=""
29849 else
29850 case $cross_compiling:$ac_tool_warned in
29851 yes:)
29852 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29853 whose name does not start with the host triplet. If you think this
29854 configuration is useful to you, please write to autoconf@gnu.org." >&5
29855 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29856 whose name does not start with the host triplet. If you think this
29857 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29858 ac_tool_warned=yes ;;
29859 esac
29860 PKG_CONFIG=$ac_pt_PKG_CONFIG
29861 fi
29862 else
29863 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29864 fi
29865
29866 fi
29867 if test -n "$PKG_CONFIG"; then
29868 _pkg_min_version=0.9.0
29869 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29870 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29871 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29872 { echo "$as_me:$LINENO: result: yes" >&5
29873 echo "${ECHO_T}yes" >&6; }
29874 else
29875 { echo "$as_me:$LINENO: result: no" >&5
29876 echo "${ECHO_T}no" >&6; }
29877 PKG_CONFIG=""
29878 fi
29879
29880 fi
29881
29882
29883 pkg_failed=no
29884 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29885 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29886
29887 if test -n "$PKG_CONFIG"; then
29888 if test -n "$DIRECTFB_CFLAGS"; then
29889 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29890 else
29891 if test -n "$PKG_CONFIG" && \
29892 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29893 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29894 ac_status=$?
29895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29896 (exit $ac_status); }; then
29897 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29898 else
29899 pkg_failed=yes
29900 fi
29901 fi
29902 else
29903 pkg_failed=untried
29904 fi
29905 if test -n "$PKG_CONFIG"; then
29906 if test -n "$DIRECTFB_LIBS"; then
29907 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29908 else
29909 if test -n "$PKG_CONFIG" && \
29910 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29911 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29912 ac_status=$?
29913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29914 (exit $ac_status); }; then
29915 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29916 else
29917 pkg_failed=yes
29918 fi
29919 fi
29920 else
29921 pkg_failed=untried
29922 fi
29923
29924
29925
29926 if test $pkg_failed = yes; then
29927
29928 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29929 _pkg_short_errors_supported=yes
29930 else
29931 _pkg_short_errors_supported=no
29932 fi
29933 if test $_pkg_short_errors_supported = yes; then
29934 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29935 else
29936 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29937 fi
29938 # Put the nasty error message in config.log where it belongs
29939 echo "$DIRECTFB_PKG_ERRORS" >&5
29940
29941
29942 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29943 echo "$as_me: error: DirectFB not found." >&2;}
29944 { (exit 1); exit 1; }; }
29945
29946
29947 elif test $pkg_failed = untried; then
29948
29949 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29950 echo "$as_me: error: DirectFB not found." >&2;}
29951 { (exit 1); exit 1; }; }
29952
29953
29954 else
29955 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29956 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29957 { echo "$as_me:$LINENO: result: yes" >&5
29958 echo "${ECHO_T}yes" >&6; }
29959
29960 wxUSE_UNIVERSAL="yes"
29961 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29962 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29963 TOOLKIT=DFB
29964 GUIDIST=DFB_DIST
29965
29966 fi
29967 fi
29968
29969 if test "$wxUSE_MICROWIN" = 1; then
29970 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29971 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29972 if test "x$MICROWINDOWS" = x ; then
29973 { echo "$as_me:$LINENO: result: not found" >&5
29974 echo "${ECHO_T}not found" >&6; }
29975 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29976 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29977 { (exit 1); exit 1; }; }
29978 else
29979 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29980 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29981 fi
29982
29983 if test -f $MICROWINDOWS/lib/libmwin.a; then
29984 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29985 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
29986 else
29987 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29988 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29989 { (exit 1); exit 1; }; }
29990 fi
29991
29992 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29993 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29994
29995 wxUSE_UNIVERSAL="yes"
29996
29997 AFMINSTALL=afminstall
29998 TOOLKIT=MICROWIN
29999 GUIDIST=MICROWIN_DIST
30000
30001 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30002 fi
30003
30004 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30005 { echo "$as_me:$LINENO: checking for X" >&5
30006 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30007
30008
30009 # Check whether --with-x was given.
30010 if test "${with_x+set}" = set; then
30011 withval=$with_x;
30012 fi
30013
30014 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
30015 if test "x$with_x" = xno; then
30016 # The user explicitly disabled X.
30017 have_x=disabled
30018 else
30019 case $x_includes,$x_libraries in #(
30020 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30021 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
30022 { (exit 1); exit 1; }; };; #(
30023 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30024 echo $ECHO_N "(cached) $ECHO_C" >&6
30025 else
30026 # One or both of the vars are not set, and there is no cached value.
30027 ac_x_includes=no ac_x_libraries=no
30028 rm -f -r conftest.dir
30029 if mkdir conftest.dir; then
30030 cd conftest.dir
30031 cat >Imakefile <<'_ACEOF'
30032 incroot:
30033 @echo incroot='${INCROOT}'
30034 usrlibdir:
30035 @echo usrlibdir='${USRLIBDIR}'
30036 libdir:
30037 @echo libdir='${LIBDIR}'
30038 _ACEOF
30039 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30040 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30041 for ac_var in incroot usrlibdir libdir; do
30042 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
30043 done
30044 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30045 for ac_extension in a so sl; do
30046 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30047 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30048 ac_im_usrlibdir=$ac_im_libdir; break
30049 fi
30050 done
30051 # Screen out bogus values from the imake configuration. They are
30052 # bogus both because they are the default anyway, and because
30053 # using them would break gcc on systems where it needs fixed includes.
30054 case $ac_im_incroot in
30055 /usr/include) ac_x_includes= ;;
30056 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30057 esac
30058 case $ac_im_usrlibdir in
30059 /usr/lib | /lib) ;;
30060 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30061 esac
30062 fi
30063 cd ..
30064 rm -f -r conftest.dir
30065 fi
30066
30067 # Standard set of common directories for X headers.
30068 # Check X11 before X11Rn because it is often a symlink to the current release.
30069 ac_x_header_dirs='
30070 /usr/X11/include
30071 /usr/X11R6/include
30072 /usr/X11R5/include
30073 /usr/X11R4/include
30074
30075 /usr/include/X11
30076 /usr/include/X11R6
30077 /usr/include/X11R5
30078 /usr/include/X11R4
30079
30080 /usr/local/X11/include
30081 /usr/local/X11R6/include
30082 /usr/local/X11R5/include
30083 /usr/local/X11R4/include
30084
30085 /usr/local/include/X11
30086 /usr/local/include/X11R6
30087 /usr/local/include/X11R5
30088 /usr/local/include/X11R4
30089
30090 /usr/X386/include
30091 /usr/x386/include
30092 /usr/XFree86/include/X11
30093
30094 /usr/include
30095 /usr/local/include
30096 /usr/unsupported/include
30097 /usr/athena/include
30098 /usr/local/x11r5/include
30099 /usr/lpp/Xamples/include
30100
30101 /usr/openwin/include
30102 /usr/openwin/share/include'
30103
30104 if test "$ac_x_includes" = no; then
30105 # Guess where to find include files, by looking for Xlib.h.
30106 # First, try using that file with no special directory specified.
30107 cat >conftest.$ac_ext <<_ACEOF
30108 /* confdefs.h. */
30109 _ACEOF
30110 cat confdefs.h >>conftest.$ac_ext
30111 cat >>conftest.$ac_ext <<_ACEOF
30112 /* end confdefs.h. */
30113 #include <X11/Xlib.h>
30114 _ACEOF
30115 if { (ac_try="$ac_cpp conftest.$ac_ext"
30116 case "(($ac_try" in
30117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30118 *) ac_try_echo=$ac_try;;
30119 esac
30120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30121 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30122 ac_status=$?
30123 grep -v '^ *+' conftest.er1 >conftest.err
30124 rm -f conftest.er1
30125 cat conftest.err >&5
30126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30127 (exit $ac_status); } >/dev/null && {
30128 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30129 test ! -s conftest.err
30130 }; then
30131 # We can compile using X headers with no special include directory.
30132 ac_x_includes=
30133 else
30134 echo "$as_me: failed program was:" >&5
30135 sed 's/^/| /' conftest.$ac_ext >&5
30136
30137 for ac_dir in $ac_x_header_dirs; do
30138 if test -r "$ac_dir/X11/Xlib.h"; then
30139 ac_x_includes=$ac_dir
30140 break
30141 fi
30142 done
30143 fi
30144
30145 rm -f conftest.err conftest.$ac_ext
30146 fi # $ac_x_includes = no
30147
30148 if test "$ac_x_libraries" = no; then
30149 # Check for the libraries.
30150 # See if we find them without any special options.
30151 # Don't add to $LIBS permanently.
30152 ac_save_LIBS=$LIBS
30153 LIBS="-lX11 $LIBS"
30154 cat >conftest.$ac_ext <<_ACEOF
30155 /* confdefs.h. */
30156 _ACEOF
30157 cat confdefs.h >>conftest.$ac_ext
30158 cat >>conftest.$ac_ext <<_ACEOF
30159 /* end confdefs.h. */
30160 #include <X11/Xlib.h>
30161 int
30162 main ()
30163 {
30164 XrmInitialize ()
30165 ;
30166 return 0;
30167 }
30168 _ACEOF
30169 rm -f conftest.$ac_objext conftest$ac_exeext
30170 if { (ac_try="$ac_link"
30171 case "(($ac_try" in
30172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30173 *) ac_try_echo=$ac_try;;
30174 esac
30175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30176 (eval "$ac_link") 2>conftest.er1
30177 ac_status=$?
30178 grep -v '^ *+' conftest.er1 >conftest.err
30179 rm -f conftest.er1
30180 cat conftest.err >&5
30181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30182 (exit $ac_status); } && {
30183 test -z "$ac_c_werror_flag" ||
30184 test ! -s conftest.err
30185 } && test -s conftest$ac_exeext &&
30186 $as_test_x conftest$ac_exeext; then
30187 LIBS=$ac_save_LIBS
30188 # We can link X programs with no special library path.
30189 ac_x_libraries=
30190 else
30191 echo "$as_me: failed program was:" >&5
30192 sed 's/^/| /' conftest.$ac_ext >&5
30193
30194 LIBS=$ac_save_LIBS
30195 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30196 do
30197 # Don't even attempt the hair of trying to link an X program!
30198 for ac_extension in a so sl; do
30199 if test -r "$ac_dir/libX11.$ac_extension"; then
30200 ac_x_libraries=$ac_dir
30201 break 2
30202 fi
30203 done
30204 done
30205 fi
30206
30207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30208 conftest$ac_exeext conftest.$ac_ext
30209 fi # $ac_x_libraries = no
30210
30211 case $ac_x_includes,$ac_x_libraries in #(
30212 no,* | *,no | *\'*)
30213 # Didn't find X, or a directory has "'" in its name.
30214 ac_cv_have_x="have_x=no";; #(
30215 *)
30216 # Record where we found X for the cache.
30217 ac_cv_have_x="have_x=yes\
30218 ac_x_includes='$ac_x_includes'\
30219 ac_x_libraries='$ac_x_libraries'"
30220 esac
30221 fi
30222 ;; #(
30223 *) have_x=yes;;
30224 esac
30225 eval "$ac_cv_have_x"
30226 fi # $with_x != no
30227
30228 if test "$have_x" != yes; then
30229 { echo "$as_me:$LINENO: result: $have_x" >&5
30230 echo "${ECHO_T}$have_x" >&6; }
30231 no_x=yes
30232 else
30233 # If each of the values was on the command line, it overrides each guess.
30234 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30235 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30236 # Update the cache value to reflect the command line values.
30237 ac_cv_have_x="have_x=yes\
30238 ac_x_includes='$x_includes'\
30239 ac_x_libraries='$x_libraries'"
30240 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30241 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30242 fi
30243
30244 if test "$no_x" = yes; then
30245 # Not all programs may use this symbol, but it does not hurt to define it.
30246
30247 cat >>confdefs.h <<\_ACEOF
30248 #define X_DISPLAY_MISSING 1
30249 _ACEOF
30250
30251 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30252 else
30253 if test -n "$x_includes"; then
30254 X_CFLAGS="$X_CFLAGS -I$x_includes"
30255 fi
30256
30257 # It would also be nice to do this for all -L options, not just this one.
30258 if test -n "$x_libraries"; then
30259 X_LIBS="$X_LIBS -L$x_libraries"
30260 # For Solaris; some versions of Sun CC require a space after -R and
30261 # others require no space. Words are not sufficient . . . .
30262 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30263 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30264 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30265 ac_xsave_c_werror_flag=$ac_c_werror_flag
30266 ac_c_werror_flag=yes
30267 cat >conftest.$ac_ext <<_ACEOF
30268 /* confdefs.h. */
30269 _ACEOF
30270 cat confdefs.h >>conftest.$ac_ext
30271 cat >>conftest.$ac_ext <<_ACEOF
30272 /* end confdefs.h. */
30273
30274 int
30275 main ()
30276 {
30277
30278 ;
30279 return 0;
30280 }
30281 _ACEOF
30282 rm -f conftest.$ac_objext conftest$ac_exeext
30283 if { (ac_try="$ac_link"
30284 case "(($ac_try" in
30285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30286 *) ac_try_echo=$ac_try;;
30287 esac
30288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30289 (eval "$ac_link") 2>conftest.er1
30290 ac_status=$?
30291 grep -v '^ *+' conftest.er1 >conftest.err
30292 rm -f conftest.er1
30293 cat conftest.err >&5
30294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30295 (exit $ac_status); } && {
30296 test -z "$ac_c_werror_flag" ||
30297 test ! -s conftest.err
30298 } && test -s conftest$ac_exeext &&
30299 $as_test_x conftest$ac_exeext; then
30300 { echo "$as_me:$LINENO: result: no" >&5
30301 echo "${ECHO_T}no" >&6; }
30302 X_LIBS="$X_LIBS -R$x_libraries"
30303 else
30304 echo "$as_me: failed program was:" >&5
30305 sed 's/^/| /' conftest.$ac_ext >&5
30306
30307 LIBS="$ac_xsave_LIBS -R $x_libraries"
30308 cat >conftest.$ac_ext <<_ACEOF
30309 /* confdefs.h. */
30310 _ACEOF
30311 cat confdefs.h >>conftest.$ac_ext
30312 cat >>conftest.$ac_ext <<_ACEOF
30313 /* end confdefs.h. */
30314
30315 int
30316 main ()
30317 {
30318
30319 ;
30320 return 0;
30321 }
30322 _ACEOF
30323 rm -f conftest.$ac_objext conftest$ac_exeext
30324 if { (ac_try="$ac_link"
30325 case "(($ac_try" in
30326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30327 *) ac_try_echo=$ac_try;;
30328 esac
30329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30330 (eval "$ac_link") 2>conftest.er1
30331 ac_status=$?
30332 grep -v '^ *+' conftest.er1 >conftest.err
30333 rm -f conftest.er1
30334 cat conftest.err >&5
30335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30336 (exit $ac_status); } && {
30337 test -z "$ac_c_werror_flag" ||
30338 test ! -s conftest.err
30339 } && test -s conftest$ac_exeext &&
30340 $as_test_x conftest$ac_exeext; then
30341 { echo "$as_me:$LINENO: result: yes" >&5
30342 echo "${ECHO_T}yes" >&6; }
30343 X_LIBS="$X_LIBS -R $x_libraries"
30344 else
30345 echo "$as_me: failed program was:" >&5
30346 sed 's/^/| /' conftest.$ac_ext >&5
30347
30348 { echo "$as_me:$LINENO: result: neither works" >&5
30349 echo "${ECHO_T}neither works" >&6; }
30350 fi
30351
30352 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30353 conftest$ac_exeext conftest.$ac_ext
30354 fi
30355
30356 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30357 conftest$ac_exeext conftest.$ac_ext
30358 ac_c_werror_flag=$ac_xsave_c_werror_flag
30359 LIBS=$ac_xsave_LIBS
30360 fi
30361
30362 # Check for system-dependent libraries X programs must link with.
30363 # Do this before checking for the system-independent R6 libraries
30364 # (-lICE), since we may need -lsocket or whatever for X linking.
30365
30366 if test "$ISC" = yes; then
30367 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30368 else
30369 # Martyn Johnson says this is needed for Ultrix, if the X
30370 # libraries were built with DECnet support. And Karl Berry says
30371 # the Alpha needs dnet_stub (dnet does not exist).
30372 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30373 cat >conftest.$ac_ext <<_ACEOF
30374 /* confdefs.h. */
30375 _ACEOF
30376 cat confdefs.h >>conftest.$ac_ext
30377 cat >>conftest.$ac_ext <<_ACEOF
30378 /* end confdefs.h. */
30379
30380 /* Override any GCC internal prototype to avoid an error.
30381 Use char because int might match the return type of a GCC
30382 builtin and then its argument prototype would still apply. */
30383 #ifdef __cplusplus
30384 extern "C"
30385 #endif
30386 char XOpenDisplay ();
30387 int
30388 main ()
30389 {
30390 return XOpenDisplay ();
30391 ;
30392 return 0;
30393 }
30394 _ACEOF
30395 rm -f conftest.$ac_objext conftest$ac_exeext
30396 if { (ac_try="$ac_link"
30397 case "(($ac_try" in
30398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30399 *) ac_try_echo=$ac_try;;
30400 esac
30401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30402 (eval "$ac_link") 2>conftest.er1
30403 ac_status=$?
30404 grep -v '^ *+' conftest.er1 >conftest.err
30405 rm -f conftest.er1
30406 cat conftest.err >&5
30407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30408 (exit $ac_status); } && {
30409 test -z "$ac_c_werror_flag" ||
30410 test ! -s conftest.err
30411 } && test -s conftest$ac_exeext &&
30412 $as_test_x conftest$ac_exeext; then
30413 :
30414 else
30415 echo "$as_me: failed program was:" >&5
30416 sed 's/^/| /' conftest.$ac_ext >&5
30417
30418 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30419 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30420 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30421 echo $ECHO_N "(cached) $ECHO_C" >&6
30422 else
30423 ac_check_lib_save_LIBS=$LIBS
30424 LIBS="-ldnet $LIBS"
30425 cat >conftest.$ac_ext <<_ACEOF
30426 /* confdefs.h. */
30427 _ACEOF
30428 cat confdefs.h >>conftest.$ac_ext
30429 cat >>conftest.$ac_ext <<_ACEOF
30430 /* end confdefs.h. */
30431
30432 /* Override any GCC internal prototype to avoid an error.
30433 Use char because int might match the return type of a GCC
30434 builtin and then its argument prototype would still apply. */
30435 #ifdef __cplusplus
30436 extern "C"
30437 #endif
30438 char dnet_ntoa ();
30439 int
30440 main ()
30441 {
30442 return dnet_ntoa ();
30443 ;
30444 return 0;
30445 }
30446 _ACEOF
30447 rm -f conftest.$ac_objext conftest$ac_exeext
30448 if { (ac_try="$ac_link"
30449 case "(($ac_try" in
30450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30451 *) ac_try_echo=$ac_try;;
30452 esac
30453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30454 (eval "$ac_link") 2>conftest.er1
30455 ac_status=$?
30456 grep -v '^ *+' conftest.er1 >conftest.err
30457 rm -f conftest.er1
30458 cat conftest.err >&5
30459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30460 (exit $ac_status); } && {
30461 test -z "$ac_c_werror_flag" ||
30462 test ! -s conftest.err
30463 } && test -s conftest$ac_exeext &&
30464 $as_test_x conftest$ac_exeext; then
30465 ac_cv_lib_dnet_dnet_ntoa=yes
30466 else
30467 echo "$as_me: failed program was:" >&5
30468 sed 's/^/| /' conftest.$ac_ext >&5
30469
30470 ac_cv_lib_dnet_dnet_ntoa=no
30471 fi
30472
30473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30474 conftest$ac_exeext conftest.$ac_ext
30475 LIBS=$ac_check_lib_save_LIBS
30476 fi
30477 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30478 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30479 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30480 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30481 fi
30482
30483 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30484 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30485 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30486 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30487 echo $ECHO_N "(cached) $ECHO_C" >&6
30488 else
30489 ac_check_lib_save_LIBS=$LIBS
30490 LIBS="-ldnet_stub $LIBS"
30491 cat >conftest.$ac_ext <<_ACEOF
30492 /* confdefs.h. */
30493 _ACEOF
30494 cat confdefs.h >>conftest.$ac_ext
30495 cat >>conftest.$ac_ext <<_ACEOF
30496 /* end confdefs.h. */
30497
30498 /* Override any GCC internal prototype to avoid an error.
30499 Use char because int might match the return type of a GCC
30500 builtin and then its argument prototype would still apply. */
30501 #ifdef __cplusplus
30502 extern "C"
30503 #endif
30504 char dnet_ntoa ();
30505 int
30506 main ()
30507 {
30508 return dnet_ntoa ();
30509 ;
30510 return 0;
30511 }
30512 _ACEOF
30513 rm -f conftest.$ac_objext conftest$ac_exeext
30514 if { (ac_try="$ac_link"
30515 case "(($ac_try" in
30516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30517 *) ac_try_echo=$ac_try;;
30518 esac
30519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30520 (eval "$ac_link") 2>conftest.er1
30521 ac_status=$?
30522 grep -v '^ *+' conftest.er1 >conftest.err
30523 rm -f conftest.er1
30524 cat conftest.err >&5
30525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30526 (exit $ac_status); } && {
30527 test -z "$ac_c_werror_flag" ||
30528 test ! -s conftest.err
30529 } && test -s conftest$ac_exeext &&
30530 $as_test_x conftest$ac_exeext; then
30531 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30532 else
30533 echo "$as_me: failed program was:" >&5
30534 sed 's/^/| /' conftest.$ac_ext >&5
30535
30536 ac_cv_lib_dnet_stub_dnet_ntoa=no
30537 fi
30538
30539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30540 conftest$ac_exeext conftest.$ac_ext
30541 LIBS=$ac_check_lib_save_LIBS
30542 fi
30543 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30544 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30545 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30546 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30547 fi
30548
30549 fi
30550 fi
30551
30552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30553 conftest$ac_exeext conftest.$ac_ext
30554 LIBS="$ac_xsave_LIBS"
30555
30556 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30557 # to get the SysV transport functions.
30558 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30559 # needs -lnsl.
30560 # The nsl library prevents programs from opening the X display
30561 # on Irix 5.2, according to T.E. Dickey.
30562 # The functions gethostbyname, getservbyname, and inet_addr are
30563 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30564 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30565 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30566 if test "${ac_cv_func_gethostbyname+set}" = set; then
30567 echo $ECHO_N "(cached) $ECHO_C" >&6
30568 else
30569 cat >conftest.$ac_ext <<_ACEOF
30570 /* confdefs.h. */
30571 _ACEOF
30572 cat confdefs.h >>conftest.$ac_ext
30573 cat >>conftest.$ac_ext <<_ACEOF
30574 /* end confdefs.h. */
30575 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30577 #define gethostbyname innocuous_gethostbyname
30578
30579 /* System header to define __stub macros and hopefully few prototypes,
30580 which can conflict with char gethostbyname (); below.
30581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30582 <limits.h> exists even on freestanding compilers. */
30583
30584 #ifdef __STDC__
30585 # include <limits.h>
30586 #else
30587 # include <assert.h>
30588 #endif
30589
30590 #undef gethostbyname
30591
30592 /* Override any GCC internal prototype to avoid an error.
30593 Use char because int might match the return type of a GCC
30594 builtin and then its argument prototype would still apply. */
30595 #ifdef __cplusplus
30596 extern "C"
30597 #endif
30598 char gethostbyname ();
30599 /* The GNU C library defines this for functions which it implements
30600 to always fail with ENOSYS. Some functions are actually named
30601 something starting with __ and the normal name is an alias. */
30602 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30603 choke me
30604 #endif
30605
30606 int
30607 main ()
30608 {
30609 return gethostbyname ();
30610 ;
30611 return 0;
30612 }
30613 _ACEOF
30614 rm -f conftest.$ac_objext conftest$ac_exeext
30615 if { (ac_try="$ac_link"
30616 case "(($ac_try" in
30617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30618 *) ac_try_echo=$ac_try;;
30619 esac
30620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30621 (eval "$ac_link") 2>conftest.er1
30622 ac_status=$?
30623 grep -v '^ *+' conftest.er1 >conftest.err
30624 rm -f conftest.er1
30625 cat conftest.err >&5
30626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30627 (exit $ac_status); } && {
30628 test -z "$ac_c_werror_flag" ||
30629 test ! -s conftest.err
30630 } && test -s conftest$ac_exeext &&
30631 $as_test_x conftest$ac_exeext; then
30632 ac_cv_func_gethostbyname=yes
30633 else
30634 echo "$as_me: failed program was:" >&5
30635 sed 's/^/| /' conftest.$ac_ext >&5
30636
30637 ac_cv_func_gethostbyname=no
30638 fi
30639
30640 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30641 conftest$ac_exeext conftest.$ac_ext
30642 fi
30643 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30644 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30645
30646 if test $ac_cv_func_gethostbyname = no; then
30647 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30648 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30649 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30650 echo $ECHO_N "(cached) $ECHO_C" >&6
30651 else
30652 ac_check_lib_save_LIBS=$LIBS
30653 LIBS="-lnsl $LIBS"
30654 cat >conftest.$ac_ext <<_ACEOF
30655 /* confdefs.h. */
30656 _ACEOF
30657 cat confdefs.h >>conftest.$ac_ext
30658 cat >>conftest.$ac_ext <<_ACEOF
30659 /* end confdefs.h. */
30660
30661 /* Override any GCC internal prototype to avoid an error.
30662 Use char because int might match the return type of a GCC
30663 builtin and then its argument prototype would still apply. */
30664 #ifdef __cplusplus
30665 extern "C"
30666 #endif
30667 char gethostbyname ();
30668 int
30669 main ()
30670 {
30671 return gethostbyname ();
30672 ;
30673 return 0;
30674 }
30675 _ACEOF
30676 rm -f conftest.$ac_objext conftest$ac_exeext
30677 if { (ac_try="$ac_link"
30678 case "(($ac_try" in
30679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30680 *) ac_try_echo=$ac_try;;
30681 esac
30682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30683 (eval "$ac_link") 2>conftest.er1
30684 ac_status=$?
30685 grep -v '^ *+' conftest.er1 >conftest.err
30686 rm -f conftest.er1
30687 cat conftest.err >&5
30688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30689 (exit $ac_status); } && {
30690 test -z "$ac_c_werror_flag" ||
30691 test ! -s conftest.err
30692 } && test -s conftest$ac_exeext &&
30693 $as_test_x conftest$ac_exeext; then
30694 ac_cv_lib_nsl_gethostbyname=yes
30695 else
30696 echo "$as_me: failed program was:" >&5
30697 sed 's/^/| /' conftest.$ac_ext >&5
30698
30699 ac_cv_lib_nsl_gethostbyname=no
30700 fi
30701
30702 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30703 conftest$ac_exeext conftest.$ac_ext
30704 LIBS=$ac_check_lib_save_LIBS
30705 fi
30706 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30707 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30708 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30709 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30710 fi
30711
30712 if test $ac_cv_lib_nsl_gethostbyname = no; then
30713 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30714 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30715 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30716 echo $ECHO_N "(cached) $ECHO_C" >&6
30717 else
30718 ac_check_lib_save_LIBS=$LIBS
30719 LIBS="-lbsd $LIBS"
30720 cat >conftest.$ac_ext <<_ACEOF
30721 /* confdefs.h. */
30722 _ACEOF
30723 cat confdefs.h >>conftest.$ac_ext
30724 cat >>conftest.$ac_ext <<_ACEOF
30725 /* end confdefs.h. */
30726
30727 /* Override any GCC internal prototype to avoid an error.
30728 Use char because int might match the return type of a GCC
30729 builtin and then its argument prototype would still apply. */
30730 #ifdef __cplusplus
30731 extern "C"
30732 #endif
30733 char gethostbyname ();
30734 int
30735 main ()
30736 {
30737 return gethostbyname ();
30738 ;
30739 return 0;
30740 }
30741 _ACEOF
30742 rm -f conftest.$ac_objext conftest$ac_exeext
30743 if { (ac_try="$ac_link"
30744 case "(($ac_try" in
30745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30746 *) ac_try_echo=$ac_try;;
30747 esac
30748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30749 (eval "$ac_link") 2>conftest.er1
30750 ac_status=$?
30751 grep -v '^ *+' conftest.er1 >conftest.err
30752 rm -f conftest.er1
30753 cat conftest.err >&5
30754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30755 (exit $ac_status); } && {
30756 test -z "$ac_c_werror_flag" ||
30757 test ! -s conftest.err
30758 } && test -s conftest$ac_exeext &&
30759 $as_test_x conftest$ac_exeext; then
30760 ac_cv_lib_bsd_gethostbyname=yes
30761 else
30762 echo "$as_me: failed program was:" >&5
30763 sed 's/^/| /' conftest.$ac_ext >&5
30764
30765 ac_cv_lib_bsd_gethostbyname=no
30766 fi
30767
30768 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30769 conftest$ac_exeext conftest.$ac_ext
30770 LIBS=$ac_check_lib_save_LIBS
30771 fi
30772 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30773 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30774 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30775 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30776 fi
30777
30778 fi
30779 fi
30780
30781 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30782 # socket/setsockopt and other routines are undefined under SCO ODT
30783 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30784 # on later versions), says Simon Leinen: it contains gethostby*
30785 # variants that don't use the name server (or something). -lsocket
30786 # must be given before -lnsl if both are needed. We assume that
30787 # if connect needs -lnsl, so does gethostbyname.
30788 { echo "$as_me:$LINENO: checking for connect" >&5
30789 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30790 if test "${ac_cv_func_connect+set}" = set; then
30791 echo $ECHO_N "(cached) $ECHO_C" >&6
30792 else
30793 cat >conftest.$ac_ext <<_ACEOF
30794 /* confdefs.h. */
30795 _ACEOF
30796 cat confdefs.h >>conftest.$ac_ext
30797 cat >>conftest.$ac_ext <<_ACEOF
30798 /* end confdefs.h. */
30799 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30801 #define connect innocuous_connect
30802
30803 /* System header to define __stub macros and hopefully few prototypes,
30804 which can conflict with char connect (); below.
30805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30806 <limits.h> exists even on freestanding compilers. */
30807
30808 #ifdef __STDC__
30809 # include <limits.h>
30810 #else
30811 # include <assert.h>
30812 #endif
30813
30814 #undef connect
30815
30816 /* Override any GCC internal prototype to avoid an error.
30817 Use char because int might match the return type of a GCC
30818 builtin and then its argument prototype would still apply. */
30819 #ifdef __cplusplus
30820 extern "C"
30821 #endif
30822 char connect ();
30823 /* The GNU C library defines this for functions which it implements
30824 to always fail with ENOSYS. Some functions are actually named
30825 something starting with __ and the normal name is an alias. */
30826 #if defined __stub_connect || defined __stub___connect
30827 choke me
30828 #endif
30829
30830 int
30831 main ()
30832 {
30833 return connect ();
30834 ;
30835 return 0;
30836 }
30837 _ACEOF
30838 rm -f conftest.$ac_objext conftest$ac_exeext
30839 if { (ac_try="$ac_link"
30840 case "(($ac_try" in
30841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30842 *) ac_try_echo=$ac_try;;
30843 esac
30844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30845 (eval "$ac_link") 2>conftest.er1
30846 ac_status=$?
30847 grep -v '^ *+' conftest.er1 >conftest.err
30848 rm -f conftest.er1
30849 cat conftest.err >&5
30850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30851 (exit $ac_status); } && {
30852 test -z "$ac_c_werror_flag" ||
30853 test ! -s conftest.err
30854 } && test -s conftest$ac_exeext &&
30855 $as_test_x conftest$ac_exeext; then
30856 ac_cv_func_connect=yes
30857 else
30858 echo "$as_me: failed program was:" >&5
30859 sed 's/^/| /' conftest.$ac_ext >&5
30860
30861 ac_cv_func_connect=no
30862 fi
30863
30864 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30865 conftest$ac_exeext conftest.$ac_ext
30866 fi
30867 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30868 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30869
30870 if test $ac_cv_func_connect = no; then
30871 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30872 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30873 if test "${ac_cv_lib_socket_connect+set}" = set; then
30874 echo $ECHO_N "(cached) $ECHO_C" >&6
30875 else
30876 ac_check_lib_save_LIBS=$LIBS
30877 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30878 cat >conftest.$ac_ext <<_ACEOF
30879 /* confdefs.h. */
30880 _ACEOF
30881 cat confdefs.h >>conftest.$ac_ext
30882 cat >>conftest.$ac_ext <<_ACEOF
30883 /* end confdefs.h. */
30884
30885 /* Override any GCC internal prototype to avoid an error.
30886 Use char because int might match the return type of a GCC
30887 builtin and then its argument prototype would still apply. */
30888 #ifdef __cplusplus
30889 extern "C"
30890 #endif
30891 char connect ();
30892 int
30893 main ()
30894 {
30895 return connect ();
30896 ;
30897 return 0;
30898 }
30899 _ACEOF
30900 rm -f conftest.$ac_objext conftest$ac_exeext
30901 if { (ac_try="$ac_link"
30902 case "(($ac_try" in
30903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30904 *) ac_try_echo=$ac_try;;
30905 esac
30906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30907 (eval "$ac_link") 2>conftest.er1
30908 ac_status=$?
30909 grep -v '^ *+' conftest.er1 >conftest.err
30910 rm -f conftest.er1
30911 cat conftest.err >&5
30912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30913 (exit $ac_status); } && {
30914 test -z "$ac_c_werror_flag" ||
30915 test ! -s conftest.err
30916 } && test -s conftest$ac_exeext &&
30917 $as_test_x conftest$ac_exeext; then
30918 ac_cv_lib_socket_connect=yes
30919 else
30920 echo "$as_me: failed program was:" >&5
30921 sed 's/^/| /' conftest.$ac_ext >&5
30922
30923 ac_cv_lib_socket_connect=no
30924 fi
30925
30926 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30927 conftest$ac_exeext conftest.$ac_ext
30928 LIBS=$ac_check_lib_save_LIBS
30929 fi
30930 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30931 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30932 if test $ac_cv_lib_socket_connect = yes; then
30933 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30934 fi
30935
30936 fi
30937
30938 # Guillermo Gomez says -lposix is necessary on A/UX.
30939 { echo "$as_me:$LINENO: checking for remove" >&5
30940 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30941 if test "${ac_cv_func_remove+set}" = set; then
30942 echo $ECHO_N "(cached) $ECHO_C" >&6
30943 else
30944 cat >conftest.$ac_ext <<_ACEOF
30945 /* confdefs.h. */
30946 _ACEOF
30947 cat confdefs.h >>conftest.$ac_ext
30948 cat >>conftest.$ac_ext <<_ACEOF
30949 /* end confdefs.h. */
30950 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30952 #define remove innocuous_remove
30953
30954 /* System header to define __stub macros and hopefully few prototypes,
30955 which can conflict with char remove (); below.
30956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30957 <limits.h> exists even on freestanding compilers. */
30958
30959 #ifdef __STDC__
30960 # include <limits.h>
30961 #else
30962 # include <assert.h>
30963 #endif
30964
30965 #undef remove
30966
30967 /* Override any GCC internal prototype to avoid an error.
30968 Use char because int might match the return type of a GCC
30969 builtin and then its argument prototype would still apply. */
30970 #ifdef __cplusplus
30971 extern "C"
30972 #endif
30973 char remove ();
30974 /* The GNU C library defines this for functions which it implements
30975 to always fail with ENOSYS. Some functions are actually named
30976 something starting with __ and the normal name is an alias. */
30977 #if defined __stub_remove || defined __stub___remove
30978 choke me
30979 #endif
30980
30981 int
30982 main ()
30983 {
30984 return remove ();
30985 ;
30986 return 0;
30987 }
30988 _ACEOF
30989 rm -f conftest.$ac_objext conftest$ac_exeext
30990 if { (ac_try="$ac_link"
30991 case "(($ac_try" in
30992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30993 *) ac_try_echo=$ac_try;;
30994 esac
30995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30996 (eval "$ac_link") 2>conftest.er1
30997 ac_status=$?
30998 grep -v '^ *+' conftest.er1 >conftest.err
30999 rm -f conftest.er1
31000 cat conftest.err >&5
31001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31002 (exit $ac_status); } && {
31003 test -z "$ac_c_werror_flag" ||
31004 test ! -s conftest.err
31005 } && test -s conftest$ac_exeext &&
31006 $as_test_x conftest$ac_exeext; then
31007 ac_cv_func_remove=yes
31008 else
31009 echo "$as_me: failed program was:" >&5
31010 sed 's/^/| /' conftest.$ac_ext >&5
31011
31012 ac_cv_func_remove=no
31013 fi
31014
31015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31016 conftest$ac_exeext conftest.$ac_ext
31017 fi
31018 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31019 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31020
31021 if test $ac_cv_func_remove = no; then
31022 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31023 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31024 if test "${ac_cv_lib_posix_remove+set}" = set; then
31025 echo $ECHO_N "(cached) $ECHO_C" >&6
31026 else
31027 ac_check_lib_save_LIBS=$LIBS
31028 LIBS="-lposix $LIBS"
31029 cat >conftest.$ac_ext <<_ACEOF
31030 /* confdefs.h. */
31031 _ACEOF
31032 cat confdefs.h >>conftest.$ac_ext
31033 cat >>conftest.$ac_ext <<_ACEOF
31034 /* end confdefs.h. */
31035
31036 /* Override any GCC internal prototype to avoid an error.
31037 Use char because int might match the return type of a GCC
31038 builtin and then its argument prototype would still apply. */
31039 #ifdef __cplusplus
31040 extern "C"
31041 #endif
31042 char remove ();
31043 int
31044 main ()
31045 {
31046 return remove ();
31047 ;
31048 return 0;
31049 }
31050 _ACEOF
31051 rm -f conftest.$ac_objext conftest$ac_exeext
31052 if { (ac_try="$ac_link"
31053 case "(($ac_try" in
31054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31055 *) ac_try_echo=$ac_try;;
31056 esac
31057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31058 (eval "$ac_link") 2>conftest.er1
31059 ac_status=$?
31060 grep -v '^ *+' conftest.er1 >conftest.err
31061 rm -f conftest.er1
31062 cat conftest.err >&5
31063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31064 (exit $ac_status); } && {
31065 test -z "$ac_c_werror_flag" ||
31066 test ! -s conftest.err
31067 } && test -s conftest$ac_exeext &&
31068 $as_test_x conftest$ac_exeext; then
31069 ac_cv_lib_posix_remove=yes
31070 else
31071 echo "$as_me: failed program was:" >&5
31072 sed 's/^/| /' conftest.$ac_ext >&5
31073
31074 ac_cv_lib_posix_remove=no
31075 fi
31076
31077 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31078 conftest$ac_exeext conftest.$ac_ext
31079 LIBS=$ac_check_lib_save_LIBS
31080 fi
31081 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31082 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31083 if test $ac_cv_lib_posix_remove = yes; then
31084 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31085 fi
31086
31087 fi
31088
31089 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31090 { echo "$as_me:$LINENO: checking for shmat" >&5
31091 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31092 if test "${ac_cv_func_shmat+set}" = set; then
31093 echo $ECHO_N "(cached) $ECHO_C" >&6
31094 else
31095 cat >conftest.$ac_ext <<_ACEOF
31096 /* confdefs.h. */
31097 _ACEOF
31098 cat confdefs.h >>conftest.$ac_ext
31099 cat >>conftest.$ac_ext <<_ACEOF
31100 /* end confdefs.h. */
31101 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31103 #define shmat innocuous_shmat
31104
31105 /* System header to define __stub macros and hopefully few prototypes,
31106 which can conflict with char shmat (); below.
31107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31108 <limits.h> exists even on freestanding compilers. */
31109
31110 #ifdef __STDC__
31111 # include <limits.h>
31112 #else
31113 # include <assert.h>
31114 #endif
31115
31116 #undef shmat
31117
31118 /* Override any GCC internal prototype to avoid an error.
31119 Use char because int might match the return type of a GCC
31120 builtin and then its argument prototype would still apply. */
31121 #ifdef __cplusplus
31122 extern "C"
31123 #endif
31124 char shmat ();
31125 /* The GNU C library defines this for functions which it implements
31126 to always fail with ENOSYS. Some functions are actually named
31127 something starting with __ and the normal name is an alias. */
31128 #if defined __stub_shmat || defined __stub___shmat
31129 choke me
31130 #endif
31131
31132 int
31133 main ()
31134 {
31135 return shmat ();
31136 ;
31137 return 0;
31138 }
31139 _ACEOF
31140 rm -f conftest.$ac_objext conftest$ac_exeext
31141 if { (ac_try="$ac_link"
31142 case "(($ac_try" in
31143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31144 *) ac_try_echo=$ac_try;;
31145 esac
31146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31147 (eval "$ac_link") 2>conftest.er1
31148 ac_status=$?
31149 grep -v '^ *+' conftest.er1 >conftest.err
31150 rm -f conftest.er1
31151 cat conftest.err >&5
31152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31153 (exit $ac_status); } && {
31154 test -z "$ac_c_werror_flag" ||
31155 test ! -s conftest.err
31156 } && test -s conftest$ac_exeext &&
31157 $as_test_x conftest$ac_exeext; then
31158 ac_cv_func_shmat=yes
31159 else
31160 echo "$as_me: failed program was:" >&5
31161 sed 's/^/| /' conftest.$ac_ext >&5
31162
31163 ac_cv_func_shmat=no
31164 fi
31165
31166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31167 conftest$ac_exeext conftest.$ac_ext
31168 fi
31169 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31170 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31171
31172 if test $ac_cv_func_shmat = no; then
31173 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31174 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31175 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31176 echo $ECHO_N "(cached) $ECHO_C" >&6
31177 else
31178 ac_check_lib_save_LIBS=$LIBS
31179 LIBS="-lipc $LIBS"
31180 cat >conftest.$ac_ext <<_ACEOF
31181 /* confdefs.h. */
31182 _ACEOF
31183 cat confdefs.h >>conftest.$ac_ext
31184 cat >>conftest.$ac_ext <<_ACEOF
31185 /* end confdefs.h. */
31186
31187 /* Override any GCC internal prototype to avoid an error.
31188 Use char because int might match the return type of a GCC
31189 builtin and then its argument prototype would still apply. */
31190 #ifdef __cplusplus
31191 extern "C"
31192 #endif
31193 char shmat ();
31194 int
31195 main ()
31196 {
31197 return shmat ();
31198 ;
31199 return 0;
31200 }
31201 _ACEOF
31202 rm -f conftest.$ac_objext conftest$ac_exeext
31203 if { (ac_try="$ac_link"
31204 case "(($ac_try" in
31205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31206 *) ac_try_echo=$ac_try;;
31207 esac
31208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31209 (eval "$ac_link") 2>conftest.er1
31210 ac_status=$?
31211 grep -v '^ *+' conftest.er1 >conftest.err
31212 rm -f conftest.er1
31213 cat conftest.err >&5
31214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31215 (exit $ac_status); } && {
31216 test -z "$ac_c_werror_flag" ||
31217 test ! -s conftest.err
31218 } && test -s conftest$ac_exeext &&
31219 $as_test_x conftest$ac_exeext; then
31220 ac_cv_lib_ipc_shmat=yes
31221 else
31222 echo "$as_me: failed program was:" >&5
31223 sed 's/^/| /' conftest.$ac_ext >&5
31224
31225 ac_cv_lib_ipc_shmat=no
31226 fi
31227
31228 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31229 conftest$ac_exeext conftest.$ac_ext
31230 LIBS=$ac_check_lib_save_LIBS
31231 fi
31232 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31233 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31234 if test $ac_cv_lib_ipc_shmat = yes; then
31235 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31236 fi
31237
31238 fi
31239 fi
31240
31241 # Check for libraries that X11R6 Xt/Xaw programs need.
31242 ac_save_LDFLAGS=$LDFLAGS
31243 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31244 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31245 # check for ICE first), but we must link in the order -lSM -lICE or
31246 # we get undefined symbols. So assume we have SM if we have ICE.
31247 # These have to be linked with before -lX11, unlike the other
31248 # libraries we check for below, so use a different variable.
31249 # John Interrante, Karl Berry
31250 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31251 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31252 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31253 echo $ECHO_N "(cached) $ECHO_C" >&6
31254 else
31255 ac_check_lib_save_LIBS=$LIBS
31256 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31257 cat >conftest.$ac_ext <<_ACEOF
31258 /* confdefs.h. */
31259 _ACEOF
31260 cat confdefs.h >>conftest.$ac_ext
31261 cat >>conftest.$ac_ext <<_ACEOF
31262 /* end confdefs.h. */
31263
31264 /* Override any GCC internal prototype to avoid an error.
31265 Use char because int might match the return type of a GCC
31266 builtin and then its argument prototype would still apply. */
31267 #ifdef __cplusplus
31268 extern "C"
31269 #endif
31270 char IceConnectionNumber ();
31271 int
31272 main ()
31273 {
31274 return IceConnectionNumber ();
31275 ;
31276 return 0;
31277 }
31278 _ACEOF
31279 rm -f conftest.$ac_objext conftest$ac_exeext
31280 if { (ac_try="$ac_link"
31281 case "(($ac_try" in
31282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31283 *) ac_try_echo=$ac_try;;
31284 esac
31285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31286 (eval "$ac_link") 2>conftest.er1
31287 ac_status=$?
31288 grep -v '^ *+' conftest.er1 >conftest.err
31289 rm -f conftest.er1
31290 cat conftest.err >&5
31291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31292 (exit $ac_status); } && {
31293 test -z "$ac_c_werror_flag" ||
31294 test ! -s conftest.err
31295 } && test -s conftest$ac_exeext &&
31296 $as_test_x conftest$ac_exeext; then
31297 ac_cv_lib_ICE_IceConnectionNumber=yes
31298 else
31299 echo "$as_me: failed program was:" >&5
31300 sed 's/^/| /' conftest.$ac_ext >&5
31301
31302 ac_cv_lib_ICE_IceConnectionNumber=no
31303 fi
31304
31305 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31306 conftest$ac_exeext conftest.$ac_ext
31307 LIBS=$ac_check_lib_save_LIBS
31308 fi
31309 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31310 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31311 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31312 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31313 fi
31314
31315 LDFLAGS=$ac_save_LDFLAGS
31316
31317 fi
31318
31319
31320 if test "$no_x" = "yes"; then
31321 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31322 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31323 { (exit 1); exit 1; }; }
31324 fi
31325
31326 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31327 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31328 AFMINSTALL=afminstall
31329 COMPILED_X_PROGRAM=0
31330
31331 fi
31332
31333 if test "$wxUSE_X11" = 1; then
31334 if test "$wxUSE_NANOX" = "yes"; then
31335 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31336 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31337 if test "x$MICROWIN" = x ; then
31338 { echo "$as_me:$LINENO: result: not found" >&5
31339 echo "${ECHO_T}not found" >&6; }
31340 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31341 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31342 { (exit 1); exit 1; }; }
31343 else
31344 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31345 echo "${ECHO_T}$MICROWIN" >&6; }
31346 cat >>confdefs.h <<\_ACEOF
31347 #define wxUSE_NANOX 1
31348 _ACEOF
31349
31350 fi
31351 fi
31352
31353 if test "$wxUSE_UNICODE" = "yes"; then
31354
31355
31356 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31357 if test -n "$ac_tool_prefix"; then
31358 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31359 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31360 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31362 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31363 echo $ECHO_N "(cached) $ECHO_C" >&6
31364 else
31365 case $PKG_CONFIG in
31366 [\\/]* | ?:[\\/]*)
31367 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31368 ;;
31369 *)
31370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31371 for as_dir in $PATH
31372 do
31373 IFS=$as_save_IFS
31374 test -z "$as_dir" && as_dir=.
31375 for ac_exec_ext in '' $ac_executable_extensions; do
31376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31377 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31379 break 2
31380 fi
31381 done
31382 done
31383 IFS=$as_save_IFS
31384
31385 ;;
31386 esac
31387 fi
31388 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31389 if test -n "$PKG_CONFIG"; then
31390 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31391 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31392 else
31393 { echo "$as_me:$LINENO: result: no" >&5
31394 echo "${ECHO_T}no" >&6; }
31395 fi
31396
31397
31398 fi
31399 if test -z "$ac_cv_path_PKG_CONFIG"; then
31400 ac_pt_PKG_CONFIG=$PKG_CONFIG
31401 # Extract the first word of "pkg-config", so it can be a program name with args.
31402 set dummy pkg-config; ac_word=$2
31403 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31404 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31405 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31406 echo $ECHO_N "(cached) $ECHO_C" >&6
31407 else
31408 case $ac_pt_PKG_CONFIG in
31409 [\\/]* | ?:[\\/]*)
31410 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31411 ;;
31412 *)
31413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31414 for as_dir in $PATH
31415 do
31416 IFS=$as_save_IFS
31417 test -z "$as_dir" && as_dir=.
31418 for ac_exec_ext in '' $ac_executable_extensions; do
31419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31420 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31421 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31422 break 2
31423 fi
31424 done
31425 done
31426 IFS=$as_save_IFS
31427
31428 ;;
31429 esac
31430 fi
31431 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31432 if test -n "$ac_pt_PKG_CONFIG"; then
31433 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31434 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31435 else
31436 { echo "$as_me:$LINENO: result: no" >&5
31437 echo "${ECHO_T}no" >&6; }
31438 fi
31439
31440 if test "x$ac_pt_PKG_CONFIG" = x; then
31441 PKG_CONFIG=""
31442 else
31443 case $cross_compiling:$ac_tool_warned in
31444 yes:)
31445 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31446 whose name does not start with the host triplet. If you think this
31447 configuration is useful to you, please write to autoconf@gnu.org." >&5
31448 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31449 whose name does not start with the host triplet. If you think this
31450 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31451 ac_tool_warned=yes ;;
31452 esac
31453 PKG_CONFIG=$ac_pt_PKG_CONFIG
31454 fi
31455 else
31456 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31457 fi
31458
31459 fi
31460 if test -n "$PKG_CONFIG"; then
31461 _pkg_min_version=0.9.0
31462 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31463 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31464 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31465 { echo "$as_me:$LINENO: result: yes" >&5
31466 echo "${ECHO_T}yes" >&6; }
31467 else
31468 { echo "$as_me:$LINENO: result: no" >&5
31469 echo "${ECHO_T}no" >&6; }
31470 PKG_CONFIG=""
31471 fi
31472
31473 fi
31474
31475
31476 pkg_failed=no
31477 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31478 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31479
31480 if test -n "$PKG_CONFIG"; then
31481 if test -n "$PANGOX_CFLAGS"; then
31482 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31483 else
31484 if test -n "$PKG_CONFIG" && \
31485 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31486 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31487 ac_status=$?
31488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31489 (exit $ac_status); }; then
31490 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31491 else
31492 pkg_failed=yes
31493 fi
31494 fi
31495 else
31496 pkg_failed=untried
31497 fi
31498 if test -n "$PKG_CONFIG"; then
31499 if test -n "$PANGOX_LIBS"; then
31500 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31501 else
31502 if test -n "$PKG_CONFIG" && \
31503 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31504 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31505 ac_status=$?
31506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31507 (exit $ac_status); }; then
31508 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31509 else
31510 pkg_failed=yes
31511 fi
31512 fi
31513 else
31514 pkg_failed=untried
31515 fi
31516
31517
31518
31519 if test $pkg_failed = yes; then
31520
31521 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31522 _pkg_short_errors_supported=yes
31523 else
31524 _pkg_short_errors_supported=no
31525 fi
31526 if test $_pkg_short_errors_supported = yes; then
31527 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31528 else
31529 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31530 fi
31531 # Put the nasty error message in config.log where it belongs
31532 echo "$PANGOX_PKG_ERRORS" >&5
31533
31534
31535 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31536 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31537 { (exit 1); exit 1; }; }
31538
31539
31540 elif test $pkg_failed = untried; then
31541
31542 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31543 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31544 { (exit 1); exit 1; }; }
31545
31546
31547 else
31548 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31549 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31550 { echo "$as_me:$LINENO: result: yes" >&5
31551 echo "${ECHO_T}yes" >&6; }
31552
31553 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31554 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31555 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31556
31557 fi
31558
31559 pkg_failed=no
31560 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31561 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31562
31563 if test -n "$PKG_CONFIG"; then
31564 if test -n "$PANGOFT2_CFLAGS"; then
31565 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31566 else
31567 if test -n "$PKG_CONFIG" && \
31568 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31569 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31570 ac_status=$?
31571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31572 (exit $ac_status); }; then
31573 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31574 else
31575 pkg_failed=yes
31576 fi
31577 fi
31578 else
31579 pkg_failed=untried
31580 fi
31581 if test -n "$PKG_CONFIG"; then
31582 if test -n "$PANGOFT2_LIBS"; then
31583 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31584 else
31585 if test -n "$PKG_CONFIG" && \
31586 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31587 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31588 ac_status=$?
31589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31590 (exit $ac_status); }; then
31591 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31592 else
31593 pkg_failed=yes
31594 fi
31595 fi
31596 else
31597 pkg_failed=untried
31598 fi
31599
31600
31601
31602 if test $pkg_failed = yes; then
31603
31604 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31605 _pkg_short_errors_supported=yes
31606 else
31607 _pkg_short_errors_supported=no
31608 fi
31609 if test $_pkg_short_errors_supported = yes; then
31610 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31611 else
31612 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31613 fi
31614 # Put the nasty error message in config.log where it belongs
31615 echo "$PANGOFT2_PKG_ERRORS" >&5
31616
31617
31618 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31619 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31620 wxUSE_PRINTING_ARCHITECTURE="no"
31621
31622
31623 elif test $pkg_failed = untried; then
31624
31625 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31626 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31627 wxUSE_PRINTING_ARCHITECTURE="no"
31628
31629
31630 else
31631 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31632 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31633 { echo "$as_me:$LINENO: result: yes" >&5
31634 echo "${ECHO_T}yes" >&6; }
31635
31636 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31637 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31638 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31639
31640 fi
31641
31642 pkg_failed=no
31643 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31644 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31645
31646 if test -n "$PKG_CONFIG"; then
31647 if test -n "$PANGOXFT_CFLAGS"; then
31648 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31649 else
31650 if test -n "$PKG_CONFIG" && \
31651 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31652 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31653 ac_status=$?
31654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31655 (exit $ac_status); }; then
31656 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31657 else
31658 pkg_failed=yes
31659 fi
31660 fi
31661 else
31662 pkg_failed=untried
31663 fi
31664 if test -n "$PKG_CONFIG"; then
31665 if test -n "$PANGOXFT_LIBS"; then
31666 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31667 else
31668 if test -n "$PKG_CONFIG" && \
31669 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31670 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31671 ac_status=$?
31672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31673 (exit $ac_status); }; then
31674 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31675 else
31676 pkg_failed=yes
31677 fi
31678 fi
31679 else
31680 pkg_failed=untried
31681 fi
31682
31683
31684
31685 if test $pkg_failed = yes; then
31686
31687 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31688 _pkg_short_errors_supported=yes
31689 else
31690 _pkg_short_errors_supported=no
31691 fi
31692 if test $_pkg_short_errors_supported = yes; then
31693 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31694 else
31695 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31696 fi
31697 # Put the nasty error message in config.log where it belongs
31698 echo "$PANGOXFT_PKG_ERRORS" >&5
31699
31700
31701 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31702 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31703
31704
31705 elif test $pkg_failed = untried; then
31706
31707 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31708 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31709
31710
31711 else
31712 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31713 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31714 { echo "$as_me:$LINENO: result: yes" >&5
31715 echo "${ECHO_T}yes" >&6; }
31716
31717 cat >>confdefs.h <<\_ACEOF
31718 #define HAVE_PANGO_XFT 1
31719 _ACEOF
31720
31721 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31722 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31723 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31724
31725 fi
31726 save_LIBS="$LIBS"
31727 LIBS="$LIBS $PANGOX_LIBS"
31728
31729 for ac_func in pango_font_family_is_monospace
31730 do
31731 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31732 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31734 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31735 echo $ECHO_N "(cached) $ECHO_C" >&6
31736 else
31737 cat >conftest.$ac_ext <<_ACEOF
31738 /* confdefs.h. */
31739 _ACEOF
31740 cat confdefs.h >>conftest.$ac_ext
31741 cat >>conftest.$ac_ext <<_ACEOF
31742 /* end confdefs.h. */
31743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31745 #define $ac_func innocuous_$ac_func
31746
31747 /* System header to define __stub macros and hopefully few prototypes,
31748 which can conflict with char $ac_func (); below.
31749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31750 <limits.h> exists even on freestanding compilers. */
31751
31752 #ifdef __STDC__
31753 # include <limits.h>
31754 #else
31755 # include <assert.h>
31756 #endif
31757
31758 #undef $ac_func
31759
31760 /* Override any GCC internal prototype to avoid an error.
31761 Use char because int might match the return type of a GCC
31762 builtin and then its argument prototype would still apply. */
31763 #ifdef __cplusplus
31764 extern "C"
31765 #endif
31766 char $ac_func ();
31767 /* The GNU C library defines this for functions which it implements
31768 to always fail with ENOSYS. Some functions are actually named
31769 something starting with __ and the normal name is an alias. */
31770 #if defined __stub_$ac_func || defined __stub___$ac_func
31771 choke me
31772 #endif
31773
31774 int
31775 main ()
31776 {
31777 return $ac_func ();
31778 ;
31779 return 0;
31780 }
31781 _ACEOF
31782 rm -f conftest.$ac_objext conftest$ac_exeext
31783 if { (ac_try="$ac_link"
31784 case "(($ac_try" in
31785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31786 *) ac_try_echo=$ac_try;;
31787 esac
31788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31789 (eval "$ac_link") 2>conftest.er1
31790 ac_status=$?
31791 grep -v '^ *+' conftest.er1 >conftest.err
31792 rm -f conftest.er1
31793 cat conftest.err >&5
31794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31795 (exit $ac_status); } && {
31796 test -z "$ac_c_werror_flag" ||
31797 test ! -s conftest.err
31798 } && test -s conftest$ac_exeext &&
31799 $as_test_x conftest$ac_exeext; then
31800 eval "$as_ac_var=yes"
31801 else
31802 echo "$as_me: failed program was:" >&5
31803 sed 's/^/| /' conftest.$ac_ext >&5
31804
31805 eval "$as_ac_var=no"
31806 fi
31807
31808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31809 conftest$ac_exeext conftest.$ac_ext
31810 fi
31811 ac_res=`eval echo '${'$as_ac_var'}'`
31812 { echo "$as_me:$LINENO: result: $ac_res" >&5
31813 echo "${ECHO_T}$ac_res" >&6; }
31814 if test `eval echo '${'$as_ac_var'}'` = yes; then
31815 cat >>confdefs.h <<_ACEOF
31816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31817 _ACEOF
31818
31819 fi
31820 done
31821
31822 LIBS="$save_LIBS"
31823 fi
31824
31825 wxUSE_UNIVERSAL="yes"
31826
31827 if test "$wxUSE_NANOX" = "yes"; then
31828 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31829 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"
31830 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31831 else
31832 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31833 fi
31834
31835 TOOLKIT=X11
31836 GUIDIST=X11_DIST
31837 fi
31838
31839 if test "$wxUSE_MOTIF" = 1; then
31840 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31841 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31842
31843 ac_find_includes=
31844 for ac_dir in $SEARCH_INCLUDE /usr/include;
31845 do
31846 if test -f "$ac_dir/Xm/Xm.h"; then
31847 ac_find_includes=$ac_dir
31848 break
31849 fi
31850 done
31851
31852 if test "$ac_find_includes" != "" ; then
31853 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31854 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31855
31856 if test "x$ac_find_includes" = "x/usr/include"; then
31857 ac_path_to_include=""
31858 else
31859 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31860 result=$?
31861 if test $result = 0; then
31862 ac_path_to_include=""
31863 else
31864 ac_path_to_include=" -I$ac_find_includes"
31865 fi
31866 fi
31867
31868 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31869 else
31870 save_CFLAGS=$CFLAGS
31871 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31872
31873 cat >conftest.$ac_ext <<_ACEOF
31874 /* confdefs.h. */
31875 _ACEOF
31876 cat confdefs.h >>conftest.$ac_ext
31877 cat >>conftest.$ac_ext <<_ACEOF
31878 /* end confdefs.h. */
31879
31880 #include <Xm/Xm.h>
31881
31882 int
31883 main ()
31884 {
31885
31886 int version;
31887 version = xmUseVersion;
31888
31889 ;
31890 return 0;
31891 }
31892 _ACEOF
31893 rm -f conftest.$ac_objext
31894 if { (ac_try="$ac_compile"
31895 case "(($ac_try" in
31896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31897 *) ac_try_echo=$ac_try;;
31898 esac
31899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31900 (eval "$ac_compile") 2>conftest.er1
31901 ac_status=$?
31902 grep -v '^ *+' conftest.er1 >conftest.err
31903 rm -f conftest.er1
31904 cat conftest.err >&5
31905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31906 (exit $ac_status); } && {
31907 test -z "$ac_c_werror_flag" ||
31908 test ! -s conftest.err
31909 } && test -s conftest.$ac_objext; then
31910
31911 { echo "$as_me:$LINENO: result: found in default search path" >&5
31912 echo "${ECHO_T}found in default search path" >&6; }
31913 COMPILED_X_PROGRAM=1
31914
31915 else
31916 echo "$as_me: failed program was:" >&5
31917 sed 's/^/| /' conftest.$ac_ext >&5
31918
31919
31920 { echo "$as_me:$LINENO: result: no" >&5
31921 echo "${ECHO_T}no" >&6; }
31922 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31923 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31924 { (exit 1); exit 1; }; }
31925
31926
31927 fi
31928
31929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31930
31931 CFLAGS=$save_CFLAGS
31932 fi
31933
31934
31935 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31936 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31937
31938 ac_find_libraries=
31939 for ac_dir in $SEARCH_LIB;
31940 do
31941 for ac_extension in a so sl dylib dll.a; do
31942 if test -f "$ac_dir/libXm.$ac_extension"; then
31943 ac_find_libraries=$ac_dir
31944 break 2
31945 fi
31946 done
31947 done
31948
31949
31950 if test "x$ac_find_libraries" != "x" ; then
31951 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31952 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31953
31954
31955 if test "$ac_find_libraries" = "default location"; then
31956 ac_path_to_link=""
31957 else
31958 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31959 result=$?
31960 if test $result = 0; then
31961 ac_path_to_link=""
31962 else
31963 ac_path_to_link=" -L$ac_find_libraries"
31964 fi
31965 fi
31966
31967 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31968 else
31969 save_CFLAGS=$CFLAGS
31970 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31971 save_LIBS="$LIBS"
31972 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31973
31974 cat >conftest.$ac_ext <<_ACEOF
31975 /* confdefs.h. */
31976 _ACEOF
31977 cat confdefs.h >>conftest.$ac_ext
31978 cat >>conftest.$ac_ext <<_ACEOF
31979 /* end confdefs.h. */
31980
31981 #include <Xm/Xm.h>
31982
31983 int
31984 main ()
31985 {
31986
31987 int version;
31988 version = xmUseVersion;
31989
31990 ;
31991 return 0;
31992 }
31993 _ACEOF
31994 rm -f conftest.$ac_objext conftest$ac_exeext
31995 if { (ac_try="$ac_link"
31996 case "(($ac_try" in
31997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31998 *) ac_try_echo=$ac_try;;
31999 esac
32000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32001 (eval "$ac_link") 2>conftest.er1
32002 ac_status=$?
32003 grep -v '^ *+' conftest.er1 >conftest.err
32004 rm -f conftest.er1
32005 cat conftest.err >&5
32006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32007 (exit $ac_status); } && {
32008 test -z "$ac_c_werror_flag" ||
32009 test ! -s conftest.err
32010 } && test -s conftest$ac_exeext &&
32011 $as_test_x conftest$ac_exeext; then
32012
32013 { echo "$as_me:$LINENO: result: found in default search path" >&5
32014 echo "${ECHO_T}found in default search path" >&6; }
32015 COMPILED_X_PROGRAM=1
32016
32017 else
32018 echo "$as_me: failed program was:" >&5
32019 sed 's/^/| /' conftest.$ac_ext >&5
32020
32021
32022 { echo "$as_me:$LINENO: result: no" >&5
32023 echo "${ECHO_T}no" >&6; }
32024 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32025 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32026 { (exit 1); exit 1; }; }
32027
32028
32029 fi
32030
32031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32032 conftest$ac_exeext conftest.$ac_ext
32033
32034 CFLAGS=$save_CFLAGS
32035 LIBS="$save_LIBS"
32036 fi
32037
32038 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32039 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32040 libp_link=""
32041 libsm_ice_link=""
32042 libs_found=0
32043 for libp in "" " -lXp"; do
32044 if test "$libs_found" = 0; then
32045 for libsm_ice in "" " -lSM -lICE"; do
32046 if test "$libs_found" = 0; then
32047 save_LIBS="$LIBS"
32048 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32049 save_CFLAGS=$CFLAGS
32050 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32051
32052 cat >conftest.$ac_ext <<_ACEOF
32053 /* confdefs.h. */
32054 _ACEOF
32055 cat confdefs.h >>conftest.$ac_ext
32056 cat >>conftest.$ac_ext <<_ACEOF
32057 /* end confdefs.h. */
32058
32059 #include <Xm/Xm.h>
32060 #include <Xm/List.h>
32061
32062 int
32063 main ()
32064 {
32065
32066 XmString string = NULL;
32067 Widget w = NULL;
32068 int position = 0;
32069 XmListAddItem(w, string, position);
32070
32071 ;
32072 return 0;
32073 }
32074 _ACEOF
32075 rm -f conftest.$ac_objext conftest$ac_exeext
32076 if { (ac_try="$ac_link"
32077 case "(($ac_try" in
32078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32079 *) ac_try_echo=$ac_try;;
32080 esac
32081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32082 (eval "$ac_link") 2>conftest.er1
32083 ac_status=$?
32084 grep -v '^ *+' conftest.er1 >conftest.err
32085 rm -f conftest.er1
32086 cat conftest.err >&5
32087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32088 (exit $ac_status); } && {
32089 test -z "$ac_c_werror_flag" ||
32090 test ! -s conftest.err
32091 } && test -s conftest$ac_exeext &&
32092 $as_test_x conftest$ac_exeext; then
32093
32094 libp_link="$libp"
32095 libsm_ice_link="$libsm_ice"
32096 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32097 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32098 libs_found=1
32099
32100 else
32101 echo "$as_me: failed program was:" >&5
32102 sed 's/^/| /' conftest.$ac_ext >&5
32103
32104
32105
32106 fi
32107
32108 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32109 conftest$ac_exeext conftest.$ac_ext
32110
32111 LIBS="$save_LIBS"
32112 CFLAGS=$save_CFLAGS
32113 fi
32114 done
32115 fi
32116 done
32117
32118 if test "$libs_found" = 0; then
32119 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32120 echo "${ECHO_T}can't find the right libraries" >&6; }
32121 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32122 echo "$as_me: error: can't link a simple motif program" >&2;}
32123 { (exit 1); exit 1; }; }
32124 fi
32125
32126 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32127 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32128 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32129 echo $ECHO_N "(cached) $ECHO_C" >&6
32130 else
32131 ac_check_lib_save_LIBS=$LIBS
32132 LIBS="-lSgm $LIBS"
32133 cat >conftest.$ac_ext <<_ACEOF
32134 /* confdefs.h. */
32135 _ACEOF
32136 cat confdefs.h >>conftest.$ac_ext
32137 cat >>conftest.$ac_ext <<_ACEOF
32138 /* end confdefs.h. */
32139
32140 /* Override any GCC internal prototype to avoid an error.
32141 Use char because int might match the return type of a GCC
32142 builtin and then its argument prototype would still apply. */
32143 #ifdef __cplusplus
32144 extern "C"
32145 #endif
32146 char SgCreateList ();
32147 int
32148 main ()
32149 {
32150 return SgCreateList ();
32151 ;
32152 return 0;
32153 }
32154 _ACEOF
32155 rm -f conftest.$ac_objext conftest$ac_exeext
32156 if { (ac_try="$ac_link"
32157 case "(($ac_try" in
32158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32159 *) ac_try_echo=$ac_try;;
32160 esac
32161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32162 (eval "$ac_link") 2>conftest.er1
32163 ac_status=$?
32164 grep -v '^ *+' conftest.er1 >conftest.err
32165 rm -f conftest.er1
32166 cat conftest.err >&5
32167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32168 (exit $ac_status); } && {
32169 test -z "$ac_c_werror_flag" ||
32170 test ! -s conftest.err
32171 } && test -s conftest$ac_exeext &&
32172 $as_test_x conftest$ac_exeext; then
32173 ac_cv_lib_Sgm_SgCreateList=yes
32174 else
32175 echo "$as_me: failed program was:" >&5
32176 sed 's/^/| /' conftest.$ac_ext >&5
32177
32178 ac_cv_lib_Sgm_SgCreateList=no
32179 fi
32180
32181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32182 conftest$ac_exeext conftest.$ac_ext
32183 LIBS=$ac_check_lib_save_LIBS
32184 fi
32185 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32186 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32187 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32188 libsgm_link=" -lSgm"
32189 fi
32190
32191
32192 save_CFLAGS=$CFLAGS
32193 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32194
32195 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32196 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32197 if test "${wx_cv_lib_motif2+set}" = set; then
32198 echo $ECHO_N "(cached) $ECHO_C" >&6
32199 else
32200 cat >conftest.$ac_ext <<_ACEOF
32201 /* confdefs.h. */
32202 _ACEOF
32203 cat confdefs.h >>conftest.$ac_ext
32204 cat >>conftest.$ac_ext <<_ACEOF
32205 /* end confdefs.h. */
32206
32207 #include <Xm/Xm.h>
32208
32209 int
32210 main ()
32211 {
32212
32213 #if XmVersion < 2000
32214 Not Motif 2
32215 #endif
32216
32217 ;
32218 return 0;
32219 }
32220 _ACEOF
32221 rm -f conftest.$ac_objext
32222 if { (ac_try="$ac_compile"
32223 case "(($ac_try" in
32224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32225 *) ac_try_echo=$ac_try;;
32226 esac
32227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32228 (eval "$ac_compile") 2>conftest.er1
32229 ac_status=$?
32230 grep -v '^ *+' conftest.er1 >conftest.err
32231 rm -f conftest.er1
32232 cat conftest.err >&5
32233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32234 (exit $ac_status); } && {
32235 test -z "$ac_c_werror_flag" ||
32236 test ! -s conftest.err
32237 } && test -s conftest.$ac_objext; then
32238 wx_cv_lib_motif2="yes"
32239 else
32240 echo "$as_me: failed program was:" >&5
32241 sed 's/^/| /' conftest.$ac_ext >&5
32242
32243 wx_cv_lib_motif2="no"
32244 fi
32245
32246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32247 fi
32248 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32249 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32250 if test "$wx_cv_lib_motif2" = "yes"; then
32251 cat >>confdefs.h <<\_ACEOF
32252 #define __WXMOTIF20__ 1
32253 _ACEOF
32254
32255 else
32256 cat >>confdefs.h <<\_ACEOF
32257 #define __WXMOTIF20__ 0
32258 _ACEOF
32259
32260 fi
32261
32262 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32263 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32264 if test "${wx_cv_lib_lesstif+set}" = set; then
32265 echo $ECHO_N "(cached) $ECHO_C" >&6
32266 else
32267 cat >conftest.$ac_ext <<_ACEOF
32268 /* confdefs.h. */
32269 _ACEOF
32270 cat confdefs.h >>conftest.$ac_ext
32271 cat >>conftest.$ac_ext <<_ACEOF
32272 /* end confdefs.h. */
32273
32274 #include <Xm/Xm.h>
32275
32276 int
32277 main ()
32278 {
32279
32280 #if !defined(LesstifVersion) || LesstifVersion <= 0
32281 Not Lesstif
32282 #endif
32283
32284 ;
32285 return 0;
32286 }
32287 _ACEOF
32288 rm -f conftest.$ac_objext
32289 if { (ac_try="$ac_compile"
32290 case "(($ac_try" in
32291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32292 *) ac_try_echo=$ac_try;;
32293 esac
32294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32295 (eval "$ac_compile") 2>conftest.er1
32296 ac_status=$?
32297 grep -v '^ *+' conftest.er1 >conftest.err
32298 rm -f conftest.er1
32299 cat conftest.err >&5
32300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32301 (exit $ac_status); } && {
32302 test -z "$ac_c_werror_flag" ||
32303 test ! -s conftest.err
32304 } && test -s conftest.$ac_objext; then
32305 wx_cv_lib_lesstif="yes"
32306 else
32307 echo "$as_me: failed program was:" >&5
32308 sed 's/^/| /' conftest.$ac_ext >&5
32309
32310 wx_cv_lib_lesstif="no"
32311 fi
32312
32313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32314
32315 fi
32316 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32317 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32318 if test "$wx_cv_lib_lesstif" = "yes"; then
32319 cat >>confdefs.h <<\_ACEOF
32320 #define __WXLESSTIF__ 1
32321 _ACEOF
32322
32323 else
32324 cat >>confdefs.h <<\_ACEOF
32325 #define __WXLESSTIF__ 0
32326 _ACEOF
32327
32328 fi
32329
32330 CFLAGS=$save_CFLAGS
32331
32332 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32333 TOOLKIT=MOTIF
32334 GUIDIST=MOTIF_DIST
32335 fi
32336
32337 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32338 if test "$wxUSE_LIBXPM" = "sys"; then
32339 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32340 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32341
32342 ac_find_libraries=
32343 for ac_dir in $SEARCH_LIB;
32344 do
32345 for ac_extension in a so sl dylib dll.a; do
32346 if test -f "$ac_dir/libXpm.$ac_extension"; then
32347 ac_find_libraries=$ac_dir
32348 break 2
32349 fi
32350 done
32351 done
32352
32353 if test "$ac_find_libraries" != "" ; then
32354
32355 if test "$ac_find_libraries" = "default location"; then
32356 ac_path_to_link=""
32357 else
32358 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32359 result=$?
32360 if test $result = 0; then
32361 ac_path_to_link=""
32362 else
32363 ac_path_to_link=" -L$ac_find_libraries"
32364 fi
32365 fi
32366
32367 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32368 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32369 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32370
32371 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32372 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32373 if test "${wx_cv_x11_xpm_h+set}" = set; then
32374 echo $ECHO_N "(cached) $ECHO_C" >&6
32375 else
32376
32377 save_CFLAGS=$CFLAGS
32378 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32379
32380 cat >conftest.$ac_ext <<_ACEOF
32381 /* confdefs.h. */
32382 _ACEOF
32383 cat confdefs.h >>conftest.$ac_ext
32384 cat >>conftest.$ac_ext <<_ACEOF
32385 /* end confdefs.h. */
32386
32387 #include <X11/xpm.h>
32388
32389 int
32390 main ()
32391 {
32392
32393 int version;
32394 version = XpmLibraryVersion();
32395
32396 ;
32397 return 0;
32398 }
32399 _ACEOF
32400 rm -f conftest.$ac_objext
32401 if { (ac_try="$ac_compile"
32402 case "(($ac_try" in
32403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32404 *) ac_try_echo=$ac_try;;
32405 esac
32406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32407 (eval "$ac_compile") 2>conftest.er1
32408 ac_status=$?
32409 grep -v '^ *+' conftest.er1 >conftest.err
32410 rm -f conftest.er1
32411 cat conftest.err >&5
32412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32413 (exit $ac_status); } && {
32414 test -z "$ac_c_werror_flag" ||
32415 test ! -s conftest.err
32416 } && test -s conftest.$ac_objext; then
32417 wx_cv_x11_xpm_h=yes
32418 else
32419 echo "$as_me: failed program was:" >&5
32420 sed 's/^/| /' conftest.$ac_ext >&5
32421
32422 wx_cv_x11_xpm_h=no
32423
32424 fi
32425
32426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32427
32428 CFLAGS=$save_CFLAGS
32429
32430
32431 fi
32432 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32433 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32434
32435 if test $wx_cv_x11_xpm_h = "yes"; then
32436 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32437 cat >>confdefs.h <<\_ACEOF
32438 #define wxHAVE_LIB_XPM 1
32439 _ACEOF
32440
32441 else
32442 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32443 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32444 fi
32445 fi
32446
32447 fi
32448
32449 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32450 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32451 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32452 echo $ECHO_N "(cached) $ECHO_C" >&6
32453 else
32454 ac_check_lib_save_LIBS=$LIBS
32455 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32456 cat >conftest.$ac_ext <<_ACEOF
32457 /* confdefs.h. */
32458 _ACEOF
32459 cat confdefs.h >>conftest.$ac_ext
32460 cat >>conftest.$ac_ext <<_ACEOF
32461 /* end confdefs.h. */
32462
32463 /* Override any GCC internal prototype to avoid an error.
32464 Use char because int might match the return type of a GCC
32465 builtin and then its argument prototype would still apply. */
32466 #ifdef __cplusplus
32467 extern "C"
32468 #endif
32469 char XShapeQueryExtension ();
32470 int
32471 main ()
32472 {
32473 return XShapeQueryExtension ();
32474 ;
32475 return 0;
32476 }
32477 _ACEOF
32478 rm -f conftest.$ac_objext conftest$ac_exeext
32479 if { (ac_try="$ac_link"
32480 case "(($ac_try" in
32481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32482 *) ac_try_echo=$ac_try;;
32483 esac
32484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32485 (eval "$ac_link") 2>conftest.er1
32486 ac_status=$?
32487 grep -v '^ *+' conftest.er1 >conftest.err
32488 rm -f conftest.er1
32489 cat conftest.err >&5
32490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32491 (exit $ac_status); } && {
32492 test -z "$ac_c_werror_flag" ||
32493 test ! -s conftest.err
32494 } && test -s conftest$ac_exeext &&
32495 $as_test_x conftest$ac_exeext; then
32496 ac_cv_lib_Xext_XShapeQueryExtension=yes
32497 else
32498 echo "$as_me: failed program was:" >&5
32499 sed 's/^/| /' conftest.$ac_ext >&5
32500
32501 ac_cv_lib_Xext_XShapeQueryExtension=no
32502 fi
32503
32504 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32505 conftest$ac_exeext conftest.$ac_ext
32506 LIBS=$ac_check_lib_save_LIBS
32507 fi
32508 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32509 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32510 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32511
32512 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32513 wxHAVE_XEXT_LIB=1
32514
32515 fi
32516
32517
32518 if test "$wxHAVE_XEXT_LIB" = 1; then
32519 save_CFLAGS="$CFLAGS"
32520 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32521
32522 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32523 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32524 cat >conftest.$ac_ext <<_ACEOF
32525 /* confdefs.h. */
32526 _ACEOF
32527 cat confdefs.h >>conftest.$ac_ext
32528 cat >>conftest.$ac_ext <<_ACEOF
32529 /* end confdefs.h. */
32530
32531 #include <X11/Xlib.h>
32532 #include <X11/extensions/shape.h>
32533
32534 int
32535 main ()
32536 {
32537
32538 int dummy1, dummy2;
32539 XShapeQueryExtension((Display*)NULL,
32540 (int*)NULL, (int*)NULL);
32541
32542 ;
32543 return 0;
32544 }
32545 _ACEOF
32546 rm -f conftest.$ac_objext
32547 if { (ac_try="$ac_compile"
32548 case "(($ac_try" in
32549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32550 *) ac_try_echo=$ac_try;;
32551 esac
32552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32553 (eval "$ac_compile") 2>conftest.er1
32554 ac_status=$?
32555 grep -v '^ *+' conftest.er1 >conftest.err
32556 rm -f conftest.er1
32557 cat conftest.err >&5
32558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32559 (exit $ac_status); } && {
32560 test -z "$ac_c_werror_flag" ||
32561 test ! -s conftest.err
32562 } && test -s conftest.$ac_objext; then
32563
32564 cat >>confdefs.h <<\_ACEOF
32565 #define HAVE_XSHAPE 1
32566 _ACEOF
32567
32568 { echo "$as_me:$LINENO: result: found" >&5
32569 echo "${ECHO_T}found" >&6; }
32570
32571 else
32572 echo "$as_me: failed program was:" >&5
32573 sed 's/^/| /' conftest.$ac_ext >&5
32574
32575
32576 { echo "$as_me:$LINENO: result: not found" >&5
32577 echo "${ECHO_T}not found" >&6; }
32578
32579 fi
32580
32581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32582 CFLAGS="$save_CFLAGS"
32583
32584 fi
32585 fi
32586
32587 if test "$wxUSE_OSX_CARBON" = 1; then
32588 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32589 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32590 if test "$GCC" = yes; then
32591 { echo "$as_me:$LINENO: result: gcc" >&5
32592 echo "${ECHO_T}gcc" >&6; }
32593 CPPFLAGS_PASCAL="-fpascal-strings"
32594 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32595 { echo "$as_me:$LINENO: result: xlc" >&5
32596 echo "${ECHO_T}xlc" >&6; }
32597 CPPFLAGS_PASCAL="-qmacpstr"
32598 else
32599 { echo "$as_me:$LINENO: result: none" >&5
32600 echo "${ECHO_T}none" >&6; }
32601 fi
32602
32603 if test "x$wxUSE_UNIX" = "xyes"; then
32604 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32605 else
32606 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32607 fi
32608
32609 TOOLKIT=OSX_CARBON
32610 GUIDIST=OSX_CARBON_DIST
32611 WXBASEPORT="_carbon"
32612 fi
32613
32614 if test "$wxUSE_OSX_COCOA" = 1; then
32615 TOOLKIT=OSX_COCOA
32616 GUIDIST=OSX_COCOA_DIST
32617 fi
32618
32619 if test "$wxUSE_COCOA" = 1; then
32620 TOOLKIT=COCOA
32621 GUIDIST=COCOA_DIST
32622 fi
32623
32624 if test "$wxUSE_PM" = 1; then
32625 TOOLKIT=PM
32626 GUIDIST=PM_DIST
32627 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32628 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32629 if test "${wx_cv_spbcdata+set}" = set; then
32630 echo $ECHO_N "(cached) $ECHO_C" >&6
32631 else
32632
32633 cat >conftest.$ac_ext <<_ACEOF
32634 /* confdefs.h. */
32635 _ACEOF
32636 cat confdefs.h >>conftest.$ac_ext
32637 cat >>conftest.$ac_ext <<_ACEOF
32638 /* end confdefs.h. */
32639
32640 #define INCL_PM
32641 #include <os2.h>
32642
32643 int
32644 main ()
32645 {
32646
32647 SPBCDATA test;
32648
32649 ;
32650 return 0;
32651 }
32652 _ACEOF
32653 rm -f conftest.$ac_objext
32654 if { (ac_try="$ac_compile"
32655 case "(($ac_try" in
32656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32657 *) ac_try_echo=$ac_try;;
32658 esac
32659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32660 (eval "$ac_compile") 2>conftest.er1
32661 ac_status=$?
32662 grep -v '^ *+' conftest.er1 >conftest.err
32663 rm -f conftest.er1
32664 cat conftest.err >&5
32665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32666 (exit $ac_status); } && {
32667 test -z "$ac_c_werror_flag" ||
32668 test ! -s conftest.err
32669 } && test -s conftest.$ac_objext; then
32670 wx_cv_spbcdata=yes
32671 else
32672 echo "$as_me: failed program was:" >&5
32673 sed 's/^/| /' conftest.$ac_ext >&5
32674
32675 wx_cv_spbcdata=no
32676
32677 fi
32678
32679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32680
32681
32682 fi
32683 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32684 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32685
32686 if test $wx_cv_spbcdata = "yes"; then
32687 cat >>confdefs.h <<\_ACEOF
32688 #define HAVE_SPBCDATA 1
32689 _ACEOF
32690
32691 fi
32692 fi
32693
32694 if test "$TOOLKIT" = "PM" ; then
32695 TOOLKIT_DIR="os2"
32696 else
32697 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32698 fi
32699
32700 if test "$wxUSE_UNIVERSAL" = "yes"; then
32701 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32702 WIDGET_SET=univ
32703 fi
32704
32705 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32706 DISTDIR="wx\$(TOOLKIT)"
32707 else
32708 USE_GUI=0
32709
32710 TOOLKIT_DIR="base"
32711
32712 if test "$USE_WIN32" = 1 ; then
32713 TOOLKIT="MSW"
32714 fi
32715
32716 GUIDIST="BASE_DIST"
32717 DISTDIR="wxBase"
32718 fi
32719
32720
32721
32722 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32723 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32724 wxUSE_UNICODE_UTF8=yes
32725 elif test "$USE_OS2" = 1 ; then
32726 wxUSE_UNICODE_UTF8=yes
32727 else
32728 wxUSE_UNICODE_UTF8=no
32729 fi
32730 fi
32731
32732
32733 if test "$wxUSE_GUI" = "yes"; then
32734 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32735
32736 for ac_header in X11/Xlib.h
32737 do
32738 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32739 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32740 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32741 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32742 echo $ECHO_N "(cached) $ECHO_C" >&6
32743 else
32744 cat >conftest.$ac_ext <<_ACEOF
32745 /* confdefs.h. */
32746 _ACEOF
32747 cat confdefs.h >>conftest.$ac_ext
32748 cat >>conftest.$ac_ext <<_ACEOF
32749 /* end confdefs.h. */
32750
32751
32752 #include <$ac_header>
32753 _ACEOF
32754 rm -f conftest.$ac_objext
32755 if { (ac_try="$ac_compile"
32756 case "(($ac_try" in
32757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32758 *) ac_try_echo=$ac_try;;
32759 esac
32760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32761 (eval "$ac_compile") 2>conftest.er1
32762 ac_status=$?
32763 grep -v '^ *+' conftest.er1 >conftest.err
32764 rm -f conftest.er1
32765 cat conftest.err >&5
32766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32767 (exit $ac_status); } && {
32768 test -z "$ac_c_werror_flag" ||
32769 test ! -s conftest.err
32770 } && test -s conftest.$ac_objext; then
32771 eval "$as_ac_Header=yes"
32772 else
32773 echo "$as_me: failed program was:" >&5
32774 sed 's/^/| /' conftest.$ac_ext >&5
32775
32776 eval "$as_ac_Header=no"
32777 fi
32778
32779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32780 fi
32781 ac_res=`eval echo '${'$as_ac_Header'}'`
32782 { echo "$as_me:$LINENO: result: $ac_res" >&5
32783 echo "${ECHO_T}$ac_res" >&6; }
32784 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32785 cat >>confdefs.h <<_ACEOF
32786 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32787 _ACEOF
32788
32789 fi
32790
32791 done
32792
32793
32794 for ac_header in X11/XKBlib.h
32795 do
32796 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32797 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32798 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32799 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32800 echo $ECHO_N "(cached) $ECHO_C" >&6
32801 else
32802 cat >conftest.$ac_ext <<_ACEOF
32803 /* confdefs.h. */
32804 _ACEOF
32805 cat confdefs.h >>conftest.$ac_ext
32806 cat >>conftest.$ac_ext <<_ACEOF
32807 /* end confdefs.h. */
32808
32809 #if HAVE_X11_XLIB_H
32810 #include <X11/Xlib.h>
32811 #endif
32812
32813
32814 #include <$ac_header>
32815 _ACEOF
32816 rm -f conftest.$ac_objext
32817 if { (ac_try="$ac_compile"
32818 case "(($ac_try" in
32819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32820 *) ac_try_echo=$ac_try;;
32821 esac
32822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32823 (eval "$ac_compile") 2>conftest.er1
32824 ac_status=$?
32825 grep -v '^ *+' conftest.er1 >conftest.err
32826 rm -f conftest.er1
32827 cat conftest.err >&5
32828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32829 (exit $ac_status); } && {
32830 test -z "$ac_c_werror_flag" ||
32831 test ! -s conftest.err
32832 } && test -s conftest.$ac_objext; then
32833 eval "$as_ac_Header=yes"
32834 else
32835 echo "$as_me: failed program was:" >&5
32836 sed 's/^/| /' conftest.$ac_ext >&5
32837
32838 eval "$as_ac_Header=no"
32839 fi
32840
32841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32842 fi
32843 ac_res=`eval echo '${'$as_ac_Header'}'`
32844 { echo "$as_me:$LINENO: result: $ac_res" >&5
32845 echo "${ECHO_T}$ac_res" >&6; }
32846 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32847 cat >>confdefs.h <<_ACEOF
32848 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32849 _ACEOF
32850
32851 fi
32852
32853 done
32854
32855 fi
32856 fi
32857
32858
32859
32860 if test "$wxUSE_DISPLAY" = "yes"; then
32861 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32862 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32863 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32864
32865 ac_find_libraries=
32866 for ac_dir in $SEARCH_LIB;
32867 do
32868 for ac_extension in a so sl dylib dll.a; do
32869 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32870 ac_find_libraries=$ac_dir
32871 break 2
32872 fi
32873 done
32874 done
32875
32876 if test "$ac_find_libraries" != "" ; then
32877
32878 if test "$ac_find_libraries" = "default location"; then
32879 ac_path_to_link=""
32880 else
32881 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32882 result=$?
32883 if test $result = 0; then
32884 ac_path_to_link=""
32885 else
32886 ac_path_to_link=" -L$ac_find_libraries"
32887 fi
32888 fi
32889
32890 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32891 LDFLAGS="$LDFLAGS $ac_path_to_link"
32892 fi
32893 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32894 { echo "$as_me:$LINENO: result: yes" >&5
32895 echo "${ECHO_T}yes" >&6; }
32896
32897 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32898 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32899
32900 ac_find_libraries=
32901 for ac_dir in $SEARCH_LIB;
32902 do
32903 for ac_extension in a so sl dylib dll.a; do
32904 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32905 ac_find_libraries=$ac_dir
32906 break 2
32907 fi
32908 done
32909 done
32910
32911 if test "$ac_find_libraries" != "" ; then
32912 { echo "$as_me:$LINENO: result: yes" >&5
32913 echo "${ECHO_T}yes" >&6; }
32914
32915 for ac_header in X11/extensions/xf86vmode.h
32916 do
32917 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32918 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32919 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32920 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32921 echo $ECHO_N "(cached) $ECHO_C" >&6
32922 else
32923 cat >conftest.$ac_ext <<_ACEOF
32924 /* confdefs.h. */
32925 _ACEOF
32926 cat confdefs.h >>conftest.$ac_ext
32927 cat >>conftest.$ac_ext <<_ACEOF
32928 /* end confdefs.h. */
32929
32930 #if HAVE_X11_XLIB_H
32931 #include <X11/Xlib.h>
32932 #endif
32933
32934
32935 #include <$ac_header>
32936 _ACEOF
32937 rm -f conftest.$ac_objext
32938 if { (ac_try="$ac_compile"
32939 case "(($ac_try" in
32940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32941 *) ac_try_echo=$ac_try;;
32942 esac
32943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32944 (eval "$ac_compile") 2>conftest.er1
32945 ac_status=$?
32946 grep -v '^ *+' conftest.er1 >conftest.err
32947 rm -f conftest.er1
32948 cat conftest.err >&5
32949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32950 (exit $ac_status); } && {
32951 test -z "$ac_c_werror_flag" ||
32952 test ! -s conftest.err
32953 } && test -s conftest.$ac_objext; then
32954 eval "$as_ac_Header=yes"
32955 else
32956 echo "$as_me: failed program was:" >&5
32957 sed 's/^/| /' conftest.$ac_ext >&5
32958
32959 eval "$as_ac_Header=no"
32960 fi
32961
32962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32963 fi
32964 ac_res=`eval echo '${'$as_ac_Header'}'`
32965 { echo "$as_me:$LINENO: result: $ac_res" >&5
32966 echo "${ECHO_T}$ac_res" >&6; }
32967 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32968 cat >>confdefs.h <<_ACEOF
32969 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32970 _ACEOF
32971
32972 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32973
32974 fi
32975
32976 done
32977
32978 else
32979 { echo "$as_me:$LINENO: result: no" >&5
32980 echo "${ECHO_T}no" >&6; }
32981 fi
32982
32983 else
32984 { echo "$as_me:$LINENO: result: no" >&5
32985 echo "${ECHO_T}no" >&6; }
32986 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32987 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32988 wxUSE_DISPLAY="no"
32989 fi
32990 elif test "$wxUSE_MSW" = 1; then
32991 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32992 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32993 if test "${ac_cv_header_ddraw_h+set}" = set; then
32994 echo $ECHO_N "(cached) $ECHO_C" >&6
32995 else
32996 cat >conftest.$ac_ext <<_ACEOF
32997 /* confdefs.h. */
32998 _ACEOF
32999 cat confdefs.h >>conftest.$ac_ext
33000 cat >>conftest.$ac_ext <<_ACEOF
33001 /* end confdefs.h. */
33002 #include <windows.h>
33003
33004 #include <ddraw.h>
33005 _ACEOF
33006 rm -f conftest.$ac_objext
33007 if { (ac_try="$ac_compile"
33008 case "(($ac_try" in
33009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33010 *) ac_try_echo=$ac_try;;
33011 esac
33012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33013 (eval "$ac_compile") 2>conftest.er1
33014 ac_status=$?
33015 grep -v '^ *+' conftest.er1 >conftest.err
33016 rm -f conftest.er1
33017 cat conftest.err >&5
33018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33019 (exit $ac_status); } && {
33020 test -z "$ac_c_werror_flag" ||
33021 test ! -s conftest.err
33022 } && test -s conftest.$ac_objext; then
33023 ac_cv_header_ddraw_h=yes
33024 else
33025 echo "$as_me: failed program was:" >&5
33026 sed 's/^/| /' conftest.$ac_ext >&5
33027
33028 ac_cv_header_ddraw_h=no
33029 fi
33030
33031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33032 fi
33033 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33034 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33035
33036
33037 fi
33038 fi
33039
33040 if test "$wxUSE_DETECT_SM" = "yes"; then
33041 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33042 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33043 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33044
33045 ac_find_libraries=
33046 for ac_dir in $SEARCH_LIB;
33047 do
33048 for ac_extension in a so sl dylib dll.a; do
33049 if test -f "$ac_dir/libSM.$ac_extension"; then
33050 ac_find_libraries=$ac_dir
33051 break 2
33052 fi
33053 done
33054 done
33055
33056 if test "$ac_find_libraries" != "" ; then
33057
33058 if test "$ac_find_libraries" = "default location"; then
33059 ac_path_to_link=""
33060 else
33061 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33062 result=$?
33063 if test $result = 0; then
33064 ac_path_to_link=""
33065 else
33066 ac_path_to_link=" -L$ac_find_libraries"
33067 fi
33068 fi
33069
33070 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33071 LDFLAGS="$LDFLAGS $ac_path_to_link"
33072 fi
33073 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33074 { echo "$as_me:$LINENO: result: yes" >&5
33075 echo "${ECHO_T}yes" >&6; }
33076 else
33077 { echo "$as_me:$LINENO: result: no" >&5
33078 echo "${ECHO_T}no" >&6; }
33079 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33080 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33081 wxUSE_DETECT_SM="no"
33082 fi
33083 else
33084 wxUSE_DETECT_SM="no"
33085 fi
33086 fi
33087
33088
33089
33090 USE_OPENGL=0
33091 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33092
33093
33094 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33095 OPENGL_LIBS="-framework OpenGL -framework AGL"
33096 elif test "$wxUSE_MSW" = 1; then
33097 OPENGL_LIBS="-lopengl32 -lglu32"
33098 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33099
33100 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33101 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33102
33103 ac_find_includes=
33104 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33105 do
33106 if test -f "$ac_dir/GL/gl.h"; then
33107 ac_find_includes=$ac_dir
33108 break
33109 fi
33110 done
33111
33112 if test "$ac_find_includes" != "" ; then
33113 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33114 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33115
33116 if test "x$ac_find_includes" = "x/usr/include"; then
33117 ac_path_to_include=""
33118 else
33119 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33120 result=$?
33121 if test $result = 0; then
33122 ac_path_to_include=""
33123 else
33124 ac_path_to_include=" -I$ac_find_includes"
33125 fi
33126 fi
33127
33128 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33129 else
33130 { echo "$as_me:$LINENO: result: not found" >&5
33131 echo "${ECHO_T}not found" >&6; }
33132 fi
33133
33134 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33135 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33136 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33137 echo $ECHO_N "(cached) $ECHO_C" >&6
33138 else
33139 cat >conftest.$ac_ext <<_ACEOF
33140 /* confdefs.h. */
33141 _ACEOF
33142 cat confdefs.h >>conftest.$ac_ext
33143 cat >>conftest.$ac_ext <<_ACEOF
33144 /* end confdefs.h. */
33145
33146
33147 #include <GL/gl.h>
33148 _ACEOF
33149 rm -f conftest.$ac_objext
33150 if { (ac_try="$ac_compile"
33151 case "(($ac_try" in
33152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33153 *) ac_try_echo=$ac_try;;
33154 esac
33155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33156 (eval "$ac_compile") 2>conftest.er1
33157 ac_status=$?
33158 grep -v '^ *+' conftest.er1 >conftest.err
33159 rm -f conftest.er1
33160 cat conftest.err >&5
33161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33162 (exit $ac_status); } && {
33163 test -z "$ac_c_werror_flag" ||
33164 test ! -s conftest.err
33165 } && test -s conftest.$ac_objext; then
33166 ac_cv_header_GL_gl_h=yes
33167 else
33168 echo "$as_me: failed program was:" >&5
33169 sed 's/^/| /' conftest.$ac_ext >&5
33170
33171 ac_cv_header_GL_gl_h=no
33172 fi
33173
33174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33175 fi
33176 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33177 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33178 if test $ac_cv_header_GL_gl_h = yes; then
33179
33180 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33181 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33182 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33183 echo $ECHO_N "(cached) $ECHO_C" >&6
33184 else
33185 cat >conftest.$ac_ext <<_ACEOF
33186 /* confdefs.h. */
33187 _ACEOF
33188 cat confdefs.h >>conftest.$ac_ext
33189 cat >>conftest.$ac_ext <<_ACEOF
33190 /* end confdefs.h. */
33191
33192
33193 #include <GL/glu.h>
33194 _ACEOF
33195 rm -f conftest.$ac_objext
33196 if { (ac_try="$ac_compile"
33197 case "(($ac_try" in
33198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33199 *) ac_try_echo=$ac_try;;
33200 esac
33201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33202 (eval "$ac_compile") 2>conftest.er1
33203 ac_status=$?
33204 grep -v '^ *+' conftest.er1 >conftest.err
33205 rm -f conftest.er1
33206 cat conftest.err >&5
33207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33208 (exit $ac_status); } && {
33209 test -z "$ac_c_werror_flag" ||
33210 test ! -s conftest.err
33211 } && test -s conftest.$ac_objext; then
33212 ac_cv_header_GL_glu_h=yes
33213 else
33214 echo "$as_me: failed program was:" >&5
33215 sed 's/^/| /' conftest.$ac_ext >&5
33216
33217 ac_cv_header_GL_glu_h=no
33218 fi
33219
33220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33221 fi
33222 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33223 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33224 if test $ac_cv_header_GL_glu_h = yes; then
33225
33226 found_gl=0
33227
33228 { echo "$as_me:$LINENO: checking for -lGL" >&5
33229 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33230
33231 ac_find_libraries=
33232 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33233 do
33234 for ac_extension in a so sl dylib dll.a; do
33235 if test -f "$ac_dir/libGL.$ac_extension"; then
33236 ac_find_libraries=$ac_dir
33237 break 2
33238 fi
33239 done
33240 done
33241
33242 if test "$ac_find_libraries" != "" ; then
33243 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33244 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33245
33246
33247 if test "$ac_find_libraries" = "default location"; then
33248 ac_path_to_link=""
33249 else
33250 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33251 result=$?
33252 if test $result = 0; then
33253 ac_path_to_link=""
33254 else
33255 ac_path_to_link=" -L$ac_find_libraries"
33256 fi
33257 fi
33258
33259 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33260 LDFLAGS_GL="$ac_path_to_link"
33261 fi
33262
33263 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33264 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33265
33266 ac_find_libraries=
33267 for ac_dir in $SEARCH_LIB;
33268 do
33269 for ac_extension in a so sl dylib dll.a; do
33270 if test -f "$ac_dir/libGLU.$ac_extension"; then
33271 ac_find_libraries=$ac_dir
33272 break 2
33273 fi
33274 done
33275 done
33276
33277 if test "$ac_find_libraries" != "" ; then
33278
33279 if test "$ac_find_libraries" = "default location"; then
33280 ac_path_to_link=""
33281 else
33282 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33283 result=$?
33284 if test $result = 0; then
33285 ac_path_to_link=""
33286 else
33287 ac_path_to_link=" -L$ac_find_libraries"
33288 fi
33289 fi
33290
33291 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33292 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33293 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33294 fi
33295
33296 found_gl=1
33297 OPENGL_LIBS="-lGL -lGLU"
33298 { echo "$as_me:$LINENO: result: yes" >&5
33299 echo "${ECHO_T}yes" >&6; }
33300 else
33301 { echo "$as_me:$LINENO: result: no" >&5
33302 echo "${ECHO_T}no" >&6; }
33303 fi
33304 else
33305 { echo "$as_me:$LINENO: result: no" >&5
33306 echo "${ECHO_T}no" >&6; }
33307 fi
33308
33309 if test "$found_gl" != 1; then
33310 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33311 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33312
33313 ac_find_libraries=
33314 for ac_dir in $SEARCH_LIB;
33315 do
33316 for ac_extension in a so sl dylib dll.a; do
33317 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33318 ac_find_libraries=$ac_dir
33319 break 2
33320 fi
33321 done
33322 done
33323
33324 if test "$ac_find_libraries" != "" ; then
33325
33326 if test "$ac_find_libraries" = "default location"; then
33327 ac_path_to_link=""
33328 else
33329 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33330 result=$?
33331 if test $result = 0; then
33332 ac_path_to_link=""
33333 else
33334 ac_path_to_link=" -L$ac_find_libraries"
33335 fi
33336 fi
33337
33338 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33339 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33340 { echo "$as_me:$LINENO: result: yes" >&5
33341 echo "${ECHO_T}yes" >&6; }
33342 else
33343 { echo "$as_me:$LINENO: result: no" >&5
33344 echo "${ECHO_T}no" >&6; }
33345 fi
33346 fi
33347
33348 fi
33349
33350
33351
33352 fi
33353
33354
33355
33356 if test "x$OPENGL_LIBS" = "x"; then
33357 if test "$wxUSE_OPENGL" = "yes"; then
33358 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33359 echo "$as_me: error: OpenGL libraries not available" >&2;}
33360 { (exit 1); exit 1; }; }
33361 else
33362 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33363 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33364 wxUSE_OPENGL=no
33365 USE_OPENGL=0
33366 fi
33367 else
33368 wxUSE_OPENGL=yes
33369 fi
33370 else
33371 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33372 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33373 wxUSE_OPENGL="no"
33374 fi
33375
33376 if test "$wxUSE_OPENGL" = "yes"; then
33377 USE_OPENGL=1
33378 cat >>confdefs.h <<\_ACEOF
33379 #define wxUSE_OPENGL 1
33380 _ACEOF
33381
33382 cat >>confdefs.h <<\_ACEOF
33383 #define wxUSE_GLCANVAS 1
33384 _ACEOF
33385
33386 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33387 fi
33388 fi
33389
33390
33391 if test -n "$TOOLKIT" ; then
33392 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33393 fi
33394
33395
33396
33397 if test "$wxUSE_SHARED" = "yes"; then
33398 case "${host}" in
33399 *-pc-msdosdjgpp )
33400 wxUSE_SHARED=no
33401 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33402 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33403 ;;
33404 esac
33405 fi
33406
33407 if test "$wxUSE_SHARED" = "yes"; then
33408
33409
33410 case "${host}" in
33411 *-*-cygwin* | *-*-mingw* )
33412 wx_cv_version_script=no
33413 ;;
33414
33415 *)
33416 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33417 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33418 if test "${wx_cv_version_script+set}" = set; then
33419 echo $ECHO_N "(cached) $ECHO_C" >&6
33420 else
33421
33422 echo "VER_1 { *; };" >conftest.sym
33423 echo "int main() { return 0; }" >conftest.cpp
33424
33425 if { ac_try='
33426 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33427 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33429 (eval $ac_try) 2>&5
33430 ac_status=$?
33431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33432 (exit $ac_status); }; } ; then
33433 if test -s conftest.stderr ; then
33434 wx_cv_version_script=no
33435 else
33436 wx_cv_version_script=yes
33437 fi
33438 else
33439 wx_cv_version_script=no
33440 fi
33441
33442 if test $wx_cv_version_script = yes
33443 then
33444 echo "struct B { virtual ~B() { } }; \
33445 struct D : public B { }; \
33446 void F() { D d; }" > conftest.cpp
33447
33448 if { ac_try='
33449 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33450 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33452 (eval $ac_try) 2>&5
33453 ac_status=$?
33454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33455 (exit $ac_status); }; } &&
33456 { ac_try='
33457 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33458 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33460 (eval $ac_try) 2>&5
33461 ac_status=$?
33462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33463 (exit $ac_status); }; }
33464 then
33465 if { ac_try='
33466 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33467 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33469 (eval $ac_try) 2>&5
33470 ac_status=$?
33471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33472 (exit $ac_status); }; }
33473 then
33474 wx_cv_version_script=yes
33475 else
33476 wx_cv_version_script=no
33477 fi
33478 fi
33479 fi
33480
33481 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33482 rm -f conftest1.output conftest2.output conftest3.output
33483
33484 fi
33485 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33486 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33487
33488 if test $wx_cv_version_script = yes ; then
33489 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33490 fi
33491 ;;
33492 esac
33493
33494
33495 if test "$wxUSE_VISIBILITY" != "no"; then
33496
33497
33498 if test -n "$GCC"; then
33499 CFLAGS_VISIBILITY="-fvisibility=hidden"
33500 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33501 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33502 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33503 if test "${wx_cv_cc_visibility+set}" = set; then
33504 echo $ECHO_N "(cached) $ECHO_C" >&6
33505 else
33506
33507 wx_save_CXXFLAGS="$CXXFLAGS"
33508 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33509 ac_ext=cpp
33510 ac_cpp='$CXXCPP $CPPFLAGS'
33511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33514
33515 cat >conftest.$ac_ext <<_ACEOF
33516 /* confdefs.h. */
33517 _ACEOF
33518 cat confdefs.h >>conftest.$ac_ext
33519 cat >>conftest.$ac_ext <<_ACEOF
33520 /* end confdefs.h. */
33521
33522 /* we need gcc >= 4.0, older versions with visibility support
33523 didn't have class visibility: */
33524 #if defined(__GNUC__) && __GNUC__ < 4
33525 error this gcc is too old;
33526 #endif
33527
33528 /* visibility only makes sense for ELF shared libs: */
33529 #if !defined(__ELF__) && !defined(__APPLE__)
33530 error this platform has no visibility;
33531 #endif
33532
33533 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33534 extern __attribute__((__visibility__("default"))) int exportedvar;
33535 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33536 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33537 class __attribute__((__visibility__("default"))) Foo {
33538 Foo() {}
33539 };
33540
33541 int
33542 main ()
33543 {
33544
33545 ;
33546 return 0;
33547 }
33548 _ACEOF
33549 rm -f conftest.$ac_objext
33550 if { (ac_try="$ac_compile"
33551 case "(($ac_try" in
33552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33553 *) ac_try_echo=$ac_try;;
33554 esac
33555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33556 (eval "$ac_compile") 2>conftest.er1
33557 ac_status=$?
33558 grep -v '^ *+' conftest.er1 >conftest.err
33559 rm -f conftest.er1
33560 cat conftest.err >&5
33561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33562 (exit $ac_status); } && {
33563 test -z "$ac_cxx_werror_flag" ||
33564 test ! -s conftest.err
33565 } && test -s conftest.$ac_objext; then
33566 wx_cv_cc_visibility=yes
33567 else
33568 echo "$as_me: failed program was:" >&5
33569 sed 's/^/| /' conftest.$ac_ext >&5
33570
33571 wx_cv_cc_visibility=no
33572 fi
33573
33574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33575 ac_ext=c
33576 ac_cpp='$CPP $CPPFLAGS'
33577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33580
33581 CXXFLAGS="$wx_save_CXXFLAGS"
33582 fi
33583
33584 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33585 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33586 if test $wx_cv_cc_visibility = yes; then
33587 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33588 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33589 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33590 echo $ECHO_N "(cached) $ECHO_C" >&6
33591 else
33592
33593 wx_save_CXXFLAGS="$CXXFLAGS"
33594 wx_save_LDFLAGS="$LDFLAGS"
33595 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33596 LDFLAGS="$LDFLAGS -shared -fPIC"
33597 ac_ext=cpp
33598 ac_cpp='$CXXCPP $CPPFLAGS'
33599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33602
33603 cat >conftest.$ac_ext <<_ACEOF
33604 /* confdefs.h. */
33605 _ACEOF
33606 cat confdefs.h >>conftest.$ac_ext
33607 cat >>conftest.$ac_ext <<_ACEOF
33608 /* end confdefs.h. */
33609
33610 #include <string>
33611
33612 int
33613 main ()
33614 {
33615
33616 std::string s("hello");
33617 return s.length();
33618
33619 ;
33620 return 0;
33621 }
33622 _ACEOF
33623 rm -f conftest.$ac_objext conftest$ac_exeext
33624 if { (ac_try="$ac_link"
33625 case "(($ac_try" in
33626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33627 *) ac_try_echo=$ac_try;;
33628 esac
33629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33630 (eval "$ac_link") 2>conftest.er1
33631 ac_status=$?
33632 grep -v '^ *+' conftest.er1 >conftest.err
33633 rm -f conftest.er1
33634 cat conftest.err >&5
33635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33636 (exit $ac_status); } && {
33637 test -z "$ac_cxx_werror_flag" ||
33638 test ! -s conftest.err
33639 } && test -s conftest$ac_exeext &&
33640 $as_test_x conftest$ac_exeext; then
33641 wx_cv_cc_broken_libstdcxx_visibility=no
33642 else
33643 echo "$as_me: failed program was:" >&5
33644 sed 's/^/| /' conftest.$ac_ext >&5
33645
33646 wx_cv_cc_broken_libstdcxx_visibility=yes
33647 fi
33648
33649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33650 conftest$ac_exeext conftest.$ac_ext
33651 ac_ext=c
33652 ac_cpp='$CPP $CPPFLAGS'
33653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33656
33657 CXXFLAGS="$wx_save_CXXFLAGS"
33658 LDFLAGS="$wx_save_LDFLAGS"
33659 fi
33660
33661 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33662 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33663
33664 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33665 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33666 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33667 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33668 echo $ECHO_N "(cached) $ECHO_C" >&6
33669 else
33670
33671 ac_ext=cpp
33672 ac_cpp='$CXXCPP $CPPFLAGS'
33673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33676
33677 cat >conftest.$ac_ext <<_ACEOF
33678 /* confdefs.h. */
33679 _ACEOF
33680 cat confdefs.h >>conftest.$ac_ext
33681 cat >>conftest.$ac_ext <<_ACEOF
33682 /* end confdefs.h. */
33683
33684 #pragma GCC visibility push(default)
33685 #include <string>
33686 #pragma GCC visibility pop
33687
33688 int
33689 main ()
33690 {
33691
33692 std::string s("hello");
33693 return s.length();
33694
33695 ;
33696 return 0;
33697 }
33698 _ACEOF
33699 rm -f conftest.$ac_objext conftest$ac_exeext
33700 if { (ac_try="$ac_link"
33701 case "(($ac_try" in
33702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33703 *) ac_try_echo=$ac_try;;
33704 esac
33705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33706 (eval "$ac_link") 2>conftest.er1
33707 ac_status=$?
33708 grep -v '^ *+' conftest.er1 >conftest.err
33709 rm -f conftest.er1
33710 cat conftest.err >&5
33711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33712 (exit $ac_status); } && {
33713 test -z "$ac_cxx_werror_flag" ||
33714 test ! -s conftest.err
33715 } && test -s conftest$ac_exeext &&
33716 $as_test_x conftest$ac_exeext; then
33717 wx_cv_cc_visibility_workaround=no
33718 else
33719 echo "$as_me: failed program was:" >&5
33720 sed 's/^/| /' conftest.$ac_ext >&5
33721
33722 wx_cv_cc_visibility_workaround=yes
33723 fi
33724
33725 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33726 conftest$ac_exeext conftest.$ac_ext
33727 ac_ext=c
33728 ac_cpp='$CPP $CPPFLAGS'
33729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33732
33733
33734 fi
33735
33736 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33737 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33738
33739 if test $wx_cv_cc_visibility_workaround = no; then
33740 wx_cv_cc_visibility=no
33741 fi
33742 fi
33743 fi
33744
33745 if test $wx_cv_cc_visibility = yes; then
33746 cat >>confdefs.h <<\_ACEOF
33747 #define HAVE_VISIBILITY 1
33748 _ACEOF
33749
33750 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33751 cat >>confdefs.h <<\_ACEOF
33752 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33753 _ACEOF
33754
33755 fi
33756 else
33757 CFLAGS_VISIBILITY=""
33758 CXXFLAGS_VISIBILITY=""
33759 fi
33760
33761
33762 fi
33763
33764 fi
33765
33766 if test "x$SUNCXX" = xyes; then
33767 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33768 WXCONFIG_RPATH="-R\$libdir"
33769 else
33770 case "${host}" in
33771 *-*-linux* | *-*-gnu* )
33772 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33773 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33774 ;;
33775
33776 *-*-solaris2* )
33777
33778 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33779
33780 saveLdflags="$LDFLAGS"
33781 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33782 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33783 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33784 cat >conftest.$ac_ext <<_ACEOF
33785 /* confdefs.h. */
33786 _ACEOF
33787 cat confdefs.h >>conftest.$ac_ext
33788 cat >>conftest.$ac_ext <<_ACEOF
33789 /* end confdefs.h. */
33790
33791 int
33792 main ()
33793 {
33794
33795 ;
33796 return 0;
33797 }
33798 _ACEOF
33799 rm -f conftest.$ac_objext conftest$ac_exeext
33800 if { (ac_try="$ac_link"
33801 case "(($ac_try" in
33802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33803 *) ac_try_echo=$ac_try;;
33804 esac
33805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33806 (eval "$ac_link") 2>conftest.er1
33807 ac_status=$?
33808 grep -v '^ *+' conftest.er1 >conftest.err
33809 rm -f conftest.er1
33810 cat conftest.err >&5
33811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33812 (exit $ac_status); } && {
33813 test -z "$ac_c_werror_flag" ||
33814 test ! -s conftest.err
33815 } && test -s conftest$ac_exeext &&
33816 $as_test_x conftest$ac_exeext; then
33817
33818 { echo "$as_me:$LINENO: result: yes" >&5
33819 echo "${ECHO_T}yes" >&6; }
33820 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33821 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33822
33823 else
33824 echo "$as_me: failed program was:" >&5
33825 sed 's/^/| /' conftest.$ac_ext >&5
33826
33827
33828 { echo "$as_me:$LINENO: result: no" >&5
33829 echo "${ECHO_T}no" >&6; }
33830 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33831 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33832 LDFLAGS="$saveLdflags -Wl,-R,/"
33833 cat >conftest.$ac_ext <<_ACEOF
33834 /* confdefs.h. */
33835 _ACEOF
33836 cat confdefs.h >>conftest.$ac_ext
33837 cat >>conftest.$ac_ext <<_ACEOF
33838 /* end confdefs.h. */
33839
33840 int
33841 main ()
33842 {
33843
33844 ;
33845 return 0;
33846 }
33847 _ACEOF
33848 rm -f conftest.$ac_objext conftest$ac_exeext
33849 if { (ac_try="$ac_link"
33850 case "(($ac_try" in
33851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33852 *) ac_try_echo=$ac_try;;
33853 esac
33854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33855 (eval "$ac_link") 2>conftest.er1
33856 ac_status=$?
33857 grep -v '^ *+' conftest.er1 >conftest.err
33858 rm -f conftest.er1
33859 cat conftest.err >&5
33860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33861 (exit $ac_status); } && {
33862 test -z "$ac_c_werror_flag" ||
33863 test ! -s conftest.err
33864 } && test -s conftest$ac_exeext &&
33865 $as_test_x conftest$ac_exeext; then
33866
33867 { echo "$as_me:$LINENO: result: yes" >&5
33868 echo "${ECHO_T}yes" >&6; }
33869 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33870 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33871
33872 else
33873 echo "$as_me: failed program was:" >&5
33874 sed 's/^/| /' conftest.$ac_ext >&5
33875
33876
33877 { echo "$as_me:$LINENO: result: no" >&5
33878 echo "${ECHO_T}no" >&6; }
33879
33880 fi
33881
33882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33883 conftest$ac_exeext conftest.$ac_ext
33884
33885 fi
33886
33887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33888 conftest$ac_exeext conftest.$ac_ext
33889 LDFLAGS="$saveLdflags"
33890 ;;
33891
33892 *-*-darwin* )
33893 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
33894 if test "$install_name_tool" -a -x "$install_name_tool"; then
33895 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33896 cat <<EOF >change-install-names
33897 #!/bin/sh
33898 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33899 inst_cmd="${HOST_PREFIX}install_name_tool "
33900 for i in \${libnames} ; do
33901 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33902 done
33903 \${inst_cmd} \${3}
33904 EOF
33905 chmod +x change-install-names
33906 fi
33907
33908 HEADER_PAD_OPTION="-headerpad_max_install_names"
33909 ;;
33910
33911 *-*-cygwin* | *-*-mingw32* )
33912 ;;
33913
33914 *-*-hpux* )
33915 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33916 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33917 ;;
33918
33919 esac
33920 fi
33921
33922 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33923
33924 if test $wxUSE_RPATH = "no"; then
33925 SAMPLES_RPATH_FLAG=''
33926 SAMPLES_RPATH_POSTLINK=''
33927 WXCONFIG_RPATH=''
33928 fi
33929
33930 SHARED=1
33931
33932 else
33933
33934 config_linkage_component="-static"
33935 SHARED=0
33936
33937 fi
33938
33939
33940 UNICODE=0
33941 lib_unicode_suffix=
33942 WX_CHARTYPE="ansi"
33943 if test "$wxUSE_UNICODE" = "yes"; then
33944 lib_unicode_suffix=u
33945 WX_CHARTYPE="unicode"
33946 UNICODE=1
33947 fi
33948
33949 lib_debug_suffix=
33950 WX_DEBUGTYPE="release"
33951 DEBUG_FLAG=0
33952 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33953 lib_debug_suffix=d
33954 WX_DEBUGTYPE="debug"
33955 DEBUG_FLAG=1
33956 fi
33957
33958 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33959 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33960
33961 DEBUG_INFO=0
33962 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33963 DEBUG_INFO=1
33964 fi
33965
33966 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33967
33968 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
33969
33970 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33971
33972
33973 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33974 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33975 else
33976 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33977 fi
33978 if test "${TOOLKIT_DIR}" = "os2"; then
33979 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33980 else
33981 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33982 fi
33983
33984
33985
33986 if test "$wxUSE_COCOA" = 1; then
33987
33988 ac_ext=c
33989 ac_cpp='$CPP $CPPFLAGS'
33990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33993
33994 ac_ext=m
33995
33996 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33997 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33998 cat >conftest.$ac_ext <<_ACEOF
33999 /* confdefs.h. */
34000 _ACEOF
34001 cat confdefs.h >>conftest.$ac_ext
34002 cat >>conftest.$ac_ext <<_ACEOF
34003 /* end confdefs.h. */
34004 #include <AppKit/NSEvent.h>
34005 #include <CoreFoundation/CoreFoundation.h>
34006
34007 int
34008 main ()
34009 {
34010
34011 ;
34012 return 0;
34013 }
34014 _ACEOF
34015 rm -f conftest.$ac_objext
34016 if { (ac_try="$ac_compile"
34017 case "(($ac_try" in
34018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34019 *) ac_try_echo=$ac_try;;
34020 esac
34021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34022 (eval "$ac_compile") 2>conftest.er1
34023 ac_status=$?
34024 grep -v '^ *+' conftest.er1 >conftest.err
34025 rm -f conftest.er1
34026 cat conftest.err >&5
34027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34028 (exit $ac_status); } && {
34029 test -z "$ac_c_werror_flag" ||
34030 test ! -s conftest.err
34031 } && test -s conftest.$ac_objext; then
34032 { echo "$as_me:$LINENO: result: no" >&5
34033 echo "${ECHO_T}no" >&6; }
34034 else
34035 echo "$as_me: failed program was:" >&5
34036 sed 's/^/| /' conftest.$ac_ext >&5
34037
34038 { echo "$as_me:$LINENO: result: yes" >&5
34039 echo "${ECHO_T}yes" >&6; }
34040 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34041 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34042 cat >conftest.$ac_ext <<_ACEOF
34043 /* confdefs.h. */
34044 _ACEOF
34045 cat confdefs.h >>conftest.$ac_ext
34046 cat >>conftest.$ac_ext <<_ACEOF
34047 /* end confdefs.h. */
34048 #define __Point__ 1
34049 #include <AppKit/NSEvent.h>
34050 #include <CoreFoundation/CoreFoundation.h>
34051
34052 int
34053 main ()
34054 {
34055
34056 ;
34057 return 0;
34058 }
34059 _ACEOF
34060 rm -f conftest.$ac_objext
34061 if { (ac_try="$ac_compile"
34062 case "(($ac_try" in
34063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34064 *) ac_try_echo=$ac_try;;
34065 esac
34066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34067 (eval "$ac_compile") 2>conftest.er1
34068 ac_status=$?
34069 grep -v '^ *+' conftest.er1 >conftest.err
34070 rm -f conftest.er1
34071 cat conftest.err >&5
34072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34073 (exit $ac_status); } && {
34074 test -z "$ac_c_werror_flag" ||
34075 test ! -s conftest.err
34076 } && test -s conftest.$ac_objext; then
34077 { echo "$as_me:$LINENO: result: yes" >&5
34078 echo "${ECHO_T}yes" >&6; }
34079 cat >>confdefs.h <<\_ACEOF
34080 #define __Point__ 1
34081 _ACEOF
34082
34083
34084 else
34085 echo "$as_me: failed program was:" >&5
34086 sed 's/^/| /' conftest.$ac_ext >&5
34087
34088 { { echo "$as_me:$LINENO: error: no
34089 See \`config.log' for more details." >&5
34090 echo "$as_me: error: no
34091 See \`config.log' for more details." >&2;}
34092 { (exit 1); exit 1; }; }
34093
34094 fi
34095
34096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34097
34098 fi
34099
34100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34101 ac_ext=c
34102 ac_cpp='$CPP $CPPFLAGS'
34103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34106
34107 fi
34108
34109
34110 { echo "$as_me:$LINENO: checking for mode_t" >&5
34111 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34112 if test "${ac_cv_type_mode_t+set}" = set; then
34113 echo $ECHO_N "(cached) $ECHO_C" >&6
34114 else
34115 cat >conftest.$ac_ext <<_ACEOF
34116 /* confdefs.h. */
34117 _ACEOF
34118 cat confdefs.h >>conftest.$ac_ext
34119 cat >>conftest.$ac_ext <<_ACEOF
34120 /* end confdefs.h. */
34121 $ac_includes_default
34122 typedef mode_t ac__type_new_;
34123 int
34124 main ()
34125 {
34126 if ((ac__type_new_ *) 0)
34127 return 0;
34128 if (sizeof (ac__type_new_))
34129 return 0;
34130 ;
34131 return 0;
34132 }
34133 _ACEOF
34134 rm -f conftest.$ac_objext
34135 if { (ac_try="$ac_compile"
34136 case "(($ac_try" in
34137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34138 *) ac_try_echo=$ac_try;;
34139 esac
34140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34141 (eval "$ac_compile") 2>conftest.er1
34142 ac_status=$?
34143 grep -v '^ *+' conftest.er1 >conftest.err
34144 rm -f conftest.er1
34145 cat conftest.err >&5
34146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34147 (exit $ac_status); } && {
34148 test -z "$ac_c_werror_flag" ||
34149 test ! -s conftest.err
34150 } && test -s conftest.$ac_objext; then
34151 ac_cv_type_mode_t=yes
34152 else
34153 echo "$as_me: failed program was:" >&5
34154 sed 's/^/| /' conftest.$ac_ext >&5
34155
34156 ac_cv_type_mode_t=no
34157 fi
34158
34159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34160 fi
34161 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34162 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34163 if test $ac_cv_type_mode_t = yes; then
34164 :
34165 else
34166
34167 cat >>confdefs.h <<_ACEOF
34168 #define mode_t int
34169 _ACEOF
34170
34171 fi
34172
34173 { echo "$as_me:$LINENO: checking for off_t" >&5
34174 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34175 if test "${ac_cv_type_off_t+set}" = set; then
34176 echo $ECHO_N "(cached) $ECHO_C" >&6
34177 else
34178 cat >conftest.$ac_ext <<_ACEOF
34179 /* confdefs.h. */
34180 _ACEOF
34181 cat confdefs.h >>conftest.$ac_ext
34182 cat >>conftest.$ac_ext <<_ACEOF
34183 /* end confdefs.h. */
34184 $ac_includes_default
34185 typedef off_t ac__type_new_;
34186 int
34187 main ()
34188 {
34189 if ((ac__type_new_ *) 0)
34190 return 0;
34191 if (sizeof (ac__type_new_))
34192 return 0;
34193 ;
34194 return 0;
34195 }
34196 _ACEOF
34197 rm -f conftest.$ac_objext
34198 if { (ac_try="$ac_compile"
34199 case "(($ac_try" in
34200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34201 *) ac_try_echo=$ac_try;;
34202 esac
34203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34204 (eval "$ac_compile") 2>conftest.er1
34205 ac_status=$?
34206 grep -v '^ *+' conftest.er1 >conftest.err
34207 rm -f conftest.er1
34208 cat conftest.err >&5
34209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34210 (exit $ac_status); } && {
34211 test -z "$ac_c_werror_flag" ||
34212 test ! -s conftest.err
34213 } && test -s conftest.$ac_objext; then
34214 ac_cv_type_off_t=yes
34215 else
34216 echo "$as_me: failed program was:" >&5
34217 sed 's/^/| /' conftest.$ac_ext >&5
34218
34219 ac_cv_type_off_t=no
34220 fi
34221
34222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34223 fi
34224 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34225 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34226 if test $ac_cv_type_off_t = yes; then
34227 :
34228 else
34229
34230 cat >>confdefs.h <<_ACEOF
34231 #define off_t long int
34232 _ACEOF
34233
34234 fi
34235
34236 { echo "$as_me:$LINENO: checking for pid_t" >&5
34237 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34238 if test "${ac_cv_type_pid_t+set}" = set; then
34239 echo $ECHO_N "(cached) $ECHO_C" >&6
34240 else
34241 cat >conftest.$ac_ext <<_ACEOF
34242 /* confdefs.h. */
34243 _ACEOF
34244 cat confdefs.h >>conftest.$ac_ext
34245 cat >>conftest.$ac_ext <<_ACEOF
34246 /* end confdefs.h. */
34247 $ac_includes_default
34248 typedef pid_t ac__type_new_;
34249 int
34250 main ()
34251 {
34252 if ((ac__type_new_ *) 0)
34253 return 0;
34254 if (sizeof (ac__type_new_))
34255 return 0;
34256 ;
34257 return 0;
34258 }
34259 _ACEOF
34260 rm -f conftest.$ac_objext
34261 if { (ac_try="$ac_compile"
34262 case "(($ac_try" in
34263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34264 *) ac_try_echo=$ac_try;;
34265 esac
34266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34267 (eval "$ac_compile") 2>conftest.er1
34268 ac_status=$?
34269 grep -v '^ *+' conftest.er1 >conftest.err
34270 rm -f conftest.er1
34271 cat conftest.err >&5
34272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34273 (exit $ac_status); } && {
34274 test -z "$ac_c_werror_flag" ||
34275 test ! -s conftest.err
34276 } && test -s conftest.$ac_objext; then
34277 ac_cv_type_pid_t=yes
34278 else
34279 echo "$as_me: failed program was:" >&5
34280 sed 's/^/| /' conftest.$ac_ext >&5
34281
34282 ac_cv_type_pid_t=no
34283 fi
34284
34285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34286 fi
34287 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34288 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34289 if test $ac_cv_type_pid_t = yes; then
34290 :
34291 else
34292
34293 cat >>confdefs.h <<_ACEOF
34294 #define pid_t int
34295 _ACEOF
34296
34297 fi
34298
34299 { echo "$as_me:$LINENO: checking for size_t" >&5
34300 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34301 if test "${ac_cv_type_size_t+set}" = set; then
34302 echo $ECHO_N "(cached) $ECHO_C" >&6
34303 else
34304 cat >conftest.$ac_ext <<_ACEOF
34305 /* confdefs.h. */
34306 _ACEOF
34307 cat confdefs.h >>conftest.$ac_ext
34308 cat >>conftest.$ac_ext <<_ACEOF
34309 /* end confdefs.h. */
34310 $ac_includes_default
34311 typedef size_t ac__type_new_;
34312 int
34313 main ()
34314 {
34315 if ((ac__type_new_ *) 0)
34316 return 0;
34317 if (sizeof (ac__type_new_))
34318 return 0;
34319 ;
34320 return 0;
34321 }
34322 _ACEOF
34323 rm -f conftest.$ac_objext
34324 if { (ac_try="$ac_compile"
34325 case "(($ac_try" in
34326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34327 *) ac_try_echo=$ac_try;;
34328 esac
34329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34330 (eval "$ac_compile") 2>conftest.er1
34331 ac_status=$?
34332 grep -v '^ *+' conftest.er1 >conftest.err
34333 rm -f conftest.er1
34334 cat conftest.err >&5
34335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34336 (exit $ac_status); } && {
34337 test -z "$ac_c_werror_flag" ||
34338 test ! -s conftest.err
34339 } && test -s conftest.$ac_objext; then
34340 ac_cv_type_size_t=yes
34341 else
34342 echo "$as_me: failed program was:" >&5
34343 sed 's/^/| /' conftest.$ac_ext >&5
34344
34345 ac_cv_type_size_t=no
34346 fi
34347
34348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34349 fi
34350 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34351 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34352 if test $ac_cv_type_size_t = yes; then
34353 :
34354 else
34355
34356 cat >>confdefs.h <<_ACEOF
34357 #define size_t unsigned int
34358 _ACEOF
34359
34360 fi
34361
34362
34363 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34364 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34365 if test "${ac_cv_type_ssize_t+set}" = set; then
34366 echo $ECHO_N "(cached) $ECHO_C" >&6
34367 else
34368 cat >conftest.$ac_ext <<_ACEOF
34369 /* confdefs.h. */
34370 _ACEOF
34371 cat confdefs.h >>conftest.$ac_ext
34372 cat >>conftest.$ac_ext <<_ACEOF
34373 /* end confdefs.h. */
34374 $ac_includes_default
34375 typedef ssize_t ac__type_new_;
34376 int
34377 main ()
34378 {
34379 if ((ac__type_new_ *) 0)
34380 return 0;
34381 if (sizeof (ac__type_new_))
34382 return 0;
34383 ;
34384 return 0;
34385 }
34386 _ACEOF
34387 rm -f conftest.$ac_objext
34388 if { (ac_try="$ac_compile"
34389 case "(($ac_try" in
34390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34391 *) ac_try_echo=$ac_try;;
34392 esac
34393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34394 (eval "$ac_compile") 2>conftest.er1
34395 ac_status=$?
34396 grep -v '^ *+' conftest.er1 >conftest.err
34397 rm -f conftest.er1
34398 cat conftest.err >&5
34399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34400 (exit $ac_status); } && {
34401 test -z "$ac_c_werror_flag" ||
34402 test ! -s conftest.err
34403 } && test -s conftest.$ac_objext; then
34404 ac_cv_type_ssize_t=yes
34405 else
34406 echo "$as_me: failed program was:" >&5
34407 sed 's/^/| /' conftest.$ac_ext >&5
34408
34409 ac_cv_type_ssize_t=no
34410 fi
34411
34412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34413 fi
34414 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34415 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34416 if test $ac_cv_type_ssize_t = yes; then
34417
34418 cat >>confdefs.h <<_ACEOF
34419 #define HAVE_SSIZE_T 1
34420 _ACEOF
34421
34422
34423 fi
34424
34425
34426 ac_ext=cpp
34427 ac_cpp='$CXXCPP $CPPFLAGS'
34428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34431 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34432 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34433 if test "${wx_cv_size_t_is_uint+set}" = set; then
34434 echo $ECHO_N "(cached) $ECHO_C" >&6
34435 else
34436
34437 cat >conftest.$ac_ext <<_ACEOF
34438 /* confdefs.h. */
34439 _ACEOF
34440 cat confdefs.h >>conftest.$ac_ext
34441 cat >>conftest.$ac_ext <<_ACEOF
34442 /* end confdefs.h. */
34443 #include <stddef.h>
34444 int
34445 main ()
34446 {
34447
34448 return 0; }
34449
34450 struct Foo { void foo(size_t); void foo(unsigned int); };
34451
34452 int bar() {
34453
34454 ;
34455 return 0;
34456 }
34457 _ACEOF
34458 rm -f conftest.$ac_objext
34459 if { (ac_try="$ac_compile"
34460 case "(($ac_try" in
34461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34462 *) ac_try_echo=$ac_try;;
34463 esac
34464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34465 (eval "$ac_compile") 2>conftest.er1
34466 ac_status=$?
34467 grep -v '^ *+' conftest.er1 >conftest.err
34468 rm -f conftest.er1
34469 cat conftest.err >&5
34470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34471 (exit $ac_status); } && {
34472 test -z "$ac_cxx_werror_flag" ||
34473 test ! -s conftest.err
34474 } && test -s conftest.$ac_objext; then
34475 wx_cv_size_t_is_uint=no
34476 else
34477 echo "$as_me: failed program was:" >&5
34478 sed 's/^/| /' conftest.$ac_ext >&5
34479
34480 wx_cv_size_t_is_uint=yes
34481
34482 fi
34483
34484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34485
34486
34487 fi
34488 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34489 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34490
34491 if test "$wx_cv_size_t_is_uint" = "yes"; then
34492 cat >>confdefs.h <<\_ACEOF
34493 #define wxSIZE_T_IS_UINT 1
34494 _ACEOF
34495
34496 else
34497 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34498 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34499 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34500 echo $ECHO_N "(cached) $ECHO_C" >&6
34501 else
34502 cat >conftest.$ac_ext <<_ACEOF
34503 /* confdefs.h. */
34504 _ACEOF
34505 cat confdefs.h >>conftest.$ac_ext
34506 cat >>conftest.$ac_ext <<_ACEOF
34507 /* end confdefs.h. */
34508 #include <stddef.h>
34509 int
34510 main ()
34511 {
34512
34513 return 0; }
34514
34515 struct Foo { void foo(size_t); void foo(unsigned long); };
34516
34517 int bar() {
34518
34519 ;
34520 return 0;
34521 }
34522 _ACEOF
34523 rm -f conftest.$ac_objext
34524 if { (ac_try="$ac_compile"
34525 case "(($ac_try" in
34526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34527 *) ac_try_echo=$ac_try;;
34528 esac
34529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34530 (eval "$ac_compile") 2>conftest.er1
34531 ac_status=$?
34532 grep -v '^ *+' conftest.er1 >conftest.err
34533 rm -f conftest.er1
34534 cat conftest.err >&5
34535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34536 (exit $ac_status); } && {
34537 test -z "$ac_cxx_werror_flag" ||
34538 test ! -s conftest.err
34539 } && test -s conftest.$ac_objext; then
34540 wx_cv_size_t_is_ulong=no
34541 else
34542 echo "$as_me: failed program was:" >&5
34543 sed 's/^/| /' conftest.$ac_ext >&5
34544
34545 wx_cv_size_t_is_ulong=yes
34546
34547 fi
34548
34549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34550
34551 fi
34552 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34553 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34554
34555 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34556 cat >>confdefs.h <<\_ACEOF
34557 #define wxSIZE_T_IS_ULONG 1
34558 _ACEOF
34559
34560 fi
34561 fi
34562
34563 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34564 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34565 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34566 echo $ECHO_N "(cached) $ECHO_C" >&6
34567 else
34568 cat >conftest.$ac_ext <<_ACEOF
34569 /* confdefs.h. */
34570 _ACEOF
34571 cat confdefs.h >>conftest.$ac_ext
34572 cat >>conftest.$ac_ext <<_ACEOF
34573 /* end confdefs.h. */
34574 #include <wchar.h>
34575 int
34576 main ()
34577 {
34578
34579 return 0; }
34580
34581 struct Foo { void foo(wchar_t);
34582 void foo(unsigned short);
34583 void foo(unsigned int);
34584 void foo(unsigned long); };
34585
34586 int bar() {
34587
34588 ;
34589 return 0;
34590 }
34591 _ACEOF
34592 rm -f conftest.$ac_objext
34593 if { (ac_try="$ac_compile"
34594 case "(($ac_try" in
34595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34596 *) ac_try_echo=$ac_try;;
34597 esac
34598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34599 (eval "$ac_compile") 2>conftest.er1
34600 ac_status=$?
34601 grep -v '^ *+' conftest.er1 >conftest.err
34602 rm -f conftest.er1
34603 cat conftest.err >&5
34604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34605 (exit $ac_status); } && {
34606 test -z "$ac_cxx_werror_flag" ||
34607 test ! -s conftest.err
34608 } && test -s conftest.$ac_objext; then
34609 wx_cv_wchar_t_is_separate_type=yes
34610 else
34611 echo "$as_me: failed program was:" >&5
34612 sed 's/^/| /' conftest.$ac_ext >&5
34613
34614 wx_cv_wchar_t_is_separate_type=no
34615
34616 fi
34617
34618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34619
34620 fi
34621 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34622 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34623
34624 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34625 cat >>confdefs.h <<\_ACEOF
34626 #define wxWCHAR_T_IS_REAL_TYPE 1
34627 _ACEOF
34628
34629 else
34630 cat >>confdefs.h <<\_ACEOF
34631 #define wxWCHAR_T_IS_REAL_TYPE 0
34632 _ACEOF
34633
34634 fi
34635
34636 ac_ext=c
34637 ac_cpp='$CPP $CPPFLAGS'
34638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34641
34642
34643 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34644 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34645 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34646 echo $ECHO_N "(cached) $ECHO_C" >&6
34647 else
34648
34649 cat >conftest.$ac_ext <<_ACEOF
34650 /* confdefs.h. */
34651 _ACEOF
34652 cat confdefs.h >>conftest.$ac_ext
34653 cat >>conftest.$ac_ext <<_ACEOF
34654 /* end confdefs.h. */
34655 #include <pwd.h>
34656 int
34657 main ()
34658 {
34659
34660 char *p;
34661 struct passwd *pw;
34662 p = pw->pw_gecos;
34663
34664 ;
34665 return 0;
34666 }
34667 _ACEOF
34668 rm -f conftest.$ac_objext
34669 if { (ac_try="$ac_compile"
34670 case "(($ac_try" in
34671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34672 *) ac_try_echo=$ac_try;;
34673 esac
34674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34675 (eval "$ac_compile") 2>conftest.er1
34676 ac_status=$?
34677 grep -v '^ *+' conftest.er1 >conftest.err
34678 rm -f conftest.er1
34679 cat conftest.err >&5
34680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34681 (exit $ac_status); } && {
34682 test -z "$ac_c_werror_flag" ||
34683 test ! -s conftest.err
34684 } && test -s conftest.$ac_objext; then
34685
34686 wx_cv_struct_pw_gecos=yes
34687
34688 else
34689 echo "$as_me: failed program was:" >&5
34690 sed 's/^/| /' conftest.$ac_ext >&5
34691
34692
34693 wx_cv_struct_pw_gecos=no
34694
34695
34696 fi
34697
34698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34699
34700
34701 fi
34702 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34703 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34704
34705 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34706 cat >>confdefs.h <<\_ACEOF
34707 #define HAVE_PW_GECOS 1
34708 _ACEOF
34709
34710 fi
34711
34712
34713 if test "$wxUSE_WCHAR_T" = "yes"; then
34714 cat >>confdefs.h <<\_ACEOF
34715 #define wxUSE_WCHAR_T 1
34716 _ACEOF
34717
34718
34719 WCSLEN_FOUND=0
34720 WCHAR_LINK=
34721
34722 for ac_func in wcslen
34723 do
34724 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34725 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34727 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34728 echo $ECHO_N "(cached) $ECHO_C" >&6
34729 else
34730 cat >conftest.$ac_ext <<_ACEOF
34731 /* confdefs.h. */
34732 _ACEOF
34733 cat confdefs.h >>conftest.$ac_ext
34734 cat >>conftest.$ac_ext <<_ACEOF
34735 /* end confdefs.h. */
34736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34738 #define $ac_func innocuous_$ac_func
34739
34740 /* System header to define __stub macros and hopefully few prototypes,
34741 which can conflict with char $ac_func (); below.
34742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34743 <limits.h> exists even on freestanding compilers. */
34744
34745 #ifdef __STDC__
34746 # include <limits.h>
34747 #else
34748 # include <assert.h>
34749 #endif
34750
34751 #undef $ac_func
34752
34753 /* Override any GCC internal prototype to avoid an error.
34754 Use char because int might match the return type of a GCC
34755 builtin and then its argument prototype would still apply. */
34756 #ifdef __cplusplus
34757 extern "C"
34758 #endif
34759 char $ac_func ();
34760 /* The GNU C library defines this for functions which it implements
34761 to always fail with ENOSYS. Some functions are actually named
34762 something starting with __ and the normal name is an alias. */
34763 #if defined __stub_$ac_func || defined __stub___$ac_func
34764 choke me
34765 #endif
34766
34767 int
34768 main ()
34769 {
34770 return $ac_func ();
34771 ;
34772 return 0;
34773 }
34774 _ACEOF
34775 rm -f conftest.$ac_objext conftest$ac_exeext
34776 if { (ac_try="$ac_link"
34777 case "(($ac_try" in
34778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34779 *) ac_try_echo=$ac_try;;
34780 esac
34781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34782 (eval "$ac_link") 2>conftest.er1
34783 ac_status=$?
34784 grep -v '^ *+' conftest.er1 >conftest.err
34785 rm -f conftest.er1
34786 cat conftest.err >&5
34787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34788 (exit $ac_status); } && {
34789 test -z "$ac_c_werror_flag" ||
34790 test ! -s conftest.err
34791 } && test -s conftest$ac_exeext &&
34792 $as_test_x conftest$ac_exeext; then
34793 eval "$as_ac_var=yes"
34794 else
34795 echo "$as_me: failed program was:" >&5
34796 sed 's/^/| /' conftest.$ac_ext >&5
34797
34798 eval "$as_ac_var=no"
34799 fi
34800
34801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34802 conftest$ac_exeext conftest.$ac_ext
34803 fi
34804 ac_res=`eval echo '${'$as_ac_var'}'`
34805 { echo "$as_me:$LINENO: result: $ac_res" >&5
34806 echo "${ECHO_T}$ac_res" >&6; }
34807 if test `eval echo '${'$as_ac_var'}'` = yes; then
34808 cat >>confdefs.h <<_ACEOF
34809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34810 _ACEOF
34811 WCSLEN_FOUND=1
34812 fi
34813 done
34814
34815
34816 if test "$WCSLEN_FOUND" = 0; then
34817 if test "$TOOLKIT" = "MSW"; then
34818 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34819 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34820 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34821 echo $ECHO_N "(cached) $ECHO_C" >&6
34822 else
34823 ac_check_lib_save_LIBS=$LIBS
34824 LIBS="-lmsvcrt $LIBS"
34825 cat >conftest.$ac_ext <<_ACEOF
34826 /* confdefs.h. */
34827 _ACEOF
34828 cat confdefs.h >>conftest.$ac_ext
34829 cat >>conftest.$ac_ext <<_ACEOF
34830 /* end confdefs.h. */
34831
34832 /* Override any GCC internal prototype to avoid an error.
34833 Use char because int might match the return type of a GCC
34834 builtin and then its argument prototype would still apply. */
34835 #ifdef __cplusplus
34836 extern "C"
34837 #endif
34838 char wcslen ();
34839 int
34840 main ()
34841 {
34842 return wcslen ();
34843 ;
34844 return 0;
34845 }
34846 _ACEOF
34847 rm -f conftest.$ac_objext conftest$ac_exeext
34848 if { (ac_try="$ac_link"
34849 case "(($ac_try" in
34850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34851 *) ac_try_echo=$ac_try;;
34852 esac
34853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34854 (eval "$ac_link") 2>conftest.er1
34855 ac_status=$?
34856 grep -v '^ *+' conftest.er1 >conftest.err
34857 rm -f conftest.er1
34858 cat conftest.err >&5
34859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34860 (exit $ac_status); } && {
34861 test -z "$ac_c_werror_flag" ||
34862 test ! -s conftest.err
34863 } && test -s conftest$ac_exeext &&
34864 $as_test_x conftest$ac_exeext; then
34865 ac_cv_lib_msvcrt_wcslen=yes
34866 else
34867 echo "$as_me: failed program was:" >&5
34868 sed 's/^/| /' conftest.$ac_ext >&5
34869
34870 ac_cv_lib_msvcrt_wcslen=no
34871 fi
34872
34873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34874 conftest$ac_exeext conftest.$ac_ext
34875 LIBS=$ac_check_lib_save_LIBS
34876 fi
34877 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34878 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34879 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34880 WCHAR_OK=1
34881 fi
34882
34883 else
34884 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34885 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34886 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34887 echo $ECHO_N "(cached) $ECHO_C" >&6
34888 else
34889 ac_check_lib_save_LIBS=$LIBS
34890 LIBS="-lw $LIBS"
34891 cat >conftest.$ac_ext <<_ACEOF
34892 /* confdefs.h. */
34893 _ACEOF
34894 cat confdefs.h >>conftest.$ac_ext
34895 cat >>conftest.$ac_ext <<_ACEOF
34896 /* end confdefs.h. */
34897
34898 /* Override any GCC internal prototype to avoid an error.
34899 Use char because int might match the return type of a GCC
34900 builtin and then its argument prototype would still apply. */
34901 #ifdef __cplusplus
34902 extern "C"
34903 #endif
34904 char wcslen ();
34905 int
34906 main ()
34907 {
34908 return wcslen ();
34909 ;
34910 return 0;
34911 }
34912 _ACEOF
34913 rm -f conftest.$ac_objext conftest$ac_exeext
34914 if { (ac_try="$ac_link"
34915 case "(($ac_try" in
34916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34917 *) ac_try_echo=$ac_try;;
34918 esac
34919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34920 (eval "$ac_link") 2>conftest.er1
34921 ac_status=$?
34922 grep -v '^ *+' conftest.er1 >conftest.err
34923 rm -f conftest.er1
34924 cat conftest.err >&5
34925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34926 (exit $ac_status); } && {
34927 test -z "$ac_c_werror_flag" ||
34928 test ! -s conftest.err
34929 } && test -s conftest$ac_exeext &&
34930 $as_test_x conftest$ac_exeext; then
34931 ac_cv_lib_w_wcslen=yes
34932 else
34933 echo "$as_me: failed program was:" >&5
34934 sed 's/^/| /' conftest.$ac_ext >&5
34935
34936 ac_cv_lib_w_wcslen=no
34937 fi
34938
34939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34940 conftest$ac_exeext conftest.$ac_ext
34941 LIBS=$ac_check_lib_save_LIBS
34942 fi
34943 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34944 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34945 if test $ac_cv_lib_w_wcslen = yes; then
34946
34947 WCHAR_LINK=" -lw"
34948 WCSLEN_FOUND=1
34949
34950 fi
34951
34952 fi
34953 fi
34954
34955 if test "$WCSLEN_FOUND" = 1; then
34956 cat >>confdefs.h <<\_ACEOF
34957 #define HAVE_WCSLEN 1
34958 _ACEOF
34959
34960 fi
34961
34962
34963
34964
34965
34966
34967 for ac_func in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
34968 do
34969 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34970 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34972 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34973 echo $ECHO_N "(cached) $ECHO_C" >&6
34974 else
34975 cat >conftest.$ac_ext <<_ACEOF
34976 /* confdefs.h. */
34977 _ACEOF
34978 cat confdefs.h >>conftest.$ac_ext
34979 cat >>conftest.$ac_ext <<_ACEOF
34980 /* end confdefs.h. */
34981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34983 #define $ac_func innocuous_$ac_func
34984
34985 /* System header to define __stub macros and hopefully few prototypes,
34986 which can conflict with char $ac_func (); below.
34987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34988 <limits.h> exists even on freestanding compilers. */
34989
34990 #ifdef __STDC__
34991 # include <limits.h>
34992 #else
34993 # include <assert.h>
34994 #endif
34995
34996 #undef $ac_func
34997
34998 /* Override any GCC internal prototype to avoid an error.
34999 Use char because int might match the return type of a GCC
35000 builtin and then its argument prototype would still apply. */
35001 #ifdef __cplusplus
35002 extern "C"
35003 #endif
35004 char $ac_func ();
35005 /* The GNU C library defines this for functions which it implements
35006 to always fail with ENOSYS. Some functions are actually named
35007 something starting with __ and the normal name is an alias. */
35008 #if defined __stub_$ac_func || defined __stub___$ac_func
35009 choke me
35010 #endif
35011
35012 int
35013 main ()
35014 {
35015 return $ac_func ();
35016 ;
35017 return 0;
35018 }
35019 _ACEOF
35020 rm -f conftest.$ac_objext conftest$ac_exeext
35021 if { (ac_try="$ac_link"
35022 case "(($ac_try" in
35023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35024 *) ac_try_echo=$ac_try;;
35025 esac
35026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35027 (eval "$ac_link") 2>conftest.er1
35028 ac_status=$?
35029 grep -v '^ *+' conftest.er1 >conftest.err
35030 rm -f conftest.er1
35031 cat conftest.err >&5
35032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35033 (exit $ac_status); } && {
35034 test -z "$ac_c_werror_flag" ||
35035 test ! -s conftest.err
35036 } && test -s conftest$ac_exeext &&
35037 $as_test_x conftest$ac_exeext; then
35038 eval "$as_ac_var=yes"
35039 else
35040 echo "$as_me: failed program was:" >&5
35041 sed 's/^/| /' conftest.$ac_ext >&5
35042
35043 eval "$as_ac_var=no"
35044 fi
35045
35046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35047 conftest$ac_exeext conftest.$ac_ext
35048 fi
35049 ac_res=`eval echo '${'$as_ac_var'}'`
35050 { echo "$as_me:$LINENO: result: $ac_res" >&5
35051 echo "${ECHO_T}$ac_res" >&6; }
35052 if test `eval echo '${'$as_ac_var'}'` = yes; then
35053 cat >>confdefs.h <<_ACEOF
35054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35055 _ACEOF
35056
35057 fi
35058 done
35059
35060
35061 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35062 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35063 fi
35064
35065 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35066 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35067 if test "${ac_cv_type_mbstate_t+set}" = set; then
35068 echo $ECHO_N "(cached) $ECHO_C" >&6
35069 else
35070 cat >conftest.$ac_ext <<_ACEOF
35071 /* confdefs.h. */
35072 _ACEOF
35073 cat confdefs.h >>conftest.$ac_ext
35074 cat >>conftest.$ac_ext <<_ACEOF
35075 /* end confdefs.h. */
35076 #include <wchar.h>
35077
35078 typedef mbstate_t ac__type_new_;
35079 int
35080 main ()
35081 {
35082 if ((ac__type_new_ *) 0)
35083 return 0;
35084 if (sizeof (ac__type_new_))
35085 return 0;
35086 ;
35087 return 0;
35088 }
35089 _ACEOF
35090 rm -f conftest.$ac_objext
35091 if { (ac_try="$ac_compile"
35092 case "(($ac_try" in
35093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35094 *) ac_try_echo=$ac_try;;
35095 esac
35096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35097 (eval "$ac_compile") 2>conftest.er1
35098 ac_status=$?
35099 grep -v '^ *+' conftest.er1 >conftest.err
35100 rm -f conftest.er1
35101 cat conftest.err >&5
35102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35103 (exit $ac_status); } && {
35104 test -z "$ac_c_werror_flag" ||
35105 test ! -s conftest.err
35106 } && test -s conftest.$ac_objext; then
35107 ac_cv_type_mbstate_t=yes
35108 else
35109 echo "$as_me: failed program was:" >&5
35110 sed 's/^/| /' conftest.$ac_ext >&5
35111
35112 ac_cv_type_mbstate_t=no
35113 fi
35114
35115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35116 fi
35117 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35118 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35119 if test $ac_cv_type_mbstate_t = yes; then
35120
35121 cat >>confdefs.h <<_ACEOF
35122 #define HAVE_MBSTATE_T 1
35123 _ACEOF
35124
35125
35126 for ac_func in wcsrtombs
35127 do
35128 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35129 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35131 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35132 echo $ECHO_N "(cached) $ECHO_C" >&6
35133 else
35134 cat >conftest.$ac_ext <<_ACEOF
35135 /* confdefs.h. */
35136 _ACEOF
35137 cat confdefs.h >>conftest.$ac_ext
35138 cat >>conftest.$ac_ext <<_ACEOF
35139 /* end confdefs.h. */
35140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35142 #define $ac_func innocuous_$ac_func
35143
35144 /* System header to define __stub macros and hopefully few prototypes,
35145 which can conflict with char $ac_func (); below.
35146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35147 <limits.h> exists even on freestanding compilers. */
35148
35149 #ifdef __STDC__
35150 # include <limits.h>
35151 #else
35152 # include <assert.h>
35153 #endif
35154
35155 #undef $ac_func
35156
35157 /* Override any GCC internal prototype to avoid an error.
35158 Use char because int might match the return type of a GCC
35159 builtin and then its argument prototype would still apply. */
35160 #ifdef __cplusplus
35161 extern "C"
35162 #endif
35163 char $ac_func ();
35164 /* The GNU C library defines this for functions which it implements
35165 to always fail with ENOSYS. Some functions are actually named
35166 something starting with __ and the normal name is an alias. */
35167 #if defined __stub_$ac_func || defined __stub___$ac_func
35168 choke me
35169 #endif
35170
35171 int
35172 main ()
35173 {
35174 return $ac_func ();
35175 ;
35176 return 0;
35177 }
35178 _ACEOF
35179 rm -f conftest.$ac_objext conftest$ac_exeext
35180 if { (ac_try="$ac_link"
35181 case "(($ac_try" in
35182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35183 *) ac_try_echo=$ac_try;;
35184 esac
35185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35186 (eval "$ac_link") 2>conftest.er1
35187 ac_status=$?
35188 grep -v '^ *+' conftest.er1 >conftest.err
35189 rm -f conftest.er1
35190 cat conftest.err >&5
35191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35192 (exit $ac_status); } && {
35193 test -z "$ac_c_werror_flag" ||
35194 test ! -s conftest.err
35195 } && test -s conftest$ac_exeext &&
35196 $as_test_x conftest$ac_exeext; then
35197 eval "$as_ac_var=yes"
35198 else
35199 echo "$as_me: failed program was:" >&5
35200 sed 's/^/| /' conftest.$ac_ext >&5
35201
35202 eval "$as_ac_var=no"
35203 fi
35204
35205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35206 conftest$ac_exeext conftest.$ac_ext
35207 fi
35208 ac_res=`eval echo '${'$as_ac_var'}'`
35209 { echo "$as_me:$LINENO: result: $ac_res" >&5
35210 echo "${ECHO_T}$ac_res" >&6; }
35211 if test `eval echo '${'$as_ac_var'}'` = yes; then
35212 cat >>confdefs.h <<_ACEOF
35213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35214 _ACEOF
35215
35216 fi
35217 done
35218
35219 fi
35220
35221 else
35222 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35223 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35224 fi
35225
35226
35227
35228
35229 for ac_func in snprintf vsnprintf vsscanf
35230 do
35231 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35232 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35234 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35235 echo $ECHO_N "(cached) $ECHO_C" >&6
35236 else
35237 cat >conftest.$ac_ext <<_ACEOF
35238 /* confdefs.h. */
35239 _ACEOF
35240 cat confdefs.h >>conftest.$ac_ext
35241 cat >>conftest.$ac_ext <<_ACEOF
35242 /* end confdefs.h. */
35243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35245 #define $ac_func innocuous_$ac_func
35246
35247 /* System header to define __stub macros and hopefully few prototypes,
35248 which can conflict with char $ac_func (); below.
35249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35250 <limits.h> exists even on freestanding compilers. */
35251
35252 #ifdef __STDC__
35253 # include <limits.h>
35254 #else
35255 # include <assert.h>
35256 #endif
35257
35258 #undef $ac_func
35259
35260 /* Override any GCC internal prototype to avoid an error.
35261 Use char because int might match the return type of a GCC
35262 builtin and then its argument prototype would still apply. */
35263 #ifdef __cplusplus
35264 extern "C"
35265 #endif
35266 char $ac_func ();
35267 /* The GNU C library defines this for functions which it implements
35268 to always fail with ENOSYS. Some functions are actually named
35269 something starting with __ and the normal name is an alias. */
35270 #if defined __stub_$ac_func || defined __stub___$ac_func
35271 choke me
35272 #endif
35273
35274 int
35275 main ()
35276 {
35277 return $ac_func ();
35278 ;
35279 return 0;
35280 }
35281 _ACEOF
35282 rm -f conftest.$ac_objext conftest$ac_exeext
35283 if { (ac_try="$ac_link"
35284 case "(($ac_try" in
35285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35286 *) ac_try_echo=$ac_try;;
35287 esac
35288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35289 (eval "$ac_link") 2>conftest.er1
35290 ac_status=$?
35291 grep -v '^ *+' conftest.er1 >conftest.err
35292 rm -f conftest.er1
35293 cat conftest.err >&5
35294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35295 (exit $ac_status); } && {
35296 test -z "$ac_c_werror_flag" ||
35297 test ! -s conftest.err
35298 } && test -s conftest$ac_exeext &&
35299 $as_test_x conftest$ac_exeext; then
35300 eval "$as_ac_var=yes"
35301 else
35302 echo "$as_me: failed program was:" >&5
35303 sed 's/^/| /' conftest.$ac_ext >&5
35304
35305 eval "$as_ac_var=no"
35306 fi
35307
35308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35309 conftest$ac_exeext conftest.$ac_ext
35310 fi
35311 ac_res=`eval echo '${'$as_ac_var'}'`
35312 { echo "$as_me:$LINENO: result: $ac_res" >&5
35313 echo "${ECHO_T}$ac_res" >&6; }
35314 if test `eval echo '${'$as_ac_var'}'` = yes; then
35315 cat >>confdefs.h <<_ACEOF
35316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35317 _ACEOF
35318
35319 fi
35320 done
35321
35322
35323 ac_ext=cpp
35324 ac_cpp='$CXXCPP $CPPFLAGS'
35325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35328
35329 if test "$ac_cv_func_vsnprintf" = "yes"; then
35330 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35331 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35332 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35333 echo $ECHO_N "(cached) $ECHO_C" >&6
35334 else
35335
35336 cat >conftest.$ac_ext <<_ACEOF
35337 /* confdefs.h. */
35338 _ACEOF
35339 cat confdefs.h >>conftest.$ac_ext
35340 cat >>conftest.$ac_ext <<_ACEOF
35341 /* end confdefs.h. */
35342
35343 #include <stdio.h>
35344 #include <stdarg.h>
35345 #ifdef __MSL__
35346 #if __MSL__ >= 0x6000
35347 namespace std {}
35348 using namespace std;
35349 #endif
35350 #endif
35351
35352 int
35353 main ()
35354 {
35355
35356 char *buf;
35357 va_list ap;
35358 vsnprintf(buf, 10u, "%s", ap);
35359
35360 ;
35361 return 0;
35362 }
35363 _ACEOF
35364 rm -f conftest.$ac_objext
35365 if { (ac_try="$ac_compile"
35366 case "(($ac_try" in
35367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35368 *) ac_try_echo=$ac_try;;
35369 esac
35370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35371 (eval "$ac_compile") 2>conftest.er1
35372 ac_status=$?
35373 grep -v '^ *+' conftest.er1 >conftest.err
35374 rm -f conftest.er1
35375 cat conftest.err >&5
35376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35377 (exit $ac_status); } && {
35378 test -z "$ac_cxx_werror_flag" ||
35379 test ! -s conftest.err
35380 } && test -s conftest.$ac_objext; then
35381 wx_cv_func_vsnprintf_decl=yes
35382 else
35383 echo "$as_me: failed program was:" >&5
35384 sed 's/^/| /' conftest.$ac_ext >&5
35385
35386 wx_cv_func_vsnprintf_decl=no
35387
35388 fi
35389
35390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35391
35392
35393 fi
35394 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35395 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35396
35397 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35398 cat >>confdefs.h <<\_ACEOF
35399 #define HAVE_VSNPRINTF_DECL 1
35400 _ACEOF
35401
35402
35403 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35404 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35405 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35406 echo $ECHO_N "(cached) $ECHO_C" >&6
35407 else
35408
35409 cat >conftest.$ac_ext <<_ACEOF
35410 /* confdefs.h. */
35411 _ACEOF
35412 cat confdefs.h >>conftest.$ac_ext
35413 cat >>conftest.$ac_ext <<_ACEOF
35414 /* end confdefs.h. */
35415
35416 #include <stdio.h>
35417 #include <stdarg.h>
35418 #ifdef __MSL__
35419 #if __MSL__ >= 0x6000
35420 namespace std {}
35421 using namespace std;
35422 #endif
35423 #endif
35424
35425 int
35426 main ()
35427 {
35428
35429 char *buf;
35430 va_list ap;
35431 const char *fmt = "%s";
35432 vsnprintf(buf, 10u, fmt, ap);
35433
35434 ;
35435 return 0;
35436 }
35437 _ACEOF
35438 rm -f conftest.$ac_objext
35439 if { (ac_try="$ac_compile"
35440 case "(($ac_try" in
35441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35442 *) ac_try_echo=$ac_try;;
35443 esac
35444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35445 (eval "$ac_compile") 2>conftest.er1
35446 ac_status=$?
35447 grep -v '^ *+' conftest.er1 >conftest.err
35448 rm -f conftest.er1
35449 cat conftest.err >&5
35450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35451 (exit $ac_status); } && {
35452 test -z "$ac_cxx_werror_flag" ||
35453 test ! -s conftest.err
35454 } && test -s conftest.$ac_objext; then
35455 wx_cv_func_broken_vsnprintf_decl=no
35456 else
35457 echo "$as_me: failed program was:" >&5
35458 sed 's/^/| /' conftest.$ac_ext >&5
35459
35460 wx_cv_func_broken_vsnprintf_decl=yes
35461
35462 fi
35463
35464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35465
35466
35467 fi
35468 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35469 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35470
35471 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35472 cat >>confdefs.h <<\_ACEOF
35473 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35474 _ACEOF
35475
35476 fi
35477 fi
35478 fi
35479
35480 if test "$ac_cv_func_snprintf" = "yes"; then
35481 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35482 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35483 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35484 echo $ECHO_N "(cached) $ECHO_C" >&6
35485 else
35486
35487 cat >conftest.$ac_ext <<_ACEOF
35488 /* confdefs.h. */
35489 _ACEOF
35490 cat confdefs.h >>conftest.$ac_ext
35491 cat >>conftest.$ac_ext <<_ACEOF
35492 /* end confdefs.h. */
35493
35494 #include <stdio.h>
35495 #include <stdarg.h>
35496 #ifdef __MSL__
35497 #if __MSL__ >= 0x6000
35498 namespace std {}
35499 using namespace std;
35500 #endif
35501 #endif
35502
35503 int
35504 main ()
35505 {
35506
35507 char *buf;
35508 snprintf(buf, 10u, "%s", "wx");
35509
35510 ;
35511 return 0;
35512 }
35513 _ACEOF
35514 rm -f conftest.$ac_objext
35515 if { (ac_try="$ac_compile"
35516 case "(($ac_try" in
35517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35518 *) ac_try_echo=$ac_try;;
35519 esac
35520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35521 (eval "$ac_compile") 2>conftest.er1
35522 ac_status=$?
35523 grep -v '^ *+' conftest.er1 >conftest.err
35524 rm -f conftest.er1
35525 cat conftest.err >&5
35526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35527 (exit $ac_status); } && {
35528 test -z "$ac_cxx_werror_flag" ||
35529 test ! -s conftest.err
35530 } && test -s conftest.$ac_objext; then
35531 wx_cv_func_snprintf_decl=yes
35532 else
35533 echo "$as_me: failed program was:" >&5
35534 sed 's/^/| /' conftest.$ac_ext >&5
35535
35536 wx_cv_func_snprintf_decl=no
35537
35538 fi
35539
35540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35541
35542
35543 fi
35544 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35545 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35546
35547 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35548 cat >>confdefs.h <<\_ACEOF
35549 #define HAVE_SNPRINTF_DECL 1
35550 _ACEOF
35551
35552 fi
35553
35554 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35555
35556 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35557 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35558 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35559 echo $ECHO_N "(cached) $ECHO_C" >&6
35560 else
35561
35562 if test "$cross_compiling" = yes; then
35563
35564 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35565 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35566 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35567 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35568 wx_cv_func_snprintf_pos_params=no
35569
35570
35571 else
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
35581 int main (void)
35582 {
35583 char buffer[128];
35584 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35585 if (strcmp ("2 3 1", buffer) == 0)
35586 exit (0);
35587 exit (1);
35588 }
35589
35590 _ACEOF
35591 rm -f conftest$ac_exeext
35592 if { (ac_try="$ac_link"
35593 case "(($ac_try" in
35594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35595 *) ac_try_echo=$ac_try;;
35596 esac
35597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35598 (eval "$ac_link") 2>&5
35599 ac_status=$?
35600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35601 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35602 { (case "(($ac_try" in
35603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35604 *) ac_try_echo=$ac_try;;
35605 esac
35606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35607 (eval "$ac_try") 2>&5
35608 ac_status=$?
35609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35610 (exit $ac_status); }; }; then
35611 wx_cv_func_snprintf_pos_params=no
35612 else
35613 echo "$as_me: program exited with status $ac_status" >&5
35614 echo "$as_me: failed program was:" >&5
35615 sed 's/^/| /' conftest.$ac_ext >&5
35616
35617 ( exit $ac_status )
35618 wx_cv_func_snprintf_pos_params=yes
35619 fi
35620 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35621 fi
35622
35623
35624
35625
35626 fi
35627 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35628 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35629
35630 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35631 cat >>confdefs.h <<\_ACEOF
35632 #define HAVE_UNIX98_PRINTF 1
35633 _ACEOF
35634
35635 fi
35636 fi
35637 fi
35638
35639 if test "$ac_cv_func_vsscanf" = "yes"; then
35640 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35641 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35642 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35643 echo $ECHO_N "(cached) $ECHO_C" >&6
35644 else
35645
35646 cat >conftest.$ac_ext <<_ACEOF
35647 /* confdefs.h. */
35648 _ACEOF
35649 cat confdefs.h >>conftest.$ac_ext
35650 cat >>conftest.$ac_ext <<_ACEOF
35651 /* end confdefs.h. */
35652
35653 #include <stdio.h>
35654 #include <stdarg.h>
35655 #ifdef __MSL__
35656 #if __MSL__ >= 0x6000
35657 namespace std {}
35658 using namespace std;
35659 #endif
35660 #endif
35661
35662 int
35663 main ()
35664 {
35665
35666 char *buf;
35667 va_list args;
35668 vsscanf(buf, "%s", args);
35669
35670 ;
35671 return 0;
35672 }
35673 _ACEOF
35674 rm -f conftest.$ac_objext
35675 if { (ac_try="$ac_compile"
35676 case "(($ac_try" in
35677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35678 *) ac_try_echo=$ac_try;;
35679 esac
35680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35681 (eval "$ac_compile") 2>conftest.er1
35682 ac_status=$?
35683 grep -v '^ *+' conftest.er1 >conftest.err
35684 rm -f conftest.er1
35685 cat conftest.err >&5
35686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35687 (exit $ac_status); } && {
35688 test -z "$ac_cxx_werror_flag" ||
35689 test ! -s conftest.err
35690 } && test -s conftest.$ac_objext; then
35691 wx_cv_func_vsscanf_decl=yes
35692 else
35693 echo "$as_me: failed program was:" >&5
35694 sed 's/^/| /' conftest.$ac_ext >&5
35695
35696 wx_cv_func_vsscanf_decl=no
35697
35698 fi
35699
35700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35701
35702
35703 fi
35704 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35705 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35706
35707 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35708 cat >>confdefs.h <<\_ACEOF
35709 #define HAVE_VSSCANF_DECL 1
35710 _ACEOF
35711
35712 fi
35713 fi
35714 ac_ext=c
35715 ac_cpp='$CPP $CPPFLAGS'
35716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35719
35720
35721 if test "$wxUSE_UNICODE" = yes; then
35722
35723 wchar_headers="#include <stdio.h>
35724 #include <wchar.h>"
35725 case "${host}" in
35726 *-*-solaris2* )
35727
35728 for ac_header in widec.h
35729 do
35730 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35731 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35732 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35733 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35734 echo $ECHO_N "(cached) $ECHO_C" >&6
35735 else
35736 cat >conftest.$ac_ext <<_ACEOF
35737 /* confdefs.h. */
35738 _ACEOF
35739 cat confdefs.h >>conftest.$ac_ext
35740 cat >>conftest.$ac_ext <<_ACEOF
35741 /* end confdefs.h. */
35742 $ac_includes_default
35743
35744 #include <$ac_header>
35745 _ACEOF
35746 rm -f conftest.$ac_objext
35747 if { (ac_try="$ac_compile"
35748 case "(($ac_try" in
35749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35750 *) ac_try_echo=$ac_try;;
35751 esac
35752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35753 (eval "$ac_compile") 2>conftest.er1
35754 ac_status=$?
35755 grep -v '^ *+' conftest.er1 >conftest.err
35756 rm -f conftest.er1
35757 cat conftest.err >&5
35758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35759 (exit $ac_status); } && {
35760 test -z "$ac_c_werror_flag" ||
35761 test ! -s conftest.err
35762 } && test -s conftest.$ac_objext; then
35763 eval "$as_ac_Header=yes"
35764 else
35765 echo "$as_me: failed program was:" >&5
35766 sed 's/^/| /' conftest.$ac_ext >&5
35767
35768 eval "$as_ac_Header=no"
35769 fi
35770
35771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35772 fi
35773 ac_res=`eval echo '${'$as_ac_Header'}'`
35774 { echo "$as_me:$LINENO: result: $ac_res" >&5
35775 echo "${ECHO_T}$ac_res" >&6; }
35776 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35777 cat >>confdefs.h <<_ACEOF
35778 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35779 _ACEOF
35780
35781 fi
35782
35783 done
35784
35785 if test "$ac_cv_header_widec_h" = "yes"; then
35786 wchar_headers="$wchar_headers
35787 #include <widec.h>"
35788 fi
35789 esac
35790
35791
35792 for wx_func in putws fputws wprintf vswprintf vswscanf
35793 do
35794 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35795 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35796 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35797 echo $ECHO_N "(cached) $ECHO_C" >&6
35798 else
35799
35800 cat >conftest.$ac_ext <<_ACEOF
35801
35802 /* confdefs.h. */
35803 _ACEOF
35804 cat confdefs.h >>conftest.$ac_ext
35805 cat >>conftest.$ac_ext <<_ACEOF
35806 /* end confdefs.h. */
35807
35808 $wchar_headers
35809 $ac_includes_default
35810
35811 int
35812 main ()
35813 {
35814
35815 #ifndef $wx_func
35816 &$wx_func;
35817 #endif
35818
35819
35820 ;
35821 return 0;
35822 }
35823
35824 _ACEOF
35825 rm -f conftest.$ac_objext conftest$ac_exeext
35826 if { (ac_try="$ac_link"
35827 case "(($ac_try" in
35828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35829 *) ac_try_echo=$ac_try;;
35830 esac
35831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35832 (eval "$ac_link") 2>conftest.er1
35833 ac_status=$?
35834 grep -v '^ *+' conftest.er1 >conftest.err
35835 rm -f conftest.er1
35836 cat conftest.err >&5
35837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35838 (exit $ac_status); } && {
35839 test -z "$ac_c_werror_flag" ||
35840 test ! -s conftest.err
35841 } && test -s conftest$ac_exeext &&
35842 $as_test_x conftest$ac_exeext; then
35843 eval wx_cv_func_$wx_func=yes
35844 else
35845 echo "$as_me: failed program was:" >&5
35846 sed 's/^/| /' conftest.$ac_ext >&5
35847
35848 eval wx_cv_func_$wx_func=no
35849 fi
35850
35851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35852 conftest$ac_exeext conftest.$ac_ext
35853
35854 fi
35855 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35856 { echo "$as_me:$LINENO: result: $ac_res" >&5
35857 echo "${ECHO_T}$ac_res" >&6; }
35858
35859 if eval test \$wx_cv_func_$wx_func = yes
35860 then
35861 cat >>confdefs.h <<_ACEOF
35862 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35863 _ACEOF
35864
35865
35866 else
35867 :
35868
35869 fi
35870 done
35871
35872
35873 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35874 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35875 cat >conftest.$ac_ext <<_ACEOF
35876 /* confdefs.h. */
35877 _ACEOF
35878 cat confdefs.h >>conftest.$ac_ext
35879 cat >>conftest.$ac_ext <<_ACEOF
35880 /* end confdefs.h. */
35881 #include <wchar.h>
35882 int
35883 main ()
35884 {
35885 &_vsnwprintf;
35886 ;
35887 return 0;
35888 }
35889 _ACEOF
35890 rm -f conftest.$ac_objext
35891 if { (ac_try="$ac_compile"
35892 case "(($ac_try" in
35893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35894 *) ac_try_echo=$ac_try;;
35895 esac
35896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35897 (eval "$ac_compile") 2>conftest.er1
35898 ac_status=$?
35899 grep -v '^ *+' conftest.er1 >conftest.err
35900 rm -f conftest.er1
35901 cat conftest.err >&5
35902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35903 (exit $ac_status); } && {
35904 test -z "$ac_c_werror_flag" ||
35905 test ! -s conftest.err
35906 } && test -s conftest.$ac_objext; then
35907 { echo "$as_me:$LINENO: result: yes" >&5
35908 echo "${ECHO_T}yes" >&6; }
35909 cat >>confdefs.h <<\_ACEOF
35910 #define HAVE__VSNWPRINTF 1
35911 _ACEOF
35912
35913 else
35914 echo "$as_me: failed program was:" >&5
35915 sed 's/^/| /' conftest.$ac_ext >&5
35916
35917 { echo "$as_me:$LINENO: result: no" >&5
35918 echo "${ECHO_T}no" >&6; }
35919 fi
35920
35921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35922 fi
35923
35924 if test "$wxUSE_FILE" = "yes"; then
35925
35926 for wx_func in fsync
35927 do
35928 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35929 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35930 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35931 echo $ECHO_N "(cached) $ECHO_C" >&6
35932 else
35933
35934 cat >conftest.$ac_ext <<_ACEOF
35935
35936 /* confdefs.h. */
35937 _ACEOF
35938 cat confdefs.h >>conftest.$ac_ext
35939 cat >>conftest.$ac_ext <<_ACEOF
35940 /* end confdefs.h. */
35941
35942
35943 $ac_includes_default
35944
35945 int
35946 main ()
35947 {
35948
35949 #ifndef $wx_func
35950 &$wx_func;
35951 #endif
35952
35953
35954 ;
35955 return 0;
35956 }
35957
35958 _ACEOF
35959 rm -f conftest.$ac_objext conftest$ac_exeext
35960 if { (ac_try="$ac_link"
35961 case "(($ac_try" in
35962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35963 *) ac_try_echo=$ac_try;;
35964 esac
35965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35966 (eval "$ac_link") 2>conftest.er1
35967 ac_status=$?
35968 grep -v '^ *+' conftest.er1 >conftest.err
35969 rm -f conftest.er1
35970 cat conftest.err >&5
35971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35972 (exit $ac_status); } && {
35973 test -z "$ac_c_werror_flag" ||
35974 test ! -s conftest.err
35975 } && test -s conftest$ac_exeext &&
35976 $as_test_x conftest$ac_exeext; then
35977 eval wx_cv_func_$wx_func=yes
35978 else
35979 echo "$as_me: failed program was:" >&5
35980 sed 's/^/| /' conftest.$ac_ext >&5
35981
35982 eval wx_cv_func_$wx_func=no
35983 fi
35984
35985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35986 conftest$ac_exeext conftest.$ac_ext
35987
35988 fi
35989 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35990 { echo "$as_me:$LINENO: result: $ac_res" >&5
35991 echo "${ECHO_T}$ac_res" >&6; }
35992
35993 if eval test \$wx_cv_func_$wx_func = yes
35994 then
35995 cat >>confdefs.h <<_ACEOF
35996 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35997 _ACEOF
35998
35999
36000 else
36001 :
36002
36003 fi
36004 done
36005
36006 fi
36007
36008 ac_ext=cpp
36009 ac_cpp='$CXXCPP $CPPFLAGS'
36010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36013
36014
36015 for wx_func in round
36016 do
36017 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36018 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36019 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36020 echo $ECHO_N "(cached) $ECHO_C" >&6
36021 else
36022
36023 cat >conftest.$ac_ext <<_ACEOF
36024
36025 /* confdefs.h. */
36026 _ACEOF
36027 cat confdefs.h >>conftest.$ac_ext
36028 cat >>conftest.$ac_ext <<_ACEOF
36029 /* end confdefs.h. */
36030
36031 #include <math.h>
36032 $ac_includes_default
36033
36034 int
36035 main ()
36036 {
36037
36038 #ifndef $wx_func
36039 &$wx_func;
36040 #endif
36041
36042
36043 ;
36044 return 0;
36045 }
36046
36047 _ACEOF
36048 rm -f conftest.$ac_objext conftest$ac_exeext
36049 if { (ac_try="$ac_link"
36050 case "(($ac_try" in
36051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36052 *) ac_try_echo=$ac_try;;
36053 esac
36054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36055 (eval "$ac_link") 2>conftest.er1
36056 ac_status=$?
36057 grep -v '^ *+' conftest.er1 >conftest.err
36058 rm -f conftest.er1
36059 cat conftest.err >&5
36060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36061 (exit $ac_status); } && {
36062 test -z "$ac_cxx_werror_flag" ||
36063 test ! -s conftest.err
36064 } && test -s conftest$ac_exeext &&
36065 $as_test_x conftest$ac_exeext; then
36066 eval wx_cv_func_$wx_func=yes
36067 else
36068 echo "$as_me: failed program was:" >&5
36069 sed 's/^/| /' conftest.$ac_ext >&5
36070
36071 eval wx_cv_func_$wx_func=no
36072 fi
36073
36074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36075 conftest$ac_exeext conftest.$ac_ext
36076
36077 fi
36078 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36079 { echo "$as_me:$LINENO: result: $ac_res" >&5
36080 echo "${ECHO_T}$ac_res" >&6; }
36081
36082 if eval test \$wx_cv_func_$wx_func = yes
36083 then
36084 cat >>confdefs.h <<_ACEOF
36085 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36086 _ACEOF
36087
36088
36089 else
36090 :
36091
36092 fi
36093 done
36094
36095 ac_ext=c
36096 ac_cpp='$CPP $CPPFLAGS'
36097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36100
36101
36102 if test "$TOOLKIT" != "MSW"; then
36103
36104 if test "$wxUSE_LIBICONV" != "no" ; then
36105
36106
36107
36108 # Check whether --with-libiconv-prefix was given.
36109 if test "${with_libiconv_prefix+set}" = set; then
36110 withval=$with_libiconv_prefix;
36111 for dir in `echo "$withval" | tr : ' '`; do
36112 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36113 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36114 done
36115
36116 fi
36117
36118
36119 { echo "$as_me:$LINENO: checking for iconv" >&5
36120 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36121 if test "${am_cv_func_iconv+set}" = set; then
36122 echo $ECHO_N "(cached) $ECHO_C" >&6
36123 else
36124
36125 am_cv_func_iconv="no, consider installing GNU libiconv"
36126 am_cv_lib_iconv=no
36127 cat >conftest.$ac_ext <<_ACEOF
36128 /* confdefs.h. */
36129 _ACEOF
36130 cat confdefs.h >>conftest.$ac_ext
36131 cat >>conftest.$ac_ext <<_ACEOF
36132 /* end confdefs.h. */
36133 #include <stdlib.h>
36134 #include <iconv.h>
36135 int
36136 main ()
36137 {
36138 iconv_t cd = iconv_open("","");
36139 iconv(cd,NULL,NULL,NULL,NULL);
36140 iconv_close(cd);
36141 ;
36142 return 0;
36143 }
36144 _ACEOF
36145 rm -f conftest.$ac_objext conftest$ac_exeext
36146 if { (ac_try="$ac_link"
36147 case "(($ac_try" in
36148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36149 *) ac_try_echo=$ac_try;;
36150 esac
36151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36152 (eval "$ac_link") 2>conftest.er1
36153 ac_status=$?
36154 grep -v '^ *+' conftest.er1 >conftest.err
36155 rm -f conftest.er1
36156 cat conftest.err >&5
36157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36158 (exit $ac_status); } && {
36159 test -z "$ac_c_werror_flag" ||
36160 test ! -s conftest.err
36161 } && test -s conftest$ac_exeext &&
36162 $as_test_x conftest$ac_exeext; then
36163 am_cv_func_iconv=yes
36164 else
36165 echo "$as_me: failed program was:" >&5
36166 sed 's/^/| /' conftest.$ac_ext >&5
36167
36168
36169 fi
36170
36171 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36172 conftest$ac_exeext conftest.$ac_ext
36173 if test "$am_cv_func_iconv" != yes; then
36174 am_save_LIBS="$LIBS"
36175 LIBS="$LIBS -liconv"
36176 cat >conftest.$ac_ext <<_ACEOF
36177 /* confdefs.h. */
36178 _ACEOF
36179 cat confdefs.h >>conftest.$ac_ext
36180 cat >>conftest.$ac_ext <<_ACEOF
36181 /* end confdefs.h. */
36182 #include <stdlib.h>
36183 #include <iconv.h>
36184 int
36185 main ()
36186 {
36187 iconv_t cd = iconv_open("","");
36188 iconv(cd,NULL,NULL,NULL,NULL);
36189 iconv_close(cd);
36190 ;
36191 return 0;
36192 }
36193 _ACEOF
36194 rm -f conftest.$ac_objext conftest$ac_exeext
36195 if { (ac_try="$ac_link"
36196 case "(($ac_try" in
36197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36198 *) ac_try_echo=$ac_try;;
36199 esac
36200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36201 (eval "$ac_link") 2>conftest.er1
36202 ac_status=$?
36203 grep -v '^ *+' conftest.er1 >conftest.err
36204 rm -f conftest.er1
36205 cat conftest.err >&5
36206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36207 (exit $ac_status); } && {
36208 test -z "$ac_c_werror_flag" ||
36209 test ! -s conftest.err
36210 } && test -s conftest$ac_exeext &&
36211 $as_test_x conftest$ac_exeext; then
36212 am_cv_lib_iconv=yes
36213 am_cv_func_iconv=yes
36214 else
36215 echo "$as_me: failed program was:" >&5
36216 sed 's/^/| /' conftest.$ac_ext >&5
36217
36218
36219 fi
36220
36221 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36222 conftest$ac_exeext conftest.$ac_ext
36223 LIBS="$am_save_LIBS"
36224 fi
36225
36226 fi
36227 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36228 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36229 if test "$am_cv_func_iconv" = yes; then
36230
36231 cat >>confdefs.h <<\_ACEOF
36232 #define HAVE_ICONV 1
36233 _ACEOF
36234
36235 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36236 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36237 if test "${wx_cv_func_iconv_const+set}" = set; then
36238 echo $ECHO_N "(cached) $ECHO_C" >&6
36239 else
36240 cat >conftest.$ac_ext <<_ACEOF
36241 /* confdefs.h. */
36242 _ACEOF
36243 cat confdefs.h >>conftest.$ac_ext
36244 cat >>conftest.$ac_ext <<_ACEOF
36245 /* end confdefs.h. */
36246
36247 #include <stdlib.h>
36248 #include <iconv.h>
36249 extern
36250 #ifdef __cplusplus
36251 "C"
36252 #endif
36253 #if defined(__STDC__) || defined(__cplusplus)
36254 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36255 #else
36256 size_t iconv();
36257 #endif
36258
36259 int
36260 main ()
36261 {
36262
36263 ;
36264 return 0;
36265 }
36266 _ACEOF
36267 rm -f conftest.$ac_objext
36268 if { (ac_try="$ac_compile"
36269 case "(($ac_try" in
36270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36271 *) ac_try_echo=$ac_try;;
36272 esac
36273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36274 (eval "$ac_compile") 2>conftest.er1
36275 ac_status=$?
36276 grep -v '^ *+' conftest.er1 >conftest.err
36277 rm -f conftest.er1
36278 cat conftest.err >&5
36279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36280 (exit $ac_status); } && {
36281 test -z "$ac_c_werror_flag" ||
36282 test ! -s conftest.err
36283 } && test -s conftest.$ac_objext; then
36284 wx_cv_func_iconv_const="no"
36285 else
36286 echo "$as_me: failed program was:" >&5
36287 sed 's/^/| /' conftest.$ac_ext >&5
36288
36289 wx_cv_func_iconv_const="yes"
36290
36291 fi
36292
36293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36294
36295 fi
36296 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36297 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36298
36299 iconv_const=
36300 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36301 iconv_const="const"
36302 fi
36303
36304
36305 cat >>confdefs.h <<_ACEOF
36306 #define ICONV_CONST $iconv_const
36307 _ACEOF
36308
36309 fi
36310 LIBICONV=
36311 if test "$am_cv_lib_iconv" = yes; then
36312 LIBICONV="-liconv"
36313 fi
36314
36315
36316 LIBS="$LIBICONV $LIBS"
36317 fi
36318
36319 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36320
36321 for ac_func in sigaction
36322 do
36323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36324 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36326 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36327 echo $ECHO_N "(cached) $ECHO_C" >&6
36328 else
36329 cat >conftest.$ac_ext <<_ACEOF
36330 /* confdefs.h. */
36331 _ACEOF
36332 cat confdefs.h >>conftest.$ac_ext
36333 cat >>conftest.$ac_ext <<_ACEOF
36334 /* end confdefs.h. */
36335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36336 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36337 #define $ac_func innocuous_$ac_func
36338
36339 /* System header to define __stub macros and hopefully few prototypes,
36340 which can conflict with char $ac_func (); below.
36341 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36342 <limits.h> exists even on freestanding compilers. */
36343
36344 #ifdef __STDC__
36345 # include <limits.h>
36346 #else
36347 # include <assert.h>
36348 #endif
36349
36350 #undef $ac_func
36351
36352 /* Override any GCC internal prototype to avoid an error.
36353 Use char because int might match the return type of a GCC
36354 builtin and then its argument prototype would still apply. */
36355 #ifdef __cplusplus
36356 extern "C"
36357 #endif
36358 char $ac_func ();
36359 /* The GNU C library defines this for functions which it implements
36360 to always fail with ENOSYS. Some functions are actually named
36361 something starting with __ and the normal name is an alias. */
36362 #if defined __stub_$ac_func || defined __stub___$ac_func
36363 choke me
36364 #endif
36365
36366 int
36367 main ()
36368 {
36369 return $ac_func ();
36370 ;
36371 return 0;
36372 }
36373 _ACEOF
36374 rm -f conftest.$ac_objext conftest$ac_exeext
36375 if { (ac_try="$ac_link"
36376 case "(($ac_try" in
36377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36378 *) ac_try_echo=$ac_try;;
36379 esac
36380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36381 (eval "$ac_link") 2>conftest.er1
36382 ac_status=$?
36383 grep -v '^ *+' conftest.er1 >conftest.err
36384 rm -f conftest.er1
36385 cat conftest.err >&5
36386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36387 (exit $ac_status); } && {
36388 test -z "$ac_c_werror_flag" ||
36389 test ! -s conftest.err
36390 } && test -s conftest$ac_exeext &&
36391 $as_test_x conftest$ac_exeext; then
36392 eval "$as_ac_var=yes"
36393 else
36394 echo "$as_me: failed program was:" >&5
36395 sed 's/^/| /' conftest.$ac_ext >&5
36396
36397 eval "$as_ac_var=no"
36398 fi
36399
36400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36401 conftest$ac_exeext conftest.$ac_ext
36402 fi
36403 ac_res=`eval echo '${'$as_ac_var'}'`
36404 { echo "$as_me:$LINENO: result: $ac_res" >&5
36405 echo "${ECHO_T}$ac_res" >&6; }
36406 if test `eval echo '${'$as_ac_var'}'` = yes; then
36407 cat >>confdefs.h <<_ACEOF
36408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36409 _ACEOF
36410
36411 fi
36412 done
36413
36414
36415 if test "$ac_cv_func_sigaction" = "no"; then
36416 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36417 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36418 wxUSE_ON_FATAL_EXCEPTION=no
36419 fi
36420
36421 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36422 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36423 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36424 if test "${wx_cv_type_sa_handler+set}" = set; then
36425 echo $ECHO_N "(cached) $ECHO_C" >&6
36426 else
36427
36428 ac_ext=cpp
36429 ac_cpp='$CXXCPP $CPPFLAGS'
36430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36433
36434 cat >conftest.$ac_ext <<_ACEOF
36435 /* confdefs.h. */
36436 _ACEOF
36437 cat confdefs.h >>conftest.$ac_ext
36438 cat >>conftest.$ac_ext <<_ACEOF
36439 /* end confdefs.h. */
36440 #include <signal.h>
36441 int
36442 main ()
36443 {
36444
36445 extern void testSigHandler(int);
36446
36447 struct sigaction sa;
36448 sa.sa_handler = testSigHandler;
36449
36450 ;
36451 return 0;
36452 }
36453 _ACEOF
36454 rm -f conftest.$ac_objext
36455 if { (ac_try="$ac_compile"
36456 case "(($ac_try" in
36457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36458 *) ac_try_echo=$ac_try;;
36459 esac
36460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36461 (eval "$ac_compile") 2>conftest.er1
36462 ac_status=$?
36463 grep -v '^ *+' conftest.er1 >conftest.err
36464 rm -f conftest.er1
36465 cat conftest.err >&5
36466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36467 (exit $ac_status); } && {
36468 test -z "$ac_cxx_werror_flag" ||
36469 test ! -s conftest.err
36470 } && test -s conftest.$ac_objext; then
36471
36472 wx_cv_type_sa_handler=int
36473
36474 else
36475 echo "$as_me: failed program was:" >&5
36476 sed 's/^/| /' conftest.$ac_ext >&5
36477
36478
36479 wx_cv_type_sa_handler=void
36480
36481 fi
36482
36483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36484 ac_ext=c
36485 ac_cpp='$CPP $CPPFLAGS'
36486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36489
36490
36491 fi
36492 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36493 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36494
36495 cat >>confdefs.h <<_ACEOF
36496 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36497 _ACEOF
36498
36499 fi
36500 fi
36501
36502 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36503 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36504 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36505 if test "${wx_cv_func_backtrace+set}" = set; then
36506 echo $ECHO_N "(cached) $ECHO_C" >&6
36507 else
36508
36509 ac_ext=cpp
36510 ac_cpp='$CXXCPP $CPPFLAGS'
36511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36514
36515 cat >conftest.$ac_ext <<_ACEOF
36516 /* confdefs.h. */
36517 _ACEOF
36518 cat confdefs.h >>conftest.$ac_ext
36519 cat >>conftest.$ac_ext <<_ACEOF
36520 /* end confdefs.h. */
36521 #include <execinfo.h>
36522 int
36523 main ()
36524 {
36525
36526 void *trace[1];
36527 char **messages;
36528
36529 backtrace(trace, 1);
36530 messages = backtrace_symbols(trace, 1);
36531
36532 ;
36533 return 0;
36534 }
36535 _ACEOF
36536 rm -f conftest.$ac_objext
36537 if { (ac_try="$ac_compile"
36538 case "(($ac_try" in
36539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36540 *) ac_try_echo=$ac_try;;
36541 esac
36542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36543 (eval "$ac_compile") 2>conftest.er1
36544 ac_status=$?
36545 grep -v '^ *+' conftest.er1 >conftest.err
36546 rm -f conftest.er1
36547 cat conftest.err >&5
36548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36549 (exit $ac_status); } && {
36550 test -z "$ac_cxx_werror_flag" ||
36551 test ! -s conftest.err
36552 } && test -s conftest.$ac_objext; then
36553 wx_cv_func_backtrace=yes
36554 else
36555 echo "$as_me: failed program was:" >&5
36556 sed 's/^/| /' conftest.$ac_ext >&5
36557
36558 wx_cv_func_backtrace=no
36559
36560 fi
36561
36562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36563 ac_ext=c
36564 ac_cpp='$CPP $CPPFLAGS'
36565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36568
36569
36570
36571 fi
36572 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36573 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36574
36575
36576 if test "$wx_cv_func_backtrace" = "no"; then
36577 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36578 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36579 wxUSE_STACKWALKER=no
36580 else
36581 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36582 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36583 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36584 echo $ECHO_N "(cached) $ECHO_C" >&6
36585 else
36586
36587 ac_ext=cpp
36588 ac_cpp='$CXXCPP $CPPFLAGS'
36589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36592
36593 cat >conftest.$ac_ext <<_ACEOF
36594 /* confdefs.h. */
36595 _ACEOF
36596 cat confdefs.h >>conftest.$ac_ext
36597 cat >>conftest.$ac_ext <<_ACEOF
36598 /* end confdefs.h. */
36599 #include <cxxabi.h>
36600 int
36601 main ()
36602 {
36603
36604 int rc;
36605 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36606
36607 ;
36608 return 0;
36609 }
36610 _ACEOF
36611 rm -f conftest.$ac_objext conftest$ac_exeext
36612 if { (ac_try="$ac_link"
36613 case "(($ac_try" in
36614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36615 *) ac_try_echo=$ac_try;;
36616 esac
36617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36618 (eval "$ac_link") 2>conftest.er1
36619 ac_status=$?
36620 grep -v '^ *+' conftest.er1 >conftest.err
36621 rm -f conftest.er1
36622 cat conftest.err >&5
36623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36624 (exit $ac_status); } && {
36625 test -z "$ac_cxx_werror_flag" ||
36626 test ! -s conftest.err
36627 } && test -s conftest$ac_exeext &&
36628 $as_test_x conftest$ac_exeext; then
36629 wx_cv_func_cxa_demangle=yes
36630 else
36631 echo "$as_me: failed program was:" >&5
36632 sed 's/^/| /' conftest.$ac_ext >&5
36633
36634 wx_cv_func_cxa_demangle=no
36635
36636 fi
36637
36638 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36639 conftest$ac_exeext conftest.$ac_ext
36640 ac_ext=c
36641 ac_cpp='$CPP $CPPFLAGS'
36642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36645
36646
36647
36648 fi
36649 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36650 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36651
36652 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36653 cat >>confdefs.h <<\_ACEOF
36654 #define HAVE_CXA_DEMANGLE 1
36655 _ACEOF
36656
36657 fi
36658 fi
36659 fi
36660
36661 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36662 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36663 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36664 wxUSE_STACKWALKER=no
36665 fi
36666
36667
36668
36669
36670 for ac_func in mkstemp mktemp
36671 do
36672 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36673 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36674 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36675 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36676 echo $ECHO_N "(cached) $ECHO_C" >&6
36677 else
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36686 #define $ac_func innocuous_$ac_func
36687
36688 /* System header to define __stub macros and hopefully few prototypes,
36689 which can conflict with char $ac_func (); below.
36690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36691 <limits.h> exists even on freestanding compilers. */
36692
36693 #ifdef __STDC__
36694 # include <limits.h>
36695 #else
36696 # include <assert.h>
36697 #endif
36698
36699 #undef $ac_func
36700
36701 /* Override any GCC internal prototype to avoid an error.
36702 Use char because int might match the return type of a GCC
36703 builtin and then its argument prototype would still apply. */
36704 #ifdef __cplusplus
36705 extern "C"
36706 #endif
36707 char $ac_func ();
36708 /* The GNU C library defines this for functions which it implements
36709 to always fail with ENOSYS. Some functions are actually named
36710 something starting with __ and the normal name is an alias. */
36711 #if defined __stub_$ac_func || defined __stub___$ac_func
36712 choke me
36713 #endif
36714
36715 int
36716 main ()
36717 {
36718 return $ac_func ();
36719 ;
36720 return 0;
36721 }
36722 _ACEOF
36723 rm -f conftest.$ac_objext conftest$ac_exeext
36724 if { (ac_try="$ac_link"
36725 case "(($ac_try" in
36726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36727 *) ac_try_echo=$ac_try;;
36728 esac
36729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36730 (eval "$ac_link") 2>conftest.er1
36731 ac_status=$?
36732 grep -v '^ *+' conftest.er1 >conftest.err
36733 rm -f conftest.er1
36734 cat conftest.err >&5
36735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36736 (exit $ac_status); } && {
36737 test -z "$ac_c_werror_flag" ||
36738 test ! -s conftest.err
36739 } && test -s conftest$ac_exeext &&
36740 $as_test_x conftest$ac_exeext; then
36741 eval "$as_ac_var=yes"
36742 else
36743 echo "$as_me: failed program was:" >&5
36744 sed 's/^/| /' conftest.$ac_ext >&5
36745
36746 eval "$as_ac_var=no"
36747 fi
36748
36749 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36750 conftest$ac_exeext conftest.$ac_ext
36751 fi
36752 ac_res=`eval echo '${'$as_ac_var'}'`
36753 { echo "$as_me:$LINENO: result: $ac_res" >&5
36754 echo "${ECHO_T}$ac_res" >&6; }
36755 if test `eval echo '${'$as_ac_var'}'` = yes; then
36756 cat >>confdefs.h <<_ACEOF
36757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36758 _ACEOF
36759 break
36760 fi
36761 done
36762
36763
36764 { echo "$as_me:$LINENO: checking for statfs" >&5
36765 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36766 if test "${wx_cv_func_statfs+set}" = set; then
36767 echo $ECHO_N "(cached) $ECHO_C" >&6
36768 else
36769 cat >conftest.$ac_ext <<_ACEOF
36770 /* confdefs.h. */
36771 _ACEOF
36772 cat confdefs.h >>conftest.$ac_ext
36773 cat >>conftest.$ac_ext <<_ACEOF
36774 /* end confdefs.h. */
36775
36776 #if defined(__BSD__)
36777 #include <sys/param.h>
36778 #include <sys/mount.h>
36779 #else
36780 #include <sys/vfs.h>
36781 #endif
36782
36783 int
36784 main ()
36785 {
36786
36787 long l;
36788 struct statfs fs;
36789 statfs("/", &fs);
36790 l = fs.f_bsize;
36791 l += fs.f_blocks;
36792 l += fs.f_bavail;
36793
36794 ;
36795 return 0;
36796 }
36797 _ACEOF
36798 rm -f conftest.$ac_objext
36799 if { (ac_try="$ac_compile"
36800 case "(($ac_try" in
36801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36802 *) ac_try_echo=$ac_try;;
36803 esac
36804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36805 (eval "$ac_compile") 2>conftest.er1
36806 ac_status=$?
36807 grep -v '^ *+' conftest.er1 >conftest.err
36808 rm -f conftest.er1
36809 cat conftest.err >&5
36810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36811 (exit $ac_status); } && {
36812 test -z "$ac_c_werror_flag" ||
36813 test ! -s conftest.err
36814 } && test -s conftest.$ac_objext; then
36815 wx_cv_func_statfs=yes
36816 else
36817 echo "$as_me: failed program was:" >&5
36818 sed 's/^/| /' conftest.$ac_ext >&5
36819
36820 wx_cv_func_statfs=no
36821
36822 fi
36823
36824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36825
36826 fi
36827 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36828 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36829
36830 if test "$wx_cv_func_statfs" = "yes"; then
36831 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36832 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36833 if test "${wx_cv_func_statfs_decl+set}" = set; then
36834 echo $ECHO_N "(cached) $ECHO_C" >&6
36835 else
36836 ac_ext=cpp
36837 ac_cpp='$CXXCPP $CPPFLAGS'
36838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36841
36842 cat >conftest.$ac_ext <<_ACEOF
36843 /* confdefs.h. */
36844 _ACEOF
36845 cat confdefs.h >>conftest.$ac_ext
36846 cat >>conftest.$ac_ext <<_ACEOF
36847 /* end confdefs.h. */
36848
36849 #if defined(__BSD__)
36850 #include <sys/param.h>
36851 #include <sys/mount.h>
36852 #else
36853 #include <sys/vfs.h>
36854 #endif
36855
36856 int
36857 main ()
36858 {
36859
36860 struct statfs fs;
36861 statfs("", &fs);
36862
36863 ;
36864 return 0;
36865 }
36866 _ACEOF
36867 rm -f conftest.$ac_objext
36868 if { (ac_try="$ac_compile"
36869 case "(($ac_try" in
36870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36871 *) ac_try_echo=$ac_try;;
36872 esac
36873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36874 (eval "$ac_compile") 2>conftest.er1
36875 ac_status=$?
36876 grep -v '^ *+' conftest.er1 >conftest.err
36877 rm -f conftest.er1
36878 cat conftest.err >&5
36879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36880 (exit $ac_status); } && {
36881 test -z "$ac_cxx_werror_flag" ||
36882 test ! -s conftest.err
36883 } && test -s conftest.$ac_objext; then
36884 wx_cv_func_statfs_decl=yes
36885 else
36886 echo "$as_me: failed program was:" >&5
36887 sed 's/^/| /' conftest.$ac_ext >&5
36888
36889 wx_cv_func_statfs_decl=no
36890
36891 fi
36892
36893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36894 ac_ext=c
36895 ac_cpp='$CPP $CPPFLAGS'
36896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36899
36900
36901 fi
36902 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36903 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36904
36905 if test "$wx_cv_func_statfs_decl" = "yes"; then
36906 cat >>confdefs.h <<\_ACEOF
36907 #define HAVE_STATFS_DECL 1
36908 _ACEOF
36909
36910 fi
36911
36912 wx_cv_type_statvfs_t="struct statfs"
36913 cat >>confdefs.h <<\_ACEOF
36914 #define HAVE_STATFS 1
36915 _ACEOF
36916
36917 else
36918 { echo "$as_me:$LINENO: checking for statvfs" >&5
36919 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36920 if test "${wx_cv_func_statvfs+set}" = set; then
36921 echo $ECHO_N "(cached) $ECHO_C" >&6
36922 else
36923 cat >conftest.$ac_ext <<_ACEOF
36924 /* confdefs.h. */
36925 _ACEOF
36926 cat confdefs.h >>conftest.$ac_ext
36927 cat >>conftest.$ac_ext <<_ACEOF
36928 /* end confdefs.h. */
36929
36930 #include <stddef.h>
36931 #include <sys/statvfs.h>
36932
36933 int
36934 main ()
36935 {
36936
36937 statvfs("/", NULL);
36938
36939 ;
36940 return 0;
36941 }
36942 _ACEOF
36943 rm -f conftest.$ac_objext
36944 if { (ac_try="$ac_compile"
36945 case "(($ac_try" in
36946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36947 *) ac_try_echo=$ac_try;;
36948 esac
36949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36950 (eval "$ac_compile") 2>conftest.er1
36951 ac_status=$?
36952 grep -v '^ *+' conftest.er1 >conftest.err
36953 rm -f conftest.er1
36954 cat conftest.err >&5
36955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36956 (exit $ac_status); } && {
36957 test -z "$ac_c_werror_flag" ||
36958 test ! -s conftest.err
36959 } && test -s conftest.$ac_objext; then
36960 wx_cv_func_statvfs=yes
36961 else
36962 echo "$as_me: failed program was:" >&5
36963 sed 's/^/| /' conftest.$ac_ext >&5
36964
36965 wx_cv_func_statvfs=no
36966
36967 fi
36968
36969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36970
36971 fi
36972 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36973 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36974
36975 if test "$wx_cv_func_statvfs" = "yes"; then
36976 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36977 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36978 if test "${wx_cv_type_statvfs_t+set}" = set; then
36979 echo $ECHO_N "(cached) $ECHO_C" >&6
36980 else
36981 ac_ext=cpp
36982 ac_cpp='$CXXCPP $CPPFLAGS'
36983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36986
36987 cat >conftest.$ac_ext <<_ACEOF
36988 /* confdefs.h. */
36989 _ACEOF
36990 cat confdefs.h >>conftest.$ac_ext
36991 cat >>conftest.$ac_ext <<_ACEOF
36992 /* end confdefs.h. */
36993
36994 #include <sys/statvfs.h>
36995
36996 int
36997 main ()
36998 {
36999
37000 long l;
37001 statvfs_t fs;
37002 statvfs("/", &fs);
37003 l = fs.f_bsize;
37004 l += fs.f_blocks;
37005 l += fs.f_bavail;
37006
37007 ;
37008 return 0;
37009 }
37010 _ACEOF
37011 rm -f conftest.$ac_objext
37012 if { (ac_try="$ac_compile"
37013 case "(($ac_try" in
37014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37015 *) ac_try_echo=$ac_try;;
37016 esac
37017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37018 (eval "$ac_compile") 2>conftest.er1
37019 ac_status=$?
37020 grep -v '^ *+' conftest.er1 >conftest.err
37021 rm -f conftest.er1
37022 cat conftest.err >&5
37023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37024 (exit $ac_status); } && {
37025 test -z "$ac_cxx_werror_flag" ||
37026 test ! -s conftest.err
37027 } && test -s conftest.$ac_objext; then
37028 wx_cv_type_statvfs_t=statvfs_t
37029 else
37030 echo "$as_me: failed program was:" >&5
37031 sed 's/^/| /' conftest.$ac_ext >&5
37032
37033
37034 cat >conftest.$ac_ext <<_ACEOF
37035 /* confdefs.h. */
37036 _ACEOF
37037 cat confdefs.h >>conftest.$ac_ext
37038 cat >>conftest.$ac_ext <<_ACEOF
37039 /* end confdefs.h. */
37040
37041 #include <sys/statvfs.h>
37042
37043 int
37044 main ()
37045 {
37046
37047 long l;
37048 struct statvfs fs;
37049 statvfs("/", &fs);
37050 l = fs.f_bsize;
37051 l += fs.f_blocks;
37052 l += fs.f_bavail;
37053
37054 ;
37055 return 0;
37056 }
37057 _ACEOF
37058 rm -f conftest.$ac_objext
37059 if { (ac_try="$ac_compile"
37060 case "(($ac_try" in
37061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37062 *) ac_try_echo=$ac_try;;
37063 esac
37064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37065 (eval "$ac_compile") 2>conftest.er1
37066 ac_status=$?
37067 grep -v '^ *+' conftest.er1 >conftest.err
37068 rm -f conftest.er1
37069 cat conftest.err >&5
37070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37071 (exit $ac_status); } && {
37072 test -z "$ac_cxx_werror_flag" ||
37073 test ! -s conftest.err
37074 } && test -s conftest.$ac_objext; then
37075 wx_cv_type_statvfs_t="struct statvfs"
37076 else
37077 echo "$as_me: failed program was:" >&5
37078 sed 's/^/| /' conftest.$ac_ext >&5
37079
37080 wx_cv_type_statvfs_t="unknown"
37081
37082 fi
37083
37084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37085
37086
37087 fi
37088
37089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37090 ac_ext=c
37091 ac_cpp='$CPP $CPPFLAGS'
37092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37095
37096
37097 fi
37098 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37099 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37100
37101 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37102 cat >>confdefs.h <<\_ACEOF
37103 #define HAVE_STATVFS 1
37104 _ACEOF
37105
37106 fi
37107 else
37108 wx_cv_type_statvfs_t="unknown"
37109 fi
37110 fi
37111
37112 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37113 cat >>confdefs.h <<_ACEOF
37114 #define WX_STATFS_T $wx_cv_type_statvfs_t
37115 _ACEOF
37116
37117 else
37118 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37119 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37120 fi
37121
37122 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37123
37124
37125 for ac_func in fcntl flock
37126 do
37127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37128 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37130 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37131 echo $ECHO_N "(cached) $ECHO_C" >&6
37132 else
37133 cat >conftest.$ac_ext <<_ACEOF
37134 /* confdefs.h. */
37135 _ACEOF
37136 cat confdefs.h >>conftest.$ac_ext
37137 cat >>conftest.$ac_ext <<_ACEOF
37138 /* end confdefs.h. */
37139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37141 #define $ac_func innocuous_$ac_func
37142
37143 /* System header to define __stub macros and hopefully few prototypes,
37144 which can conflict with char $ac_func (); below.
37145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37146 <limits.h> exists even on freestanding compilers. */
37147
37148 #ifdef __STDC__
37149 # include <limits.h>
37150 #else
37151 # include <assert.h>
37152 #endif
37153
37154 #undef $ac_func
37155
37156 /* Override any GCC internal prototype to avoid an error.
37157 Use char because int might match the return type of a GCC
37158 builtin and then its argument prototype would still apply. */
37159 #ifdef __cplusplus
37160 extern "C"
37161 #endif
37162 char $ac_func ();
37163 /* The GNU C library defines this for functions which it implements
37164 to always fail with ENOSYS. Some functions are actually named
37165 something starting with __ and the normal name is an alias. */
37166 #if defined __stub_$ac_func || defined __stub___$ac_func
37167 choke me
37168 #endif
37169
37170 int
37171 main ()
37172 {
37173 return $ac_func ();
37174 ;
37175 return 0;
37176 }
37177 _ACEOF
37178 rm -f conftest.$ac_objext conftest$ac_exeext
37179 if { (ac_try="$ac_link"
37180 case "(($ac_try" in
37181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37182 *) ac_try_echo=$ac_try;;
37183 esac
37184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37185 (eval "$ac_link") 2>conftest.er1
37186 ac_status=$?
37187 grep -v '^ *+' conftest.er1 >conftest.err
37188 rm -f conftest.er1
37189 cat conftest.err >&5
37190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37191 (exit $ac_status); } && {
37192 test -z "$ac_c_werror_flag" ||
37193 test ! -s conftest.err
37194 } && test -s conftest$ac_exeext &&
37195 $as_test_x conftest$ac_exeext; then
37196 eval "$as_ac_var=yes"
37197 else
37198 echo "$as_me: failed program was:" >&5
37199 sed 's/^/| /' conftest.$ac_ext >&5
37200
37201 eval "$as_ac_var=no"
37202 fi
37203
37204 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37205 conftest$ac_exeext conftest.$ac_ext
37206 fi
37207 ac_res=`eval echo '${'$as_ac_var'}'`
37208 { echo "$as_me:$LINENO: result: $ac_res" >&5
37209 echo "${ECHO_T}$ac_res" >&6; }
37210 if test `eval echo '${'$as_ac_var'}'` = yes; then
37211 cat >>confdefs.h <<_ACEOF
37212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37213 _ACEOF
37214 break
37215 fi
37216 done
37217
37218
37219 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37220 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37221 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37222 wxUSE_SNGLINST_CHECKER=no
37223 fi
37224 fi
37225
37226
37227
37228 for ac_func in setenv putenv
37229 do
37230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37231 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37233 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37234 echo $ECHO_N "(cached) $ECHO_C" >&6
37235 else
37236 cat >conftest.$ac_ext <<_ACEOF
37237 /* confdefs.h. */
37238 _ACEOF
37239 cat confdefs.h >>conftest.$ac_ext
37240 cat >>conftest.$ac_ext <<_ACEOF
37241 /* end confdefs.h. */
37242 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37243 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37244 #define $ac_func innocuous_$ac_func
37245
37246 /* System header to define __stub macros and hopefully few prototypes,
37247 which can conflict with char $ac_func (); below.
37248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37249 <limits.h> exists even on freestanding compilers. */
37250
37251 #ifdef __STDC__
37252 # include <limits.h>
37253 #else
37254 # include <assert.h>
37255 #endif
37256
37257 #undef $ac_func
37258
37259 /* Override any GCC internal prototype to avoid an error.
37260 Use char because int might match the return type of a GCC
37261 builtin and then its argument prototype would still apply. */
37262 #ifdef __cplusplus
37263 extern "C"
37264 #endif
37265 char $ac_func ();
37266 /* The GNU C library defines this for functions which it implements
37267 to always fail with ENOSYS. Some functions are actually named
37268 something starting with __ and the normal name is an alias. */
37269 #if defined __stub_$ac_func || defined __stub___$ac_func
37270 choke me
37271 #endif
37272
37273 int
37274 main ()
37275 {
37276 return $ac_func ();
37277 ;
37278 return 0;
37279 }
37280 _ACEOF
37281 rm -f conftest.$ac_objext conftest$ac_exeext
37282 if { (ac_try="$ac_link"
37283 case "(($ac_try" in
37284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37285 *) ac_try_echo=$ac_try;;
37286 esac
37287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37288 (eval "$ac_link") 2>conftest.er1
37289 ac_status=$?
37290 grep -v '^ *+' conftest.er1 >conftest.err
37291 rm -f conftest.er1
37292 cat conftest.err >&5
37293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37294 (exit $ac_status); } && {
37295 test -z "$ac_c_werror_flag" ||
37296 test ! -s conftest.err
37297 } && test -s conftest$ac_exeext &&
37298 $as_test_x conftest$ac_exeext; then
37299 eval "$as_ac_var=yes"
37300 else
37301 echo "$as_me: failed program was:" >&5
37302 sed 's/^/| /' conftest.$ac_ext >&5
37303
37304 eval "$as_ac_var=no"
37305 fi
37306
37307 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37308 conftest$ac_exeext conftest.$ac_ext
37309 fi
37310 ac_res=`eval echo '${'$as_ac_var'}'`
37311 { echo "$as_me:$LINENO: result: $ac_res" >&5
37312 echo "${ECHO_T}$ac_res" >&6; }
37313 if test `eval echo '${'$as_ac_var'}'` = yes; then
37314 cat >>confdefs.h <<_ACEOF
37315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37316 _ACEOF
37317 break
37318 fi
37319 done
37320
37321 if test "$ac_cv_func_setenv" = "yes"; then
37322
37323 for ac_func in unsetenv
37324 do
37325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37326 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37328 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37329 echo $ECHO_N "(cached) $ECHO_C" >&6
37330 else
37331 cat >conftest.$ac_ext <<_ACEOF
37332 /* confdefs.h. */
37333 _ACEOF
37334 cat confdefs.h >>conftest.$ac_ext
37335 cat >>conftest.$ac_ext <<_ACEOF
37336 /* end confdefs.h. */
37337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37338 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37339 #define $ac_func innocuous_$ac_func
37340
37341 /* System header to define __stub macros and hopefully few prototypes,
37342 which can conflict with char $ac_func (); below.
37343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37344 <limits.h> exists even on freestanding compilers. */
37345
37346 #ifdef __STDC__
37347 # include <limits.h>
37348 #else
37349 # include <assert.h>
37350 #endif
37351
37352 #undef $ac_func
37353
37354 /* Override any GCC internal prototype to avoid an error.
37355 Use char because int might match the return type of a GCC
37356 builtin and then its argument prototype would still apply. */
37357 #ifdef __cplusplus
37358 extern "C"
37359 #endif
37360 char $ac_func ();
37361 /* The GNU C library defines this for functions which it implements
37362 to always fail with ENOSYS. Some functions are actually named
37363 something starting with __ and the normal name is an alias. */
37364 #if defined __stub_$ac_func || defined __stub___$ac_func
37365 choke me
37366 #endif
37367
37368 int
37369 main ()
37370 {
37371 return $ac_func ();
37372 ;
37373 return 0;
37374 }
37375 _ACEOF
37376 rm -f conftest.$ac_objext conftest$ac_exeext
37377 if { (ac_try="$ac_link"
37378 case "(($ac_try" in
37379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37380 *) ac_try_echo=$ac_try;;
37381 esac
37382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37383 (eval "$ac_link") 2>conftest.er1
37384 ac_status=$?
37385 grep -v '^ *+' conftest.er1 >conftest.err
37386 rm -f conftest.er1
37387 cat conftest.err >&5
37388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37389 (exit $ac_status); } && {
37390 test -z "$ac_c_werror_flag" ||
37391 test ! -s conftest.err
37392 } && test -s conftest$ac_exeext &&
37393 $as_test_x conftest$ac_exeext; then
37394 eval "$as_ac_var=yes"
37395 else
37396 echo "$as_me: failed program was:" >&5
37397 sed 's/^/| /' conftest.$ac_ext >&5
37398
37399 eval "$as_ac_var=no"
37400 fi
37401
37402 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37403 conftest$ac_exeext conftest.$ac_ext
37404 fi
37405 ac_res=`eval echo '${'$as_ac_var'}'`
37406 { echo "$as_me:$LINENO: result: $ac_res" >&5
37407 echo "${ECHO_T}$ac_res" >&6; }
37408 if test `eval echo '${'$as_ac_var'}'` = yes; then
37409 cat >>confdefs.h <<_ACEOF
37410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37411 _ACEOF
37412
37413 fi
37414 done
37415
37416 fi
37417
37418 HAVE_SOME_SLEEP_FUNC=0
37419 if test "$USE_BEOS" = 1; then
37420 cat >>confdefs.h <<\_ACEOF
37421 #define HAVE_SLEEP 1
37422 _ACEOF
37423
37424 HAVE_SOME_SLEEP_FUNC=1
37425 fi
37426
37427 if test "$USE_DARWIN" = 1; then
37428 cat >>confdefs.h <<\_ACEOF
37429 #define HAVE_USLEEP 1
37430 _ACEOF
37431
37432 HAVE_SOME_SLEEP_FUNC=1
37433 fi
37434
37435 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37436 POSIX4_LINK=
37437
37438 for ac_func in nanosleep
37439 do
37440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37441 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37443 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37444 echo $ECHO_N "(cached) $ECHO_C" >&6
37445 else
37446 cat >conftest.$ac_ext <<_ACEOF
37447 /* confdefs.h. */
37448 _ACEOF
37449 cat confdefs.h >>conftest.$ac_ext
37450 cat >>conftest.$ac_ext <<_ACEOF
37451 /* end confdefs.h. */
37452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37454 #define $ac_func innocuous_$ac_func
37455
37456 /* System header to define __stub macros and hopefully few prototypes,
37457 which can conflict with char $ac_func (); below.
37458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37459 <limits.h> exists even on freestanding compilers. */
37460
37461 #ifdef __STDC__
37462 # include <limits.h>
37463 #else
37464 # include <assert.h>
37465 #endif
37466
37467 #undef $ac_func
37468
37469 /* Override any GCC internal prototype to avoid an error.
37470 Use char because int might match the return type of a GCC
37471 builtin and then its argument prototype would still apply. */
37472 #ifdef __cplusplus
37473 extern "C"
37474 #endif
37475 char $ac_func ();
37476 /* The GNU C library defines this for functions which it implements
37477 to always fail with ENOSYS. Some functions are actually named
37478 something starting with __ and the normal name is an alias. */
37479 #if defined __stub_$ac_func || defined __stub___$ac_func
37480 choke me
37481 #endif
37482
37483 int
37484 main ()
37485 {
37486 return $ac_func ();
37487 ;
37488 return 0;
37489 }
37490 _ACEOF
37491 rm -f conftest.$ac_objext conftest$ac_exeext
37492 if { (ac_try="$ac_link"
37493 case "(($ac_try" in
37494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37495 *) ac_try_echo=$ac_try;;
37496 esac
37497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37498 (eval "$ac_link") 2>conftest.er1
37499 ac_status=$?
37500 grep -v '^ *+' conftest.er1 >conftest.err
37501 rm -f conftest.er1
37502 cat conftest.err >&5
37503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37504 (exit $ac_status); } && {
37505 test -z "$ac_c_werror_flag" ||
37506 test ! -s conftest.err
37507 } && test -s conftest$ac_exeext &&
37508 $as_test_x conftest$ac_exeext; then
37509 eval "$as_ac_var=yes"
37510 else
37511 echo "$as_me: failed program was:" >&5
37512 sed 's/^/| /' conftest.$ac_ext >&5
37513
37514 eval "$as_ac_var=no"
37515 fi
37516
37517 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37518 conftest$ac_exeext conftest.$ac_ext
37519 fi
37520 ac_res=`eval echo '${'$as_ac_var'}'`
37521 { echo "$as_me:$LINENO: result: $ac_res" >&5
37522 echo "${ECHO_T}$ac_res" >&6; }
37523 if test `eval echo '${'$as_ac_var'}'` = yes; then
37524 cat >>confdefs.h <<_ACEOF
37525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37526 _ACEOF
37527 cat >>confdefs.h <<\_ACEOF
37528 #define HAVE_NANOSLEEP 1
37529 _ACEOF
37530
37531 else
37532
37533 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37534 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37535 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37536 echo $ECHO_N "(cached) $ECHO_C" >&6
37537 else
37538 ac_check_lib_save_LIBS=$LIBS
37539 LIBS="-lposix4 $LIBS"
37540 cat >conftest.$ac_ext <<_ACEOF
37541 /* confdefs.h. */
37542 _ACEOF
37543 cat confdefs.h >>conftest.$ac_ext
37544 cat >>conftest.$ac_ext <<_ACEOF
37545 /* end confdefs.h. */
37546
37547 /* Override any GCC internal prototype to avoid an error.
37548 Use char because int might match the return type of a GCC
37549 builtin and then its argument prototype would still apply. */
37550 #ifdef __cplusplus
37551 extern "C"
37552 #endif
37553 char nanosleep ();
37554 int
37555 main ()
37556 {
37557 return nanosleep ();
37558 ;
37559 return 0;
37560 }
37561 _ACEOF
37562 rm -f conftest.$ac_objext conftest$ac_exeext
37563 if { (ac_try="$ac_link"
37564 case "(($ac_try" in
37565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37566 *) ac_try_echo=$ac_try;;
37567 esac
37568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37569 (eval "$ac_link") 2>conftest.er1
37570 ac_status=$?
37571 grep -v '^ *+' conftest.er1 >conftest.err
37572 rm -f conftest.er1
37573 cat conftest.err >&5
37574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37575 (exit $ac_status); } && {
37576 test -z "$ac_c_werror_flag" ||
37577 test ! -s conftest.err
37578 } && test -s conftest$ac_exeext &&
37579 $as_test_x conftest$ac_exeext; then
37580 ac_cv_lib_posix4_nanosleep=yes
37581 else
37582 echo "$as_me: failed program was:" >&5
37583 sed 's/^/| /' conftest.$ac_ext >&5
37584
37585 ac_cv_lib_posix4_nanosleep=no
37586 fi
37587
37588 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37589 conftest$ac_exeext conftest.$ac_ext
37590 LIBS=$ac_check_lib_save_LIBS
37591 fi
37592 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37593 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37594 if test $ac_cv_lib_posix4_nanosleep = yes; then
37595
37596 cat >>confdefs.h <<\_ACEOF
37597 #define HAVE_NANOSLEEP 1
37598 _ACEOF
37599
37600 POSIX4_LINK=" -lposix4"
37601
37602 else
37603
37604
37605 for wx_func in usleep
37606 do
37607 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37608 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37609 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37610 echo $ECHO_N "(cached) $ECHO_C" >&6
37611 else
37612
37613 cat >conftest.$ac_ext <<_ACEOF
37614
37615 /* confdefs.h. */
37616 _ACEOF
37617 cat confdefs.h >>conftest.$ac_ext
37618 cat >>conftest.$ac_ext <<_ACEOF
37619 /* end confdefs.h. */
37620
37621
37622 $ac_includes_default
37623
37624 int
37625 main ()
37626 {
37627
37628 #ifndef $wx_func
37629 &$wx_func;
37630 #endif
37631
37632
37633 ;
37634 return 0;
37635 }
37636
37637 _ACEOF
37638 rm -f conftest.$ac_objext conftest$ac_exeext
37639 if { (ac_try="$ac_link"
37640 case "(($ac_try" in
37641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37642 *) ac_try_echo=$ac_try;;
37643 esac
37644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37645 (eval "$ac_link") 2>conftest.er1
37646 ac_status=$?
37647 grep -v '^ *+' conftest.er1 >conftest.err
37648 rm -f conftest.er1
37649 cat conftest.err >&5
37650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37651 (exit $ac_status); } && {
37652 test -z "$ac_c_werror_flag" ||
37653 test ! -s conftest.err
37654 } && test -s conftest$ac_exeext &&
37655 $as_test_x conftest$ac_exeext; then
37656 eval wx_cv_func_$wx_func=yes
37657 else
37658 echo "$as_me: failed program was:" >&5
37659 sed 's/^/| /' conftest.$ac_ext >&5
37660
37661 eval wx_cv_func_$wx_func=no
37662 fi
37663
37664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37665 conftest$ac_exeext conftest.$ac_ext
37666
37667 fi
37668 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37669 { echo "$as_me:$LINENO: result: $ac_res" >&5
37670 echo "${ECHO_T}$ac_res" >&6; }
37671
37672 if eval test \$wx_cv_func_$wx_func = yes
37673 then
37674 cat >>confdefs.h <<_ACEOF
37675 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37676 _ACEOF
37677
37678
37679 else
37680 :
37681 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37682 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37683
37684 fi
37685 done
37686
37687
37688
37689 fi
37690
37691
37692
37693 fi
37694 done
37695
37696 fi
37697
37698
37699 for wx_func in uname
37700 do
37701 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37702 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37703 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37704 echo $ECHO_N "(cached) $ECHO_C" >&6
37705 else
37706
37707 cat >conftest.$ac_ext <<_ACEOF
37708
37709 /* confdefs.h. */
37710 _ACEOF
37711 cat confdefs.h >>conftest.$ac_ext
37712 cat >>conftest.$ac_ext <<_ACEOF
37713 /* end confdefs.h. */
37714
37715 #include <sys/utsname.h>
37716 $ac_includes_default
37717
37718 int
37719 main ()
37720 {
37721
37722 #ifndef $wx_func
37723 &$wx_func;
37724 #endif
37725
37726
37727 ;
37728 return 0;
37729 }
37730
37731 _ACEOF
37732 rm -f conftest.$ac_objext conftest$ac_exeext
37733 if { (ac_try="$ac_link"
37734 case "(($ac_try" in
37735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37736 *) ac_try_echo=$ac_try;;
37737 esac
37738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37739 (eval "$ac_link") 2>conftest.er1
37740 ac_status=$?
37741 grep -v '^ *+' conftest.er1 >conftest.err
37742 rm -f conftest.er1
37743 cat conftest.err >&5
37744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37745 (exit $ac_status); } && {
37746 test -z "$ac_c_werror_flag" ||
37747 test ! -s conftest.err
37748 } && test -s conftest$ac_exeext &&
37749 $as_test_x conftest$ac_exeext; then
37750 eval wx_cv_func_$wx_func=yes
37751 else
37752 echo "$as_me: failed program was:" >&5
37753 sed 's/^/| /' conftest.$ac_ext >&5
37754
37755 eval wx_cv_func_$wx_func=no
37756 fi
37757
37758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37759 conftest$ac_exeext conftest.$ac_ext
37760
37761 fi
37762 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37763 { echo "$as_me:$LINENO: result: $ac_res" >&5
37764 echo "${ECHO_T}$ac_res" >&6; }
37765
37766 if eval test \$wx_cv_func_$wx_func = yes
37767 then
37768 cat >>confdefs.h <<_ACEOF
37769 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37770 _ACEOF
37771
37772
37773 else
37774 :
37775
37776 fi
37777 done
37778
37779 if test "$wx_cv_func_uname" != yes; then
37780
37781 for wx_func in gethostname
37782 do
37783 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37784 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37785 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37786 echo $ECHO_N "(cached) $ECHO_C" >&6
37787 else
37788
37789 cat >conftest.$ac_ext <<_ACEOF
37790
37791 /* confdefs.h. */
37792 _ACEOF
37793 cat confdefs.h >>conftest.$ac_ext
37794 cat >>conftest.$ac_ext <<_ACEOF
37795 /* end confdefs.h. */
37796
37797
37798 $ac_includes_default
37799
37800 int
37801 main ()
37802 {
37803
37804 #ifndef $wx_func
37805 &$wx_func;
37806 #endif
37807
37808
37809 ;
37810 return 0;
37811 }
37812
37813 _ACEOF
37814 rm -f conftest.$ac_objext conftest$ac_exeext
37815 if { (ac_try="$ac_link"
37816 case "(($ac_try" in
37817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37818 *) ac_try_echo=$ac_try;;
37819 esac
37820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37821 (eval "$ac_link") 2>conftest.er1
37822 ac_status=$?
37823 grep -v '^ *+' conftest.er1 >conftest.err
37824 rm -f conftest.er1
37825 cat conftest.err >&5
37826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37827 (exit $ac_status); } && {
37828 test -z "$ac_c_werror_flag" ||
37829 test ! -s conftest.err
37830 } && test -s conftest$ac_exeext &&
37831 $as_test_x conftest$ac_exeext; then
37832 eval wx_cv_func_$wx_func=yes
37833 else
37834 echo "$as_me: failed program was:" >&5
37835 sed 's/^/| /' conftest.$ac_ext >&5
37836
37837 eval wx_cv_func_$wx_func=no
37838 fi
37839
37840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37841 conftest$ac_exeext conftest.$ac_ext
37842
37843 fi
37844 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37845 { echo "$as_me:$LINENO: result: $ac_res" >&5
37846 echo "${ECHO_T}$ac_res" >&6; }
37847
37848 if eval test \$wx_cv_func_$wx_func = yes
37849 then
37850 cat >>confdefs.h <<_ACEOF
37851 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37852 _ACEOF
37853
37854
37855 else
37856 :
37857
37858 fi
37859 done
37860
37861 fi
37862
37863
37864 for wx_func in strtok_r
37865 do
37866 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37867 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37868 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37869 echo $ECHO_N "(cached) $ECHO_C" >&6
37870 else
37871
37872 cat >conftest.$ac_ext <<_ACEOF
37873
37874 /* confdefs.h. */
37875 _ACEOF
37876 cat confdefs.h >>conftest.$ac_ext
37877 cat >>conftest.$ac_ext <<_ACEOF
37878 /* end confdefs.h. */
37879
37880 #define _REENTRANT
37881 $ac_includes_default
37882
37883 int
37884 main ()
37885 {
37886
37887 #ifndef $wx_func
37888 &$wx_func;
37889 #endif
37890
37891
37892 ;
37893 return 0;
37894 }
37895
37896 _ACEOF
37897 rm -f conftest.$ac_objext conftest$ac_exeext
37898 if { (ac_try="$ac_link"
37899 case "(($ac_try" in
37900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37901 *) ac_try_echo=$ac_try;;
37902 esac
37903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37904 (eval "$ac_link") 2>conftest.er1
37905 ac_status=$?
37906 grep -v '^ *+' conftest.er1 >conftest.err
37907 rm -f conftest.er1
37908 cat conftest.err >&5
37909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37910 (exit $ac_status); } && {
37911 test -z "$ac_c_werror_flag" ||
37912 test ! -s conftest.err
37913 } && test -s conftest$ac_exeext &&
37914 $as_test_x conftest$ac_exeext; then
37915 eval wx_cv_func_$wx_func=yes
37916 else
37917 echo "$as_me: failed program was:" >&5
37918 sed 's/^/| /' conftest.$ac_ext >&5
37919
37920 eval wx_cv_func_$wx_func=no
37921 fi
37922
37923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37924 conftest$ac_exeext conftest.$ac_ext
37925
37926 fi
37927 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37928 { echo "$as_me:$LINENO: result: $ac_res" >&5
37929 echo "${ECHO_T}$ac_res" >&6; }
37930
37931 if eval test \$wx_cv_func_$wx_func = yes
37932 then
37933 cat >>confdefs.h <<_ACEOF
37934 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37935 _ACEOF
37936
37937
37938 else
37939 :
37940
37941 fi
37942 done
37943
37944
37945 INET_LINK=
37946
37947 for ac_func in inet_addr
37948 do
37949 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37950 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37951 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37952 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37953 echo $ECHO_N "(cached) $ECHO_C" >&6
37954 else
37955 cat >conftest.$ac_ext <<_ACEOF
37956 /* confdefs.h. */
37957 _ACEOF
37958 cat confdefs.h >>conftest.$ac_ext
37959 cat >>conftest.$ac_ext <<_ACEOF
37960 /* end confdefs.h. */
37961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37963 #define $ac_func innocuous_$ac_func
37964
37965 /* System header to define __stub macros and hopefully few prototypes,
37966 which can conflict with char $ac_func (); below.
37967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37968 <limits.h> exists even on freestanding compilers. */
37969
37970 #ifdef __STDC__
37971 # include <limits.h>
37972 #else
37973 # include <assert.h>
37974 #endif
37975
37976 #undef $ac_func
37977
37978 /* Override any GCC internal prototype to avoid an error.
37979 Use char because int might match the return type of a GCC
37980 builtin and then its argument prototype would still apply. */
37981 #ifdef __cplusplus
37982 extern "C"
37983 #endif
37984 char $ac_func ();
37985 /* The GNU C library defines this for functions which it implements
37986 to always fail with ENOSYS. Some functions are actually named
37987 something starting with __ and the normal name is an alias. */
37988 #if defined __stub_$ac_func || defined __stub___$ac_func
37989 choke me
37990 #endif
37991
37992 int
37993 main ()
37994 {
37995 return $ac_func ();
37996 ;
37997 return 0;
37998 }
37999 _ACEOF
38000 rm -f conftest.$ac_objext conftest$ac_exeext
38001 if { (ac_try="$ac_link"
38002 case "(($ac_try" in
38003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38004 *) ac_try_echo=$ac_try;;
38005 esac
38006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38007 (eval "$ac_link") 2>conftest.er1
38008 ac_status=$?
38009 grep -v '^ *+' conftest.er1 >conftest.err
38010 rm -f conftest.er1
38011 cat conftest.err >&5
38012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38013 (exit $ac_status); } && {
38014 test -z "$ac_c_werror_flag" ||
38015 test ! -s conftest.err
38016 } && test -s conftest$ac_exeext &&
38017 $as_test_x conftest$ac_exeext; then
38018 eval "$as_ac_var=yes"
38019 else
38020 echo "$as_me: failed program was:" >&5
38021 sed 's/^/| /' conftest.$ac_ext >&5
38022
38023 eval "$as_ac_var=no"
38024 fi
38025
38026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38027 conftest$ac_exeext conftest.$ac_ext
38028 fi
38029 ac_res=`eval echo '${'$as_ac_var'}'`
38030 { echo "$as_me:$LINENO: result: $ac_res" >&5
38031 echo "${ECHO_T}$ac_res" >&6; }
38032 if test `eval echo '${'$as_ac_var'}'` = yes; then
38033 cat >>confdefs.h <<_ACEOF
38034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38035 _ACEOF
38036 cat >>confdefs.h <<\_ACEOF
38037 #define HAVE_INET_ADDR 1
38038 _ACEOF
38039
38040 else
38041
38042 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38043 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38044 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38045 echo $ECHO_N "(cached) $ECHO_C" >&6
38046 else
38047 ac_check_lib_save_LIBS=$LIBS
38048 LIBS="-lnsl $LIBS"
38049 cat >conftest.$ac_ext <<_ACEOF
38050 /* confdefs.h. */
38051 _ACEOF
38052 cat confdefs.h >>conftest.$ac_ext
38053 cat >>conftest.$ac_ext <<_ACEOF
38054 /* end confdefs.h. */
38055
38056 /* Override any GCC internal prototype to avoid an error.
38057 Use char because int might match the return type of a GCC
38058 builtin and then its argument prototype would still apply. */
38059 #ifdef __cplusplus
38060 extern "C"
38061 #endif
38062 char inet_addr ();
38063 int
38064 main ()
38065 {
38066 return inet_addr ();
38067 ;
38068 return 0;
38069 }
38070 _ACEOF
38071 rm -f conftest.$ac_objext conftest$ac_exeext
38072 if { (ac_try="$ac_link"
38073 case "(($ac_try" in
38074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38075 *) ac_try_echo=$ac_try;;
38076 esac
38077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38078 (eval "$ac_link") 2>conftest.er1
38079 ac_status=$?
38080 grep -v '^ *+' conftest.er1 >conftest.err
38081 rm -f conftest.er1
38082 cat conftest.err >&5
38083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38084 (exit $ac_status); } && {
38085 test -z "$ac_c_werror_flag" ||
38086 test ! -s conftest.err
38087 } && test -s conftest$ac_exeext &&
38088 $as_test_x conftest$ac_exeext; then
38089 ac_cv_lib_nsl_inet_addr=yes
38090 else
38091 echo "$as_me: failed program was:" >&5
38092 sed 's/^/| /' conftest.$ac_ext >&5
38093
38094 ac_cv_lib_nsl_inet_addr=no
38095 fi
38096
38097 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38098 conftest$ac_exeext conftest.$ac_ext
38099 LIBS=$ac_check_lib_save_LIBS
38100 fi
38101 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38102 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38103 if test $ac_cv_lib_nsl_inet_addr = yes; then
38104 INET_LINK="nsl"
38105 else
38106
38107 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38108 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38109 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38110 echo $ECHO_N "(cached) $ECHO_C" >&6
38111 else
38112 ac_check_lib_save_LIBS=$LIBS
38113 LIBS="-lresolv $LIBS"
38114 cat >conftest.$ac_ext <<_ACEOF
38115 /* confdefs.h. */
38116 _ACEOF
38117 cat confdefs.h >>conftest.$ac_ext
38118 cat >>conftest.$ac_ext <<_ACEOF
38119 /* end confdefs.h. */
38120
38121 /* Override any GCC internal prototype to avoid an error.
38122 Use char because int might match the return type of a GCC
38123 builtin and then its argument prototype would still apply. */
38124 #ifdef __cplusplus
38125 extern "C"
38126 #endif
38127 char inet_addr ();
38128 int
38129 main ()
38130 {
38131 return inet_addr ();
38132 ;
38133 return 0;
38134 }
38135 _ACEOF
38136 rm -f conftest.$ac_objext conftest$ac_exeext
38137 if { (ac_try="$ac_link"
38138 case "(($ac_try" in
38139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38140 *) ac_try_echo=$ac_try;;
38141 esac
38142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38143 (eval "$ac_link") 2>conftest.er1
38144 ac_status=$?
38145 grep -v '^ *+' conftest.er1 >conftest.err
38146 rm -f conftest.er1
38147 cat conftest.err >&5
38148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38149 (exit $ac_status); } && {
38150 test -z "$ac_c_werror_flag" ||
38151 test ! -s conftest.err
38152 } && test -s conftest$ac_exeext &&
38153 $as_test_x conftest$ac_exeext; then
38154 ac_cv_lib_resolv_inet_addr=yes
38155 else
38156 echo "$as_me: failed program was:" >&5
38157 sed 's/^/| /' conftest.$ac_ext >&5
38158
38159 ac_cv_lib_resolv_inet_addr=no
38160 fi
38161
38162 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38163 conftest$ac_exeext conftest.$ac_ext
38164 LIBS=$ac_check_lib_save_LIBS
38165 fi
38166 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38167 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38168 if test $ac_cv_lib_resolv_inet_addr = yes; then
38169 INET_LINK="resolv"
38170 else
38171
38172 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38173 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38174 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38175 echo $ECHO_N "(cached) $ECHO_C" >&6
38176 else
38177 ac_check_lib_save_LIBS=$LIBS
38178 LIBS="-lsocket $LIBS"
38179 cat >conftest.$ac_ext <<_ACEOF
38180 /* confdefs.h. */
38181 _ACEOF
38182 cat confdefs.h >>conftest.$ac_ext
38183 cat >>conftest.$ac_ext <<_ACEOF
38184 /* end confdefs.h. */
38185
38186 /* Override any GCC internal prototype to avoid an error.
38187 Use char because int might match the return type of a GCC
38188 builtin and then its argument prototype would still apply. */
38189 #ifdef __cplusplus
38190 extern "C"
38191 #endif
38192 char inet_addr ();
38193 int
38194 main ()
38195 {
38196 return inet_addr ();
38197 ;
38198 return 0;
38199 }
38200 _ACEOF
38201 rm -f conftest.$ac_objext conftest$ac_exeext
38202 if { (ac_try="$ac_link"
38203 case "(($ac_try" in
38204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38205 *) ac_try_echo=$ac_try;;
38206 esac
38207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38208 (eval "$ac_link") 2>conftest.er1
38209 ac_status=$?
38210 grep -v '^ *+' conftest.er1 >conftest.err
38211 rm -f conftest.er1
38212 cat conftest.err >&5
38213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38214 (exit $ac_status); } && {
38215 test -z "$ac_c_werror_flag" ||
38216 test ! -s conftest.err
38217 } && test -s conftest$ac_exeext &&
38218 $as_test_x conftest$ac_exeext; then
38219 ac_cv_lib_socket_inet_addr=yes
38220 else
38221 echo "$as_me: failed program was:" >&5
38222 sed 's/^/| /' conftest.$ac_ext >&5
38223
38224 ac_cv_lib_socket_inet_addr=no
38225 fi
38226
38227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38228 conftest$ac_exeext conftest.$ac_ext
38229 LIBS=$ac_check_lib_save_LIBS
38230 fi
38231 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38232 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38233 if test $ac_cv_lib_socket_inet_addr = yes; then
38234 INET_LINK="socket"
38235
38236 fi
38237
38238
38239
38240 fi
38241
38242
38243
38244 fi
38245
38246
38247
38248 fi
38249 done
38250
38251
38252
38253 for ac_func in inet_aton
38254 do
38255 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38256 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38258 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38259 echo $ECHO_N "(cached) $ECHO_C" >&6
38260 else
38261 cat >conftest.$ac_ext <<_ACEOF
38262 /* confdefs.h. */
38263 _ACEOF
38264 cat confdefs.h >>conftest.$ac_ext
38265 cat >>conftest.$ac_ext <<_ACEOF
38266 /* end confdefs.h. */
38267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38269 #define $ac_func innocuous_$ac_func
38270
38271 /* System header to define __stub macros and hopefully few prototypes,
38272 which can conflict with char $ac_func (); below.
38273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38274 <limits.h> exists even on freestanding compilers. */
38275
38276 #ifdef __STDC__
38277 # include <limits.h>
38278 #else
38279 # include <assert.h>
38280 #endif
38281
38282 #undef $ac_func
38283
38284 /* Override any GCC internal prototype to avoid an error.
38285 Use char because int might match the return type of a GCC
38286 builtin and then its argument prototype would still apply. */
38287 #ifdef __cplusplus
38288 extern "C"
38289 #endif
38290 char $ac_func ();
38291 /* The GNU C library defines this for functions which it implements
38292 to always fail with ENOSYS. Some functions are actually named
38293 something starting with __ and the normal name is an alias. */
38294 #if defined __stub_$ac_func || defined __stub___$ac_func
38295 choke me
38296 #endif
38297
38298 int
38299 main ()
38300 {
38301 return $ac_func ();
38302 ;
38303 return 0;
38304 }
38305 _ACEOF
38306 rm -f conftest.$ac_objext conftest$ac_exeext
38307 if { (ac_try="$ac_link"
38308 case "(($ac_try" in
38309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38310 *) ac_try_echo=$ac_try;;
38311 esac
38312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38313 (eval "$ac_link") 2>conftest.er1
38314 ac_status=$?
38315 grep -v '^ *+' conftest.er1 >conftest.err
38316 rm -f conftest.er1
38317 cat conftest.err >&5
38318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38319 (exit $ac_status); } && {
38320 test -z "$ac_c_werror_flag" ||
38321 test ! -s conftest.err
38322 } && test -s conftest$ac_exeext &&
38323 $as_test_x conftest$ac_exeext; then
38324 eval "$as_ac_var=yes"
38325 else
38326 echo "$as_me: failed program was:" >&5
38327 sed 's/^/| /' conftest.$ac_ext >&5
38328
38329 eval "$as_ac_var=no"
38330 fi
38331
38332 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38333 conftest$ac_exeext conftest.$ac_ext
38334 fi
38335 ac_res=`eval echo '${'$as_ac_var'}'`
38336 { echo "$as_me:$LINENO: result: $ac_res" >&5
38337 echo "${ECHO_T}$ac_res" >&6; }
38338 if test `eval echo '${'$as_ac_var'}'` = yes; then
38339 cat >>confdefs.h <<_ACEOF
38340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38341 _ACEOF
38342 cat >>confdefs.h <<\_ACEOF
38343 #define HAVE_INET_ATON 1
38344 _ACEOF
38345
38346 else
38347
38348 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38349 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38350 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38351 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38352 echo $ECHO_N "(cached) $ECHO_C" >&6
38353 else
38354 ac_check_lib_save_LIBS=$LIBS
38355 LIBS="-l$INET_LINK $LIBS"
38356 cat >conftest.$ac_ext <<_ACEOF
38357 /* confdefs.h. */
38358 _ACEOF
38359 cat confdefs.h >>conftest.$ac_ext
38360 cat >>conftest.$ac_ext <<_ACEOF
38361 /* end confdefs.h. */
38362
38363 /* Override any GCC internal prototype to avoid an error.
38364 Use char because int might match the return type of a GCC
38365 builtin and then its argument prototype would still apply. */
38366 #ifdef __cplusplus
38367 extern "C"
38368 #endif
38369 char inet_aton ();
38370 int
38371 main ()
38372 {
38373 return inet_aton ();
38374 ;
38375 return 0;
38376 }
38377 _ACEOF
38378 rm -f conftest.$ac_objext conftest$ac_exeext
38379 if { (ac_try="$ac_link"
38380 case "(($ac_try" in
38381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38382 *) ac_try_echo=$ac_try;;
38383 esac
38384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38385 (eval "$ac_link") 2>conftest.er1
38386 ac_status=$?
38387 grep -v '^ *+' conftest.er1 >conftest.err
38388 rm -f conftest.er1
38389 cat conftest.err >&5
38390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38391 (exit $ac_status); } && {
38392 test -z "$ac_c_werror_flag" ||
38393 test ! -s conftest.err
38394 } && test -s conftest$ac_exeext &&
38395 $as_test_x conftest$ac_exeext; then
38396 eval "$as_ac_Lib=yes"
38397 else
38398 echo "$as_me: failed program was:" >&5
38399 sed 's/^/| /' conftest.$ac_ext >&5
38400
38401 eval "$as_ac_Lib=no"
38402 fi
38403
38404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38405 conftest$ac_exeext conftest.$ac_ext
38406 LIBS=$ac_check_lib_save_LIBS
38407 fi
38408 ac_res=`eval echo '${'$as_ac_Lib'}'`
38409 { echo "$as_me:$LINENO: result: $ac_res" >&5
38410 echo "${ECHO_T}$ac_res" >&6; }
38411 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38412 cat >>confdefs.h <<\_ACEOF
38413 #define HAVE_INET_ATON 1
38414 _ACEOF
38415
38416 fi
38417
38418
38419 fi
38420 done
38421
38422
38423 if test "x$INET_LINK" != "x"; then
38424 cat >>confdefs.h <<\_ACEOF
38425 #define HAVE_INET_ADDR 1
38426 _ACEOF
38427
38428 INET_LINK=" -l$INET_LINK"
38429 fi
38430
38431
38432 for wx_func in fdopen
38433 do
38434 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38435 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38436 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38437 echo $ECHO_N "(cached) $ECHO_C" >&6
38438 else
38439
38440 cat >conftest.$ac_ext <<_ACEOF
38441
38442 /* confdefs.h. */
38443 _ACEOF
38444 cat confdefs.h >>conftest.$ac_ext
38445 cat >>conftest.$ac_ext <<_ACEOF
38446 /* end confdefs.h. */
38447
38448
38449 $ac_includes_default
38450
38451 int
38452 main ()
38453 {
38454
38455 #ifndef $wx_func
38456 &$wx_func;
38457 #endif
38458
38459
38460 ;
38461 return 0;
38462 }
38463
38464 _ACEOF
38465 rm -f conftest.$ac_objext conftest$ac_exeext
38466 if { (ac_try="$ac_link"
38467 case "(($ac_try" in
38468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38469 *) ac_try_echo=$ac_try;;
38470 esac
38471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38472 (eval "$ac_link") 2>conftest.er1
38473 ac_status=$?
38474 grep -v '^ *+' conftest.er1 >conftest.err
38475 rm -f conftest.er1
38476 cat conftest.err >&5
38477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38478 (exit $ac_status); } && {
38479 test -z "$ac_c_werror_flag" ||
38480 test ! -s conftest.err
38481 } && test -s conftest$ac_exeext &&
38482 $as_test_x conftest$ac_exeext; then
38483 eval wx_cv_func_$wx_func=yes
38484 else
38485 echo "$as_me: failed program was:" >&5
38486 sed 's/^/| /' conftest.$ac_ext >&5
38487
38488 eval wx_cv_func_$wx_func=no
38489 fi
38490
38491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38492 conftest$ac_exeext conftest.$ac_ext
38493
38494 fi
38495 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38496 { echo "$as_me:$LINENO: result: $ac_res" >&5
38497 echo "${ECHO_T}$ac_res" >&6; }
38498
38499 if eval test \$wx_cv_func_$wx_func = yes
38500 then
38501 cat >>confdefs.h <<_ACEOF
38502 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38503 _ACEOF
38504
38505
38506 else
38507 :
38508
38509 fi
38510 done
38511
38512
38513 if test "$wxUSE_TARSTREAM" = "yes"; then
38514
38515 for wx_func in sysconf
38516 do
38517 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38518 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38519 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38520 echo $ECHO_N "(cached) $ECHO_C" >&6
38521 else
38522
38523 cat >conftest.$ac_ext <<_ACEOF
38524
38525 /* confdefs.h. */
38526 _ACEOF
38527 cat confdefs.h >>conftest.$ac_ext
38528 cat >>conftest.$ac_ext <<_ACEOF
38529 /* end confdefs.h. */
38530
38531
38532 $ac_includes_default
38533
38534 int
38535 main ()
38536 {
38537
38538 #ifndef $wx_func
38539 &$wx_func;
38540 #endif
38541
38542
38543 ;
38544 return 0;
38545 }
38546
38547 _ACEOF
38548 rm -f conftest.$ac_objext conftest$ac_exeext
38549 if { (ac_try="$ac_link"
38550 case "(($ac_try" in
38551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38552 *) ac_try_echo=$ac_try;;
38553 esac
38554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38555 (eval "$ac_link") 2>conftest.er1
38556 ac_status=$?
38557 grep -v '^ *+' conftest.er1 >conftest.err
38558 rm -f conftest.er1
38559 cat conftest.err >&5
38560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38561 (exit $ac_status); } && {
38562 test -z "$ac_c_werror_flag" ||
38563 test ! -s conftest.err
38564 } && test -s conftest$ac_exeext &&
38565 $as_test_x conftest$ac_exeext; then
38566 eval wx_cv_func_$wx_func=yes
38567 else
38568 echo "$as_me: failed program was:" >&5
38569 sed 's/^/| /' conftest.$ac_ext >&5
38570
38571 eval wx_cv_func_$wx_func=no
38572 fi
38573
38574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38575 conftest$ac_exeext conftest.$ac_ext
38576
38577 fi
38578 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38579 { echo "$as_me:$LINENO: result: $ac_res" >&5
38580 echo "${ECHO_T}$ac_res" >&6; }
38581
38582 if eval test \$wx_cv_func_$wx_func = yes
38583 then
38584 cat >>confdefs.h <<_ACEOF
38585 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38586 _ACEOF
38587
38588
38589 else
38590 :
38591
38592 fi
38593 done
38594
38595
38596
38597 for wx_func in getpwuid_r
38598 do
38599 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38600 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38601 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38602 echo $ECHO_N "(cached) $ECHO_C" >&6
38603 else
38604
38605 cat >conftest.$ac_ext <<_ACEOF
38606
38607 /* confdefs.h. */
38608 _ACEOF
38609 cat confdefs.h >>conftest.$ac_ext
38610 cat >>conftest.$ac_ext <<_ACEOF
38611 /* end confdefs.h. */
38612
38613
38614 #define _REENTRANT
38615 #include <pwd.h>
38616
38617 $ac_includes_default
38618
38619 int
38620 main ()
38621 {
38622
38623 #ifndef $wx_func
38624 &$wx_func;
38625 #endif
38626
38627 struct passwd pw, *ppw;
38628 char buf[1024];
38629 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38630
38631
38632 ;
38633 return 0;
38634 }
38635
38636 _ACEOF
38637 rm -f conftest.$ac_objext conftest$ac_exeext
38638 if { (ac_try="$ac_link"
38639 case "(($ac_try" in
38640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38641 *) ac_try_echo=$ac_try;;
38642 esac
38643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38644 (eval "$ac_link") 2>conftest.er1
38645 ac_status=$?
38646 grep -v '^ *+' conftest.er1 >conftest.err
38647 rm -f conftest.er1
38648 cat conftest.err >&5
38649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38650 (exit $ac_status); } && {
38651 test -z "$ac_c_werror_flag" ||
38652 test ! -s conftest.err
38653 } && test -s conftest$ac_exeext &&
38654 $as_test_x conftest$ac_exeext; then
38655 eval wx_cv_func_$wx_func=yes
38656 else
38657 echo "$as_me: failed program was:" >&5
38658 sed 's/^/| /' conftest.$ac_ext >&5
38659
38660 eval wx_cv_func_$wx_func=no
38661 fi
38662
38663 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38664 conftest$ac_exeext conftest.$ac_ext
38665
38666 fi
38667 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38668 { echo "$as_me:$LINENO: result: $ac_res" >&5
38669 echo "${ECHO_T}$ac_res" >&6; }
38670
38671 if eval test \$wx_cv_func_$wx_func = yes
38672 then
38673 cat >>confdefs.h <<_ACEOF
38674 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38675 _ACEOF
38676
38677
38678 else
38679 :
38680
38681 fi
38682 done
38683
38684
38685
38686 for wx_func in getgrgid_r
38687 do
38688 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38689 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38690 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38691 echo $ECHO_N "(cached) $ECHO_C" >&6
38692 else
38693
38694 cat >conftest.$ac_ext <<_ACEOF
38695
38696 /* confdefs.h. */
38697 _ACEOF
38698 cat confdefs.h >>conftest.$ac_ext
38699 cat >>conftest.$ac_ext <<_ACEOF
38700 /* end confdefs.h. */
38701
38702
38703 #define _REENTRANT
38704 #include <grp.h>
38705
38706 $ac_includes_default
38707
38708 int
38709 main ()
38710 {
38711
38712 #ifndef $wx_func
38713 &$wx_func;
38714 #endif
38715
38716 struct group grp, *pgrp;
38717 char buf[1024];
38718 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38719
38720
38721 ;
38722 return 0;
38723 }
38724
38725 _ACEOF
38726 rm -f conftest.$ac_objext conftest$ac_exeext
38727 if { (ac_try="$ac_link"
38728 case "(($ac_try" in
38729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38730 *) ac_try_echo=$ac_try;;
38731 esac
38732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38733 (eval "$ac_link") 2>conftest.er1
38734 ac_status=$?
38735 grep -v '^ *+' conftest.er1 >conftest.err
38736 rm -f conftest.er1
38737 cat conftest.err >&5
38738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38739 (exit $ac_status); } && {
38740 test -z "$ac_c_werror_flag" ||
38741 test ! -s conftest.err
38742 } && test -s conftest$ac_exeext &&
38743 $as_test_x conftest$ac_exeext; then
38744 eval wx_cv_func_$wx_func=yes
38745 else
38746 echo "$as_me: failed program was:" >&5
38747 sed 's/^/| /' conftest.$ac_ext >&5
38748
38749 eval wx_cv_func_$wx_func=no
38750 fi
38751
38752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38753 conftest$ac_exeext conftest.$ac_ext
38754
38755 fi
38756 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38757 { echo "$as_me:$LINENO: result: $ac_res" >&5
38758 echo "${ECHO_T}$ac_res" >&6; }
38759
38760 if eval test \$wx_cv_func_$wx_func = yes
38761 then
38762 cat >>confdefs.h <<_ACEOF
38763 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38764 _ACEOF
38765
38766
38767 else
38768 :
38769
38770 fi
38771 done
38772
38773 fi
38774
38775 fi
38776
38777
38778
38779 cat >confcache <<\_ACEOF
38780 # This file is a shell script that caches the results of configure
38781 # tests run on this system so they can be shared between configure
38782 # scripts and configure runs, see configure's option --config-cache.
38783 # It is not useful on other systems. If it contains results you don't
38784 # want to keep, you may remove or edit it.
38785 #
38786 # config.status only pays attention to the cache file if you give it
38787 # the --recheck option to rerun configure.
38788 #
38789 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38790 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38791 # following values.
38792
38793 _ACEOF
38794
38795 # The following way of writing the cache mishandles newlines in values,
38796 # but we know of no workaround that is simple, portable, and efficient.
38797 # So, we kill variables containing newlines.
38798 # Ultrix sh set writes to stderr and can't be redirected directly,
38799 # and sets the high bit in the cache file unless we assign to the vars.
38800 (
38801 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38802 eval ac_val=\$$ac_var
38803 case $ac_val in #(
38804 *${as_nl}*)
38805 case $ac_var in #(
38806 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38807 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38808 esac
38809 case $ac_var in #(
38810 _ | IFS | as_nl) ;; #(
38811 *) $as_unset $ac_var ;;
38812 esac ;;
38813 esac
38814 done
38815
38816 (set) 2>&1 |
38817 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38818 *${as_nl}ac_space=\ *)
38819 # `set' does not quote correctly, so add quotes (double-quote
38820 # substitution turns \\\\ into \\, and sed turns \\ into \).
38821 sed -n \
38822 "s/'/'\\\\''/g;
38823 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38824 ;; #(
38825 *)
38826 # `set' quotes correctly as required by POSIX, so do not add quotes.
38827 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38828 ;;
38829 esac |
38830 sort
38831 ) |
38832 sed '
38833 /^ac_cv_env_/b end
38834 t clear
38835 :clear
38836 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38837 t end
38838 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38839 :end' >>confcache
38840 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38841 if test -w "$cache_file"; then
38842 test "x$cache_file" != "x/dev/null" &&
38843 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38844 echo "$as_me: updating cache $cache_file" >&6;}
38845 cat confcache >$cache_file
38846 else
38847 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38848 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38849 fi
38850 fi
38851 rm -f confcache
38852
38853
38854 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38855
38856
38857 THREADS_LINK=
38858 THREADS_CFLAGS=
38859
38860 if test "$wxUSE_THREADS" = "yes" ; then
38861 if test "$USE_BEOS" = 1; then
38862 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38863 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38864 wxUSE_THREADS="no"
38865 fi
38866 fi
38867
38868 if test "$wxUSE_THREADS" = "yes" ; then
38869
38870
38871 THREAD_OPTS="-pthread"
38872 if test "x$SUNCXX" = xyes; then
38873 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38874 fi
38875
38876 case "${host}" in
38877 *-*-solaris2* | *-*-sunos4* )
38878 if test "x$GCC" = "xyes"; then
38879 THREAD_OPTS="-pthreads $THREAD_OPTS"
38880 fi
38881 ;;
38882 *-*-freebsd*)
38883 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38884 ;;
38885 *-*-darwin* | *-*-cygwin* )
38886 THREAD_OPTS=""
38887 ;;
38888 *-*-aix*)
38889 THREAD_OPTS="pthreads"
38890 ;;
38891 *-hp-hpux* )
38892 if test "x$GCC" = "xyes"; then
38893 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38894 THREAD_OPTS=""
38895 else
38896 THREAD_OPTS="-mt"
38897 fi
38898 ;;
38899
38900 *-*-irix* )
38901 if test "x$GCC" = "xyes"; then
38902 THREAD_OPTS=""
38903 fi
38904 ;;
38905
38906 *-*-*UnixWare*)
38907 if test "x$GCC" != "xyes"; then
38908 THREAD_OPTS="-Ethread"
38909 fi
38910 ;;
38911 esac
38912
38913 THREAD_OPTS="$THREAD_OPTS pthread none"
38914
38915 THREADS_OK=no
38916 for flag in $THREAD_OPTS; do
38917 case $flag in
38918 none)
38919 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38920 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38921 ;;
38922
38923 -*)
38924 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38925 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38926 THREADS_CFLAGS="$flag"
38927 ;;
38928
38929 *)
38930 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38931 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38932 THREADS_LINK="-l$flag"
38933 ;;
38934 esac
38935
38936 save_LIBS="$LIBS"
38937 save_CFLAGS="$CFLAGS"
38938 LIBS="$THREADS_LINK $LIBS"
38939 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38940
38941 cat >conftest.$ac_ext <<_ACEOF
38942 /* confdefs.h. */
38943 _ACEOF
38944 cat confdefs.h >>conftest.$ac_ext
38945 cat >>conftest.$ac_ext <<_ACEOF
38946 /* end confdefs.h. */
38947 #include <pthread.h>
38948 int
38949 main ()
38950 {
38951 pthread_create(0,0,0,0);
38952 ;
38953 return 0;
38954 }
38955 _ACEOF
38956 rm -f conftest.$ac_objext conftest$ac_exeext
38957 if { (ac_try="$ac_link"
38958 case "(($ac_try" in
38959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38960 *) ac_try_echo=$ac_try;;
38961 esac
38962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38963 (eval "$ac_link") 2>conftest.er1
38964 ac_status=$?
38965 grep -v '^ *+' conftest.er1 >conftest.err
38966 rm -f conftest.er1
38967 cat conftest.err >&5
38968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38969 (exit $ac_status); } && {
38970 test -z "$ac_c_werror_flag" ||
38971 test ! -s conftest.err
38972 } && test -s conftest$ac_exeext &&
38973 $as_test_x conftest$ac_exeext; then
38974 THREADS_OK=yes
38975 else
38976 echo "$as_me: failed program was:" >&5
38977 sed 's/^/| /' conftest.$ac_ext >&5
38978
38979
38980 fi
38981
38982 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38983 conftest$ac_exeext conftest.$ac_ext
38984
38985 LIBS="$save_LIBS"
38986 CFLAGS="$save_CFLAGS"
38987
38988 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38989 echo "${ECHO_T}$THREADS_OK" >&6; }
38990 if test "x$THREADS_OK" = "xyes"; then
38991 break;
38992 fi
38993
38994 THREADS_LINK=""
38995 THREADS_CFLAGS=""
38996 done
38997
38998 if test "x$THREADS_OK" != "xyes"; then
38999 wxUSE_THREADS=no
39000 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39001 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39002 else
39003 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39004 LIBS="$THREADS_LINK $LIBS"
39005
39006 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39007 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39008 flag=no
39009 case "${host}" in
39010 *-aix*)
39011 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39012 flag="-D_THREAD_SAFE"
39013 ;;
39014 *-freebsd*)
39015 flag="-D_THREAD_SAFE"
39016 ;;
39017 *-hp-hpux* )
39018 flag="-D_REENTRANT"
39019 if test "x$GCC" != "xyes"; then
39020 flag="$flag -D_RWSTD_MULTI_THREAD"
39021 fi
39022 ;;
39023 *solaris* | alpha*-osf*)
39024 flag="-D_REENTRANT"
39025 ;;
39026 esac
39027 { echo "$as_me:$LINENO: result: ${flag}" >&5
39028 echo "${ECHO_T}${flag}" >&6; }
39029 if test "x$flag" != xno; then
39030 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39031 fi
39032
39033 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39034 fi
39035 fi
39036
39037 if test "$wxUSE_THREADS" = "yes" ; then
39038
39039 for ac_func in thr_setconcurrency
39040 do
39041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39042 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39044 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39045 echo $ECHO_N "(cached) $ECHO_C" >&6
39046 else
39047 cat >conftest.$ac_ext <<_ACEOF
39048 /* confdefs.h. */
39049 _ACEOF
39050 cat confdefs.h >>conftest.$ac_ext
39051 cat >>conftest.$ac_ext <<_ACEOF
39052 /* end confdefs.h. */
39053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39055 #define $ac_func innocuous_$ac_func
39056
39057 /* System header to define __stub macros and hopefully few prototypes,
39058 which can conflict with char $ac_func (); below.
39059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39060 <limits.h> exists even on freestanding compilers. */
39061
39062 #ifdef __STDC__
39063 # include <limits.h>
39064 #else
39065 # include <assert.h>
39066 #endif
39067
39068 #undef $ac_func
39069
39070 /* Override any GCC internal prototype to avoid an error.
39071 Use char because int might match the return type of a GCC
39072 builtin and then its argument prototype would still apply. */
39073 #ifdef __cplusplus
39074 extern "C"
39075 #endif
39076 char $ac_func ();
39077 /* The GNU C library defines this for functions which it implements
39078 to always fail with ENOSYS. Some functions are actually named
39079 something starting with __ and the normal name is an alias. */
39080 #if defined __stub_$ac_func || defined __stub___$ac_func
39081 choke me
39082 #endif
39083
39084 int
39085 main ()
39086 {
39087 return $ac_func ();
39088 ;
39089 return 0;
39090 }
39091 _ACEOF
39092 rm -f conftest.$ac_objext conftest$ac_exeext
39093 if { (ac_try="$ac_link"
39094 case "(($ac_try" in
39095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39096 *) ac_try_echo=$ac_try;;
39097 esac
39098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39099 (eval "$ac_link") 2>conftest.er1
39100 ac_status=$?
39101 grep -v '^ *+' conftest.er1 >conftest.err
39102 rm -f conftest.er1
39103 cat conftest.err >&5
39104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39105 (exit $ac_status); } && {
39106 test -z "$ac_c_werror_flag" ||
39107 test ! -s conftest.err
39108 } && test -s conftest$ac_exeext &&
39109 $as_test_x conftest$ac_exeext; then
39110 eval "$as_ac_var=yes"
39111 else
39112 echo "$as_me: failed program was:" >&5
39113 sed 's/^/| /' conftest.$ac_ext >&5
39114
39115 eval "$as_ac_var=no"
39116 fi
39117
39118 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39119 conftest$ac_exeext conftest.$ac_ext
39120 fi
39121 ac_res=`eval echo '${'$as_ac_var'}'`
39122 { echo "$as_me:$LINENO: result: $ac_res" >&5
39123 echo "${ECHO_T}$ac_res" >&6; }
39124 if test `eval echo '${'$as_ac_var'}'` = yes; then
39125 cat >>confdefs.h <<_ACEOF
39126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39127 _ACEOF
39128
39129 fi
39130 done
39131
39132
39133 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39134 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39135 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39136 echo $ECHO_N "(cached) $ECHO_C" >&6
39137 else
39138
39139 ac_ext=cpp
39140 ac_cpp='$CXXCPP $CPPFLAGS'
39141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39144
39145 cat >conftest.$ac_ext <<_ACEOF
39146 /* confdefs.h. */
39147 _ACEOF
39148 cat confdefs.h >>conftest.$ac_ext
39149 cat >>conftest.$ac_ext <<_ACEOF
39150 /* end confdefs.h. */
39151 #include <pthread.h>
39152 void ThreadCleanupFunc(void *p);
39153
39154 int
39155 main ()
39156 {
39157
39158 void *p;
39159 pthread_cleanup_push(ThreadCleanupFunc, p);
39160 pthread_cleanup_pop(0);
39161
39162 ;
39163 return 0;
39164 }
39165 _ACEOF
39166 rm -f conftest.$ac_objext
39167 if { (ac_try="$ac_compile"
39168 case "(($ac_try" in
39169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39170 *) ac_try_echo=$ac_try;;
39171 esac
39172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39173 (eval "$ac_compile") 2>conftest.er1
39174 ac_status=$?
39175 grep -v '^ *+' conftest.er1 >conftest.err
39176 rm -f conftest.er1
39177 cat conftest.err >&5
39178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39179 (exit $ac_status); } && {
39180 test -z "$ac_cxx_werror_flag" ||
39181 test ! -s conftest.err
39182 } && test -s conftest.$ac_objext; then
39183
39184 wx_cv_func_pthread_cleanup=yes
39185
39186 else
39187 echo "$as_me: failed program was:" >&5
39188 sed 's/^/| /' conftest.$ac_ext >&5
39189
39190
39191 wx_cv_func_pthread_cleanup=no
39192
39193
39194 fi
39195
39196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39197 ac_ext=c
39198 ac_cpp='$CPP $CPPFLAGS'
39199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39202
39203
39204 fi
39205 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39206 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39207 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39208 cat >>confdefs.h <<\_ACEOF
39209 #define wxHAVE_PTHREAD_CLEANUP 1
39210 _ACEOF
39211
39212 fi
39213
39214
39215 for ac_header in sched.h
39216 do
39217 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39218 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39220 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39221 echo $ECHO_N "(cached) $ECHO_C" >&6
39222 else
39223 cat >conftest.$ac_ext <<_ACEOF
39224 /* confdefs.h. */
39225 _ACEOF
39226 cat confdefs.h >>conftest.$ac_ext
39227 cat >>conftest.$ac_ext <<_ACEOF
39228 /* end confdefs.h. */
39229 $ac_includes_default
39230
39231 #include <$ac_header>
39232 _ACEOF
39233 rm -f conftest.$ac_objext
39234 if { (ac_try="$ac_compile"
39235 case "(($ac_try" in
39236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39237 *) ac_try_echo=$ac_try;;
39238 esac
39239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39240 (eval "$ac_compile") 2>conftest.er1
39241 ac_status=$?
39242 grep -v '^ *+' conftest.er1 >conftest.err
39243 rm -f conftest.er1
39244 cat conftest.err >&5
39245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39246 (exit $ac_status); } && {
39247 test -z "$ac_c_werror_flag" ||
39248 test ! -s conftest.err
39249 } && test -s conftest.$ac_objext; then
39250 eval "$as_ac_Header=yes"
39251 else
39252 echo "$as_me: failed program was:" >&5
39253 sed 's/^/| /' conftest.$ac_ext >&5
39254
39255 eval "$as_ac_Header=no"
39256 fi
39257
39258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39259 fi
39260 ac_res=`eval echo '${'$as_ac_Header'}'`
39261 { echo "$as_me:$LINENO: result: $ac_res" >&5
39262 echo "${ECHO_T}$ac_res" >&6; }
39263 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39264 cat >>confdefs.h <<_ACEOF
39265 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39266 _ACEOF
39267
39268 fi
39269
39270 done
39271
39272 if test "$ac_cv_header_sched_h" = "yes"; then
39273 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39274 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39275 if test "${ac_cv_func_sched_yield+set}" = set; then
39276 echo $ECHO_N "(cached) $ECHO_C" >&6
39277 else
39278 cat >conftest.$ac_ext <<_ACEOF
39279 /* confdefs.h. */
39280 _ACEOF
39281 cat confdefs.h >>conftest.$ac_ext
39282 cat >>conftest.$ac_ext <<_ACEOF
39283 /* end confdefs.h. */
39284 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39286 #define sched_yield innocuous_sched_yield
39287
39288 /* System header to define __stub macros and hopefully few prototypes,
39289 which can conflict with char sched_yield (); below.
39290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39291 <limits.h> exists even on freestanding compilers. */
39292
39293 #ifdef __STDC__
39294 # include <limits.h>
39295 #else
39296 # include <assert.h>
39297 #endif
39298
39299 #undef sched_yield
39300
39301 /* Override any GCC internal prototype to avoid an error.
39302 Use char because int might match the return type of a GCC
39303 builtin and then its argument prototype would still apply. */
39304 #ifdef __cplusplus
39305 extern "C"
39306 #endif
39307 char sched_yield ();
39308 /* The GNU C library defines this for functions which it implements
39309 to always fail with ENOSYS. Some functions are actually named
39310 something starting with __ and the normal name is an alias. */
39311 #if defined __stub_sched_yield || defined __stub___sched_yield
39312 choke me
39313 #endif
39314
39315 int
39316 main ()
39317 {
39318 return sched_yield ();
39319 ;
39320 return 0;
39321 }
39322 _ACEOF
39323 rm -f conftest.$ac_objext conftest$ac_exeext
39324 if { (ac_try="$ac_link"
39325 case "(($ac_try" in
39326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39327 *) ac_try_echo=$ac_try;;
39328 esac
39329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39330 (eval "$ac_link") 2>conftest.er1
39331 ac_status=$?
39332 grep -v '^ *+' conftest.er1 >conftest.err
39333 rm -f conftest.er1
39334 cat conftest.err >&5
39335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39336 (exit $ac_status); } && {
39337 test -z "$ac_c_werror_flag" ||
39338 test ! -s conftest.err
39339 } && test -s conftest$ac_exeext &&
39340 $as_test_x conftest$ac_exeext; then
39341 ac_cv_func_sched_yield=yes
39342 else
39343 echo "$as_me: failed program was:" >&5
39344 sed 's/^/| /' conftest.$ac_ext >&5
39345
39346 ac_cv_func_sched_yield=no
39347 fi
39348
39349 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39350 conftest$ac_exeext conftest.$ac_ext
39351 fi
39352 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39353 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39354 if test $ac_cv_func_sched_yield = yes; then
39355 cat >>confdefs.h <<\_ACEOF
39356 #define HAVE_SCHED_YIELD 1
39357 _ACEOF
39358
39359 else
39360
39361 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39362 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39363 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39364 echo $ECHO_N "(cached) $ECHO_C" >&6
39365 else
39366 ac_check_lib_save_LIBS=$LIBS
39367 LIBS="-lposix4 $LIBS"
39368 cat >conftest.$ac_ext <<_ACEOF
39369 /* confdefs.h. */
39370 _ACEOF
39371 cat confdefs.h >>conftest.$ac_ext
39372 cat >>conftest.$ac_ext <<_ACEOF
39373 /* end confdefs.h. */
39374
39375 /* Override any GCC internal prototype to avoid an error.
39376 Use char because int might match the return type of a GCC
39377 builtin and then its argument prototype would still apply. */
39378 #ifdef __cplusplus
39379 extern "C"
39380 #endif
39381 char sched_yield ();
39382 int
39383 main ()
39384 {
39385 return sched_yield ();
39386 ;
39387 return 0;
39388 }
39389 _ACEOF
39390 rm -f conftest.$ac_objext conftest$ac_exeext
39391 if { (ac_try="$ac_link"
39392 case "(($ac_try" in
39393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39394 *) ac_try_echo=$ac_try;;
39395 esac
39396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39397 (eval "$ac_link") 2>conftest.er1
39398 ac_status=$?
39399 grep -v '^ *+' conftest.er1 >conftest.err
39400 rm -f conftest.er1
39401 cat conftest.err >&5
39402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39403 (exit $ac_status); } && {
39404 test -z "$ac_c_werror_flag" ||
39405 test ! -s conftest.err
39406 } && test -s conftest$ac_exeext &&
39407 $as_test_x conftest$ac_exeext; then
39408 ac_cv_lib_posix4_sched_yield=yes
39409 else
39410 echo "$as_me: failed program was:" >&5
39411 sed 's/^/| /' conftest.$ac_ext >&5
39412
39413 ac_cv_lib_posix4_sched_yield=no
39414 fi
39415
39416 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39417 conftest$ac_exeext conftest.$ac_ext
39418 LIBS=$ac_check_lib_save_LIBS
39419 fi
39420 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39421 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39422 if test $ac_cv_lib_posix4_sched_yield = yes; then
39423 cat >>confdefs.h <<\_ACEOF
39424 #define HAVE_SCHED_YIELD 1
39425 _ACEOF
39426 POSIX4_LINK=" -lposix4"
39427 else
39428 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39429 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39430
39431 fi
39432
39433
39434
39435 fi
39436
39437 fi
39438
39439 HAVE_PRIOR_FUNCS=0
39440 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39441 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39442 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39443 echo $ECHO_N "(cached) $ECHO_C" >&6
39444 else
39445 cat >conftest.$ac_ext <<_ACEOF
39446 /* confdefs.h. */
39447 _ACEOF
39448 cat confdefs.h >>conftest.$ac_ext
39449 cat >>conftest.$ac_ext <<_ACEOF
39450 /* end confdefs.h. */
39451 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39453 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39454
39455 /* System header to define __stub macros and hopefully few prototypes,
39456 which can conflict with char pthread_attr_getschedpolicy (); below.
39457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39458 <limits.h> exists even on freestanding compilers. */
39459
39460 #ifdef __STDC__
39461 # include <limits.h>
39462 #else
39463 # include <assert.h>
39464 #endif
39465
39466 #undef pthread_attr_getschedpolicy
39467
39468 /* Override any GCC internal prototype to avoid an error.
39469 Use char because int might match the return type of a GCC
39470 builtin and then its argument prototype would still apply. */
39471 #ifdef __cplusplus
39472 extern "C"
39473 #endif
39474 char pthread_attr_getschedpolicy ();
39475 /* The GNU C library defines this for functions which it implements
39476 to always fail with ENOSYS. Some functions are actually named
39477 something starting with __ and the normal name is an alias. */
39478 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39479 choke me
39480 #endif
39481
39482 int
39483 main ()
39484 {
39485 return pthread_attr_getschedpolicy ();
39486 ;
39487 return 0;
39488 }
39489 _ACEOF
39490 rm -f conftest.$ac_objext conftest$ac_exeext
39491 if { (ac_try="$ac_link"
39492 case "(($ac_try" in
39493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39494 *) ac_try_echo=$ac_try;;
39495 esac
39496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39497 (eval "$ac_link") 2>conftest.er1
39498 ac_status=$?
39499 grep -v '^ *+' conftest.er1 >conftest.err
39500 rm -f conftest.er1
39501 cat conftest.err >&5
39502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39503 (exit $ac_status); } && {
39504 test -z "$ac_c_werror_flag" ||
39505 test ! -s conftest.err
39506 } && test -s conftest$ac_exeext &&
39507 $as_test_x conftest$ac_exeext; then
39508 ac_cv_func_pthread_attr_getschedpolicy=yes
39509 else
39510 echo "$as_me: failed program was:" >&5
39511 sed 's/^/| /' conftest.$ac_ext >&5
39512
39513 ac_cv_func_pthread_attr_getschedpolicy=no
39514 fi
39515
39516 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39517 conftest$ac_exeext conftest.$ac_ext
39518 fi
39519 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39520 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39521 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39522 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39523 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39524 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39525 echo $ECHO_N "(cached) $ECHO_C" >&6
39526 else
39527 cat >conftest.$ac_ext <<_ACEOF
39528 /* confdefs.h. */
39529 _ACEOF
39530 cat confdefs.h >>conftest.$ac_ext
39531 cat >>conftest.$ac_ext <<_ACEOF
39532 /* end confdefs.h. */
39533 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39535 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39536
39537 /* System header to define __stub macros and hopefully few prototypes,
39538 which can conflict with char pthread_attr_setschedparam (); below.
39539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39540 <limits.h> exists even on freestanding compilers. */
39541
39542 #ifdef __STDC__
39543 # include <limits.h>
39544 #else
39545 # include <assert.h>
39546 #endif
39547
39548 #undef pthread_attr_setschedparam
39549
39550 /* Override any GCC internal prototype to avoid an error.
39551 Use char because int might match the return type of a GCC
39552 builtin and then its argument prototype would still apply. */
39553 #ifdef __cplusplus
39554 extern "C"
39555 #endif
39556 char pthread_attr_setschedparam ();
39557 /* The GNU C library defines this for functions which it implements
39558 to always fail with ENOSYS. Some functions are actually named
39559 something starting with __ and the normal name is an alias. */
39560 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39561 choke me
39562 #endif
39563
39564 int
39565 main ()
39566 {
39567 return pthread_attr_setschedparam ();
39568 ;
39569 return 0;
39570 }
39571 _ACEOF
39572 rm -f conftest.$ac_objext conftest$ac_exeext
39573 if { (ac_try="$ac_link"
39574 case "(($ac_try" in
39575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39576 *) ac_try_echo=$ac_try;;
39577 esac
39578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39579 (eval "$ac_link") 2>conftest.er1
39580 ac_status=$?
39581 grep -v '^ *+' conftest.er1 >conftest.err
39582 rm -f conftest.er1
39583 cat conftest.err >&5
39584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39585 (exit $ac_status); } && {
39586 test -z "$ac_c_werror_flag" ||
39587 test ! -s conftest.err
39588 } && test -s conftest$ac_exeext &&
39589 $as_test_x conftest$ac_exeext; then
39590 ac_cv_func_pthread_attr_setschedparam=yes
39591 else
39592 echo "$as_me: failed program was:" >&5
39593 sed 's/^/| /' conftest.$ac_ext >&5
39594
39595 ac_cv_func_pthread_attr_setschedparam=no
39596 fi
39597
39598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39599 conftest$ac_exeext conftest.$ac_ext
39600 fi
39601 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39602 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39603 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39604 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39605 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39606 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39607 echo $ECHO_N "(cached) $ECHO_C" >&6
39608 else
39609 cat >conftest.$ac_ext <<_ACEOF
39610 /* confdefs.h. */
39611 _ACEOF
39612 cat confdefs.h >>conftest.$ac_ext
39613 cat >>conftest.$ac_ext <<_ACEOF
39614 /* end confdefs.h. */
39615 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39617 #define sched_get_priority_max innocuous_sched_get_priority_max
39618
39619 /* System header to define __stub macros and hopefully few prototypes,
39620 which can conflict with char sched_get_priority_max (); below.
39621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39622 <limits.h> exists even on freestanding compilers. */
39623
39624 #ifdef __STDC__
39625 # include <limits.h>
39626 #else
39627 # include <assert.h>
39628 #endif
39629
39630 #undef sched_get_priority_max
39631
39632 /* Override any GCC internal prototype to avoid an error.
39633 Use char because int might match the return type of a GCC
39634 builtin and then its argument prototype would still apply. */
39635 #ifdef __cplusplus
39636 extern "C"
39637 #endif
39638 char sched_get_priority_max ();
39639 /* The GNU C library defines this for functions which it implements
39640 to always fail with ENOSYS. Some functions are actually named
39641 something starting with __ and the normal name is an alias. */
39642 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39643 choke me
39644 #endif
39645
39646 int
39647 main ()
39648 {
39649 return sched_get_priority_max ();
39650 ;
39651 return 0;
39652 }
39653 _ACEOF
39654 rm -f conftest.$ac_objext conftest$ac_exeext
39655 if { (ac_try="$ac_link"
39656 case "(($ac_try" in
39657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39658 *) ac_try_echo=$ac_try;;
39659 esac
39660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39661 (eval "$ac_link") 2>conftest.er1
39662 ac_status=$?
39663 grep -v '^ *+' conftest.er1 >conftest.err
39664 rm -f conftest.er1
39665 cat conftest.err >&5
39666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39667 (exit $ac_status); } && {
39668 test -z "$ac_c_werror_flag" ||
39669 test ! -s conftest.err
39670 } && test -s conftest$ac_exeext &&
39671 $as_test_x conftest$ac_exeext; then
39672 ac_cv_func_sched_get_priority_max=yes
39673 else
39674 echo "$as_me: failed program was:" >&5
39675 sed 's/^/| /' conftest.$ac_ext >&5
39676
39677 ac_cv_func_sched_get_priority_max=no
39678 fi
39679
39680 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39681 conftest$ac_exeext conftest.$ac_ext
39682 fi
39683 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39684 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39685 if test $ac_cv_func_sched_get_priority_max = yes; then
39686 HAVE_PRIOR_FUNCS=1
39687 else
39688 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39689 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39690 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39691 echo $ECHO_N "(cached) $ECHO_C" >&6
39692 else
39693 ac_check_lib_save_LIBS=$LIBS
39694 LIBS="-lposix4 $LIBS"
39695 cat >conftest.$ac_ext <<_ACEOF
39696 /* confdefs.h. */
39697 _ACEOF
39698 cat confdefs.h >>conftest.$ac_ext
39699 cat >>conftest.$ac_ext <<_ACEOF
39700 /* end confdefs.h. */
39701
39702 /* Override any GCC internal prototype to avoid an error.
39703 Use char because int might match the return type of a GCC
39704 builtin and then its argument prototype would still apply. */
39705 #ifdef __cplusplus
39706 extern "C"
39707 #endif
39708 char sched_get_priority_max ();
39709 int
39710 main ()
39711 {
39712 return sched_get_priority_max ();
39713 ;
39714 return 0;
39715 }
39716 _ACEOF
39717 rm -f conftest.$ac_objext conftest$ac_exeext
39718 if { (ac_try="$ac_link"
39719 case "(($ac_try" in
39720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39721 *) ac_try_echo=$ac_try;;
39722 esac
39723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39724 (eval "$ac_link") 2>conftest.er1
39725 ac_status=$?
39726 grep -v '^ *+' conftest.er1 >conftest.err
39727 rm -f conftest.er1
39728 cat conftest.err >&5
39729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39730 (exit $ac_status); } && {
39731 test -z "$ac_c_werror_flag" ||
39732 test ! -s conftest.err
39733 } && test -s conftest$ac_exeext &&
39734 $as_test_x conftest$ac_exeext; then
39735 ac_cv_lib_posix4_sched_get_priority_max=yes
39736 else
39737 echo "$as_me: failed program was:" >&5
39738 sed 's/^/| /' conftest.$ac_ext >&5
39739
39740 ac_cv_lib_posix4_sched_get_priority_max=no
39741 fi
39742
39743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39744 conftest$ac_exeext conftest.$ac_ext
39745 LIBS=$ac_check_lib_save_LIBS
39746 fi
39747 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39748 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39749 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39750
39751 HAVE_PRIOR_FUNCS=1
39752 POSIX4_LINK=" -lposix4"
39753
39754 fi
39755
39756
39757 fi
39758
39759
39760 fi
39761
39762
39763 fi
39764
39765
39766 if test "$HAVE_PRIOR_FUNCS" = 1; then
39767 cat >>confdefs.h <<\_ACEOF
39768 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39769 _ACEOF
39770
39771 else
39772 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39773 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39774 fi
39775
39776 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39777 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39778 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39779 echo $ECHO_N "(cached) $ECHO_C" >&6
39780 else
39781 cat >conftest.$ac_ext <<_ACEOF
39782 /* confdefs.h. */
39783 _ACEOF
39784 cat confdefs.h >>conftest.$ac_ext
39785 cat >>conftest.$ac_ext <<_ACEOF
39786 /* end confdefs.h. */
39787 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39788 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39789 #define pthread_cancel innocuous_pthread_cancel
39790
39791 /* System header to define __stub macros and hopefully few prototypes,
39792 which can conflict with char pthread_cancel (); below.
39793 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39794 <limits.h> exists even on freestanding compilers. */
39795
39796 #ifdef __STDC__
39797 # include <limits.h>
39798 #else
39799 # include <assert.h>
39800 #endif
39801
39802 #undef pthread_cancel
39803
39804 /* Override any GCC internal prototype to avoid an error.
39805 Use char because int might match the return type of a GCC
39806 builtin and then its argument prototype would still apply. */
39807 #ifdef __cplusplus
39808 extern "C"
39809 #endif
39810 char pthread_cancel ();
39811 /* The GNU C library defines this for functions which it implements
39812 to always fail with ENOSYS. Some functions are actually named
39813 something starting with __ and the normal name is an alias. */
39814 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39815 choke me
39816 #endif
39817
39818 int
39819 main ()
39820 {
39821 return pthread_cancel ();
39822 ;
39823 return 0;
39824 }
39825 _ACEOF
39826 rm -f conftest.$ac_objext conftest$ac_exeext
39827 if { (ac_try="$ac_link"
39828 case "(($ac_try" in
39829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39830 *) ac_try_echo=$ac_try;;
39831 esac
39832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39833 (eval "$ac_link") 2>conftest.er1
39834 ac_status=$?
39835 grep -v '^ *+' conftest.er1 >conftest.err
39836 rm -f conftest.er1
39837 cat conftest.err >&5
39838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39839 (exit $ac_status); } && {
39840 test -z "$ac_c_werror_flag" ||
39841 test ! -s conftest.err
39842 } && test -s conftest$ac_exeext &&
39843 $as_test_x conftest$ac_exeext; then
39844 ac_cv_func_pthread_cancel=yes
39845 else
39846 echo "$as_me: failed program was:" >&5
39847 sed 's/^/| /' conftest.$ac_ext >&5
39848
39849 ac_cv_func_pthread_cancel=no
39850 fi
39851
39852 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39853 conftest$ac_exeext conftest.$ac_ext
39854 fi
39855 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39856 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39857 if test $ac_cv_func_pthread_cancel = yes; then
39858 cat >>confdefs.h <<\_ACEOF
39859 #define HAVE_PTHREAD_CANCEL 1
39860 _ACEOF
39861
39862 else
39863 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39864 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39865 fi
39866
39867
39868 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39869 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39870 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39871 echo $ECHO_N "(cached) $ECHO_C" >&6
39872 else
39873 cat >conftest.$ac_ext <<_ACEOF
39874 /* confdefs.h. */
39875 _ACEOF
39876 cat confdefs.h >>conftest.$ac_ext
39877 cat >>conftest.$ac_ext <<_ACEOF
39878 /* end confdefs.h. */
39879 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39881 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39882
39883 /* System header to define __stub macros and hopefully few prototypes,
39884 which can conflict with char pthread_mutex_timedlock (); below.
39885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39886 <limits.h> exists even on freestanding compilers. */
39887
39888 #ifdef __STDC__
39889 # include <limits.h>
39890 #else
39891 # include <assert.h>
39892 #endif
39893
39894 #undef pthread_mutex_timedlock
39895
39896 /* Override any GCC internal prototype to avoid an error.
39897 Use char because int might match the return type of a GCC
39898 builtin and then its argument prototype would still apply. */
39899 #ifdef __cplusplus
39900 extern "C"
39901 #endif
39902 char pthread_mutex_timedlock ();
39903 /* The GNU C library defines this for functions which it implements
39904 to always fail with ENOSYS. Some functions are actually named
39905 something starting with __ and the normal name is an alias. */
39906 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39907 choke me
39908 #endif
39909
39910 int
39911 main ()
39912 {
39913 return pthread_mutex_timedlock ();
39914 ;
39915 return 0;
39916 }
39917 _ACEOF
39918 rm -f conftest.$ac_objext conftest$ac_exeext
39919 if { (ac_try="$ac_link"
39920 case "(($ac_try" in
39921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39922 *) ac_try_echo=$ac_try;;
39923 esac
39924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39925 (eval "$ac_link") 2>conftest.er1
39926 ac_status=$?
39927 grep -v '^ *+' conftest.er1 >conftest.err
39928 rm -f conftest.er1
39929 cat conftest.err >&5
39930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39931 (exit $ac_status); } && {
39932 test -z "$ac_c_werror_flag" ||
39933 test ! -s conftest.err
39934 } && test -s conftest$ac_exeext &&
39935 $as_test_x conftest$ac_exeext; then
39936 ac_cv_func_pthread_mutex_timedlock=yes
39937 else
39938 echo "$as_me: failed program was:" >&5
39939 sed 's/^/| /' conftest.$ac_ext >&5
39940
39941 ac_cv_func_pthread_mutex_timedlock=no
39942 fi
39943
39944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39945 conftest$ac_exeext conftest.$ac_ext
39946 fi
39947 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39948 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39949 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39950 cat >>confdefs.h <<\_ACEOF
39951 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39952 _ACEOF
39953
39954 else
39955 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39956 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39957 fi
39958
39959
39960 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39961 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39962 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39963 echo $ECHO_N "(cached) $ECHO_C" >&6
39964 else
39965 cat >conftest.$ac_ext <<_ACEOF
39966 /* confdefs.h. */
39967 _ACEOF
39968 cat confdefs.h >>conftest.$ac_ext
39969 cat >>conftest.$ac_ext <<_ACEOF
39970 /* end confdefs.h. */
39971 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39973 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39974
39975 /* System header to define __stub macros and hopefully few prototypes,
39976 which can conflict with char pthread_attr_setstacksize (); below.
39977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39978 <limits.h> exists even on freestanding compilers. */
39979
39980 #ifdef __STDC__
39981 # include <limits.h>
39982 #else
39983 # include <assert.h>
39984 #endif
39985
39986 #undef pthread_attr_setstacksize
39987
39988 /* Override any GCC internal prototype to avoid an error.
39989 Use char because int might match the return type of a GCC
39990 builtin and then its argument prototype would still apply. */
39991 #ifdef __cplusplus
39992 extern "C"
39993 #endif
39994 char pthread_attr_setstacksize ();
39995 /* The GNU C library defines this for functions which it implements
39996 to always fail with ENOSYS. Some functions are actually named
39997 something starting with __ and the normal name is an alias. */
39998 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39999 choke me
40000 #endif
40001
40002 int
40003 main ()
40004 {
40005 return pthread_attr_setstacksize ();
40006 ;
40007 return 0;
40008 }
40009 _ACEOF
40010 rm -f conftest.$ac_objext conftest$ac_exeext
40011 if { (ac_try="$ac_link"
40012 case "(($ac_try" in
40013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40014 *) ac_try_echo=$ac_try;;
40015 esac
40016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40017 (eval "$ac_link") 2>conftest.er1
40018 ac_status=$?
40019 grep -v '^ *+' conftest.er1 >conftest.err
40020 rm -f conftest.er1
40021 cat conftest.err >&5
40022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40023 (exit $ac_status); } && {
40024 test -z "$ac_c_werror_flag" ||
40025 test ! -s conftest.err
40026 } && test -s conftest$ac_exeext &&
40027 $as_test_x conftest$ac_exeext; then
40028 ac_cv_func_pthread_attr_setstacksize=yes
40029 else
40030 echo "$as_me: failed program was:" >&5
40031 sed 's/^/| /' conftest.$ac_ext >&5
40032
40033 ac_cv_func_pthread_attr_setstacksize=no
40034 fi
40035
40036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40037 conftest$ac_exeext conftest.$ac_ext
40038 fi
40039 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40040 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40041 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40042 cat >>confdefs.h <<\_ACEOF
40043 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40044 _ACEOF
40045
40046 fi
40047
40048
40049
40050 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40051 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40052 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40053 echo $ECHO_N "(cached) $ECHO_C" >&6
40054 else
40055
40056 cat >conftest.$ac_ext <<_ACEOF
40057 /* confdefs.h. */
40058 _ACEOF
40059 cat confdefs.h >>conftest.$ac_ext
40060 cat >>conftest.$ac_ext <<_ACEOF
40061 /* end confdefs.h. */
40062 #include <pthread.h>
40063 int
40064 main ()
40065 {
40066
40067 pthread_mutexattr_t attr;
40068 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40069
40070 ;
40071 return 0;
40072 }
40073 _ACEOF
40074 rm -f conftest.$ac_objext
40075 if { (ac_try="$ac_compile"
40076 case "(($ac_try" in
40077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40078 *) ac_try_echo=$ac_try;;
40079 esac
40080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40081 (eval "$ac_compile") 2>conftest.er1
40082 ac_status=$?
40083 grep -v '^ *+' conftest.er1 >conftest.err
40084 rm -f conftest.er1
40085 cat conftest.err >&5
40086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40087 (exit $ac_status); } && {
40088 test -z "$ac_c_werror_flag" ||
40089 test ! -s conftest.err
40090 } && test -s conftest.$ac_objext; then
40091 wx_cv_type_pthread_mutexattr_t=yes
40092 else
40093 echo "$as_me: failed program was:" >&5
40094 sed 's/^/| /' conftest.$ac_ext >&5
40095
40096 wx_cv_type_pthread_mutexattr_t=no
40097
40098 fi
40099
40100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40101
40102 fi
40103 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40104 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40105
40106 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40107 cat >>confdefs.h <<\_ACEOF
40108 #define HAVE_PTHREAD_MUTEXATTR_T 1
40109 _ACEOF
40110
40111
40112 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40113 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40114 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40115 echo $ECHO_N "(cached) $ECHO_C" >&6
40116 else
40117
40118 cat >conftest.$ac_ext <<_ACEOF
40119 /* confdefs.h. */
40120 _ACEOF
40121 cat confdefs.h >>conftest.$ac_ext
40122 cat >>conftest.$ac_ext <<_ACEOF
40123 /* end confdefs.h. */
40124 #include <pthread.h>
40125 int
40126 main ()
40127 {
40128
40129 pthread_mutexattr_t attr;
40130 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40131
40132 ;
40133 return 0;
40134 }
40135 _ACEOF
40136 rm -f conftest.$ac_objext
40137 if { (ac_try="$ac_compile"
40138 case "(($ac_try" in
40139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40140 *) ac_try_echo=$ac_try;;
40141 esac
40142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40143 (eval "$ac_compile") 2>conftest.er1
40144 ac_status=$?
40145 grep -v '^ *+' conftest.er1 >conftest.err
40146 rm -f conftest.er1
40147 cat conftest.err >&5
40148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40149 (exit $ac_status); } && {
40150 test -z "$ac_c_werror_flag" ||
40151 test ! -s conftest.err
40152 } && test -s conftest.$ac_objext; then
40153 wx_cv_func_pthread_mutexattr_settype_decl=yes
40154 else
40155 echo "$as_me: failed program was:" >&5
40156 sed 's/^/| /' conftest.$ac_ext >&5
40157
40158 wx_cv_func_pthread_mutexattr_settype_decl=no
40159
40160 fi
40161
40162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40163
40164 fi
40165 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40166 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40167 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40168 cat >>confdefs.h <<\_ACEOF
40169 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40170 _ACEOF
40171
40172 fi
40173 else
40174 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40175 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40176 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40177 echo $ECHO_N "(cached) $ECHO_C" >&6
40178 else
40179
40180 cat >conftest.$ac_ext <<_ACEOF
40181 /* confdefs.h. */
40182 _ACEOF
40183 cat confdefs.h >>conftest.$ac_ext
40184 cat >>conftest.$ac_ext <<_ACEOF
40185 /* end confdefs.h. */
40186 #include <pthread.h>
40187 int
40188 main ()
40189 {
40190
40191 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40192
40193 ;
40194 return 0;
40195 }
40196 _ACEOF
40197 rm -f conftest.$ac_objext
40198 if { (ac_try="$ac_compile"
40199 case "(($ac_try" in
40200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40201 *) ac_try_echo=$ac_try;;
40202 esac
40203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40204 (eval "$ac_compile") 2>conftest.er1
40205 ac_status=$?
40206 grep -v '^ *+' conftest.er1 >conftest.err
40207 rm -f conftest.er1
40208 cat conftest.err >&5
40209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40210 (exit $ac_status); } && {
40211 test -z "$ac_c_werror_flag" ||
40212 test ! -s conftest.err
40213 } && test -s conftest.$ac_objext; then
40214
40215 wx_cv_type_pthread_rec_mutex_init=yes
40216
40217 else
40218 echo "$as_me: failed program was:" >&5
40219 sed 's/^/| /' conftest.$ac_ext >&5
40220
40221
40222 wx_cv_type_pthread_rec_mutex_init=no
40223
40224
40225 fi
40226
40227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40228
40229 fi
40230 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40231 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40232 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40233 cat >>confdefs.h <<\_ACEOF
40234 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40235 _ACEOF
40236
40237 else
40238 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40239 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40240 fi
40241 fi
40242
40243 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40244 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40245 if test "${wx_cv_cc___thread+set}" = set; then
40246 echo $ECHO_N "(cached) $ECHO_C" >&6
40247 else
40248
40249 cat >conftest.$ac_ext <<_ACEOF
40250 /* confdefs.h. */
40251 _ACEOF
40252 cat confdefs.h >>conftest.$ac_ext
40253 cat >>conftest.$ac_ext <<_ACEOF
40254 /* end confdefs.h. */
40255 #include <pthread.h>
40256 int
40257 main ()
40258 {
40259
40260 static __thread int n = 0;
40261 static __thread int *p = 0;
40262
40263 ;
40264 return 0;
40265 }
40266 _ACEOF
40267 rm -f conftest.$ac_objext
40268 if { (ac_try="$ac_compile"
40269 case "(($ac_try" in
40270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40271 *) ac_try_echo=$ac_try;;
40272 esac
40273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40274 (eval "$ac_compile") 2>conftest.er1
40275 ac_status=$?
40276 grep -v '^ *+' conftest.er1 >conftest.err
40277 rm -f conftest.er1
40278 cat conftest.err >&5
40279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40280 (exit $ac_status); } && {
40281 test -z "$ac_c_werror_flag" ||
40282 test ! -s conftest.err
40283 } && test -s conftest.$ac_objext; then
40284 wx_cv_cc___thread=yes
40285 else
40286 echo "$as_me: failed program was:" >&5
40287 sed 's/^/| /' conftest.$ac_ext >&5
40288
40289 wx_cv_cc___thread=no
40290
40291 fi
40292
40293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40294
40295
40296 fi
40297 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40298 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40299
40300 if test "$wx_cv_cc___thread" = "yes"; then
40301
40302 GXX_VERSION=""
40303
40304
40305
40306 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40307 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40308
40309 if test "x$GCC" = "xyes" ; then
40310
40311 if test -z "" ; then
40312
40313 ax_gcc_option_test="int main()
40314 {
40315 return 0;
40316 }"
40317
40318 else
40319
40320 ax_gcc_option_test=""
40321
40322 fi
40323
40324
40325 # Dump the test program to file
40326 cat <<EOF > conftest.c
40327 $ax_gcc_option_test
40328 EOF
40329
40330 # Dump back the file to the log, useful for debugging purposes
40331 { ac_try='cat conftest.c 1>&5'
40332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40333 (eval $ac_try) 2>&5
40334 ac_status=$?
40335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40336 (exit $ac_status); }; }
40337
40338 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40340 (eval $ac_try) 2>&5
40341 ac_status=$?
40342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40343 (exit $ac_status); }; } ; then
40344
40345 { echo "$as_me:$LINENO: result: yes" >&5
40346 echo "${ECHO_T}yes" >&6; }
40347
40348 ax_gcc_version_option=yes
40349
40350
40351 else
40352
40353 { echo "$as_me:$LINENO: result: no" >&5
40354 echo "${ECHO_T}no" >&6; }
40355
40356 ax_gcc_version_option=no
40357
40358
40359 fi
40360
40361
40362 else
40363
40364 { echo "$as_me:$LINENO: result: no gcc available" >&5
40365 echo "${ECHO_T}no gcc available" >&6; }
40366
40367 fi
40368
40369
40370 if test "x$GXX" = "xyes"; then
40371
40372 if test "x$ax_gxx_version_option" != "no"; then
40373
40374 { echo "$as_me:$LINENO: checking gxx version" >&5
40375 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40376 if test "${ax_cv_gxx_version+set}" = set; then
40377 echo $ECHO_N "(cached) $ECHO_C" >&6
40378 else
40379
40380 ax_cv_gxx_version="`$CXX -dumpversion`"
40381 if test "x$ax_cv_gxx_version" = "x"; then
40382
40383 ax_cv_gxx_version=""
40384
40385 fi
40386
40387
40388 fi
40389 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40390 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40391 GXX_VERSION=$ax_cv_gxx_version
40392
40393 fi
40394
40395
40396 fi
40397
40398
40399
40400 if test -n "$ax_cv_gxx_version"; then
40401 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40402 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40403 case "$ax_cv_gxx_version" in
40404 1.* | 2.* | 3.* )
40405 { echo "$as_me:$LINENO: result: no, it's broken" >&5
40406 echo "${ECHO_T}no, it's broken" >&6; }
40407 wx_cv_cc___thread=no
40408 ;;
40409 *)
40410 { echo "$as_me:$LINENO: result: yes, it works" >&5
40411 echo "${ECHO_T}yes, it works" >&6; }
40412 ;;
40413 esac
40414 fi
40415 fi
40416
40417 if test "$wx_cv_cc___thread" = "yes"; then
40418 cat >>confdefs.h <<\_ACEOF
40419 #define HAVE___THREAD_KEYWORD 1
40420 _ACEOF
40421
40422 fi
40423 fi
40424
40425 else
40426 if test "$wxUSE_THREADS" = "yes" ; then
40427 case "${host}" in
40428 x86_64-*-mingw32* )
40429 ;;
40430 *-*-mingw32* )
40431 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40432 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40433 if test "${wx_cv_cflags_mthread+set}" = set; then
40434 echo $ECHO_N "(cached) $ECHO_C" >&6
40435 else
40436
40437 CFLAGS_OLD="$CFLAGS"
40438 CFLAGS="-mthreads $CFLAGS"
40439 cat >conftest.$ac_ext <<_ACEOF
40440 /* confdefs.h. */
40441 _ACEOF
40442 cat confdefs.h >>conftest.$ac_ext
40443 cat >>conftest.$ac_ext <<_ACEOF
40444 /* end confdefs.h. */
40445
40446 int
40447 main ()
40448 {
40449
40450 ;
40451 return 0;
40452 }
40453 _ACEOF
40454 rm -f conftest.$ac_objext
40455 if { (ac_try="$ac_compile"
40456 case "(($ac_try" in
40457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40458 *) ac_try_echo=$ac_try;;
40459 esac
40460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40461 (eval "$ac_compile") 2>conftest.er1
40462 ac_status=$?
40463 grep -v '^ *+' conftest.er1 >conftest.err
40464 rm -f conftest.er1
40465 cat conftest.err >&5
40466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40467 (exit $ac_status); } && {
40468 test -z "$ac_c_werror_flag" ||
40469 test ! -s conftest.err
40470 } && test -s conftest.$ac_objext; then
40471 wx_cv_cflags_mthread=yes
40472 else
40473 echo "$as_me: failed program was:" >&5
40474 sed 's/^/| /' conftest.$ac_ext >&5
40475
40476 wx_cv_cflags_mthread=no
40477
40478 fi
40479
40480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40481
40482
40483 fi
40484 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40485 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40486
40487 if test "$wx_cv_cflags_mthread" = "yes"; then
40488 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
40489 LDFLAGS="$LDFLAGS -mthreads"
40490 else
40491 CFLAGS="$CFLAGS_OLD"
40492 fi
40493 ;;
40494 *-pc-os2*emx )
40495 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40496 LDFLAGS="$LDFLAGS -Zmt"
40497 ;;
40498 esac
40499 fi
40500 fi
40501
40502 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40503 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40504 if test "${ac_cv_func_localtime_r+set}" = set; then
40505 echo $ECHO_N "(cached) $ECHO_C" >&6
40506 else
40507 cat >conftest.$ac_ext <<_ACEOF
40508 /* confdefs.h. */
40509 _ACEOF
40510 cat confdefs.h >>conftest.$ac_ext
40511 cat >>conftest.$ac_ext <<_ACEOF
40512 /* end confdefs.h. */
40513 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40515 #define localtime_r innocuous_localtime_r
40516
40517 /* System header to define __stub macros and hopefully few prototypes,
40518 which can conflict with char localtime_r (); below.
40519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40520 <limits.h> exists even on freestanding compilers. */
40521
40522 #ifdef __STDC__
40523 # include <limits.h>
40524 #else
40525 # include <assert.h>
40526 #endif
40527
40528 #undef localtime_r
40529
40530 /* Override any GCC internal prototype to avoid an error.
40531 Use char because int might match the return type of a GCC
40532 builtin and then its argument prototype would still apply. */
40533 #ifdef __cplusplus
40534 extern "C"
40535 #endif
40536 char localtime_r ();
40537 /* The GNU C library defines this for functions which it implements
40538 to always fail with ENOSYS. Some functions are actually named
40539 something starting with __ and the normal name is an alias. */
40540 #if defined __stub_localtime_r || defined __stub___localtime_r
40541 choke me
40542 #endif
40543
40544 int
40545 main ()
40546 {
40547 return localtime_r ();
40548 ;
40549 return 0;
40550 }
40551 _ACEOF
40552 rm -f conftest.$ac_objext conftest$ac_exeext
40553 if { (ac_try="$ac_link"
40554 case "(($ac_try" in
40555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40556 *) ac_try_echo=$ac_try;;
40557 esac
40558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40559 (eval "$ac_link") 2>conftest.er1
40560 ac_status=$?
40561 grep -v '^ *+' conftest.er1 >conftest.err
40562 rm -f conftest.er1
40563 cat conftest.err >&5
40564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40565 (exit $ac_status); } && {
40566 test -z "$ac_c_werror_flag" ||
40567 test ! -s conftest.err
40568 } && test -s conftest$ac_exeext &&
40569 $as_test_x conftest$ac_exeext; then
40570 ac_cv_func_localtime_r=yes
40571 else
40572 echo "$as_me: failed program was:" >&5
40573 sed 's/^/| /' conftest.$ac_ext >&5
40574
40575 ac_cv_func_localtime_r=no
40576 fi
40577
40578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40579 conftest$ac_exeext conftest.$ac_ext
40580 fi
40581 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40582 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40583 if test $ac_cv_func_localtime_r = yes; then
40584 cat >>confdefs.h <<\_ACEOF
40585 #define HAVE_LOCALTIME_R 1
40586 _ACEOF
40587
40588 fi
40589
40590 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40591 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40592 if test "${ac_cv_func_gmtime_r+set}" = set; then
40593 echo $ECHO_N "(cached) $ECHO_C" >&6
40594 else
40595 cat >conftest.$ac_ext <<_ACEOF
40596 /* confdefs.h. */
40597 _ACEOF
40598 cat confdefs.h >>conftest.$ac_ext
40599 cat >>conftest.$ac_ext <<_ACEOF
40600 /* end confdefs.h. */
40601 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40603 #define gmtime_r innocuous_gmtime_r
40604
40605 /* System header to define __stub macros and hopefully few prototypes,
40606 which can conflict with char gmtime_r (); below.
40607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40608 <limits.h> exists even on freestanding compilers. */
40609
40610 #ifdef __STDC__
40611 # include <limits.h>
40612 #else
40613 # include <assert.h>
40614 #endif
40615
40616 #undef gmtime_r
40617
40618 /* Override any GCC internal prototype to avoid an error.
40619 Use char because int might match the return type of a GCC
40620 builtin and then its argument prototype would still apply. */
40621 #ifdef __cplusplus
40622 extern "C"
40623 #endif
40624 char gmtime_r ();
40625 /* The GNU C library defines this for functions which it implements
40626 to always fail with ENOSYS. Some functions are actually named
40627 something starting with __ and the normal name is an alias. */
40628 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40629 choke me
40630 #endif
40631
40632 int
40633 main ()
40634 {
40635 return gmtime_r ();
40636 ;
40637 return 0;
40638 }
40639 _ACEOF
40640 rm -f conftest.$ac_objext conftest$ac_exeext
40641 if { (ac_try="$ac_link"
40642 case "(($ac_try" in
40643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40644 *) ac_try_echo=$ac_try;;
40645 esac
40646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40647 (eval "$ac_link") 2>conftest.er1
40648 ac_status=$?
40649 grep -v '^ *+' conftest.er1 >conftest.err
40650 rm -f conftest.er1
40651 cat conftest.err >&5
40652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40653 (exit $ac_status); } && {
40654 test -z "$ac_c_werror_flag" ||
40655 test ! -s conftest.err
40656 } && test -s conftest$ac_exeext &&
40657 $as_test_x conftest$ac_exeext; then
40658 ac_cv_func_gmtime_r=yes
40659 else
40660 echo "$as_me: failed program was:" >&5
40661 sed 's/^/| /' conftest.$ac_ext >&5
40662
40663 ac_cv_func_gmtime_r=no
40664 fi
40665
40666 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40667 conftest$ac_exeext conftest.$ac_ext
40668 fi
40669 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40670 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40671 if test $ac_cv_func_gmtime_r = yes; then
40672 cat >>confdefs.h <<\_ACEOF
40673 #define HAVE_GMTIME_R 1
40674 _ACEOF
40675
40676 fi
40677
40678
40679
40680
40681 ac_ext=c
40682 ac_cpp='$CPP $CPPFLAGS'
40683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40686
40687 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40688 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40689
40690 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40691 echo $ECHO_N "(cached) $ECHO_C" >&6
40692 else
40693
40694
40695 ################################################################
40696
40697 ac_cv_func_which_gethostbyname_r=unknown
40698
40699 #
40700 # ONE ARGUMENT (sanity check)
40701 #
40702
40703 # This should fail, as there is no variant of gethostbyname_r() that takes
40704 # a single argument. If it actually compiles, then we can assume that
40705 # netdb.h is not declaring the function, and the compiler is thereby
40706 # assuming an implicit prototype. In which case, we're out of luck.
40707 #
40708 cat >conftest.$ac_ext <<_ACEOF
40709 /* confdefs.h. */
40710 _ACEOF
40711 cat confdefs.h >>conftest.$ac_ext
40712 cat >>conftest.$ac_ext <<_ACEOF
40713 /* end confdefs.h. */
40714 #include <netdb.h>
40715 int
40716 main ()
40717 {
40718
40719 char *name = "www.gnu.org";
40720 (void)gethostbyname_r(name) /* ; */
40721
40722 ;
40723 return 0;
40724 }
40725 _ACEOF
40726 rm -f conftest.$ac_objext
40727 if { (ac_try="$ac_compile"
40728 case "(($ac_try" in
40729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40730 *) ac_try_echo=$ac_try;;
40731 esac
40732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40733 (eval "$ac_compile") 2>conftest.er1
40734 ac_status=$?
40735 grep -v '^ *+' conftest.er1 >conftest.err
40736 rm -f conftest.er1
40737 cat conftest.err >&5
40738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40739 (exit $ac_status); } && {
40740 test -z "$ac_c_werror_flag" ||
40741 test ! -s conftest.err
40742 } && test -s conftest.$ac_objext; then
40743 ac_cv_func_which_gethostbyname_r=no
40744 else
40745 echo "$as_me: failed program was:" >&5
40746 sed 's/^/| /' conftest.$ac_ext >&5
40747
40748
40749 fi
40750
40751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40752
40753 #
40754 # SIX ARGUMENTS
40755 # (e.g. Linux)
40756 #
40757
40758 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40759
40760 cat >conftest.$ac_ext <<_ACEOF
40761 /* confdefs.h. */
40762 _ACEOF
40763 cat confdefs.h >>conftest.$ac_ext
40764 cat >>conftest.$ac_ext <<_ACEOF
40765 /* end confdefs.h. */
40766 #include <netdb.h>
40767 int
40768 main ()
40769 {
40770
40771 char *name = "www.gnu.org";
40772 struct hostent ret, *retp;
40773 char buf[1024];
40774 int buflen = 1024;
40775 int my_h_errno;
40776 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40777
40778 ;
40779 return 0;
40780 }
40781 _ACEOF
40782 rm -f conftest.$ac_objext
40783 if { (ac_try="$ac_compile"
40784 case "(($ac_try" in
40785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40786 *) ac_try_echo=$ac_try;;
40787 esac
40788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40789 (eval "$ac_compile") 2>conftest.er1
40790 ac_status=$?
40791 grep -v '^ *+' conftest.er1 >conftest.err
40792 rm -f conftest.er1
40793 cat conftest.err >&5
40794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40795 (exit $ac_status); } && {
40796 test -z "$ac_c_werror_flag" ||
40797 test ! -s conftest.err
40798 } && test -s conftest.$ac_objext; then
40799 ac_cv_func_which_gethostbyname_r=six
40800 else
40801 echo "$as_me: failed program was:" >&5
40802 sed 's/^/| /' conftest.$ac_ext >&5
40803
40804
40805 fi
40806
40807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40808
40809 fi
40810
40811 #
40812 # FIVE ARGUMENTS
40813 # (e.g. Solaris)
40814 #
40815
40816 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40817
40818 cat >conftest.$ac_ext <<_ACEOF
40819 /* confdefs.h. */
40820 _ACEOF
40821 cat confdefs.h >>conftest.$ac_ext
40822 cat >>conftest.$ac_ext <<_ACEOF
40823 /* end confdefs.h. */
40824 #include <netdb.h>
40825 int
40826 main ()
40827 {
40828
40829 char *name = "www.gnu.org";
40830 struct hostent ret;
40831 char buf[1024];
40832 int buflen = 1024;
40833 int my_h_errno;
40834 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40835
40836 ;
40837 return 0;
40838 }
40839 _ACEOF
40840 rm -f conftest.$ac_objext
40841 if { (ac_try="$ac_compile"
40842 case "(($ac_try" in
40843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40844 *) ac_try_echo=$ac_try;;
40845 esac
40846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40847 (eval "$ac_compile") 2>conftest.er1
40848 ac_status=$?
40849 grep -v '^ *+' conftest.er1 >conftest.err
40850 rm -f conftest.er1
40851 cat conftest.err >&5
40852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40853 (exit $ac_status); } && {
40854 test -z "$ac_c_werror_flag" ||
40855 test ! -s conftest.err
40856 } && test -s conftest.$ac_objext; then
40857 ac_cv_func_which_gethostbyname_r=five
40858 else
40859 echo "$as_me: failed program was:" >&5
40860 sed 's/^/| /' conftest.$ac_ext >&5
40861
40862
40863 fi
40864
40865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40866
40867 fi
40868
40869 #
40870 # THREE ARGUMENTS
40871 # (e.g. AIX, HP-UX, Tru64)
40872 #
40873
40874 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40875
40876 cat >conftest.$ac_ext <<_ACEOF
40877 /* confdefs.h. */
40878 _ACEOF
40879 cat confdefs.h >>conftest.$ac_ext
40880 cat >>conftest.$ac_ext <<_ACEOF
40881 /* end confdefs.h. */
40882 #include <netdb.h>
40883 int
40884 main ()
40885 {
40886
40887 char *name = "www.gnu.org";
40888 struct hostent ret;
40889 struct hostent_data data;
40890 (void)gethostbyname_r(name, &ret, &data) /* ; */
40891
40892 ;
40893 return 0;
40894 }
40895 _ACEOF
40896 rm -f conftest.$ac_objext
40897 if { (ac_try="$ac_compile"
40898 case "(($ac_try" in
40899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40900 *) ac_try_echo=$ac_try;;
40901 esac
40902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40903 (eval "$ac_compile") 2>conftest.er1
40904 ac_status=$?
40905 grep -v '^ *+' conftest.er1 >conftest.err
40906 rm -f conftest.er1
40907 cat conftest.err >&5
40908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40909 (exit $ac_status); } && {
40910 test -z "$ac_c_werror_flag" ||
40911 test ! -s conftest.err
40912 } && test -s conftest.$ac_objext; then
40913 ac_cv_func_which_gethostbyname_r=three
40914 else
40915 echo "$as_me: failed program was:" >&5
40916 sed 's/^/| /' conftest.$ac_ext >&5
40917
40918
40919 fi
40920
40921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40922
40923 fi
40924
40925 ################################################################
40926
40927
40928 fi
40929
40930 case "$ac_cv_func_which_gethostbyname_r" in
40931 three)
40932 { echo "$as_me:$LINENO: result: three" >&5
40933 echo "${ECHO_T}three" >&6; }
40934 cat >>confdefs.h <<\_ACEOF
40935 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40936 _ACEOF
40937
40938 ;;
40939
40940 five)
40941 { echo "$as_me:$LINENO: result: five" >&5
40942 echo "${ECHO_T}five" >&6; }
40943 cat >>confdefs.h <<\_ACEOF
40944 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40945 _ACEOF
40946
40947 ;;
40948
40949 six)
40950 { echo "$as_me:$LINENO: result: six" >&5
40951 echo "${ECHO_T}six" >&6; }
40952 cat >>confdefs.h <<\_ACEOF
40953 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40954 _ACEOF
40955
40956 ;;
40957
40958 no)
40959 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40960 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40961 ;;
40962
40963 unknown)
40964 { echo "$as_me:$LINENO: result: can't tell" >&5
40965 echo "${ECHO_T}can't tell" >&6; }
40966 ;;
40967
40968 *)
40969 { { echo "$as_me:$LINENO: error: internal error" >&5
40970 echo "$as_me: error: internal error" >&2;}
40971 { (exit 1); exit 1; }; }
40972 ;;
40973 esac
40974
40975 ac_ext=c
40976 ac_cpp='$CPP $CPPFLAGS'
40977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40980
40981
40982
40983 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40984 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40985 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40986 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40987 if test "${ac_cv_func_gethostbyname+set}" = set; then
40988 echo $ECHO_N "(cached) $ECHO_C" >&6
40989 else
40990 cat >conftest.$ac_ext <<_ACEOF
40991 /* confdefs.h. */
40992 _ACEOF
40993 cat confdefs.h >>conftest.$ac_ext
40994 cat >>conftest.$ac_ext <<_ACEOF
40995 /* end confdefs.h. */
40996 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40998 #define gethostbyname innocuous_gethostbyname
40999
41000 /* System header to define __stub macros and hopefully few prototypes,
41001 which can conflict with char gethostbyname (); below.
41002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41003 <limits.h> exists even on freestanding compilers. */
41004
41005 #ifdef __STDC__
41006 # include <limits.h>
41007 #else
41008 # include <assert.h>
41009 #endif
41010
41011 #undef gethostbyname
41012
41013 /* Override any GCC internal prototype to avoid an error.
41014 Use char because int might match the return type of a GCC
41015 builtin and then its argument prototype would still apply. */
41016 #ifdef __cplusplus
41017 extern "C"
41018 #endif
41019 char gethostbyname ();
41020 /* The GNU C library defines this for functions which it implements
41021 to always fail with ENOSYS. Some functions are actually named
41022 something starting with __ and the normal name is an alias. */
41023 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41024 choke me
41025 #endif
41026
41027 int
41028 main ()
41029 {
41030 return gethostbyname ();
41031 ;
41032 return 0;
41033 }
41034 _ACEOF
41035 rm -f conftest.$ac_objext conftest$ac_exeext
41036 if { (ac_try="$ac_link"
41037 case "(($ac_try" in
41038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41039 *) ac_try_echo=$ac_try;;
41040 esac
41041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41042 (eval "$ac_link") 2>conftest.er1
41043 ac_status=$?
41044 grep -v '^ *+' conftest.er1 >conftest.err
41045 rm -f conftest.er1
41046 cat conftest.err >&5
41047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41048 (exit $ac_status); } && {
41049 test -z "$ac_c_werror_flag" ||
41050 test ! -s conftest.err
41051 } && test -s conftest$ac_exeext &&
41052 $as_test_x conftest$ac_exeext; then
41053 ac_cv_func_gethostbyname=yes
41054 else
41055 echo "$as_me: failed program was:" >&5
41056 sed 's/^/| /' conftest.$ac_ext >&5
41057
41058 ac_cv_func_gethostbyname=no
41059 fi
41060
41061 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41062 conftest$ac_exeext conftest.$ac_ext
41063 fi
41064 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41065 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41066 if test $ac_cv_func_gethostbyname = yes; then
41067 cat >>confdefs.h <<\_ACEOF
41068 #define HAVE_GETHOSTBYNAME 1
41069 _ACEOF
41070
41071 fi
41072
41073 fi
41074
41075 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41076 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41077 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41078 echo $ECHO_N "(cached) $ECHO_C" >&6
41079 else
41080
41081 ac_ext=cpp
41082 ac_cpp='$CXXCPP $CPPFLAGS'
41083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41086
41087
41088 cat >conftest.$ac_ext <<_ACEOF
41089 /* confdefs.h. */
41090 _ACEOF
41091 cat confdefs.h >>conftest.$ac_ext
41092 cat >>conftest.$ac_ext <<_ACEOF
41093 /* end confdefs.h. */
41094 #include <netdb.h>
41095 int
41096 main ()
41097 {
41098
41099 char *name;
41100 char *proto;
41101 struct servent *se, *res;
41102 char buffer[2048];
41103 int buflen = 2048;
41104 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41105
41106 ;
41107 return 0;
41108 }
41109 _ACEOF
41110 rm -f conftest.$ac_objext
41111 if { (ac_try="$ac_compile"
41112 case "(($ac_try" in
41113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41114 *) ac_try_echo=$ac_try;;
41115 esac
41116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41117 (eval "$ac_compile") 2>conftest.er1
41118 ac_status=$?
41119 grep -v '^ *+' conftest.er1 >conftest.err
41120 rm -f conftest.er1
41121 cat conftest.err >&5
41122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41123 (exit $ac_status); } && {
41124 test -z "$ac_cxx_werror_flag" ||
41125 test ! -s conftest.err
41126 } && test -s conftest.$ac_objext; then
41127 ac_cv_func_which_getservbyname_r=six
41128 else
41129 echo "$as_me: failed program was:" >&5
41130 sed 's/^/| /' conftest.$ac_ext >&5
41131
41132
41133 cat >conftest.$ac_ext <<_ACEOF
41134 /* confdefs.h. */
41135 _ACEOF
41136 cat confdefs.h >>conftest.$ac_ext
41137 cat >>conftest.$ac_ext <<_ACEOF
41138 /* end confdefs.h. */
41139 #include <netdb.h>
41140 int
41141 main ()
41142 {
41143
41144 char *name;
41145 char *proto;
41146 struct servent *se;
41147 char buffer[2048];
41148 int buflen = 2048;
41149 (void) getservbyname_r(name, proto, se, buffer, buflen)
41150
41151 ;
41152 return 0;
41153 }
41154 _ACEOF
41155 rm -f conftest.$ac_objext
41156 if { (ac_try="$ac_compile"
41157 case "(($ac_try" in
41158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41159 *) ac_try_echo=$ac_try;;
41160 esac
41161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41162 (eval "$ac_compile") 2>conftest.er1
41163 ac_status=$?
41164 grep -v '^ *+' conftest.er1 >conftest.err
41165 rm -f conftest.er1
41166 cat conftest.err >&5
41167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41168 (exit $ac_status); } && {
41169 test -z "$ac_cxx_werror_flag" ||
41170 test ! -s conftest.err
41171 } && test -s conftest.$ac_objext; then
41172 ac_cv_func_which_getservbyname_r=five
41173 else
41174 echo "$as_me: failed program was:" >&5
41175 sed 's/^/| /' conftest.$ac_ext >&5
41176
41177
41178 cat >conftest.$ac_ext <<_ACEOF
41179 /* confdefs.h. */
41180 _ACEOF
41181 cat confdefs.h >>conftest.$ac_ext
41182 cat >>conftest.$ac_ext <<_ACEOF
41183 /* end confdefs.h. */
41184 #include <netdb.h>
41185 int
41186 main ()
41187 {
41188
41189 char *name;
41190 char *proto;
41191 struct servent *se;
41192 struct servent_data data;
41193 (void) getservbyname_r(name, proto, se, &data);
41194
41195 ;
41196 return 0;
41197 }
41198 _ACEOF
41199 rm -f conftest.$ac_objext
41200 if { (ac_try="$ac_compile"
41201 case "(($ac_try" in
41202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41203 *) ac_try_echo=$ac_try;;
41204 esac
41205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41206 (eval "$ac_compile") 2>conftest.er1
41207 ac_status=$?
41208 grep -v '^ *+' conftest.er1 >conftest.err
41209 rm -f conftest.er1
41210 cat conftest.err >&5
41211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41212 (exit $ac_status); } && {
41213 test -z "$ac_cxx_werror_flag" ||
41214 test ! -s conftest.err
41215 } && test -s conftest.$ac_objext; then
41216 ac_cv_func_which_getservbyname_r=four
41217 else
41218 echo "$as_me: failed program was:" >&5
41219 sed 's/^/| /' conftest.$ac_ext >&5
41220
41221 ac_cv_func_which_getservbyname_r=no
41222
41223 fi
41224
41225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41226
41227
41228 fi
41229
41230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41231
41232
41233 fi
41234
41235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41236 ac_ext=c
41237 ac_cpp='$CPP $CPPFLAGS'
41238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41241
41242
41243
41244 fi
41245 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41246 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41247
41248 if test $ac_cv_func_which_getservbyname_r = six; then
41249 cat >>confdefs.h <<\_ACEOF
41250 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41251 _ACEOF
41252
41253 elif test $ac_cv_func_which_getservbyname_r = five; then
41254 cat >>confdefs.h <<\_ACEOF
41255 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41256 _ACEOF
41257
41258 elif test $ac_cv_func_which_getservbyname_r = four; then
41259 cat >>confdefs.h <<\_ACEOF
41260 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41261 _ACEOF
41262
41263 fi
41264
41265
41266 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41267 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41268
41269 for ac_func in getservbyname
41270 do
41271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41272 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41274 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41275 echo $ECHO_N "(cached) $ECHO_C" >&6
41276 else
41277 cat >conftest.$ac_ext <<_ACEOF
41278 /* confdefs.h. */
41279 _ACEOF
41280 cat confdefs.h >>conftest.$ac_ext
41281 cat >>conftest.$ac_ext <<_ACEOF
41282 /* end confdefs.h. */
41283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41285 #define $ac_func innocuous_$ac_func
41286
41287 /* System header to define __stub macros and hopefully few prototypes,
41288 which can conflict with char $ac_func (); below.
41289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41290 <limits.h> exists even on freestanding compilers. */
41291
41292 #ifdef __STDC__
41293 # include <limits.h>
41294 #else
41295 # include <assert.h>
41296 #endif
41297
41298 #undef $ac_func
41299
41300 /* Override any GCC internal prototype to avoid an error.
41301 Use char because int might match the return type of a GCC
41302 builtin and then its argument prototype would still apply. */
41303 #ifdef __cplusplus
41304 extern "C"
41305 #endif
41306 char $ac_func ();
41307 /* The GNU C library defines this for functions which it implements
41308 to always fail with ENOSYS. Some functions are actually named
41309 something starting with __ and the normal name is an alias. */
41310 #if defined __stub_$ac_func || defined __stub___$ac_func
41311 choke me
41312 #endif
41313
41314 int
41315 main ()
41316 {
41317 return $ac_func ();
41318 ;
41319 return 0;
41320 }
41321 _ACEOF
41322 rm -f conftest.$ac_objext conftest$ac_exeext
41323 if { (ac_try="$ac_link"
41324 case "(($ac_try" in
41325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41326 *) ac_try_echo=$ac_try;;
41327 esac
41328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41329 (eval "$ac_link") 2>conftest.er1
41330 ac_status=$?
41331 grep -v '^ *+' conftest.er1 >conftest.err
41332 rm -f conftest.er1
41333 cat conftest.err >&5
41334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41335 (exit $ac_status); } && {
41336 test -z "$ac_c_werror_flag" ||
41337 test ! -s conftest.err
41338 } && test -s conftest$ac_exeext &&
41339 $as_test_x conftest$ac_exeext; then
41340 eval "$as_ac_var=yes"
41341 else
41342 echo "$as_me: failed program was:" >&5
41343 sed 's/^/| /' conftest.$ac_ext >&5
41344
41345 eval "$as_ac_var=no"
41346 fi
41347
41348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41349 conftest$ac_exeext conftest.$ac_ext
41350 fi
41351 ac_res=`eval echo '${'$as_ac_var'}'`
41352 { echo "$as_me:$LINENO: result: $ac_res" >&5
41353 echo "${ECHO_T}$ac_res" >&6; }
41354 if test `eval echo '${'$as_ac_var'}'` = yes; then
41355 cat >>confdefs.h <<_ACEOF
41356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41357 _ACEOF
41358 cat >>confdefs.h <<\_ACEOF
41359 #define HAVE_GETSERVBYNAME 1
41360 _ACEOF
41361
41362 fi
41363 done
41364
41365 fi
41366
41367 if test "$wxUSE_THREADS" = "yes"; then
41368 cat >>confdefs.h <<\_ACEOF
41369 #define wxUSE_THREADS 1
41370 _ACEOF
41371
41372
41373 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41374 else
41375 if test "$wx_cv_func_strtok_r" = "yes"; then
41376 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41377 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41378 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41379 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41380 { echo "$as_me:$LINENO: result: yes" >&5
41381 echo "${ECHO_T}yes" >&6; }
41382 else
41383 { echo "$as_me:$LINENO: result: no" >&5
41384 echo "${ECHO_T}no" >&6; }
41385 fi
41386 fi
41387 fi
41388
41389 if test "$WXGTK2" = 1 ; then
41390 cat >>confdefs.h <<_ACEOF
41391 #define __WXGTK20__ $WXGTK2
41392 _ACEOF
41393
41394 WXGTK12=1
41395 fi
41396
41397 if test "$WXGTK12" = 1 ; then
41398 cat >>confdefs.h <<_ACEOF
41399 #define __WXGTK12__ $WXGTK12
41400 _ACEOF
41401
41402 fi
41403
41404 if test "$WXGTK127" = 1 ; then
41405 cat >>confdefs.h <<_ACEOF
41406 #define __WXGTK127__ $WXGTK127
41407 _ACEOF
41408
41409 fi
41410
41411 if test "$WXGPE" = 1 ; then
41412 cat >>confdefs.h <<_ACEOF
41413 #define __WXGPE__ $WXGPE
41414 _ACEOF
41415
41416 fi
41417
41418 DEBUG_CFLAGS=
41419 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
41420 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
41421 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
41422 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
41423 DEBUG_CFLAGS="-g"
41424 fi
41425
41426 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41427 wxUSE_DEBUG_INFO=yes
41428 if test "$GCC" = yes; then
41429 DEBUG_CFLAGS="-ggdb"
41430 fi
41431 fi
41432
41433 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41434 cat >>confdefs.h <<\_ACEOF
41435 #define WXDEBUG 1
41436 _ACEOF
41437
41438 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41439 else
41440 if test "$wxUSE_GTK" = 1 ; then
41441 if test "x$wxGTK_VERSION" = "x1" ; then
41442 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41443 fi
41444 fi
41445 fi
41446
41447 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41448 cat >>confdefs.h <<\_ACEOF
41449 #define wxUSE_MEMORY_TRACING 1
41450 _ACEOF
41451
41452 cat >>confdefs.h <<\_ACEOF
41453 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41454 _ACEOF
41455
41456 cat >>confdefs.h <<\_ACEOF
41457 #define wxUSE_DEBUG_NEW_ALWAYS 1
41458 _ACEOF
41459
41460 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41461 fi
41462
41463 if test "$wxUSE_DMALLOC" = "yes" ; then
41464 DMALLOC_LIBS="-ldmallocthcxx"
41465 fi
41466
41467 PROFILE_FLAGS=
41468 if test "$wxUSE_PROFILE" = "yes" ; then
41469 PROFILE_FLAGS=" -pg"
41470 fi
41471
41472 if test "$GCC" = "yes" ; then
41473 if test "$wxUSE_NO_RTTI" = "yes" ; then
41474 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41475 fi
41476 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41477 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41478 fi
41479 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41480 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41481 fi
41482
41483 case "${host}" in
41484 powerpc*-*-aix* )
41485 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41486 ;;
41487 *-hppa* )
41488 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41489 ;;
41490 esac
41491 fi
41492
41493 OPTIMISE_CFLAGS=
41494 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
41495 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
41496 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
41497 else
41498 if test "$wxUSE_OPTIMISE" = "no" ; then
41499 if test "$GCC" = yes ; then
41500 OPTIMISE_CFLAGS="-O0"
41501 fi
41502 else
41503 if test "$GCC" = yes ; then
41504 case "${host}" in
41505 *-pc-os2_emx | *-pc-os2-emx )
41506 OPTIMISE_CFLAGS="-O2"
41507 ;;
41508 *)
41509 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41510 ;;
41511 esac
41512 else
41513 OPTIMISE_CFLAGS="-O"
41514 fi
41515 fi
41516 fi
41517
41518
41519 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41520 cat >>confdefs.h <<\_ACEOF
41521 #define WXWIN_COMPATIBILITY_2_6 1
41522 _ACEOF
41523
41524
41525 WXWIN_COMPATIBILITY_2_8="yes"
41526 fi
41527
41528 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41529 cat >>confdefs.h <<\_ACEOF
41530 #define WXWIN_COMPATIBILITY_2_8 1
41531 _ACEOF
41532
41533 fi
41534
41535
41536 if test "$wxUSE_GUI" = "yes"; then
41537 cat >>confdefs.h <<\_ACEOF
41538 #define wxUSE_GUI 1
41539 _ACEOF
41540
41541
41542 fi
41543
41544
41545 if test "$wxUSE_UNIX" = "yes"; then
41546 cat >>confdefs.h <<\_ACEOF
41547 #define wxUSE_UNIX 1
41548 _ACEOF
41549
41550 fi
41551
41552
41553 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41554
41555 HAVE_DL_FUNCS=0
41556 HAVE_SHL_FUNCS=0
41557 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41558 if test "$USE_DOS" = 1; then
41559 HAVE_DL_FUNCS=0
41560 else
41561
41562 for ac_func in dlopen
41563 do
41564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41565 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41567 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41568 echo $ECHO_N "(cached) $ECHO_C" >&6
41569 else
41570 cat >conftest.$ac_ext <<_ACEOF
41571 /* confdefs.h. */
41572 _ACEOF
41573 cat confdefs.h >>conftest.$ac_ext
41574 cat >>conftest.$ac_ext <<_ACEOF
41575 /* end confdefs.h. */
41576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41578 #define $ac_func innocuous_$ac_func
41579
41580 /* System header to define __stub macros and hopefully few prototypes,
41581 which can conflict with char $ac_func (); below.
41582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41583 <limits.h> exists even on freestanding compilers. */
41584
41585 #ifdef __STDC__
41586 # include <limits.h>
41587 #else
41588 # include <assert.h>
41589 #endif
41590
41591 #undef $ac_func
41592
41593 /* Override any GCC internal prototype to avoid an error.
41594 Use char because int might match the return type of a GCC
41595 builtin and then its argument prototype would still apply. */
41596 #ifdef __cplusplus
41597 extern "C"
41598 #endif
41599 char $ac_func ();
41600 /* The GNU C library defines this for functions which it implements
41601 to always fail with ENOSYS. Some functions are actually named
41602 something starting with __ and the normal name is an alias. */
41603 #if defined __stub_$ac_func || defined __stub___$ac_func
41604 choke me
41605 #endif
41606
41607 int
41608 main ()
41609 {
41610 return $ac_func ();
41611 ;
41612 return 0;
41613 }
41614 _ACEOF
41615 rm -f conftest.$ac_objext conftest$ac_exeext
41616 if { (ac_try="$ac_link"
41617 case "(($ac_try" in
41618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41619 *) ac_try_echo=$ac_try;;
41620 esac
41621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41622 (eval "$ac_link") 2>conftest.er1
41623 ac_status=$?
41624 grep -v '^ *+' conftest.er1 >conftest.err
41625 rm -f conftest.er1
41626 cat conftest.err >&5
41627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41628 (exit $ac_status); } && {
41629 test -z "$ac_c_werror_flag" ||
41630 test ! -s conftest.err
41631 } && test -s conftest$ac_exeext &&
41632 $as_test_x conftest$ac_exeext; then
41633 eval "$as_ac_var=yes"
41634 else
41635 echo "$as_me: failed program was:" >&5
41636 sed 's/^/| /' conftest.$ac_ext >&5
41637
41638 eval "$as_ac_var=no"
41639 fi
41640
41641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41642 conftest$ac_exeext conftest.$ac_ext
41643 fi
41644 ac_res=`eval echo '${'$as_ac_var'}'`
41645 { echo "$as_me:$LINENO: result: $ac_res" >&5
41646 echo "${ECHO_T}$ac_res" >&6; }
41647 if test `eval echo '${'$as_ac_var'}'` = yes; then
41648 cat >>confdefs.h <<_ACEOF
41649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41650 _ACEOF
41651
41652 cat >>confdefs.h <<\_ACEOF
41653 #define HAVE_DLOPEN 1
41654 _ACEOF
41655
41656 HAVE_DL_FUNCS=1
41657
41658 else
41659
41660 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41661 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41662 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41663 echo $ECHO_N "(cached) $ECHO_C" >&6
41664 else
41665 ac_check_lib_save_LIBS=$LIBS
41666 LIBS="-ldl $LIBS"
41667 cat >conftest.$ac_ext <<_ACEOF
41668 /* confdefs.h. */
41669 _ACEOF
41670 cat confdefs.h >>conftest.$ac_ext
41671 cat >>conftest.$ac_ext <<_ACEOF
41672 /* end confdefs.h. */
41673
41674 /* Override any GCC internal prototype to avoid an error.
41675 Use char because int might match the return type of a GCC
41676 builtin and then its argument prototype would still apply. */
41677 #ifdef __cplusplus
41678 extern "C"
41679 #endif
41680 char dlopen ();
41681 int
41682 main ()
41683 {
41684 return dlopen ();
41685 ;
41686 return 0;
41687 }
41688 _ACEOF
41689 rm -f conftest.$ac_objext conftest$ac_exeext
41690 if { (ac_try="$ac_link"
41691 case "(($ac_try" in
41692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41693 *) ac_try_echo=$ac_try;;
41694 esac
41695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41696 (eval "$ac_link") 2>conftest.er1
41697 ac_status=$?
41698 grep -v '^ *+' conftest.er1 >conftest.err
41699 rm -f conftest.er1
41700 cat conftest.err >&5
41701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41702 (exit $ac_status); } && {
41703 test -z "$ac_c_werror_flag" ||
41704 test ! -s conftest.err
41705 } && test -s conftest$ac_exeext &&
41706 $as_test_x conftest$ac_exeext; then
41707 ac_cv_lib_dl_dlopen=yes
41708 else
41709 echo "$as_me: failed program was:" >&5
41710 sed 's/^/| /' conftest.$ac_ext >&5
41711
41712 ac_cv_lib_dl_dlopen=no
41713 fi
41714
41715 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41716 conftest$ac_exeext conftest.$ac_ext
41717 LIBS=$ac_check_lib_save_LIBS
41718 fi
41719 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41720 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41721 if test $ac_cv_lib_dl_dlopen = yes; then
41722
41723 cat >>confdefs.h <<\_ACEOF
41724 #define HAVE_DLOPEN 1
41725 _ACEOF
41726
41727 HAVE_DL_FUNCS=1
41728 DL_LINK=" -ldl$DL_LINK"
41729
41730 else
41731
41732
41733 for ac_func in shl_load
41734 do
41735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41736 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41738 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41739 echo $ECHO_N "(cached) $ECHO_C" >&6
41740 else
41741 cat >conftest.$ac_ext <<_ACEOF
41742 /* confdefs.h. */
41743 _ACEOF
41744 cat confdefs.h >>conftest.$ac_ext
41745 cat >>conftest.$ac_ext <<_ACEOF
41746 /* end confdefs.h. */
41747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41749 #define $ac_func innocuous_$ac_func
41750
41751 /* System header to define __stub macros and hopefully few prototypes,
41752 which can conflict with char $ac_func (); below.
41753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41754 <limits.h> exists even on freestanding compilers. */
41755
41756 #ifdef __STDC__
41757 # include <limits.h>
41758 #else
41759 # include <assert.h>
41760 #endif
41761
41762 #undef $ac_func
41763
41764 /* Override any GCC internal prototype to avoid an error.
41765 Use char because int might match the return type of a GCC
41766 builtin and then its argument prototype would still apply. */
41767 #ifdef __cplusplus
41768 extern "C"
41769 #endif
41770 char $ac_func ();
41771 /* The GNU C library defines this for functions which it implements
41772 to always fail with ENOSYS. Some functions are actually named
41773 something starting with __ and the normal name is an alias. */
41774 #if defined __stub_$ac_func || defined __stub___$ac_func
41775 choke me
41776 #endif
41777
41778 int
41779 main ()
41780 {
41781 return $ac_func ();
41782 ;
41783 return 0;
41784 }
41785 _ACEOF
41786 rm -f conftest.$ac_objext conftest$ac_exeext
41787 if { (ac_try="$ac_link"
41788 case "(($ac_try" in
41789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41790 *) ac_try_echo=$ac_try;;
41791 esac
41792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41793 (eval "$ac_link") 2>conftest.er1
41794 ac_status=$?
41795 grep -v '^ *+' conftest.er1 >conftest.err
41796 rm -f conftest.er1
41797 cat conftest.err >&5
41798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41799 (exit $ac_status); } && {
41800 test -z "$ac_c_werror_flag" ||
41801 test ! -s conftest.err
41802 } && test -s conftest$ac_exeext &&
41803 $as_test_x conftest$ac_exeext; then
41804 eval "$as_ac_var=yes"
41805 else
41806 echo "$as_me: failed program was:" >&5
41807 sed 's/^/| /' conftest.$ac_ext >&5
41808
41809 eval "$as_ac_var=no"
41810 fi
41811
41812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41813 conftest$ac_exeext conftest.$ac_ext
41814 fi
41815 ac_res=`eval echo '${'$as_ac_var'}'`
41816 { echo "$as_me:$LINENO: result: $ac_res" >&5
41817 echo "${ECHO_T}$ac_res" >&6; }
41818 if test `eval echo '${'$as_ac_var'}'` = yes; then
41819 cat >>confdefs.h <<_ACEOF
41820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41821 _ACEOF
41822
41823 cat >>confdefs.h <<\_ACEOF
41824 #define HAVE_SHL_LOAD 1
41825 _ACEOF
41826
41827 HAVE_SHL_FUNCS=1
41828
41829 else
41830
41831 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41832 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41833 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41834 echo $ECHO_N "(cached) $ECHO_C" >&6
41835 else
41836 ac_check_lib_save_LIBS=$LIBS
41837 LIBS="-lshl_load $LIBS"
41838 cat >conftest.$ac_ext <<_ACEOF
41839 /* confdefs.h. */
41840 _ACEOF
41841 cat confdefs.h >>conftest.$ac_ext
41842 cat >>conftest.$ac_ext <<_ACEOF
41843 /* end confdefs.h. */
41844
41845 /* Override any GCC internal prototype to avoid an error.
41846 Use char because int might match the return type of a GCC
41847 builtin and then its argument prototype would still apply. */
41848 #ifdef __cplusplus
41849 extern "C"
41850 #endif
41851 char dld ();
41852 int
41853 main ()
41854 {
41855 return dld ();
41856 ;
41857 return 0;
41858 }
41859 _ACEOF
41860 rm -f conftest.$ac_objext conftest$ac_exeext
41861 if { (ac_try="$ac_link"
41862 case "(($ac_try" in
41863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41864 *) ac_try_echo=$ac_try;;
41865 esac
41866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41867 (eval "$ac_link") 2>conftest.er1
41868 ac_status=$?
41869 grep -v '^ *+' conftest.er1 >conftest.err
41870 rm -f conftest.er1
41871 cat conftest.err >&5
41872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41873 (exit $ac_status); } && {
41874 test -z "$ac_c_werror_flag" ||
41875 test ! -s conftest.err
41876 } && test -s conftest$ac_exeext &&
41877 $as_test_x conftest$ac_exeext; then
41878 ac_cv_lib_shl_load_dld=yes
41879 else
41880 echo "$as_me: failed program was:" >&5
41881 sed 's/^/| /' conftest.$ac_ext >&5
41882
41883 ac_cv_lib_shl_load_dld=no
41884 fi
41885
41886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41887 conftest$ac_exeext conftest.$ac_ext
41888 LIBS=$ac_check_lib_save_LIBS
41889 fi
41890 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41891 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41892 if test $ac_cv_lib_shl_load_dld = yes; then
41893
41894 HAVE_SHL_FUNCS=1
41895 DL_LINK=" -ldld$DL_LINK"
41896
41897 fi
41898
41899
41900 fi
41901 done
41902
41903
41904 fi
41905
41906
41907 fi
41908 done
41909
41910
41911 if test "$HAVE_DL_FUNCS" = 1; then
41912
41913 for ac_func in dlerror
41914 do
41915 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41916 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41918 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41919 echo $ECHO_N "(cached) $ECHO_C" >&6
41920 else
41921 cat >conftest.$ac_ext <<_ACEOF
41922 /* confdefs.h. */
41923 _ACEOF
41924 cat confdefs.h >>conftest.$ac_ext
41925 cat >>conftest.$ac_ext <<_ACEOF
41926 /* end confdefs.h. */
41927 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41929 #define $ac_func innocuous_$ac_func
41930
41931 /* System header to define __stub macros and hopefully few prototypes,
41932 which can conflict with char $ac_func (); below.
41933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41934 <limits.h> exists even on freestanding compilers. */
41935
41936 #ifdef __STDC__
41937 # include <limits.h>
41938 #else
41939 # include <assert.h>
41940 #endif
41941
41942 #undef $ac_func
41943
41944 /* Override any GCC internal prototype to avoid an error.
41945 Use char because int might match the return type of a GCC
41946 builtin and then its argument prototype would still apply. */
41947 #ifdef __cplusplus
41948 extern "C"
41949 #endif
41950 char $ac_func ();
41951 /* The GNU C library defines this for functions which it implements
41952 to always fail with ENOSYS. Some functions are actually named
41953 something starting with __ and the normal name is an alias. */
41954 #if defined __stub_$ac_func || defined __stub___$ac_func
41955 choke me
41956 #endif
41957
41958 int
41959 main ()
41960 {
41961 return $ac_func ();
41962 ;
41963 return 0;
41964 }
41965 _ACEOF
41966 rm -f conftest.$ac_objext conftest$ac_exeext
41967 if { (ac_try="$ac_link"
41968 case "(($ac_try" in
41969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41970 *) ac_try_echo=$ac_try;;
41971 esac
41972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41973 (eval "$ac_link") 2>conftest.er1
41974 ac_status=$?
41975 grep -v '^ *+' conftest.er1 >conftest.err
41976 rm -f conftest.er1
41977 cat conftest.err >&5
41978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41979 (exit $ac_status); } && {
41980 test -z "$ac_c_werror_flag" ||
41981 test ! -s conftest.err
41982 } && test -s conftest$ac_exeext &&
41983 $as_test_x conftest$ac_exeext; then
41984 eval "$as_ac_var=yes"
41985 else
41986 echo "$as_me: failed program was:" >&5
41987 sed 's/^/| /' conftest.$ac_ext >&5
41988
41989 eval "$as_ac_var=no"
41990 fi
41991
41992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41993 conftest$ac_exeext conftest.$ac_ext
41994 fi
41995 ac_res=`eval echo '${'$as_ac_var'}'`
41996 { echo "$as_me:$LINENO: result: $ac_res" >&5
41997 echo "${ECHO_T}$ac_res" >&6; }
41998 if test `eval echo '${'$as_ac_var'}'` = yes; then
41999 cat >>confdefs.h <<_ACEOF
42000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42001 _ACEOF
42002 cat >>confdefs.h <<\_ACEOF
42003 #define HAVE_DLERROR 1
42004 _ACEOF
42005
42006 else
42007
42008 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42009 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42010 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42011 echo $ECHO_N "(cached) $ECHO_C" >&6
42012 else
42013 ac_check_lib_save_LIBS=$LIBS
42014 LIBS="-ldl $LIBS"
42015 cat >conftest.$ac_ext <<_ACEOF
42016 /* confdefs.h. */
42017 _ACEOF
42018 cat confdefs.h >>conftest.$ac_ext
42019 cat >>conftest.$ac_ext <<_ACEOF
42020 /* end confdefs.h. */
42021
42022 /* Override any GCC internal prototype to avoid an error.
42023 Use char because int might match the return type of a GCC
42024 builtin and then its argument prototype would still apply. */
42025 #ifdef __cplusplus
42026 extern "C"
42027 #endif
42028 char dlerror ();
42029 int
42030 main ()
42031 {
42032 return dlerror ();
42033 ;
42034 return 0;
42035 }
42036 _ACEOF
42037 rm -f conftest.$ac_objext conftest$ac_exeext
42038 if { (ac_try="$ac_link"
42039 case "(($ac_try" in
42040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42041 *) ac_try_echo=$ac_try;;
42042 esac
42043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42044 (eval "$ac_link") 2>conftest.er1
42045 ac_status=$?
42046 grep -v '^ *+' conftest.er1 >conftest.err
42047 rm -f conftest.er1
42048 cat conftest.err >&5
42049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42050 (exit $ac_status); } && {
42051 test -z "$ac_c_werror_flag" ||
42052 test ! -s conftest.err
42053 } && test -s conftest$ac_exeext &&
42054 $as_test_x conftest$ac_exeext; then
42055 ac_cv_lib_dl_dlerror=yes
42056 else
42057 echo "$as_me: failed program was:" >&5
42058 sed 's/^/| /' conftest.$ac_ext >&5
42059
42060 ac_cv_lib_dl_dlerror=no
42061 fi
42062
42063 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42064 conftest$ac_exeext conftest.$ac_ext
42065 LIBS=$ac_check_lib_save_LIBS
42066 fi
42067 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42068 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42069 if test $ac_cv_lib_dl_dlerror = yes; then
42070 cat >>confdefs.h <<\_ACEOF
42071 #define HAVE_DLERROR 1
42072 _ACEOF
42073
42074 fi
42075
42076
42077
42078 fi
42079 done
42080
42081 fi
42082 fi
42083
42084 if test "$USE_DARWIN" = 1; then
42085 HAVE_DL_FUNCS=1
42086 fi
42087
42088 if test "$HAVE_DL_FUNCS" = 0; then
42089 if test "$HAVE_SHL_FUNCS" = 0; then
42090 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42091 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42092 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42093 wxUSE_DYNAMIC_LOADER=no
42094 wxUSE_DYNLIB_CLASS=no
42095 else
42096 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42097 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42098 fi
42099 fi
42100 fi
42101 fi
42102 fi
42103
42104 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42105 cat >>confdefs.h <<\_ACEOF
42106 #define wxUSE_DYNAMIC_LOADER 1
42107 _ACEOF
42108
42109 fi
42110 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42111 cat >>confdefs.h <<\_ACEOF
42112 #define wxUSE_DYNLIB_CLASS 1
42113 _ACEOF
42114
42115 fi
42116
42117
42118
42119 if test "$wxUSE_PLUGINS" = "yes" ; then
42120 if test "$wxUSE_SHARED" = "no" ; then
42121 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42122 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42123 wxUSE_PLUGINS=no
42124 fi
42125 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42126 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42127 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42128 wxUSE_PLUGINS=no
42129 fi
42130 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42131 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42132 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42133 wxUSE_PLUGINS=no
42134 fi
42135 if test "$wxUSE_PLUGINS" = "yes" ; then
42136 cat >>confdefs.h <<\_ACEOF
42137 #define wxUSE_PLUGINS 1
42138 _ACEOF
42139
42140 fi
42141 fi
42142
42143
42144 if test "$wxUSE_STL" = "yes"; then
42145 cat >>confdefs.h <<\_ACEOF
42146 #define wxUSE_STL 1
42147 _ACEOF
42148
42149 fi
42150
42151 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42152 cat >>confdefs.h <<\_ACEOF
42153 #define wxUSE_EXTENDED_RTTI 1
42154 _ACEOF
42155
42156 fi
42157
42158 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42159 cat >>confdefs.h <<\_ACEOF
42160 #define wxUSE_APPLE_IEEE 1
42161 _ACEOF
42162
42163 fi
42164
42165 if test "$wxUSE_TIMER" = "yes"; then
42166 cat >>confdefs.h <<\_ACEOF
42167 #define wxUSE_TIMER 1
42168 _ACEOF
42169
42170 fi
42171
42172 if test "$USE_UNIX" = 1 ; then
42173 if test "$wxUSE_MGL" != 1; then
42174 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42175 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42176 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42177 echo $ECHO_N "(cached) $ECHO_C" >&6
42178 else
42179
42180 cat >conftest.$ac_ext <<_ACEOF
42181 /* confdefs.h. */
42182 _ACEOF
42183 cat confdefs.h >>conftest.$ac_ext
42184 cat >>conftest.$ac_ext <<_ACEOF
42185 /* end confdefs.h. */
42186
42187 #include <sys/ioctl.h>
42188 #include <sys/soundcard.h>
42189
42190 int
42191 main ()
42192 {
42193
42194 ioctl(0, SNDCTL_DSP_SPEED, 0);
42195
42196 ;
42197 return 0;
42198 }
42199 _ACEOF
42200 rm -f conftest.$ac_objext conftest$ac_exeext
42201 if { (ac_try="$ac_link"
42202 case "(($ac_try" in
42203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42204 *) ac_try_echo=$ac_try;;
42205 esac
42206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42207 (eval "$ac_link") 2>conftest.er1
42208 ac_status=$?
42209 grep -v '^ *+' conftest.er1 >conftest.err
42210 rm -f conftest.er1
42211 cat conftest.err >&5
42212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42213 (exit $ac_status); } && {
42214 test -z "$ac_c_werror_flag" ||
42215 test ! -s conftest.err
42216 } && test -s conftest$ac_exeext &&
42217 $as_test_x conftest$ac_exeext; then
42218 ac_cv_header_sys_soundcard=yes
42219 else
42220 echo "$as_me: failed program was:" >&5
42221 sed 's/^/| /' conftest.$ac_ext >&5
42222
42223
42224 saveLibs="$LIBS"
42225 LIBS="$saveLibs -lossaudio"
42226 cat >conftest.$ac_ext <<_ACEOF
42227 /* confdefs.h. */
42228 _ACEOF
42229 cat confdefs.h >>conftest.$ac_ext
42230 cat >>conftest.$ac_ext <<_ACEOF
42231 /* end confdefs.h. */
42232
42233 #include <sys/ioctl.h>
42234 #include <sys/soundcard.h>
42235
42236 int
42237 main ()
42238 {
42239
42240 ioctl(0, SNDCTL_DSP_SPEED, 0);
42241
42242 ;
42243 return 0;
42244 }
42245 _ACEOF
42246 rm -f conftest.$ac_objext conftest$ac_exeext
42247 if { (ac_try="$ac_link"
42248 case "(($ac_try" in
42249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42250 *) ac_try_echo=$ac_try;;
42251 esac
42252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42253 (eval "$ac_link") 2>conftest.er1
42254 ac_status=$?
42255 grep -v '^ *+' conftest.er1 >conftest.err
42256 rm -f conftest.er1
42257 cat conftest.err >&5
42258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42259 (exit $ac_status); } && {
42260 test -z "$ac_c_werror_flag" ||
42261 test ! -s conftest.err
42262 } && test -s conftest$ac_exeext &&
42263 $as_test_x conftest$ac_exeext; then
42264 ac_cv_header_sys_soundcard=yes
42265 else
42266 echo "$as_me: failed program was:" >&5
42267 sed 's/^/| /' conftest.$ac_ext >&5
42268
42269
42270 LIBS="$saveLibs"
42271 ac_cv_header_sys_soundcard=no
42272
42273
42274 fi
42275
42276 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42277 conftest$ac_exeext conftest.$ac_ext
42278
42279
42280 fi
42281
42282 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42283 conftest$ac_exeext conftest.$ac_ext
42284
42285 fi
42286 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42287 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42288 fi
42289
42290 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42291 cat >>confdefs.h <<\_ACEOF
42292 #define HAVE_SYS_SOUNDCARD_H 1
42293 _ACEOF
42294
42295 fi
42296 fi
42297
42298 WITH_PLUGIN_SDL=0
42299 if test "$wxUSE_SOUND" = "yes"; then
42300 if test "$USE_UNIX" = 1 ; then
42301 if test "$wxUSE_LIBSDL" != "no"; then
42302
42303 # Check whether --with-sdl-prefix was given.
42304 if test "${with_sdl_prefix+set}" = set; then
42305 withval=$with_sdl_prefix; sdl_prefix="$withval"
42306 else
42307 sdl_prefix=""
42308 fi
42309
42310
42311 # Check whether --with-sdl-exec-prefix was given.
42312 if test "${with_sdl_exec_prefix+set}" = set; then
42313 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42314 else
42315 sdl_exec_prefix=""
42316 fi
42317
42318 # Check whether --enable-sdltest was given.
42319 if test "${enable_sdltest+set}" = set; then
42320 enableval=$enable_sdltest;
42321 else
42322 enable_sdltest=yes
42323 fi
42324
42325
42326 if test x$sdl_exec_prefix != x ; then
42327 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42328 if test x${SDL_CONFIG+set} != xset ; then
42329 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42330 fi
42331 fi
42332 if test x$sdl_prefix != x ; then
42333 sdl_args="$sdl_args --prefix=$sdl_prefix"
42334 if test x${SDL_CONFIG+set} != xset ; then
42335 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42336 fi
42337 fi
42338
42339 if test "x$prefix" != xNONE; then
42340 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42341 fi
42342 # Extract the first word of "sdl-config", so it can be a program name with args.
42343 set dummy sdl-config; ac_word=$2
42344 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42346 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42347 echo $ECHO_N "(cached) $ECHO_C" >&6
42348 else
42349 case $SDL_CONFIG in
42350 [\\/]* | ?:[\\/]*)
42351 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42352 ;;
42353 *)
42354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42355 for as_dir in $PATH
42356 do
42357 IFS=$as_save_IFS
42358 test -z "$as_dir" && as_dir=.
42359 for ac_exec_ext in '' $ac_executable_extensions; do
42360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42361 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42363 break 2
42364 fi
42365 done
42366 done
42367 IFS=$as_save_IFS
42368
42369 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42370 ;;
42371 esac
42372 fi
42373 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42374 if test -n "$SDL_CONFIG"; then
42375 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42376 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42377 else
42378 { echo "$as_me:$LINENO: result: no" >&5
42379 echo "${ECHO_T}no" >&6; }
42380 fi
42381
42382
42383 min_sdl_version=1.2.0
42384 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42385 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42386 no_sdl=""
42387 if test "$SDL_CONFIG" = "no" ; then
42388 no_sdl=yes
42389 else
42390 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42391 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42392
42393 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42394 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42395 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42396 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42397 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42398 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42399 if test "x$enable_sdltest" = "xyes" ; then
42400 ac_save_CFLAGS="$CFLAGS"
42401 ac_save_CXXFLAGS="$CXXFLAGS"
42402 ac_save_LIBS="$LIBS"
42403 CFLAGS="$CFLAGS $SDL_CFLAGS"
42404 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42405 LIBS="$LIBS $SDL_LIBS"
42406 rm -f conf.sdltest
42407 if test "$cross_compiling" = yes; then
42408 echo $ac_n "cross compiling; assumed OK... $ac_c"
42409 else
42410 cat >conftest.$ac_ext <<_ACEOF
42411 /* confdefs.h. */
42412 _ACEOF
42413 cat confdefs.h >>conftest.$ac_ext
42414 cat >>conftest.$ac_ext <<_ACEOF
42415 /* end confdefs.h. */
42416
42417 #include <stdio.h>
42418 #include <stdlib.h>
42419 #include <string.h>
42420 #include "SDL.h"
42421
42422 char*
42423 my_strdup (char *str)
42424 {
42425 char *new_str;
42426
42427 if (str)
42428 {
42429 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42430 strcpy (new_str, str);
42431 }
42432 else
42433 new_str = NULL;
42434
42435 return new_str;
42436 }
42437
42438 int main (int argc, char *argv[])
42439 {
42440 int major, minor, micro;
42441 char *tmp_version;
42442
42443 /* This hangs on some systems (?)
42444 system ("touch conf.sdltest");
42445 */
42446 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42447
42448 /* HP/UX 9 (%@#!) writes to sscanf strings */
42449 tmp_version = my_strdup("$min_sdl_version");
42450 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42451 printf("%s, bad version string\n", "$min_sdl_version");
42452 exit(1);
42453 }
42454
42455 if (($sdl_major_version > major) ||
42456 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42457 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42458 {
42459 return 0;
42460 }
42461 else
42462 {
42463 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42464 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42465 printf("*** best to upgrade to the required version.\n");
42466 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42467 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42468 printf("*** config.cache before re-running configure\n");
42469 return 1;
42470 }
42471 }
42472
42473
42474 _ACEOF
42475 rm -f conftest$ac_exeext
42476 if { (ac_try="$ac_link"
42477 case "(($ac_try" in
42478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42479 *) ac_try_echo=$ac_try;;
42480 esac
42481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42482 (eval "$ac_link") 2>&5
42483 ac_status=$?
42484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42485 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42486 { (case "(($ac_try" in
42487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42488 *) ac_try_echo=$ac_try;;
42489 esac
42490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42491 (eval "$ac_try") 2>&5
42492 ac_status=$?
42493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42494 (exit $ac_status); }; }; then
42495 :
42496 else
42497 echo "$as_me: program exited with status $ac_status" >&5
42498 echo "$as_me: failed program was:" >&5
42499 sed 's/^/| /' conftest.$ac_ext >&5
42500
42501 ( exit $ac_status )
42502 no_sdl=yes
42503 fi
42504 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42505 fi
42506
42507
42508 CFLAGS="$ac_save_CFLAGS"
42509 CXXFLAGS="$ac_save_CXXFLAGS"
42510 LIBS="$ac_save_LIBS"
42511 fi
42512 fi
42513 if test "x$no_sdl" = x ; then
42514 { echo "$as_me:$LINENO: result: yes" >&5
42515 echo "${ECHO_T}yes" >&6; }
42516
42517 EXTRALIBS_SDL="$SDL_LIBS"
42518 CFLAGS="$SDL_CFLAGS $CFLAGS"
42519 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42520 cat >>confdefs.h <<\_ACEOF
42521 #define wxUSE_LIBSDL 1
42522 _ACEOF
42523
42524
42525 else
42526 { echo "$as_me:$LINENO: result: no" >&5
42527 echo "${ECHO_T}no" >&6; }
42528 if test "$SDL_CONFIG" = "no" ; then
42529 echo "*** The sdl-config script installed by SDL could not be found"
42530 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42531 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42532 echo "*** full path to sdl-config."
42533 else
42534 if test -f conf.sdltest ; then
42535 :
42536 else
42537 echo "*** Could not run SDL test program, checking why..."
42538 CFLAGS="$CFLAGS $SDL_CFLAGS"
42539 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42540 LIBS="$LIBS $SDL_LIBS"
42541 cat >conftest.$ac_ext <<_ACEOF
42542 /* confdefs.h. */
42543 _ACEOF
42544 cat confdefs.h >>conftest.$ac_ext
42545 cat >>conftest.$ac_ext <<_ACEOF
42546 /* end confdefs.h. */
42547
42548 #include <stdio.h>
42549 #include "SDL.h"
42550
42551 int main(int argc, char *argv[])
42552 { return 0; }
42553 #undef main
42554 #define main K_and_R_C_main
42555
42556 int
42557 main ()
42558 {
42559 return 0;
42560 ;
42561 return 0;
42562 }
42563 _ACEOF
42564 rm -f conftest.$ac_objext conftest$ac_exeext
42565 if { (ac_try="$ac_link"
42566 case "(($ac_try" in
42567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42568 *) ac_try_echo=$ac_try;;
42569 esac
42570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42571 (eval "$ac_link") 2>conftest.er1
42572 ac_status=$?
42573 grep -v '^ *+' conftest.er1 >conftest.err
42574 rm -f conftest.er1
42575 cat conftest.err >&5
42576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42577 (exit $ac_status); } && {
42578 test -z "$ac_c_werror_flag" ||
42579 test ! -s conftest.err
42580 } && test -s conftest$ac_exeext &&
42581 $as_test_x conftest$ac_exeext; then
42582 echo "*** The test program compiled, but did not run. This usually means"
42583 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42584 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42585 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42586 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42587 echo "*** is required on your system"
42588 echo "***"
42589 echo "*** If you have an old version installed, it is best to remove it, although"
42590 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42591 else
42592 echo "$as_me: failed program was:" >&5
42593 sed 's/^/| /' conftest.$ac_ext >&5
42594
42595 echo "*** The test program failed to compile or link. See the file config.log for the"
42596 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42597 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42598 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42599 fi
42600
42601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42602 conftest$ac_exeext conftest.$ac_ext
42603 CFLAGS="$ac_save_CFLAGS"
42604 CXXFLAGS="$ac_save_CXXFLAGS"
42605 LIBS="$ac_save_LIBS"
42606 fi
42607 fi
42608 SDL_CFLAGS=""
42609 SDL_LIBS=""
42610 wxUSE_LIBSDL="no"
42611 fi
42612
42613
42614 rm -f conf.sdltest
42615
42616 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42617 WITH_PLUGIN_SDL=1
42618 fi
42619 fi
42620 else
42621 if test "$wxUSE_MGL" = 1; then
42622 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42623 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42624 wxUSE_SOUND="no"
42625 fi
42626 fi
42627 fi
42628
42629 if test "$wxUSE_SOUND" = "yes"; then
42630 cat >>confdefs.h <<\_ACEOF
42631 #define wxUSE_SOUND 1
42632 _ACEOF
42633
42634 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42635 fi
42636
42637 if test "$WXGTK2" = 1; then
42638
42639
42640 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42641 if test -n "$ac_tool_prefix"; then
42642 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42643 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
42644 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42645 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42646 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42647 echo $ECHO_N "(cached) $ECHO_C" >&6
42648 else
42649 case $PKG_CONFIG in
42650 [\\/]* | ?:[\\/]*)
42651 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
42652 ;;
42653 *)
42654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42655 for as_dir in $PATH
42656 do
42657 IFS=$as_save_IFS
42658 test -z "$as_dir" && as_dir=.
42659 for ac_exec_ext in '' $ac_executable_extensions; do
42660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42661 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42663 break 2
42664 fi
42665 done
42666 done
42667 IFS=$as_save_IFS
42668
42669 ;;
42670 esac
42671 fi
42672 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
42673 if test -n "$PKG_CONFIG"; then
42674 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42675 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42676 else
42677 { echo "$as_me:$LINENO: result: no" >&5
42678 echo "${ECHO_T}no" >&6; }
42679 fi
42680
42681
42682 fi
42683 if test -z "$ac_cv_path_PKG_CONFIG"; then
42684 ac_pt_PKG_CONFIG=$PKG_CONFIG
42685 # Extract the first word of "pkg-config", so it can be a program name with args.
42686 set dummy pkg-config; ac_word=$2
42687 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42689 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42690 echo $ECHO_N "(cached) $ECHO_C" >&6
42691 else
42692 case $ac_pt_PKG_CONFIG in
42693 [\\/]* | ?:[\\/]*)
42694 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42695 ;;
42696 *)
42697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42698 for as_dir in $PATH
42699 do
42700 IFS=$as_save_IFS
42701 test -z "$as_dir" && as_dir=.
42702 for ac_exec_ext in '' $ac_executable_extensions; do
42703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42704 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42706 break 2
42707 fi
42708 done
42709 done
42710 IFS=$as_save_IFS
42711
42712 ;;
42713 esac
42714 fi
42715 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42716 if test -n "$ac_pt_PKG_CONFIG"; then
42717 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42718 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42719 else
42720 { echo "$as_me:$LINENO: result: no" >&5
42721 echo "${ECHO_T}no" >&6; }
42722 fi
42723
42724 if test "x$ac_pt_PKG_CONFIG" = x; then
42725 PKG_CONFIG=""
42726 else
42727 case $cross_compiling:$ac_tool_warned in
42728 yes:)
42729 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42730 whose name does not start with the host triplet. If you think this
42731 configuration is useful to you, please write to autoconf@gnu.org." >&5
42732 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42733 whose name does not start with the host triplet. If you think this
42734 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42735 ac_tool_warned=yes ;;
42736 esac
42737 PKG_CONFIG=$ac_pt_PKG_CONFIG
42738 fi
42739 else
42740 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42741 fi
42742
42743 fi
42744 if test -n "$PKG_CONFIG"; then
42745 _pkg_min_version=0.9.0
42746 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42747 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42748 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42749 { echo "$as_me:$LINENO: result: yes" >&5
42750 echo "${ECHO_T}yes" >&6; }
42751 else
42752 { echo "$as_me:$LINENO: result: no" >&5
42753 echo "${ECHO_T}no" >&6; }
42754 PKG_CONFIG=""
42755 fi
42756
42757 fi
42758
42759 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42760
42761 if test "$wxUSE_GTKPRINT" = "yes" ; then
42762
42763
42764 pkg_failed=no
42765 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42766 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42767
42768 if test -n "$PKG_CONFIG"; then
42769 if test -n "$GTKPRINT_CFLAGS"; then
42770 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42771 else
42772 if test -n "$PKG_CONFIG" && \
42773 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42774 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42775 ac_status=$?
42776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42777 (exit $ac_status); }; then
42778 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42779 else
42780 pkg_failed=yes
42781 fi
42782 fi
42783 else
42784 pkg_failed=untried
42785 fi
42786 if test -n "$PKG_CONFIG"; then
42787 if test -n "$GTKPRINT_LIBS"; then
42788 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42789 else
42790 if test -n "$PKG_CONFIG" && \
42791 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42792 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42793 ac_status=$?
42794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42795 (exit $ac_status); }; then
42796 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42797 else
42798 pkg_failed=yes
42799 fi
42800 fi
42801 else
42802 pkg_failed=untried
42803 fi
42804
42805
42806
42807 if test $pkg_failed = yes; then
42808
42809 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42810 _pkg_short_errors_supported=yes
42811 else
42812 _pkg_short_errors_supported=no
42813 fi
42814 if test $_pkg_short_errors_supported = yes; then
42815 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42816 else
42817 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42818 fi
42819 # Put the nasty error message in config.log where it belongs
42820 echo "$GTKPRINT_PKG_ERRORS" >&5
42821
42822
42823 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42824 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42825 wxUSE_GTKPRINT="no"
42826
42827
42828 elif test $pkg_failed = untried; then
42829
42830 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42831 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42832 wxUSE_GTKPRINT="no"
42833
42834
42835 else
42836 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42837 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42838 { echo "$as_me:$LINENO: result: yes" >&5
42839 echo "${ECHO_T}yes" >&6; }
42840
42841 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42842 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42843 cat >>confdefs.h <<\_ACEOF
42844 #define wxUSE_GTKPRINT 1
42845 _ACEOF
42846
42847
42848 fi
42849 fi
42850
42851 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42852
42853
42854 pkg_failed=no
42855 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42856 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42857
42858 if test -n "$PKG_CONFIG"; then
42859 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42860 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42861 else
42862 if test -n "$PKG_CONFIG" && \
42863 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42864 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42865 ac_status=$?
42866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42867 (exit $ac_status); }; then
42868 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42869 else
42870 pkg_failed=yes
42871 fi
42872 fi
42873 else
42874 pkg_failed=untried
42875 fi
42876 if test -n "$PKG_CONFIG"; then
42877 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42878 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42879 else
42880 if test -n "$PKG_CONFIG" && \
42881 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42882 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42883 ac_status=$?
42884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42885 (exit $ac_status); }; then
42886 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42887 else
42888 pkg_failed=yes
42889 fi
42890 fi
42891 else
42892 pkg_failed=untried
42893 fi
42894
42895
42896
42897 if test $pkg_failed = yes; then
42898
42899 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42900 _pkg_short_errors_supported=yes
42901 else
42902 _pkg_short_errors_supported=no
42903 fi
42904 if test $_pkg_short_errors_supported = yes; then
42905 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42906 else
42907 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42908 fi
42909 # Put the nasty error message in config.log where it belongs
42910 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42911
42912
42913 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42914 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42915 wxUSE_LIBGNOMEPRINT="no"
42916
42917
42918 elif test $pkg_failed = untried; then
42919
42920 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42921 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42922 wxUSE_LIBGNOMEPRINT="no"
42923
42924
42925 else
42926 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42927 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42928 { echo "$as_me:$LINENO: result: yes" >&5
42929 echo "${ECHO_T}yes" >&6; }
42930
42931 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42932 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42933 cat >>confdefs.h <<\_ACEOF
42934 #define wxUSE_LIBGNOMEPRINT 1
42935 _ACEOF
42936
42937
42938 fi
42939 fi
42940 fi
42941
42942 if test "$wxUSE_MIMETYPE" = "yes" ; then
42943 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42944
42945
42946 pkg_failed=no
42947 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42948 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42949
42950 if test -n "$PKG_CONFIG"; then
42951 if test -n "$GNOMEVFS_CFLAGS"; then
42952 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42953 else
42954 if test -n "$PKG_CONFIG" && \
42955 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42956 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42957 ac_status=$?
42958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42959 (exit $ac_status); }; then
42960 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42961 else
42962 pkg_failed=yes
42963 fi
42964 fi
42965 else
42966 pkg_failed=untried
42967 fi
42968 if test -n "$PKG_CONFIG"; then
42969 if test -n "$GNOMEVFS_LIBS"; then
42970 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42971 else
42972 if test -n "$PKG_CONFIG" && \
42973 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42974 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42975 ac_status=$?
42976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42977 (exit $ac_status); }; then
42978 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42979 else
42980 pkg_failed=yes
42981 fi
42982 fi
42983 else
42984 pkg_failed=untried
42985 fi
42986
42987
42988
42989 if test $pkg_failed = yes; then
42990
42991 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42992 _pkg_short_errors_supported=yes
42993 else
42994 _pkg_short_errors_supported=no
42995 fi
42996 if test $_pkg_short_errors_supported = yes; then
42997 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42998 else
42999 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43000 fi
43001 # Put the nasty error message in config.log where it belongs
43002 echo "$GNOMEVFS_PKG_ERRORS" >&5
43003
43004
43005 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43006 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43007 wxUSE_LIBGNOMEVFS="no"
43008
43009
43010 elif test $pkg_failed = untried; then
43011
43012 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43013 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43014 wxUSE_LIBGNOMEVFS="no"
43015
43016
43017 else
43018 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43019 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43020 { echo "$as_me:$LINENO: result: yes" >&5
43021 echo "${ECHO_T}yes" >&6; }
43022
43023 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
43024 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43025 cat >>confdefs.h <<\_ACEOF
43026 #define wxUSE_LIBGNOMEVFS 1
43027 _ACEOF
43028
43029
43030 fi
43031 fi
43032 fi
43033
43034 if test "$wxUSE_LIBHILDON" = "yes" ; then
43035
43036 pkg_failed=no
43037 { echo "$as_me:$LINENO: checking for HILDON" >&5
43038 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43039
43040 if test -n "$PKG_CONFIG"; then
43041 if test -n "$HILDON_CFLAGS"; then
43042 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43043 else
43044 if test -n "$PKG_CONFIG" && \
43045 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43046 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43047 ac_status=$?
43048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43049 (exit $ac_status); }; then
43050 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43051 else
43052 pkg_failed=yes
43053 fi
43054 fi
43055 else
43056 pkg_failed=untried
43057 fi
43058 if test -n "$PKG_CONFIG"; then
43059 if test -n "$HILDON_LIBS"; then
43060 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43061 else
43062 if test -n "$PKG_CONFIG" && \
43063 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43064 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43065 ac_status=$?
43066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43067 (exit $ac_status); }; then
43068 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43069 else
43070 pkg_failed=yes
43071 fi
43072 fi
43073 else
43074 pkg_failed=untried
43075 fi
43076
43077
43078
43079 if test $pkg_failed = yes; then
43080
43081 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43082 _pkg_short_errors_supported=yes
43083 else
43084 _pkg_short_errors_supported=no
43085 fi
43086 if test $_pkg_short_errors_supported = yes; then
43087 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43088 else
43089 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43090 fi
43091 # Put the nasty error message in config.log where it belongs
43092 echo "$HILDON_PKG_ERRORS" >&5
43093
43094
43095 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43096 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43097 wxUSE_LIBHILDON="no"
43098
43099
43100 elif test $pkg_failed = untried; then
43101
43102 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43103 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43104 wxUSE_LIBHILDON="no"
43105
43106
43107 else
43108 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43109 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43110 { echo "$as_me:$LINENO: result: yes" >&5
43111 echo "${ECHO_T}yes" >&6; }
43112
43113 EXTRALIBS_HILDON="$HILDON_LIBS"
43114 CFLAGS="$CFLAGS $HILDON_CFLAGS"
43115 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43116 cat >>confdefs.h <<\_ACEOF
43117 #define wxUSE_LIBHILDON 1
43118 _ACEOF
43119
43120
43121 fi
43122 fi
43123 fi
43124
43125 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43126 cat >>confdefs.h <<\_ACEOF
43127 #define wxUSE_CMDLINE_PARSER 1
43128 _ACEOF
43129
43130 fi
43131
43132 if test "$wxUSE_STOPWATCH" = "yes"; then
43133 cat >>confdefs.h <<\_ACEOF
43134 #define wxUSE_STOPWATCH 1
43135 _ACEOF
43136
43137 fi
43138
43139 if test "$wxUSE_DATETIME" = "yes"; then
43140 cat >>confdefs.h <<\_ACEOF
43141 #define wxUSE_DATETIME 1
43142 _ACEOF
43143
43144 fi
43145
43146 if test "$wxUSE_FILE" = "yes"; then
43147 cat >>confdefs.h <<\_ACEOF
43148 #define wxUSE_FILE 1
43149 _ACEOF
43150
43151 fi
43152
43153 if test "$wxUSE_FFILE" = "yes"; then
43154 cat >>confdefs.h <<\_ACEOF
43155 #define wxUSE_FFILE 1
43156 _ACEOF
43157
43158 fi
43159
43160 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43161 if test "$wxUSE_STREAMS" != yes; then
43162 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43163 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43164 wxUSE_ARCHIVE_STREAMS=no
43165 else
43166 cat >>confdefs.h <<\_ACEOF
43167 #define wxUSE_ARCHIVE_STREAMS 1
43168 _ACEOF
43169
43170 fi
43171 fi
43172
43173 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43174 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43175 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43176 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43177 elif test "$wxUSE_ZLIB" = "no"; then
43178 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43179 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43180 else
43181 cat >>confdefs.h <<\_ACEOF
43182 #define wxUSE_ZIPSTREAM 1
43183 _ACEOF
43184
43185 fi
43186 fi
43187
43188 if test "$wxUSE_TARSTREAM" = "yes"; then
43189 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43190 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43191 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43192 else
43193 cat >>confdefs.h <<\_ACEOF
43194 #define wxUSE_TARSTREAM 1
43195 _ACEOF
43196
43197 fi
43198 fi
43199
43200 if test "$wxUSE_FILESYSTEM" = "yes"; then
43201 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43202 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43203 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43204 wxUSE_FILESYSTEM=no
43205 else
43206 cat >>confdefs.h <<\_ACEOF
43207 #define wxUSE_FILESYSTEM 1
43208 _ACEOF
43209
43210 fi
43211 fi
43212
43213 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43214 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43215 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43216 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43217 else
43218 cat >>confdefs.h <<\_ACEOF
43219 #define wxUSE_FS_ARCHIVE 1
43220 _ACEOF
43221
43222 fi
43223 fi
43224
43225 if test "$wxUSE_FS_ZIP" = "yes"; then
43226 if test "$wxUSE_FS_ARCHIVE" != yes; then
43227 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43228 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43229 else
43230 cat >>confdefs.h <<\_ACEOF
43231 #define wxUSE_FS_ZIP 1
43232 _ACEOF
43233
43234 fi
43235 fi
43236
43237 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43238 if test "$USE_UNIX" != 1; then
43239 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43240 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43241 wxUSE_ON_FATAL_EXCEPTION=no
43242 else
43243 cat >>confdefs.h <<\_ACEOF
43244 #define wxUSE_ON_FATAL_EXCEPTION 1
43245 _ACEOF
43246
43247 fi
43248 fi
43249
43250 if test "$wxUSE_STACKWALKER" = "yes"; then
43251 cat >>confdefs.h <<\_ACEOF
43252 #define wxUSE_STACKWALKER 1
43253 _ACEOF
43254
43255 fi
43256
43257 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43258 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43259 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43260 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43261 wxUSE_DEBUGREPORT=no
43262 else
43263 cat >>confdefs.h <<\_ACEOF
43264 #define wxUSE_DEBUGREPORT 1
43265 _ACEOF
43266
43267 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43268 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43269 fi
43270 fi
43271 fi
43272
43273 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43274 cat >>confdefs.h <<\_ACEOF
43275 #define wxUSE_SNGLINST_CHECKER 1
43276 _ACEOF
43277
43278 fi
43279
43280 if test "$wxUSE_BUSYINFO" = "yes"; then
43281 cat >>confdefs.h <<\_ACEOF
43282 #define wxUSE_BUSYINFO 1
43283 _ACEOF
43284
43285 fi
43286
43287 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43288 cat >>confdefs.h <<\_ACEOF
43289 #define wxUSE_STD_IOSTREAM 1
43290 _ACEOF
43291
43292 fi
43293
43294 if test "$wxUSE_STD_STRING" = "yes"; then
43295 cat >>confdefs.h <<\_ACEOF
43296 #define wxUSE_STD_STRING 1
43297 _ACEOF
43298
43299 fi
43300
43301 if test "$wxUSE_STDPATHS" = "yes"; then
43302 cat >>confdefs.h <<\_ACEOF
43303 #define wxUSE_STDPATHS 1
43304 _ACEOF
43305
43306 fi
43307
43308 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43309 cat >>confdefs.h <<\_ACEOF
43310 #define wxUSE_TEXTBUFFER 1
43311 _ACEOF
43312
43313 fi
43314
43315 if test "$wxUSE_TEXTFILE" = "yes"; then
43316 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43317 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43318 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43319 else
43320 cat >>confdefs.h <<\_ACEOF
43321 #define wxUSE_TEXTFILE 1
43322 _ACEOF
43323
43324 fi
43325 fi
43326
43327 if test "$wxUSE_CONFIG" = "yes" ; then
43328 if test "$wxUSE_TEXTFILE" != "yes"; then
43329 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43330 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43331 else
43332 cat >>confdefs.h <<\_ACEOF
43333 #define wxUSE_CONFIG 1
43334 _ACEOF
43335
43336 cat >>confdefs.h <<\_ACEOF
43337 #define wxUSE_CONFIG_NATIVE 1
43338 _ACEOF
43339
43340 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43341 fi
43342 fi
43343
43344 if test "$wxUSE_INTL" = "yes" ; then
43345 if test "$wxUSE_FILE" != "yes"; then
43346 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43347 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43348 else
43349 cat >>confdefs.h <<\_ACEOF
43350 #define wxUSE_INTL 1
43351 _ACEOF
43352
43353 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43354 GUIDIST="$GUIDIST INTL_DIST"
43355 fi
43356 fi
43357
43358 if test "$wxUSE_XLOCALE" = "yes" ; then
43359 cat >>confdefs.h <<\_ACEOF
43360 #define wxUSE_XLOCALE 1
43361 _ACEOF
43362
43363 { echo "$as_me:$LINENO: checking for locale_t" >&5
43364 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43365 if test "${ac_cv_type_locale_t+set}" = set; then
43366 echo $ECHO_N "(cached) $ECHO_C" >&6
43367 else
43368 cat >conftest.$ac_ext <<_ACEOF
43369 /* confdefs.h. */
43370 _ACEOF
43371 cat confdefs.h >>conftest.$ac_ext
43372 cat >>conftest.$ac_ext <<_ACEOF
43373 /* end confdefs.h. */
43374 #include <xlocale.h>
43375 #include <locale.h>
43376
43377 typedef locale_t ac__type_new_;
43378 int
43379 main ()
43380 {
43381 if ((ac__type_new_ *) 0)
43382 return 0;
43383 if (sizeof (ac__type_new_))
43384 return 0;
43385 ;
43386 return 0;
43387 }
43388 _ACEOF
43389 rm -f conftest.$ac_objext
43390 if { (ac_try="$ac_compile"
43391 case "(($ac_try" in
43392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43393 *) ac_try_echo=$ac_try;;
43394 esac
43395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43396 (eval "$ac_compile") 2>conftest.er1
43397 ac_status=$?
43398 grep -v '^ *+' conftest.er1 >conftest.err
43399 rm -f conftest.er1
43400 cat conftest.err >&5
43401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43402 (exit $ac_status); } && {
43403 test -z "$ac_c_werror_flag" ||
43404 test ! -s conftest.err
43405 } && test -s conftest.$ac_objext; then
43406 ac_cv_type_locale_t=yes
43407 else
43408 echo "$as_me: failed program was:" >&5
43409 sed 's/^/| /' conftest.$ac_ext >&5
43410
43411 ac_cv_type_locale_t=no
43412 fi
43413
43414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43415 fi
43416 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43417 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43418 if test $ac_cv_type_locale_t = yes; then
43419
43420 cat >>confdefs.h <<_ACEOF
43421 #define HAVE_LOCALE_T 1
43422 _ACEOF
43423
43424
43425 fi
43426
43427 fi
43428
43429 if test "$wxUSE_LOG" = "yes"; then
43430 cat >>confdefs.h <<\_ACEOF
43431 #define wxUSE_LOG 1
43432 _ACEOF
43433
43434
43435 if test "$wxUSE_LOGGUI" = "yes"; then
43436 cat >>confdefs.h <<\_ACEOF
43437 #define wxUSE_LOGGUI 1
43438 _ACEOF
43439
43440 fi
43441
43442 if test "$wxUSE_LOGWINDOW" = "yes"; then
43443 cat >>confdefs.h <<\_ACEOF
43444 #define wxUSE_LOGWINDOW 1
43445 _ACEOF
43446
43447 fi
43448
43449 if test "$wxUSE_LOGDIALOG" = "yes"; then
43450 cat >>confdefs.h <<\_ACEOF
43451 #define wxUSE_LOG_DIALOG 1
43452 _ACEOF
43453
43454 fi
43455
43456 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43457 fi
43458
43459 if test "$wxUSE_LONGLONG" = "yes"; then
43460 cat >>confdefs.h <<\_ACEOF
43461 #define wxUSE_LONGLONG 1
43462 _ACEOF
43463
43464 fi
43465
43466 if test "$wxUSE_GEOMETRY" = "yes"; then
43467 cat >>confdefs.h <<\_ACEOF
43468 #define wxUSE_GEOMETRY 1
43469 _ACEOF
43470
43471 fi
43472
43473 if test "$wxUSE_BASE64" = "yes"; then
43474 cat >>confdefs.h <<\_ACEOF
43475 #define wxUSE_BASE64 1
43476 _ACEOF
43477
43478 fi
43479
43480 if test "$wxUSE_STREAMS" = "yes" ; then
43481 cat >>confdefs.h <<\_ACEOF
43482 #define wxUSE_STREAMS 1
43483 _ACEOF
43484
43485 fi
43486
43487 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43488 cat >>confdefs.h <<\_ACEOF
43489 #define wxUSE_PRINTF_POS_PARAMS 1
43490 _ACEOF
43491
43492 fi
43493
43494 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43495 cat >>confdefs.h <<\_ACEOF
43496 #define wxUSE_OBJC_UNIQUIFYING 1
43497 _ACEOF
43498
43499 fi
43500
43501
43502 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43503 cat >>confdefs.h <<\_ACEOF
43504 #define wxUSE_CONSOLE_EVENTLOOP 1
43505 _ACEOF
43506
43507
43508 if test "$wxUSE_UNIX" = "yes"; then
43509 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43510 cat >>confdefs.h <<\_ACEOF
43511 #define wxUSE_SELECT_DISPATCHER 1
43512 _ACEOF
43513
43514 fi
43515
43516 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43517
43518 for ac_header in sys/epoll.h
43519 do
43520 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43521 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43522 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43523 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43524 echo $ECHO_N "(cached) $ECHO_C" >&6
43525 else
43526 cat >conftest.$ac_ext <<_ACEOF
43527 /* confdefs.h. */
43528 _ACEOF
43529 cat confdefs.h >>conftest.$ac_ext
43530 cat >>conftest.$ac_ext <<_ACEOF
43531 /* end confdefs.h. */
43532 $ac_includes_default
43533
43534 #include <$ac_header>
43535 _ACEOF
43536 rm -f conftest.$ac_objext
43537 if { (ac_try="$ac_compile"
43538 case "(($ac_try" in
43539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43540 *) ac_try_echo=$ac_try;;
43541 esac
43542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43543 (eval "$ac_compile") 2>conftest.er1
43544 ac_status=$?
43545 grep -v '^ *+' conftest.er1 >conftest.err
43546 rm -f conftest.er1
43547 cat conftest.err >&5
43548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43549 (exit $ac_status); } && {
43550 test -z "$ac_c_werror_flag" ||
43551 test ! -s conftest.err
43552 } && test -s conftest.$ac_objext; then
43553 eval "$as_ac_Header=yes"
43554 else
43555 echo "$as_me: failed program was:" >&5
43556 sed 's/^/| /' conftest.$ac_ext >&5
43557
43558 eval "$as_ac_Header=no"
43559 fi
43560
43561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43562 fi
43563 ac_res=`eval echo '${'$as_ac_Header'}'`
43564 { echo "$as_me:$LINENO: result: $ac_res" >&5
43565 echo "${ECHO_T}$ac_res" >&6; }
43566 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43567 cat >>confdefs.h <<_ACEOF
43568 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43569 _ACEOF
43570
43571 fi
43572
43573 done
43574
43575 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43576 cat >>confdefs.h <<\_ACEOF
43577 #define wxUSE_EPOLL_DISPATCHER 1
43578 _ACEOF
43579
43580 else
43581 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43582 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43583 fi
43584 fi
43585 fi
43586 fi
43587
43588
43589
43590
43591 for ac_func in gettimeofday ftime
43592 do
43593 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43594 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43595 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43596 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43597 echo $ECHO_N "(cached) $ECHO_C" >&6
43598 else
43599 cat >conftest.$ac_ext <<_ACEOF
43600 /* confdefs.h. */
43601 _ACEOF
43602 cat confdefs.h >>conftest.$ac_ext
43603 cat >>conftest.$ac_ext <<_ACEOF
43604 /* end confdefs.h. */
43605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43607 #define $ac_func innocuous_$ac_func
43608
43609 /* System header to define __stub macros and hopefully few prototypes,
43610 which can conflict with char $ac_func (); below.
43611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43612 <limits.h> exists even on freestanding compilers. */
43613
43614 #ifdef __STDC__
43615 # include <limits.h>
43616 #else
43617 # include <assert.h>
43618 #endif
43619
43620 #undef $ac_func
43621
43622 /* Override any GCC internal prototype to avoid an error.
43623 Use char because int might match the return type of a GCC
43624 builtin and then its argument prototype would still apply. */
43625 #ifdef __cplusplus
43626 extern "C"
43627 #endif
43628 char $ac_func ();
43629 /* The GNU C library defines this for functions which it implements
43630 to always fail with ENOSYS. Some functions are actually named
43631 something starting with __ and the normal name is an alias. */
43632 #if defined __stub_$ac_func || defined __stub___$ac_func
43633 choke me
43634 #endif
43635
43636 int
43637 main ()
43638 {
43639 return $ac_func ();
43640 ;
43641 return 0;
43642 }
43643 _ACEOF
43644 rm -f conftest.$ac_objext conftest$ac_exeext
43645 if { (ac_try="$ac_link"
43646 case "(($ac_try" in
43647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43648 *) ac_try_echo=$ac_try;;
43649 esac
43650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43651 (eval "$ac_link") 2>conftest.er1
43652 ac_status=$?
43653 grep -v '^ *+' conftest.er1 >conftest.err
43654 rm -f conftest.er1
43655 cat conftest.err >&5
43656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43657 (exit $ac_status); } && {
43658 test -z "$ac_c_werror_flag" ||
43659 test ! -s conftest.err
43660 } && test -s conftest$ac_exeext &&
43661 $as_test_x conftest$ac_exeext; then
43662 eval "$as_ac_var=yes"
43663 else
43664 echo "$as_me: failed program was:" >&5
43665 sed 's/^/| /' conftest.$ac_ext >&5
43666
43667 eval "$as_ac_var=no"
43668 fi
43669
43670 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43671 conftest$ac_exeext conftest.$ac_ext
43672 fi
43673 ac_res=`eval echo '${'$as_ac_var'}'`
43674 { echo "$as_me:$LINENO: result: $ac_res" >&5
43675 echo "${ECHO_T}$ac_res" >&6; }
43676 if test `eval echo '${'$as_ac_var'}'` = yes; then
43677 cat >>confdefs.h <<_ACEOF
43678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43679 _ACEOF
43680 break
43681 fi
43682 done
43683
43684
43685 if test "$ac_cv_func_gettimeofday" = "yes"; then
43686 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43687 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43688 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43689 echo $ECHO_N "(cached) $ECHO_C" >&6
43690 else
43691
43692 cat >conftest.$ac_ext <<_ACEOF
43693 /* confdefs.h. */
43694 _ACEOF
43695 cat confdefs.h >>conftest.$ac_ext
43696 cat >>conftest.$ac_ext <<_ACEOF
43697 /* end confdefs.h. */
43698
43699 #include <sys/time.h>
43700 #include <unistd.h>
43701
43702 int
43703 main ()
43704 {
43705
43706 struct timeval tv;
43707 gettimeofday(&tv, NULL);
43708
43709 ;
43710 return 0;
43711 }
43712 _ACEOF
43713 rm -f conftest.$ac_objext
43714 if { (ac_try="$ac_compile"
43715 case "(($ac_try" in
43716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43717 *) ac_try_echo=$ac_try;;
43718 esac
43719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43720 (eval "$ac_compile") 2>conftest.er1
43721 ac_status=$?
43722 grep -v '^ *+' conftest.er1 >conftest.err
43723 rm -f conftest.er1
43724 cat conftest.err >&5
43725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43726 (exit $ac_status); } && {
43727 test -z "$ac_c_werror_flag" ||
43728 test ! -s conftest.err
43729 } && test -s conftest.$ac_objext; then
43730 wx_cv_func_gettimeofday_has_2_args=yes
43731 else
43732 echo "$as_me: failed program was:" >&5
43733 sed 's/^/| /' conftest.$ac_ext >&5
43734
43735 cat >conftest.$ac_ext <<_ACEOF
43736 /* confdefs.h. */
43737 _ACEOF
43738 cat confdefs.h >>conftest.$ac_ext
43739 cat >>conftest.$ac_ext <<_ACEOF
43740 /* end confdefs.h. */
43741
43742 #include <sys/time.h>
43743 #include <unistd.h>
43744
43745 int
43746 main ()
43747 {
43748
43749 struct timeval tv;
43750 gettimeofday(&tv);
43751
43752 ;
43753 return 0;
43754 }
43755 _ACEOF
43756 rm -f conftest.$ac_objext
43757 if { (ac_try="$ac_compile"
43758 case "(($ac_try" in
43759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43760 *) ac_try_echo=$ac_try;;
43761 esac
43762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43763 (eval "$ac_compile") 2>conftest.er1
43764 ac_status=$?
43765 grep -v '^ *+' conftest.er1 >conftest.err
43766 rm -f conftest.er1
43767 cat conftest.err >&5
43768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43769 (exit $ac_status); } && {
43770 test -z "$ac_c_werror_flag" ||
43771 test ! -s conftest.err
43772 } && test -s conftest.$ac_objext; then
43773 wx_cv_func_gettimeofday_has_2_args=no
43774 else
43775 echo "$as_me: failed program was:" >&5
43776 sed 's/^/| /' conftest.$ac_ext >&5
43777
43778
43779 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43780 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43781 wx_cv_func_gettimeofday_has_2_args=unknown
43782
43783
43784 fi
43785
43786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43787
43788 fi
43789
43790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43791
43792 fi
43793 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43794 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43795
43796 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43797 cat >>confdefs.h <<\_ACEOF
43798 #define WX_GETTIMEOFDAY_NO_TZ 1
43799 _ACEOF
43800
43801 fi
43802 fi
43803
43804 if test "$wxUSE_DATETIME" = "yes"; then
43805 { echo "$as_me:$LINENO: checking for strptime" >&5
43806 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43807 if test "${ac_cv_func_strptime+set}" = set; then
43808 echo $ECHO_N "(cached) $ECHO_C" >&6
43809 else
43810 cat >conftest.$ac_ext <<_ACEOF
43811 /* confdefs.h. */
43812 _ACEOF
43813 cat confdefs.h >>conftest.$ac_ext
43814 cat >>conftest.$ac_ext <<_ACEOF
43815 /* end confdefs.h. */
43816 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43818 #define strptime innocuous_strptime
43819
43820 /* System header to define __stub macros and hopefully few prototypes,
43821 which can conflict with char strptime (); below.
43822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43823 <limits.h> exists even on freestanding compilers. */
43824
43825 #ifdef __STDC__
43826 # include <limits.h>
43827 #else
43828 # include <assert.h>
43829 #endif
43830
43831 #undef strptime
43832
43833 /* Override any GCC internal prototype to avoid an error.
43834 Use char because int might match the return type of a GCC
43835 builtin and then its argument prototype would still apply. */
43836 #ifdef __cplusplus
43837 extern "C"
43838 #endif
43839 char strptime ();
43840 /* The GNU C library defines this for functions which it implements
43841 to always fail with ENOSYS. Some functions are actually named
43842 something starting with __ and the normal name is an alias. */
43843 #if defined __stub_strptime || defined __stub___strptime
43844 choke me
43845 #endif
43846
43847 int
43848 main ()
43849 {
43850 return strptime ();
43851 ;
43852 return 0;
43853 }
43854 _ACEOF
43855 rm -f conftest.$ac_objext conftest$ac_exeext
43856 if { (ac_try="$ac_link"
43857 case "(($ac_try" in
43858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43859 *) ac_try_echo=$ac_try;;
43860 esac
43861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43862 (eval "$ac_link") 2>conftest.er1
43863 ac_status=$?
43864 grep -v '^ *+' conftest.er1 >conftest.err
43865 rm -f conftest.er1
43866 cat conftest.err >&5
43867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43868 (exit $ac_status); } && {
43869 test -z "$ac_c_werror_flag" ||
43870 test ! -s conftest.err
43871 } && test -s conftest$ac_exeext &&
43872 $as_test_x conftest$ac_exeext; then
43873 ac_cv_func_strptime=yes
43874 else
43875 echo "$as_me: failed program was:" >&5
43876 sed 's/^/| /' conftest.$ac_ext >&5
43877
43878 ac_cv_func_strptime=no
43879 fi
43880
43881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43882 conftest$ac_exeext conftest.$ac_ext
43883 fi
43884 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43885 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43886
43887 if test "$ac_cv_func_strptime" = "yes"; then
43888 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43889 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43890 if test "${wx_cv_func_strptime_decl+set}" = set; then
43891 echo $ECHO_N "(cached) $ECHO_C" >&6
43892 else
43893
43894 ac_ext=cpp
43895 ac_cpp='$CXXCPP $CPPFLAGS'
43896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43899
43900 cat >conftest.$ac_ext <<_ACEOF
43901 /* confdefs.h. */
43902 _ACEOF
43903 cat confdefs.h >>conftest.$ac_ext
43904 cat >>conftest.$ac_ext <<_ACEOF
43905 /* end confdefs.h. */
43906
43907 #include <time.h>
43908
43909 int
43910 main ()
43911 {
43912
43913 struct tm t;
43914 strptime("foo", "bar", &t);
43915
43916 ;
43917 return 0;
43918 }
43919 _ACEOF
43920 rm -f conftest.$ac_objext
43921 if { (ac_try="$ac_compile"
43922 case "(($ac_try" in
43923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43924 *) ac_try_echo=$ac_try;;
43925 esac
43926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43927 (eval "$ac_compile") 2>conftest.er1
43928 ac_status=$?
43929 grep -v '^ *+' conftest.er1 >conftest.err
43930 rm -f conftest.er1
43931 cat conftest.err >&5
43932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43933 (exit $ac_status); } && {
43934 test -z "$ac_cxx_werror_flag" ||
43935 test ! -s conftest.err
43936 } && test -s conftest.$ac_objext; then
43937 wx_cv_func_strptime_decl=yes
43938 else
43939 echo "$as_me: failed program was:" >&5
43940 sed 's/^/| /' conftest.$ac_ext >&5
43941
43942 wx_cv_func_strptime_decl=no
43943
43944 fi
43945
43946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43947 ac_ext=c
43948 ac_cpp='$CPP $CPPFLAGS'
43949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43952
43953
43954
43955 fi
43956 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43957 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43958 fi
43959 if test "$wx_cv_func_strptime_decl" = "yes"; then
43960 cat >>confdefs.h <<\_ACEOF
43961 #define HAVE_STRPTIME_DECL 1
43962 _ACEOF
43963
43964 else
43965 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43966 fi
43967 if test "$ac_cv_func_strptime" = "yes"; then
43968 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43969 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43970 if test "${wx_cv_func_strptime_ok+set}" = set; then
43971 echo $ECHO_N "(cached) $ECHO_C" >&6
43972 else
43973 if test "$cross_compiling" = yes; then
43974 wx_cv_func_strptime_ok=no
43975
43976 else
43977 cat >conftest.$ac_ext <<_ACEOF
43978
43979 #include <stdlib.h>
43980 #include <time.h>
43981 #include "confdefs.h"
43982
43983 $wx_strptime_decl
43984
43985 int main()
43986 {
43987 struct tm t;
43988 return !!strptime("", "%x", &t);
43989 }
43990
43991 _ACEOF
43992 rm -f conftest$ac_exeext
43993 if { (ac_try="$ac_link"
43994 case "(($ac_try" in
43995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43996 *) ac_try_echo=$ac_try;;
43997 esac
43998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43999 (eval "$ac_link") 2>&5
44000 ac_status=$?
44001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44002 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44003 { (case "(($ac_try" in
44004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44005 *) ac_try_echo=$ac_try;;
44006 esac
44007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44008 (eval "$ac_try") 2>&5
44009 ac_status=$?
44010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44011 (exit $ac_status); }; }; then
44012 wx_cv_func_strptime_ok=yes
44013 else
44014 echo "$as_me: program exited with status $ac_status" >&5
44015 echo "$as_me: failed program was:" >&5
44016 sed 's/^/| /' conftest.$ac_ext >&5
44017
44018 ( exit $ac_status )
44019 wx_cv_func_strptime_ok=no
44020 fi
44021 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44022 fi
44023
44024
44025
44026 fi
44027 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
44028 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
44029
44030 if test "$wx_cv_func_strptime_ok" = "yes"; then
44031 cat >>confdefs.h <<\_ACEOF
44032 #define HAVE_STRPTIME 1
44033 _ACEOF
44034
44035 fi
44036 fi
44037
44038 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44039 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
44040 if test "${wx_cv_var_timezone+set}" = set; then
44041 echo $ECHO_N "(cached) $ECHO_C" >&6
44042 else
44043
44044 ac_ext=cpp
44045 ac_cpp='$CXXCPP $CPPFLAGS'
44046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44049
44050 cat >conftest.$ac_ext <<_ACEOF
44051 /* confdefs.h. */
44052 _ACEOF
44053 cat confdefs.h >>conftest.$ac_ext
44054 cat >>conftest.$ac_ext <<_ACEOF
44055 /* end confdefs.h. */
44056
44057 #include <time.h>
44058
44059 int
44060 main ()
44061 {
44062
44063 int tz;
44064 tz = timezone;
44065
44066 ;
44067 return 0;
44068 }
44069 _ACEOF
44070 rm -f conftest.$ac_objext
44071 if { (ac_try="$ac_compile"
44072 case "(($ac_try" in
44073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44074 *) ac_try_echo=$ac_try;;
44075 esac
44076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44077 (eval "$ac_compile") 2>conftest.er1
44078 ac_status=$?
44079 grep -v '^ *+' conftest.er1 >conftest.err
44080 rm -f conftest.er1
44081 cat conftest.err >&5
44082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44083 (exit $ac_status); } && {
44084 test -z "$ac_cxx_werror_flag" ||
44085 test ! -s conftest.err
44086 } && test -s conftest.$ac_objext; then
44087
44088 wx_cv_var_timezone=timezone
44089
44090 else
44091 echo "$as_me: failed program was:" >&5
44092 sed 's/^/| /' conftest.$ac_ext >&5
44093
44094
44095 cat >conftest.$ac_ext <<_ACEOF
44096 /* confdefs.h. */
44097 _ACEOF
44098 cat confdefs.h >>conftest.$ac_ext
44099 cat >>conftest.$ac_ext <<_ACEOF
44100 /* end confdefs.h. */
44101
44102 #include <time.h>
44103
44104 int
44105 main ()
44106 {
44107
44108 int tz;
44109 tz = _timezone;
44110
44111 ;
44112 return 0;
44113 }
44114 _ACEOF
44115 rm -f conftest.$ac_objext
44116 if { (ac_try="$ac_compile"
44117 case "(($ac_try" in
44118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44119 *) ac_try_echo=$ac_try;;
44120 esac
44121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44122 (eval "$ac_compile") 2>conftest.er1
44123 ac_status=$?
44124 grep -v '^ *+' conftest.er1 >conftest.err
44125 rm -f conftest.er1
44126 cat conftest.err >&5
44127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44128 (exit $ac_status); } && {
44129 test -z "$ac_cxx_werror_flag" ||
44130 test ! -s conftest.err
44131 } && test -s conftest.$ac_objext; then
44132
44133 wx_cv_var_timezone=_timezone
44134
44135 else
44136 echo "$as_me: failed program was:" >&5
44137 sed 's/^/| /' conftest.$ac_ext >&5
44138
44139
44140 cat >conftest.$ac_ext <<_ACEOF
44141 /* confdefs.h. */
44142 _ACEOF
44143 cat confdefs.h >>conftest.$ac_ext
44144 cat >>conftest.$ac_ext <<_ACEOF
44145 /* end confdefs.h. */
44146
44147 #include <time.h>
44148
44149 int
44150 main ()
44151 {
44152
44153 int tz;
44154 tz = __timezone;
44155
44156 ;
44157 return 0;
44158 }
44159 _ACEOF
44160 rm -f conftest.$ac_objext
44161 if { (ac_try="$ac_compile"
44162 case "(($ac_try" in
44163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44164 *) ac_try_echo=$ac_try;;
44165 esac
44166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44167 (eval "$ac_compile") 2>conftest.er1
44168 ac_status=$?
44169 grep -v '^ *+' conftest.er1 >conftest.err
44170 rm -f conftest.er1
44171 cat conftest.err >&5
44172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44173 (exit $ac_status); } && {
44174 test -z "$ac_cxx_werror_flag" ||
44175 test ! -s conftest.err
44176 } && test -s conftest.$ac_objext; then
44177
44178 wx_cv_var_timezone=__timezone
44179
44180 else
44181 echo "$as_me: failed program was:" >&5
44182 sed 's/^/| /' conftest.$ac_ext >&5
44183
44184
44185 if test "$USE_DOS" = 0 ; then
44186 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44187 echo "$as_me: WARNING: no timezone variable" >&2;}
44188 fi
44189
44190
44191 fi
44192
44193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44194
44195
44196 fi
44197
44198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44199
44200
44201 fi
44202
44203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44204 ac_ext=c
44205 ac_cpp='$CPP $CPPFLAGS'
44206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44209
44210
44211
44212 fi
44213 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44214 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44215
44216 if test "x$wx_cv_var_timezone" != x ; then
44217 cat >>confdefs.h <<_ACEOF
44218 #define WX_TIMEZONE $wx_cv_var_timezone
44219 _ACEOF
44220
44221 fi
44222
44223
44224 for ac_func in localtime
44225 do
44226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44227 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44229 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44230 echo $ECHO_N "(cached) $ECHO_C" >&6
44231 else
44232 cat >conftest.$ac_ext <<_ACEOF
44233 /* confdefs.h. */
44234 _ACEOF
44235 cat confdefs.h >>conftest.$ac_ext
44236 cat >>conftest.$ac_ext <<_ACEOF
44237 /* end confdefs.h. */
44238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44240 #define $ac_func innocuous_$ac_func
44241
44242 /* System header to define __stub macros and hopefully few prototypes,
44243 which can conflict with char $ac_func (); below.
44244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44245 <limits.h> exists even on freestanding compilers. */
44246
44247 #ifdef __STDC__
44248 # include <limits.h>
44249 #else
44250 # include <assert.h>
44251 #endif
44252
44253 #undef $ac_func
44254
44255 /* Override any GCC internal prototype to avoid an error.
44256 Use char because int might match the return type of a GCC
44257 builtin and then its argument prototype would still apply. */
44258 #ifdef __cplusplus
44259 extern "C"
44260 #endif
44261 char $ac_func ();
44262 /* The GNU C library defines this for functions which it implements
44263 to always fail with ENOSYS. Some functions are actually named
44264 something starting with __ and the normal name is an alias. */
44265 #if defined __stub_$ac_func || defined __stub___$ac_func
44266 choke me
44267 #endif
44268
44269 int
44270 main ()
44271 {
44272 return $ac_func ();
44273 ;
44274 return 0;
44275 }
44276 _ACEOF
44277 rm -f conftest.$ac_objext conftest$ac_exeext
44278 if { (ac_try="$ac_link"
44279 case "(($ac_try" in
44280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44281 *) ac_try_echo=$ac_try;;
44282 esac
44283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44284 (eval "$ac_link") 2>conftest.er1
44285 ac_status=$?
44286 grep -v '^ *+' conftest.er1 >conftest.err
44287 rm -f conftest.er1
44288 cat conftest.err >&5
44289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44290 (exit $ac_status); } && {
44291 test -z "$ac_c_werror_flag" ||
44292 test ! -s conftest.err
44293 } && test -s conftest$ac_exeext &&
44294 $as_test_x conftest$ac_exeext; then
44295 eval "$as_ac_var=yes"
44296 else
44297 echo "$as_me: failed program was:" >&5
44298 sed 's/^/| /' conftest.$ac_ext >&5
44299
44300 eval "$as_ac_var=no"
44301 fi
44302
44303 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44304 conftest$ac_exeext conftest.$ac_ext
44305 fi
44306 ac_res=`eval echo '${'$as_ac_var'}'`
44307 { echo "$as_me:$LINENO: result: $ac_res" >&5
44308 echo "${ECHO_T}$ac_res" >&6; }
44309 if test `eval echo '${'$as_ac_var'}'` = yes; then
44310 cat >>confdefs.h <<_ACEOF
44311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44312 _ACEOF
44313
44314 fi
44315 done
44316
44317
44318 if test "$ac_cv_func_localtime" = "yes"; then
44319 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44320 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44321 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44322 echo $ECHO_N "(cached) $ECHO_C" >&6
44323 else
44324
44325 cat >conftest.$ac_ext <<_ACEOF
44326 /* confdefs.h. */
44327 _ACEOF
44328 cat confdefs.h >>conftest.$ac_ext
44329 cat >>conftest.$ac_ext <<_ACEOF
44330 /* end confdefs.h. */
44331
44332 #include <time.h>
44333
44334 int
44335 main ()
44336 {
44337
44338 struct tm tm;
44339 tm.tm_gmtoff++;
44340
44341 ;
44342 return 0;
44343 }
44344 _ACEOF
44345 rm -f conftest.$ac_objext
44346 if { (ac_try="$ac_compile"
44347 case "(($ac_try" in
44348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44349 *) ac_try_echo=$ac_try;;
44350 esac
44351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44352 (eval "$ac_compile") 2>conftest.er1
44353 ac_status=$?
44354 grep -v '^ *+' conftest.er1 >conftest.err
44355 rm -f conftest.er1
44356 cat conftest.err >&5
44357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44358 (exit $ac_status); } && {
44359 test -z "$ac_c_werror_flag" ||
44360 test ! -s conftest.err
44361 } && test -s conftest.$ac_objext; then
44362
44363 wx_cv_struct_tm_has_gmtoff=yes
44364
44365 else
44366 echo "$as_me: failed program was:" >&5
44367 sed 's/^/| /' conftest.$ac_ext >&5
44368
44369 wx_cv_struct_tm_has_gmtoff=no
44370
44371 fi
44372
44373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44374
44375 fi
44376 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44377 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44378 fi
44379
44380 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44381 cat >>confdefs.h <<\_ACEOF
44382 #define WX_GMTOFF_IN_TM 1
44383 _ACEOF
44384
44385 fi
44386
44387 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44388 fi
44389
44390
44391 if test "$wxUSE_SOCKETS" = "yes"; then
44392 if test "$wxUSE_MGL" = 1; then
44393 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44394 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44395 wxUSE_SOCKETS="no"
44396 fi
44397 fi
44398
44399 if test "$wxUSE_SOCKETS" = "yes"; then
44400 if test "$TOOLKIT" != "MSW"; then
44401 { echo "$as_me:$LINENO: checking for socket" >&5
44402 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44403 if test "${ac_cv_func_socket+set}" = set; then
44404 echo $ECHO_N "(cached) $ECHO_C" >&6
44405 else
44406 cat >conftest.$ac_ext <<_ACEOF
44407 /* confdefs.h. */
44408 _ACEOF
44409 cat confdefs.h >>conftest.$ac_ext
44410 cat >>conftest.$ac_ext <<_ACEOF
44411 /* end confdefs.h. */
44412 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44414 #define socket innocuous_socket
44415
44416 /* System header to define __stub macros and hopefully few prototypes,
44417 which can conflict with char socket (); below.
44418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44419 <limits.h> exists even on freestanding compilers. */
44420
44421 #ifdef __STDC__
44422 # include <limits.h>
44423 #else
44424 # include <assert.h>
44425 #endif
44426
44427 #undef socket
44428
44429 /* Override any GCC internal prototype to avoid an error.
44430 Use char because int might match the return type of a GCC
44431 builtin and then its argument prototype would still apply. */
44432 #ifdef __cplusplus
44433 extern "C"
44434 #endif
44435 char socket ();
44436 /* The GNU C library defines this for functions which it implements
44437 to always fail with ENOSYS. Some functions are actually named
44438 something starting with __ and the normal name is an alias. */
44439 #if defined __stub_socket || defined __stub___socket
44440 choke me
44441 #endif
44442
44443 int
44444 main ()
44445 {
44446 return socket ();
44447 ;
44448 return 0;
44449 }
44450 _ACEOF
44451 rm -f conftest.$ac_objext conftest$ac_exeext
44452 if { (ac_try="$ac_link"
44453 case "(($ac_try" in
44454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44455 *) ac_try_echo=$ac_try;;
44456 esac
44457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44458 (eval "$ac_link") 2>conftest.er1
44459 ac_status=$?
44460 grep -v '^ *+' conftest.er1 >conftest.err
44461 rm -f conftest.er1
44462 cat conftest.err >&5
44463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44464 (exit $ac_status); } && {
44465 test -z "$ac_c_werror_flag" ||
44466 test ! -s conftest.err
44467 } && test -s conftest$ac_exeext &&
44468 $as_test_x conftest$ac_exeext; then
44469 ac_cv_func_socket=yes
44470 else
44471 echo "$as_me: failed program was:" >&5
44472 sed 's/^/| /' conftest.$ac_ext >&5
44473
44474 ac_cv_func_socket=no
44475 fi
44476
44477 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44478 conftest$ac_exeext conftest.$ac_ext
44479 fi
44480 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44481 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44482 if test $ac_cv_func_socket = yes; then
44483 :
44484 else
44485
44486 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44487 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44488 if test "${ac_cv_lib_socket_socket+set}" = set; then
44489 echo $ECHO_N "(cached) $ECHO_C" >&6
44490 else
44491 ac_check_lib_save_LIBS=$LIBS
44492 LIBS="-lsocket $LIBS"
44493 cat >conftest.$ac_ext <<_ACEOF
44494 /* confdefs.h. */
44495 _ACEOF
44496 cat confdefs.h >>conftest.$ac_ext
44497 cat >>conftest.$ac_ext <<_ACEOF
44498 /* end confdefs.h. */
44499
44500 /* Override any GCC internal prototype to avoid an error.
44501 Use char because int might match the return type of a GCC
44502 builtin and then its argument prototype would still apply. */
44503 #ifdef __cplusplus
44504 extern "C"
44505 #endif
44506 char socket ();
44507 int
44508 main ()
44509 {
44510 return socket ();
44511 ;
44512 return 0;
44513 }
44514 _ACEOF
44515 rm -f conftest.$ac_objext conftest$ac_exeext
44516 if { (ac_try="$ac_link"
44517 case "(($ac_try" in
44518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44519 *) ac_try_echo=$ac_try;;
44520 esac
44521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44522 (eval "$ac_link") 2>conftest.er1
44523 ac_status=$?
44524 grep -v '^ *+' conftest.er1 >conftest.err
44525 rm -f conftest.er1
44526 cat conftest.err >&5
44527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44528 (exit $ac_status); } && {
44529 test -z "$ac_c_werror_flag" ||
44530 test ! -s conftest.err
44531 } && test -s conftest$ac_exeext &&
44532 $as_test_x conftest$ac_exeext; then
44533 ac_cv_lib_socket_socket=yes
44534 else
44535 echo "$as_me: failed program was:" >&5
44536 sed 's/^/| /' conftest.$ac_ext >&5
44537
44538 ac_cv_lib_socket_socket=no
44539 fi
44540
44541 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44542 conftest$ac_exeext conftest.$ac_ext
44543 LIBS=$ac_check_lib_save_LIBS
44544 fi
44545 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44546 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44547 if test $ac_cv_lib_socket_socket = yes; then
44548 if test "$INET_LINK" != " -lsocket"; then
44549 INET_LINK="$INET_LINK -lsocket"
44550 fi
44551 else
44552
44553 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44554 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44555 wxUSE_SOCKETS=no
44556
44557
44558 fi
44559
44560
44561
44562 fi
44563
44564 fi
44565 fi
44566
44567 if test "$wxUSE_SOCKETS" = "yes" ; then
44568 if test "$TOOLKIT" != "MSW"; then
44569 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44570 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44571 if test "${wx_cv_type_getsockname3+set}" = set; then
44572 echo $ECHO_N "(cached) $ECHO_C" >&6
44573 else
44574
44575 ac_ext=cpp
44576 ac_cpp='$CXXCPP $CPPFLAGS'
44577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44580
44581 cat >conftest.$ac_ext <<_ACEOF
44582 /* confdefs.h. */
44583 _ACEOF
44584 cat confdefs.h >>conftest.$ac_ext
44585 cat >>conftest.$ac_ext <<_ACEOF
44586 /* end confdefs.h. */
44587
44588 #include <sys/types.h>
44589 #include <sys/socket.h>
44590
44591 int
44592 main ()
44593 {
44594
44595 socklen_t len;
44596 getsockname(0, 0, &len);
44597
44598 ;
44599 return 0;
44600 }
44601 _ACEOF
44602 rm -f conftest.$ac_objext
44603 if { (ac_try="$ac_compile"
44604 case "(($ac_try" in
44605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44606 *) ac_try_echo=$ac_try;;
44607 esac
44608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44609 (eval "$ac_compile") 2>conftest.er1
44610 ac_status=$?
44611 grep -v '^ *+' conftest.er1 >conftest.err
44612 rm -f conftest.er1
44613 cat conftest.err >&5
44614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44615 (exit $ac_status); } && {
44616 test -z "$ac_cxx_werror_flag" ||
44617 test ! -s conftest.err
44618 } && test -s conftest.$ac_objext; then
44619 wx_cv_type_getsockname3=socklen_t
44620 else
44621 echo "$as_me: failed program was:" >&5
44622 sed 's/^/| /' conftest.$ac_ext >&5
44623
44624
44625 CFLAGS_OLD="$CFLAGS"
44626 if test "$GCC" = yes ; then
44627 CFLAGS="-Werror $CFLAGS"
44628 fi
44629
44630 cat >conftest.$ac_ext <<_ACEOF
44631 /* confdefs.h. */
44632 _ACEOF
44633 cat confdefs.h >>conftest.$ac_ext
44634 cat >>conftest.$ac_ext <<_ACEOF
44635 /* end confdefs.h. */
44636
44637 #include <sys/types.h>
44638 #include <sys/socket.h>
44639
44640 int
44641 main ()
44642 {
44643
44644 size_t len;
44645 getsockname(0, 0, &len);
44646
44647 ;
44648 return 0;
44649 }
44650 _ACEOF
44651 rm -f conftest.$ac_objext
44652 if { (ac_try="$ac_compile"
44653 case "(($ac_try" in
44654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44655 *) ac_try_echo=$ac_try;;
44656 esac
44657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44658 (eval "$ac_compile") 2>conftest.er1
44659 ac_status=$?
44660 grep -v '^ *+' conftest.er1 >conftest.err
44661 rm -f conftest.er1
44662 cat conftest.err >&5
44663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44664 (exit $ac_status); } && {
44665 test -z "$ac_cxx_werror_flag" ||
44666 test ! -s conftest.err
44667 } && test -s conftest.$ac_objext; then
44668 wx_cv_type_getsockname3=size_t
44669 else
44670 echo "$as_me: failed program was:" >&5
44671 sed 's/^/| /' conftest.$ac_ext >&5
44672
44673 cat >conftest.$ac_ext <<_ACEOF
44674 /* confdefs.h. */
44675 _ACEOF
44676 cat confdefs.h >>conftest.$ac_ext
44677 cat >>conftest.$ac_ext <<_ACEOF
44678 /* end confdefs.h. */
44679
44680 #include <sys/types.h>
44681 #include <sys/socket.h>
44682
44683 int
44684 main ()
44685 {
44686
44687 int len;
44688 getsockname(0, 0, &len);
44689
44690 ;
44691 return 0;
44692 }
44693 _ACEOF
44694 rm -f conftest.$ac_objext
44695 if { (ac_try="$ac_compile"
44696 case "(($ac_try" in
44697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44698 *) ac_try_echo=$ac_try;;
44699 esac
44700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44701 (eval "$ac_compile") 2>conftest.er1
44702 ac_status=$?
44703 grep -v '^ *+' conftest.er1 >conftest.err
44704 rm -f conftest.er1
44705 cat conftest.err >&5
44706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44707 (exit $ac_status); } && {
44708 test -z "$ac_cxx_werror_flag" ||
44709 test ! -s conftest.err
44710 } && test -s conftest.$ac_objext; then
44711 wx_cv_type_getsockname3=int
44712 else
44713 echo "$as_me: failed program was:" >&5
44714 sed 's/^/| /' conftest.$ac_ext >&5
44715
44716 wx_cv_type_getsockname3=unknown
44717
44718 fi
44719
44720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44721
44722 fi
44723
44724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44725
44726 CFLAGS="$CFLAGS_OLD"
44727
44728
44729 fi
44730
44731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44732 ac_ext=c
44733 ac_cpp='$CPP $CPPFLAGS'
44734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44737
44738
44739 fi
44740 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44741 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44742
44743 if test "$wx_cv_type_getsockname3" = "unknown"; then
44744 wxUSE_SOCKETS=no
44745 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44746 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44747 else
44748 cat >>confdefs.h <<_ACEOF
44749 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44750 _ACEOF
44751
44752 fi
44753 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44754 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44755 if test "${wx_cv_type_getsockopt5+set}" = set; then
44756 echo $ECHO_N "(cached) $ECHO_C" >&6
44757 else
44758
44759 ac_ext=cpp
44760 ac_cpp='$CXXCPP $CPPFLAGS'
44761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44764
44765 cat >conftest.$ac_ext <<_ACEOF
44766 /* confdefs.h. */
44767 _ACEOF
44768 cat confdefs.h >>conftest.$ac_ext
44769 cat >>conftest.$ac_ext <<_ACEOF
44770 /* end confdefs.h. */
44771
44772 #include <sys/types.h>
44773 #include <sys/socket.h>
44774
44775 int
44776 main ()
44777 {
44778
44779 socklen_t len;
44780 getsockopt(0, 0, 0, 0, &len);
44781
44782 ;
44783 return 0;
44784 }
44785 _ACEOF
44786 rm -f conftest.$ac_objext
44787 if { (ac_try="$ac_compile"
44788 case "(($ac_try" in
44789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44790 *) ac_try_echo=$ac_try;;
44791 esac
44792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44793 (eval "$ac_compile") 2>conftest.er1
44794 ac_status=$?
44795 grep -v '^ *+' conftest.er1 >conftest.err
44796 rm -f conftest.er1
44797 cat conftest.err >&5
44798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44799 (exit $ac_status); } && {
44800 test -z "$ac_cxx_werror_flag" ||
44801 test ! -s conftest.err
44802 } && test -s conftest.$ac_objext; then
44803 wx_cv_type_getsockopt5=socklen_t
44804 else
44805 echo "$as_me: failed program was:" >&5
44806 sed 's/^/| /' conftest.$ac_ext >&5
44807
44808
44809 cat >conftest.$ac_ext <<_ACEOF
44810 /* confdefs.h. */
44811 _ACEOF
44812 cat confdefs.h >>conftest.$ac_ext
44813 cat >>conftest.$ac_ext <<_ACEOF
44814 /* end confdefs.h. */
44815
44816 #include <sys/types.h>
44817 #include <sys/socket.h>
44818
44819 int
44820 main ()
44821 {
44822
44823 size_t len;
44824 getsockopt(0, 0, 0, 0, &len);
44825
44826 ;
44827 return 0;
44828 }
44829 _ACEOF
44830 rm -f conftest.$ac_objext
44831 if { (ac_try="$ac_compile"
44832 case "(($ac_try" in
44833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44834 *) ac_try_echo=$ac_try;;
44835 esac
44836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44837 (eval "$ac_compile") 2>conftest.er1
44838 ac_status=$?
44839 grep -v '^ *+' conftest.er1 >conftest.err
44840 rm -f conftest.er1
44841 cat conftest.err >&5
44842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44843 (exit $ac_status); } && {
44844 test -z "$ac_cxx_werror_flag" ||
44845 test ! -s conftest.err
44846 } && test -s conftest.$ac_objext; then
44847 wx_cv_type_getsockopt5=size_t
44848 else
44849 echo "$as_me: failed program was:" >&5
44850 sed 's/^/| /' conftest.$ac_ext >&5
44851
44852 cat >conftest.$ac_ext <<_ACEOF
44853 /* confdefs.h. */
44854 _ACEOF
44855 cat confdefs.h >>conftest.$ac_ext
44856 cat >>conftest.$ac_ext <<_ACEOF
44857 /* end confdefs.h. */
44858
44859 #include <sys/types.h>
44860 #include <sys/socket.h>
44861
44862 int
44863 main ()
44864 {
44865
44866 int len;
44867 getsockopt(0, 0, 0, 0, &len);
44868
44869 ;
44870 return 0;
44871 }
44872 _ACEOF
44873 rm -f conftest.$ac_objext
44874 if { (ac_try="$ac_compile"
44875 case "(($ac_try" in
44876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44877 *) ac_try_echo=$ac_try;;
44878 esac
44879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44880 (eval "$ac_compile") 2>conftest.er1
44881 ac_status=$?
44882 grep -v '^ *+' conftest.er1 >conftest.err
44883 rm -f conftest.er1
44884 cat conftest.err >&5
44885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44886 (exit $ac_status); } && {
44887 test -z "$ac_cxx_werror_flag" ||
44888 test ! -s conftest.err
44889 } && test -s conftest.$ac_objext; then
44890 wx_cv_type_getsockopt5=int
44891 else
44892 echo "$as_me: failed program was:" >&5
44893 sed 's/^/| /' conftest.$ac_ext >&5
44894
44895 wx_cv_type_getsockopt5=unknown
44896
44897 fi
44898
44899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44900
44901 fi
44902
44903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44904
44905
44906 fi
44907
44908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44909 ac_ext=c
44910 ac_cpp='$CPP $CPPFLAGS'
44911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44914
44915
44916 fi
44917 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44918 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44919
44920 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44921 wxUSE_SOCKETS=no
44922 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44923 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44924 else
44925 cat >>confdefs.h <<_ACEOF
44926 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44927 _ACEOF
44928
44929 fi
44930 fi
44931 fi
44932
44933 if test "$wxUSE_SOCKETS" = "yes" ; then
44934 if test "$wxUSE_IPV6" = "yes"; then
44935 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44936 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44937 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44938 echo $ECHO_N "(cached) $ECHO_C" >&6
44939 else
44940
44941 cat >conftest.$ac_ext <<_ACEOF
44942 /* confdefs.h. */
44943 _ACEOF
44944 cat confdefs.h >>conftest.$ac_ext
44945 cat >>conftest.$ac_ext <<_ACEOF
44946 /* end confdefs.h. */
44947
44948 #include <sys/types.h>
44949 #include <sys/socket.h>
44950 #include <netinet/in.h>
44951
44952 int
44953 main ()
44954 {
44955
44956 struct sockaddr_in6 sa6;
44957
44958 ;
44959 return 0;
44960 }
44961 _ACEOF
44962 rm -f conftest.$ac_objext
44963 if { (ac_try="$ac_compile"
44964 case "(($ac_try" in
44965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44966 *) ac_try_echo=$ac_try;;
44967 esac
44968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44969 (eval "$ac_compile") 2>conftest.er1
44970 ac_status=$?
44971 grep -v '^ *+' conftest.er1 >conftest.err
44972 rm -f conftest.er1
44973 cat conftest.err >&5
44974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44975 (exit $ac_status); } && {
44976 test -z "$ac_c_werror_flag" ||
44977 test ! -s conftest.err
44978 } && test -s conftest.$ac_objext; then
44979 wx_cv_type_sockaddr_in6=yes
44980 else
44981 echo "$as_me: failed program was:" >&5
44982 sed 's/^/| /' conftest.$ac_ext >&5
44983
44984 wx_cv_type_sockaddr_in6=no
44985
44986 fi
44987
44988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44989
44990
44991 fi
44992 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44993 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44994
44995 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44996 cat >>confdefs.h <<\_ACEOF
44997 #define wxUSE_IPV6 1
44998 _ACEOF
44999
45000 else
45001 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
45002 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
45003 fi
45004 fi
45005
45006 cat >>confdefs.h <<\_ACEOF
45007 #define wxUSE_SOCKETS 1
45008 _ACEOF
45009
45010 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45011 fi
45012
45013 if test "$wxUSE_PROTOCOL" = "yes"; then
45014 if test "$wxUSE_SOCKETS" != "yes"; then
45015 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45016 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45017 wxUSE_PROTOCOL=no
45018 fi
45019 fi
45020
45021 if test "$wxUSE_PROTOCOL" = "yes"; then
45022 cat >>confdefs.h <<\_ACEOF
45023 #define wxUSE_PROTOCOL 1
45024 _ACEOF
45025
45026
45027 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45028 cat >>confdefs.h <<\_ACEOF
45029 #define wxUSE_PROTOCOL_HTTP 1
45030 _ACEOF
45031
45032 fi
45033 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45034 cat >>confdefs.h <<\_ACEOF
45035 #define wxUSE_PROTOCOL_FTP 1
45036 _ACEOF
45037
45038 fi
45039 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45040 cat >>confdefs.h <<\_ACEOF
45041 #define wxUSE_PROTOCOL_FILE 1
45042 _ACEOF
45043
45044 fi
45045 else
45046 if test "$wxUSE_FS_INET" = "yes"; then
45047 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45048 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45049 wxUSE_FS_INET="no"
45050 fi
45051 fi
45052
45053 if test "$wxUSE_URL" = "yes"; then
45054 if test "$wxUSE_PROTOCOL" != "yes"; then
45055 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45056 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45057 wxUSE_URL=no
45058 fi
45059 if test "$wxUSE_URL" = "yes"; then
45060 cat >>confdefs.h <<\_ACEOF
45061 #define wxUSE_URL 1
45062 _ACEOF
45063
45064 fi
45065 fi
45066
45067 if test "$wxUSE_VARIANT" = "yes"; then
45068 cat >>confdefs.h <<\_ACEOF
45069 #define wxUSE_VARIANT 1
45070 _ACEOF
45071
45072 fi
45073
45074 if test "$wxUSE_FS_INET" = "yes"; then
45075 cat >>confdefs.h <<\_ACEOF
45076 #define wxUSE_FS_INET 1
45077 _ACEOF
45078
45079 fi
45080
45081
45082 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45083 wxUSE_JOYSTICK=no
45084
45085 if test "$TOOLKIT" = "MSW"; then
45086 wxUSE_JOYSTICK=yes
45087
45088 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
45089 if test "$USE_DARWIN" = 1; then
45090 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45091 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45092 ac_ext=cpp
45093 ac_cpp='$CXXCPP $CPPFLAGS'
45094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45097
45098 cat >conftest.$ac_ext <<_ACEOF
45099 /* confdefs.h. */
45100 _ACEOF
45101 cat confdefs.h >>conftest.$ac_ext
45102 cat >>conftest.$ac_ext <<_ACEOF
45103 /* end confdefs.h. */
45104 #include <IOKit/hid/IOHIDLib.h>
45105 int
45106 main ()
45107 {
45108 IOHIDQueueInterface *qi = NULL;
45109 IOHIDCallbackFunction cb = NULL;
45110 qi->setEventCallout(NULL, cb, NULL, NULL);
45111 ;
45112 return 0;
45113 }
45114 _ACEOF
45115 rm -f conftest.$ac_objext
45116 if { (ac_try="$ac_compile"
45117 case "(($ac_try" in
45118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45119 *) ac_try_echo=$ac_try;;
45120 esac
45121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45122 (eval "$ac_compile") 2>conftest.er1
45123 ac_status=$?
45124 grep -v '^ *+' conftest.er1 >conftest.err
45125 rm -f conftest.er1
45126 cat conftest.err >&5
45127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45128 (exit $ac_status); } && {
45129 test -z "$ac_cxx_werror_flag" ||
45130 test ! -s conftest.err
45131 } && test -s conftest.$ac_objext; then
45132 wxUSE_JOYSTICK=yes
45133
45134 else
45135 echo "$as_me: failed program was:" >&5
45136 sed 's/^/| /' conftest.$ac_ext >&5
45137
45138
45139 fi
45140
45141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45142 ac_ext=c
45143 ac_cpp='$CPP $CPPFLAGS'
45144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45147
45148 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45149 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45150 fi
45151
45152 else
45153 if test "$wxUSE_MGL" != 1; then
45154
45155 for ac_header in linux/joystick.h
45156 do
45157 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45158 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45159 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45160 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45161 echo $ECHO_N "(cached) $ECHO_C" >&6
45162 else
45163 cat >conftest.$ac_ext <<_ACEOF
45164 /* confdefs.h. */
45165 _ACEOF
45166 cat confdefs.h >>conftest.$ac_ext
45167 cat >>conftest.$ac_ext <<_ACEOF
45168 /* end confdefs.h. */
45169 $ac_includes_default
45170
45171 #include <$ac_header>
45172 _ACEOF
45173 rm -f conftest.$ac_objext
45174 if { (ac_try="$ac_compile"
45175 case "(($ac_try" in
45176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45177 *) ac_try_echo=$ac_try;;
45178 esac
45179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45180 (eval "$ac_compile") 2>conftest.er1
45181 ac_status=$?
45182 grep -v '^ *+' conftest.er1 >conftest.err
45183 rm -f conftest.er1
45184 cat conftest.err >&5
45185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45186 (exit $ac_status); } && {
45187 test -z "$ac_c_werror_flag" ||
45188 test ! -s conftest.err
45189 } && test -s conftest.$ac_objext; then
45190 eval "$as_ac_Header=yes"
45191 else
45192 echo "$as_me: failed program was:" >&5
45193 sed 's/^/| /' conftest.$ac_ext >&5
45194
45195 eval "$as_ac_Header=no"
45196 fi
45197
45198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45199 fi
45200 ac_res=`eval echo '${'$as_ac_Header'}'`
45201 { echo "$as_me:$LINENO: result: $ac_res" >&5
45202 echo "${ECHO_T}$ac_res" >&6; }
45203 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45204 cat >>confdefs.h <<_ACEOF
45205 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45206 _ACEOF
45207 wxUSE_JOYSTICK=yes
45208 fi
45209
45210 done
45211
45212 fi
45213 fi
45214
45215 if test "$wxUSE_JOYSTICK" = "yes"; then
45216 cat >>confdefs.h <<\_ACEOF
45217 #define wxUSE_JOYSTICK 1
45218 _ACEOF
45219
45220 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45221 else
45222 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45223 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45224 fi
45225 fi
45226
45227
45228
45229 if test "$wxUSE_FONTENUM" = "yes" ; then
45230 cat >>confdefs.h <<\_ACEOF
45231 #define wxUSE_FONTENUM 1
45232 _ACEOF
45233
45234 fi
45235
45236 if test "$wxUSE_FONTMAP" = "yes" ; then
45237 cat >>confdefs.h <<\_ACEOF
45238 #define wxUSE_FONTMAP 1
45239 _ACEOF
45240
45241 fi
45242
45243 if test "$wxUSE_UNICODE" = "yes" ; then
45244 cat >>confdefs.h <<\_ACEOF
45245 #define wxUSE_UNICODE 1
45246 _ACEOF
45247
45248
45249 if test "$USE_WIN32" != 1; then
45250 wxUSE_UNICODE_MSLU=no
45251 fi
45252
45253 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45254 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45255 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45256 if test "${ac_cv_lib_unicows_main+set}" = set; then
45257 echo $ECHO_N "(cached) $ECHO_C" >&6
45258 else
45259 ac_check_lib_save_LIBS=$LIBS
45260 LIBS="-lunicows $LIBS"
45261 cat >conftest.$ac_ext <<_ACEOF
45262 /* confdefs.h. */
45263 _ACEOF
45264 cat confdefs.h >>conftest.$ac_ext
45265 cat >>conftest.$ac_ext <<_ACEOF
45266 /* end confdefs.h. */
45267
45268
45269 int
45270 main ()
45271 {
45272 return main ();
45273 ;
45274 return 0;
45275 }
45276 _ACEOF
45277 rm -f conftest.$ac_objext conftest$ac_exeext
45278 if { (ac_try="$ac_link"
45279 case "(($ac_try" in
45280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45281 *) ac_try_echo=$ac_try;;
45282 esac
45283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45284 (eval "$ac_link") 2>conftest.er1
45285 ac_status=$?
45286 grep -v '^ *+' conftest.er1 >conftest.err
45287 rm -f conftest.er1
45288 cat conftest.err >&5
45289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45290 (exit $ac_status); } && {
45291 test -z "$ac_c_werror_flag" ||
45292 test ! -s conftest.err
45293 } && test -s conftest$ac_exeext &&
45294 $as_test_x conftest$ac_exeext; then
45295 ac_cv_lib_unicows_main=yes
45296 else
45297 echo "$as_me: failed program was:" >&5
45298 sed 's/^/| /' conftest.$ac_ext >&5
45299
45300 ac_cv_lib_unicows_main=no
45301 fi
45302
45303 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45304 conftest$ac_exeext conftest.$ac_ext
45305 LIBS=$ac_check_lib_save_LIBS
45306 fi
45307 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45308 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45309 if test $ac_cv_lib_unicows_main = yes; then
45310
45311 cat >>confdefs.h <<\_ACEOF
45312 #define wxUSE_UNICODE_MSLU 1
45313 _ACEOF
45314
45315
45316 else
45317
45318 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45319 Applications will only run on Windows NT/2000/XP!" >&5
45320 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45321 Applications will only run on Windows NT/2000/XP!" >&2;}
45322 wxUSE_UNICODE_MSLU=no
45323
45324 fi
45325
45326 fi
45327 fi
45328
45329 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45330 cat >>confdefs.h <<\_ACEOF
45331 #define wxUSE_UNICODE_UTF8 1
45332 _ACEOF
45333
45334
45335 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45336 cat >>confdefs.h <<\_ACEOF
45337 #define wxUSE_UTF8_LOCALE_ONLY 1
45338 _ACEOF
45339
45340 fi
45341 fi
45342
45343
45344 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45345 cat >>confdefs.h <<\_ACEOF
45346 #define wxUSE_CONSTRAINTS 1
45347 _ACEOF
45348
45349 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45350 fi
45351
45352 if test "$wxUSE_MDI" = "yes"; then
45353 cat >>confdefs.h <<\_ACEOF
45354 #define wxUSE_MDI 1
45355 _ACEOF
45356
45357
45358 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45359 cat >>confdefs.h <<\_ACEOF
45360 #define wxUSE_MDI_ARCHITECTURE 1
45361 _ACEOF
45362
45363 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45364 fi
45365 fi
45366
45367 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45368 cat >>confdefs.h <<\_ACEOF
45369 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45370 _ACEOF
45371
45372 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45373 fi
45374
45375 if test "$wxUSE_HELP" = "yes"; then
45376 cat >>confdefs.h <<\_ACEOF
45377 #define wxUSE_HELP 1
45378 _ACEOF
45379
45380 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45381
45382 if test "$wxUSE_MSW" = 1; then
45383 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45384 cat >>confdefs.h <<\_ACEOF
45385 #define wxUSE_MS_HTML_HELP 1
45386 _ACEOF
45387
45388 fi
45389 fi
45390
45391 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45392 if test "$wxUSE_HTML" = "yes"; then
45393 cat >>confdefs.h <<\_ACEOF
45394 #define wxUSE_WXHTML_HELP 1
45395 _ACEOF
45396
45397 else
45398 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45399 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45400 wxUSE_WXHTML_HELP=no
45401 fi
45402 fi
45403 fi
45404
45405 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45406 cat >>confdefs.h <<\_ACEOF
45407 #define wxUSE_PRINTING_ARCHITECTURE 1
45408 _ACEOF
45409
45410 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45411 fi
45412
45413 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45414 cat >>confdefs.h <<\_ACEOF
45415 #define wxUSE_POSTSCRIPT 1
45416 _ACEOF
45417
45418 fi
45419
45420 cat >>confdefs.h <<\_ACEOF
45421 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45422 _ACEOF
45423
45424
45425 if test "$wxUSE_SVG" = "yes"; then
45426 cat >>confdefs.h <<\_ACEOF
45427 #define wxUSE_SVG 1
45428 _ACEOF
45429
45430 fi
45431
45432
45433 if test "$wxUSE_METAFILE" = "yes"; then
45434 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45435 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45436 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45437 wxUSE_METAFILE=no
45438 fi
45439 fi
45440
45441
45442 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45443 -o "$wxUSE_CLIPBOARD" = "yes" \
45444 -o "$wxUSE_OLE" = "yes" \
45445 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45446 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45447 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45448 if test "${ac_cv_header_ole2_h+set}" = set; then
45449 echo $ECHO_N "(cached) $ECHO_C" >&6
45450 else
45451 cat >conftest.$ac_ext <<_ACEOF
45452 /* confdefs.h. */
45453 _ACEOF
45454 cat confdefs.h >>conftest.$ac_ext
45455 cat >>conftest.$ac_ext <<_ACEOF
45456 /* end confdefs.h. */
45457
45458
45459 #include <ole2.h>
45460 _ACEOF
45461 rm -f conftest.$ac_objext
45462 if { (ac_try="$ac_compile"
45463 case "(($ac_try" in
45464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45465 *) ac_try_echo=$ac_try;;
45466 esac
45467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45468 (eval "$ac_compile") 2>conftest.er1
45469 ac_status=$?
45470 grep -v '^ *+' conftest.er1 >conftest.err
45471 rm -f conftest.er1
45472 cat conftest.err >&5
45473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45474 (exit $ac_status); } && {
45475 test -z "$ac_c_werror_flag" ||
45476 test ! -s conftest.err
45477 } && test -s conftest.$ac_objext; then
45478 ac_cv_header_ole2_h=yes
45479 else
45480 echo "$as_me: failed program was:" >&5
45481 sed 's/^/| /' conftest.$ac_ext >&5
45482
45483 ac_cv_header_ole2_h=no
45484 fi
45485
45486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45487 fi
45488 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45489 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45490
45491
45492
45493 if test "$ac_cv_header_ole2_h" = "yes" ; then
45494 if test "$GCC" = yes ; then
45495 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45496 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45497 cat >conftest.$ac_ext <<_ACEOF
45498 /* confdefs.h. */
45499 _ACEOF
45500 cat confdefs.h >>conftest.$ac_ext
45501 cat >>conftest.$ac_ext <<_ACEOF
45502 /* end confdefs.h. */
45503 #include <windows.h>
45504 #include <ole2.h>
45505 int
45506 main ()
45507 {
45508
45509 ;
45510 return 0;
45511 }
45512 _ACEOF
45513 rm -f conftest.$ac_objext
45514 if { (ac_try="$ac_compile"
45515 case "(($ac_try" in
45516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45517 *) ac_try_echo=$ac_try;;
45518 esac
45519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45520 (eval "$ac_compile") 2>conftest.er1
45521 ac_status=$?
45522 grep -v '^ *+' conftest.er1 >conftest.err
45523 rm -f conftest.er1
45524 cat conftest.err >&5
45525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45526 (exit $ac_status); } && {
45527 test -z "$ac_c_werror_flag" ||
45528 test ! -s conftest.err
45529 } && test -s conftest.$ac_objext; then
45530 { echo "$as_me:$LINENO: result: no" >&5
45531 echo "${ECHO_T}no" >&6; }
45532 else
45533 echo "$as_me: failed program was:" >&5
45534 sed 's/^/| /' conftest.$ac_ext >&5
45535
45536 { echo "$as_me:$LINENO: result: yes" >&5
45537 echo "${ECHO_T}yes" >&6; }
45538 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45539 fi
45540
45541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45542 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45543 if test "$wxUSE_OLE" = "yes" ; then
45544 cat >>confdefs.h <<\_ACEOF
45545 #define wxUSE_OLE 1
45546 _ACEOF
45547
45548 cat >>confdefs.h <<\_ACEOF
45549 #define wxUSE_OLE_AUTOMATION 1
45550 _ACEOF
45551
45552 cat >>confdefs.h <<\_ACEOF
45553 #define wxUSE_ACTIVEX 1
45554 _ACEOF
45555
45556 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45557 fi
45558 fi
45559
45560 if test "$wxUSE_DATAOBJ" = "yes" ; then
45561 cat >>confdefs.h <<\_ACEOF
45562 #define wxUSE_DATAOBJ 1
45563 _ACEOF
45564
45565 fi
45566 else
45567 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45568 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45569
45570 wxUSE_CLIPBOARD=no
45571 wxUSE_DRAG_AND_DROP=no
45572 wxUSE_DATAOBJ=no
45573 wxUSE_OLE=no
45574 fi
45575
45576 if test "$wxUSE_METAFILE" = "yes"; then
45577 cat >>confdefs.h <<\_ACEOF
45578 #define wxUSE_METAFILE 1
45579 _ACEOF
45580
45581
45582 cat >>confdefs.h <<\_ACEOF
45583 #define wxUSE_ENH_METAFILE 1
45584 _ACEOF
45585
45586 fi
45587 fi
45588
45589 if test "$wxUSE_IPC" = "yes"; then
45590 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45591 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45592 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45593 wxUSE_IPC=no
45594 fi
45595
45596 if test "$wxUSE_IPC" = "yes"; then
45597 cat >>confdefs.h <<\_ACEOF
45598 #define wxUSE_IPC 1
45599 _ACEOF
45600
45601 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45602 fi
45603 fi
45604
45605 if test "$wxUSE_DATAOBJ" = "yes"; then
45606 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45607 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45608 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45609 wxUSE_DATAOBJ=no
45610 else
45611 cat >>confdefs.h <<\_ACEOF
45612 #define wxUSE_DATAOBJ 1
45613 _ACEOF
45614
45615 fi
45616 else
45617 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45618 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45619 wxUSE_CLIPBOARD=no
45620 wxUSE_DRAG_AND_DROP=no
45621 fi
45622
45623 if test "$wxUSE_CLIPBOARD" = "yes"; then
45624 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45625 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45626 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45627 wxUSE_CLIPBOARD=no
45628 fi
45629
45630 if test "$wxUSE_CLIPBOARD" = "yes"; then
45631 cat >>confdefs.h <<\_ACEOF
45632 #define wxUSE_CLIPBOARD 1
45633 _ACEOF
45634
45635 fi
45636 fi
45637
45638 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45639 if test "$wxUSE_GTK" = 1; then
45640 if test "$WXGTK12" != 1; then
45641 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45642 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45643 wxUSE_DRAG_AND_DROP=no
45644 fi
45645 fi
45646
45647 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45648 "$wxUSE_DFB" = 1; then
45649 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45650 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45651 wxUSE_DRAG_AND_DROP=no
45652 fi
45653
45654 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45655 cat >>confdefs.h <<\_ACEOF
45656 #define wxUSE_DRAG_AND_DROP 1
45657 _ACEOF
45658
45659 fi
45660
45661 fi
45662
45663 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45664 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45665 fi
45666
45667 if test "$wxUSE_CLIPBOARD" = "yes"; then
45668 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
45669 fi
45670
45671 if test "$wxUSE_SPLINES" = "yes" ; then
45672 cat >>confdefs.h <<\_ACEOF
45673 #define wxUSE_SPLINES 1
45674 _ACEOF
45675
45676 fi
45677
45678 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45679 cat >>confdefs.h <<\_ACEOF
45680 #define wxUSE_MOUSEWHEEL 1
45681 _ACEOF
45682
45683 fi
45684
45685
45686 USES_CONTROLS=0
45687 if test "$wxUSE_CONTROLS" = "yes"; then
45688 USES_CONTROLS=1
45689 fi
45690
45691 if test "$wxUSE_ACCEL" = "yes"; then
45692 cat >>confdefs.h <<\_ACEOF
45693 #define wxUSE_ACCEL 1
45694 _ACEOF
45695
45696 USES_CONTROLS=1
45697 fi
45698
45699 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45700 cat >>confdefs.h <<\_ACEOF
45701 #define wxUSE_ANIMATIONCTRL 1
45702 _ACEOF
45703
45704 USES_CONTROLS=1
45705 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45706 fi
45707
45708 if test "$wxUSE_BUTTON" = "yes"; then
45709 cat >>confdefs.h <<\_ACEOF
45710 #define wxUSE_BUTTON 1
45711 _ACEOF
45712
45713 USES_CONTROLS=1
45714 fi
45715
45716 if test "$wxUSE_BMPBUTTON" = "yes"; then
45717 cat >>confdefs.h <<\_ACEOF
45718 #define wxUSE_BMPBUTTON 1
45719 _ACEOF
45720
45721 USES_CONTROLS=1
45722 fi
45723
45724 if test "$wxUSE_CALCTRL" = "yes"; then
45725 cat >>confdefs.h <<\_ACEOF
45726 #define wxUSE_CALENDARCTRL 1
45727 _ACEOF
45728
45729 USES_CONTROLS=1
45730 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45731 fi
45732
45733 if test "$wxUSE_CARET" = "yes"; then
45734 cat >>confdefs.h <<\_ACEOF
45735 #define wxUSE_CARET 1
45736 _ACEOF
45737
45738 USES_CONTROLS=1
45739 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45740 fi
45741
45742 if test "$wxUSE_COLLPANE" = "yes"; then
45743 cat >>confdefs.h <<\_ACEOF
45744 #define wxUSE_COLLPANE 1
45745 _ACEOF
45746
45747 USES_CONTROLS=1
45748 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
45749 fi
45750
45751 if test "$wxUSE_COMBOBOX" = "yes"; then
45752 cat >>confdefs.h <<\_ACEOF
45753 #define wxUSE_COMBOBOX 1
45754 _ACEOF
45755
45756 USES_CONTROLS=1
45757 fi
45758
45759 if test "$wxUSE_COMBOCTRL" = "yes"; then
45760 cat >>confdefs.h <<\_ACEOF
45761 #define wxUSE_COMBOCTRL 1
45762 _ACEOF
45763
45764 USES_CONTROLS=1
45765 fi
45766
45767 if test "$wxUSE_CHOICE" = "yes"; then
45768 cat >>confdefs.h <<\_ACEOF
45769 #define wxUSE_CHOICE 1
45770 _ACEOF
45771
45772 USES_CONTROLS=1
45773 fi
45774
45775 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45776 cat >>confdefs.h <<\_ACEOF
45777 #define wxUSE_CHOICEBOOK 1
45778 _ACEOF
45779
45780 USES_CONTROLS=1
45781 fi
45782
45783 if test "$wxUSE_CHECKBOX" = "yes"; then
45784 cat >>confdefs.h <<\_ACEOF
45785 #define wxUSE_CHECKBOX 1
45786 _ACEOF
45787
45788 USES_CONTROLS=1
45789 fi
45790
45791 if test "$wxUSE_CHECKLST" = "yes"; then
45792 cat >>confdefs.h <<\_ACEOF
45793 #define wxUSE_CHECKLISTBOX 1
45794 _ACEOF
45795
45796 USES_CONTROLS=1
45797 fi
45798
45799 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45800 cat >>confdefs.h <<\_ACEOF
45801 #define wxUSE_COLOURPICKERCTRL 1
45802 _ACEOF
45803
45804 USES_CONTROLS=1
45805 fi
45806
45807 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45808 cat >>confdefs.h <<\_ACEOF
45809 #define wxUSE_DATEPICKCTRL 1
45810 _ACEOF
45811
45812 USES_CONTROLS=1
45813 fi
45814
45815 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45816 cat >>confdefs.h <<\_ACEOF
45817 #define wxUSE_DIRPICKERCTRL 1
45818 _ACEOF
45819
45820 USES_CONTROLS=1
45821 fi
45822
45823 if test "$wxUSE_FILECTRL" = "yes"; then
45824 cat >>confdefs.h <<\_ACEOF
45825 #define wxUSE_FILECTRL 1
45826 _ACEOF
45827
45828 USES_CONTROLS=1
45829 fi
45830
45831 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45832 cat >>confdefs.h <<\_ACEOF
45833 #define wxUSE_FILEPICKERCTRL 1
45834 _ACEOF
45835
45836 USES_CONTROLS=1
45837 fi
45838
45839 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45840 cat >>confdefs.h <<\_ACEOF
45841 #define wxUSE_FONTPICKERCTRL 1
45842 _ACEOF
45843
45844 USES_CONTROLS=1
45845 fi
45846
45847 if test "$wxUSE_DISPLAY" = "yes"; then
45848 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45849 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45850 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45851 wxUSE_DISPLAY=no
45852 else
45853 cat >>confdefs.h <<\_ACEOF
45854 #define wxUSE_DISPLAY 1
45855 _ACEOF
45856
45857 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45858 fi
45859 fi
45860
45861 if test "$wxUSE_DETECT_SM" = "yes"; then
45862 cat >>confdefs.h <<\_ACEOF
45863 #define wxUSE_DETECT_SM 1
45864 _ACEOF
45865
45866 fi
45867
45868 if test "$wxUSE_GAUGE" = "yes"; then
45869 cat >>confdefs.h <<\_ACEOF
45870 #define wxUSE_GAUGE 1
45871 _ACEOF
45872
45873 USES_CONTROLS=1
45874 fi
45875
45876 if test "$wxUSE_GRID" = "yes"; then
45877 cat >>confdefs.h <<\_ACEOF
45878 #define wxUSE_GRID 1
45879 _ACEOF
45880
45881 USES_CONTROLS=1
45882 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45883 fi
45884
45885 if test "$wxUSE_HEADERCTRL" = "yes"; then
45886 cat >>confdefs.h <<\_ACEOF
45887 #define wxUSE_HEADERCTRL 1
45888 _ACEOF
45889
45890 USES_CONTROLS=1
45891 fi
45892
45893 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45894 cat >>confdefs.h <<\_ACEOF
45895 #define wxUSE_HYPERLINKCTRL 1
45896 _ACEOF
45897
45898 USES_CONTROLS=1
45899 fi
45900
45901 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45902 cat >>confdefs.h <<\_ACEOF
45903 #define wxUSE_BITMAPCOMBOBOX 1
45904 _ACEOF
45905
45906 USES_CONTROLS=1
45907 fi
45908
45909 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45910 cat >>confdefs.h <<\_ACEOF
45911 #define wxUSE_DATAVIEWCTRL 1
45912 _ACEOF
45913
45914 USES_CONTROLS=1
45915 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45916 fi
45917
45918 if test "$wxUSE_IMAGLIST" = "yes"; then
45919 cat >>confdefs.h <<\_ACEOF
45920 #define wxUSE_IMAGLIST 1
45921 _ACEOF
45922
45923 fi
45924
45925 if test "$wxUSE_LISTBOOK" = "yes"; then
45926 cat >>confdefs.h <<\_ACEOF
45927 #define wxUSE_LISTBOOK 1
45928 _ACEOF
45929
45930 USES_CONTROLS=1
45931 fi
45932
45933 if test "$wxUSE_LISTBOX" = "yes"; then
45934 cat >>confdefs.h <<\_ACEOF
45935 #define wxUSE_LISTBOX 1
45936 _ACEOF
45937
45938 USES_CONTROLS=1
45939 fi
45940
45941 if test "$wxUSE_LISTCTRL" = "yes"; then
45942 if test "$wxUSE_IMAGLIST" = "yes"; then
45943 cat >>confdefs.h <<\_ACEOF
45944 #define wxUSE_LISTCTRL 1
45945 _ACEOF
45946
45947 USES_CONTROLS=1
45948 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45949 else
45950 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45951 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45952 fi
45953 fi
45954
45955 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45956 cat >>confdefs.h <<\_ACEOF
45957 #define wxUSE_EDITABLELISTBOX 1
45958 _ACEOF
45959
45960 USES_CONTROLS=1
45961 fi
45962
45963 if test "$wxUSE_NOTEBOOK" = "yes"; then
45964 cat >>confdefs.h <<\_ACEOF
45965 #define wxUSE_NOTEBOOK 1
45966 _ACEOF
45967
45968 USES_CONTROLS=1
45969 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45970 fi
45971
45972 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45973 cat >>confdefs.h <<\_ACEOF
45974 #define wxUSE_NOTIFICATION_MESSAGE 1
45975 _ACEOF
45976
45977 fi
45978
45979 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45980 cat >>confdefs.h <<\_ACEOF
45981 #define wxUSE_ODCOMBOBOX 1
45982 _ACEOF
45983
45984 USES_CONTROLS=1
45985 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45986 fi
45987
45988 if test "$wxUSE_RADIOBOX" = "yes"; then
45989 cat >>confdefs.h <<\_ACEOF
45990 #define wxUSE_RADIOBOX 1
45991 _ACEOF
45992
45993 USES_CONTROLS=1
45994 fi
45995
45996 if test "$wxUSE_RADIOBTN" = "yes"; then
45997 cat >>confdefs.h <<\_ACEOF
45998 #define wxUSE_RADIOBTN 1
45999 _ACEOF
46000
46001 USES_CONTROLS=1
46002 fi
46003
46004 if test "$wxUSE_REARRANGECTRL" = "yes"; then
46005 cat >>confdefs.h <<\_ACEOF
46006 #define wxUSE_REARRANGECTRL 1
46007 _ACEOF
46008
46009 fi
46010
46011 if test "$wxUSE_SASH" = "yes"; then
46012 cat >>confdefs.h <<\_ACEOF
46013 #define wxUSE_SASH 1
46014 _ACEOF
46015
46016 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
46017 fi
46018
46019 if test "$wxUSE_SCROLLBAR" = "yes"; then
46020 cat >>confdefs.h <<\_ACEOF
46021 #define wxUSE_SCROLLBAR 1
46022 _ACEOF
46023
46024 USES_CONTROLS=1
46025 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
46026 fi
46027
46028 if test "$wxUSE_SEARCHCTRL" = "yes"; then
46029 cat >>confdefs.h <<\_ACEOF
46030 #define wxUSE_SEARCHCTRL 1
46031 _ACEOF
46032
46033 USES_CONTROLS=1
46034 fi
46035
46036 if test "$wxUSE_SLIDER" = "yes"; then
46037 cat >>confdefs.h <<\_ACEOF
46038 #define wxUSE_SLIDER 1
46039 _ACEOF
46040
46041 USES_CONTROLS=1
46042 fi
46043
46044 if test "$wxUSE_SPINBTN" = "yes"; then
46045 cat >>confdefs.h <<\_ACEOF
46046 #define wxUSE_SPINBTN 1
46047 _ACEOF
46048
46049 USES_CONTROLS=1
46050 fi
46051
46052 if test "$wxUSE_SPINCTRL" = "yes"; then
46053 cat >>confdefs.h <<\_ACEOF
46054 #define wxUSE_SPINCTRL 1
46055 _ACEOF
46056
46057 USES_CONTROLS=1
46058 fi
46059
46060 if test "$wxUSE_SPLITTER" = "yes"; then
46061 cat >>confdefs.h <<\_ACEOF
46062 #define wxUSE_SPLITTER 1
46063 _ACEOF
46064
46065 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
46066 fi
46067
46068 if test "$wxUSE_STATBMP" = "yes"; then
46069 cat >>confdefs.h <<\_ACEOF
46070 #define wxUSE_STATBMP 1
46071 _ACEOF
46072
46073 USES_CONTROLS=1
46074 fi
46075
46076 if test "$wxUSE_STATBOX" = "yes"; then
46077 cat >>confdefs.h <<\_ACEOF
46078 #define wxUSE_STATBOX 1
46079 _ACEOF
46080
46081 USES_CONTROLS=1
46082 fi
46083
46084 if test "$wxUSE_STATTEXT" = "yes"; then
46085 cat >>confdefs.h <<\_ACEOF
46086 #define wxUSE_STATTEXT 1
46087 _ACEOF
46088
46089 USES_CONTROLS=1
46090 fi
46091
46092 if test "$wxUSE_STATLINE" = "yes"; then
46093 cat >>confdefs.h <<\_ACEOF
46094 #define wxUSE_STATLINE 1
46095 _ACEOF
46096
46097 USES_CONTROLS=1
46098 fi
46099
46100 if test "$wxUSE_STATUSBAR" = "yes"; then
46101 cat >>confdefs.h <<\_ACEOF
46102 #define wxUSE_NATIVE_STATUSBAR 1
46103 _ACEOF
46104
46105 cat >>confdefs.h <<\_ACEOF
46106 #define wxUSE_STATUSBAR 1
46107 _ACEOF
46108
46109 USES_CONTROLS=1
46110
46111 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
46112 fi
46113
46114 if test "$wxUSE_TEXTCTRL" = "yes"; then
46115 cat >>confdefs.h <<\_ACEOF
46116 #define wxUSE_TEXTCTRL 1
46117 _ACEOF
46118
46119 USES_CONTROLS=1
46120 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
46121
46122 cat >>confdefs.h <<\_ACEOF
46123 #define wxUSE_RICHEDIT 1
46124 _ACEOF
46125
46126 cat >>confdefs.h <<\_ACEOF
46127 #define wxUSE_RICHEDIT2 1
46128 _ACEOF
46129
46130 fi
46131
46132 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46133 if test "$wxUSE_COCOA" = 1 ; then
46134 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46135 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46136 wxUSE_TOGGLEBTN=no
46137 fi
46138
46139 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46140 cat >>confdefs.h <<\_ACEOF
46141 #define wxUSE_TOGGLEBTN 1
46142 _ACEOF
46143
46144 USES_CONTROLS=1
46145 fi
46146 fi
46147
46148 if test "$wxUSE_TOOLBAR" = "yes"; then
46149 cat >>confdefs.h <<\_ACEOF
46150 #define wxUSE_TOOLBAR 1
46151 _ACEOF
46152
46153 USES_CONTROLS=1
46154
46155 if test "$wxUSE_UNIVERSAL" = "yes"; then
46156 wxUSE_TOOLBAR_NATIVE="no"
46157 else
46158 wxUSE_TOOLBAR_NATIVE="yes"
46159 cat >>confdefs.h <<\_ACEOF
46160 #define wxUSE_TOOLBAR_NATIVE 1
46161 _ACEOF
46162
46163 fi
46164
46165 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46166 fi
46167
46168 if test "$wxUSE_TOOLTIPS" = "yes"; then
46169 if test "$wxUSE_MOTIF" = 1; then
46170 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46171 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46172 else
46173 if test "$wxUSE_UNIVERSAL" = "yes"; then
46174 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46175 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46176 else
46177 cat >>confdefs.h <<\_ACEOF
46178 #define wxUSE_TOOLTIPS 1
46179 _ACEOF
46180
46181 fi
46182 fi
46183 fi
46184
46185 if test "$wxUSE_TREEBOOK" = "yes"; then
46186 cat >>confdefs.h <<\_ACEOF
46187 #define wxUSE_TREEBOOK 1
46188 _ACEOF
46189
46190 USES_CONTROLS=1
46191 fi
46192
46193 if test "$wxUSE_TOOLBOOK" = "yes"; then
46194 cat >>confdefs.h <<\_ACEOF
46195 #define wxUSE_TOOLBOOK 1
46196 _ACEOF
46197
46198 USES_CONTROLS=1
46199 fi
46200
46201 if test "$wxUSE_TREECTRL" = "yes"; then
46202 if test "$wxUSE_IMAGLIST" = "yes"; then
46203 cat >>confdefs.h <<\_ACEOF
46204 #define wxUSE_TREECTRL 1
46205 _ACEOF
46206
46207 USES_CONTROLS=1
46208 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46209 else
46210 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46211 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46212 fi
46213 fi
46214
46215 if test "$wxUSE_POPUPWIN" = "yes"; then
46216 if test "$wxUSE_COCOA" = 1 ; then
46217 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46218 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46219 else
46220 if test "$wxUSE_PM" = 1; then
46221 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46222 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46223 else
46224 cat >>confdefs.h <<\_ACEOF
46225 #define wxUSE_POPUPWIN 1
46226 _ACEOF
46227
46228 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46229
46230 USES_CONTROLS=1
46231 fi
46232 fi
46233 fi
46234
46235 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46236 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46237 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46238 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46239 else
46240 cat >>confdefs.h <<\_ACEOF
46241 #define wxUSE_DIALUP_MANAGER 1
46242 _ACEOF
46243
46244 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46245 fi
46246 fi
46247
46248 if test "$wxUSE_TIPWINDOW" = "yes"; then
46249 if test "$wxUSE_PM" = 1; then
46250 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46251 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46252 else
46253 cat >>confdefs.h <<\_ACEOF
46254 #define wxUSE_TIPWINDOW 1
46255 _ACEOF
46256
46257 fi
46258 fi
46259
46260 if test "$USES_CONTROLS" = 1; then
46261 cat >>confdefs.h <<\_ACEOF
46262 #define wxUSE_CONTROLS 1
46263 _ACEOF
46264
46265 fi
46266
46267
46268 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46269 cat >>confdefs.h <<\_ACEOF
46270 #define wxUSE_ACCESSIBILITY 1
46271 _ACEOF
46272
46273 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46274 fi
46275
46276 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46277 cat >>confdefs.h <<\_ACEOF
46278 #define wxUSE_DRAGIMAGE 1
46279 _ACEOF
46280
46281 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46282 fi
46283
46284 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46285 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46286 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46287 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46288 else
46289 cat >>confdefs.h <<\_ACEOF
46290 #define wxUSE_EXCEPTIONS 1
46291 _ACEOF
46292
46293 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46294 fi
46295 fi
46296
46297 USE_HTML=0
46298 if test "$wxUSE_HTML" = "yes"; then
46299 cat >>confdefs.h <<\_ACEOF
46300 #define wxUSE_HTML 1
46301 _ACEOF
46302
46303 USE_HTML=1
46304 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46305 fi
46306 if test "$wxUSE_WEBKIT" = "yes"; then
46307 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46308 old_CPPFLAGS="$CPPFLAGS"
46309 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46310 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46311 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46312 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46313 echo $ECHO_N "(cached) $ECHO_C" >&6
46314 else
46315 cat >conftest.$ac_ext <<_ACEOF
46316 /* confdefs.h. */
46317 _ACEOF
46318 cat confdefs.h >>conftest.$ac_ext
46319 cat >>conftest.$ac_ext <<_ACEOF
46320 /* end confdefs.h. */
46321
46322 #include <Carbon/Carbon.h>
46323 #include <WebKit/WebKit.h>
46324
46325
46326 #include <WebKit/HIWebView.h>
46327 _ACEOF
46328 rm -f conftest.$ac_objext
46329 if { (ac_try="$ac_compile"
46330 case "(($ac_try" in
46331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46332 *) ac_try_echo=$ac_try;;
46333 esac
46334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46335 (eval "$ac_compile") 2>conftest.er1
46336 ac_status=$?
46337 grep -v '^ *+' conftest.er1 >conftest.err
46338 rm -f conftest.er1
46339 cat conftest.err >&5
46340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46341 (exit $ac_status); } && {
46342 test -z "$ac_c_werror_flag" ||
46343 test ! -s conftest.err
46344 } && test -s conftest.$ac_objext; then
46345 ac_cv_header_WebKit_HIWebView_h=yes
46346 else
46347 echo "$as_me: failed program was:" >&5
46348 sed 's/^/| /' conftest.$ac_ext >&5
46349
46350 ac_cv_header_WebKit_HIWebView_h=no
46351 fi
46352
46353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46354 fi
46355 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46356 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46357 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46358
46359 cat >>confdefs.h <<\_ACEOF
46360 #define wxUSE_WEBKIT 1
46361 _ACEOF
46362
46363 WEBKIT_LINK="-framework WebKit"
46364
46365 else
46366
46367 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46368 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46369 wxUSE_WEBKIT=no
46370
46371 fi
46372
46373
46374 CPPFLAGS="$old_CPPFLAGS"
46375 elif test "$wxUSE_COCOA" = 1; then
46376 cat >>confdefs.h <<\_ACEOF
46377 #define wxUSE_WEBKIT 1
46378 _ACEOF
46379
46380 else
46381 wxUSE_WEBKIT=no
46382 fi
46383 if test "$wxUSE_WEBKIT" = "yes"; then
46384 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46385 fi
46386 fi
46387
46388 USE_XRC=0
46389 if test "$wxUSE_XRC" = "yes"; then
46390 if test "$wxUSE_XML" != "yes"; then
46391 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46392 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46393 wxUSE_XRC=no
46394 else
46395 cat >>confdefs.h <<\_ACEOF
46396 #define wxUSE_XRC 1
46397 _ACEOF
46398
46399 USE_XRC=1
46400 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46401 fi
46402 fi
46403
46404 USE_AUI=0
46405 if test "$wxUSE_AUI" = "yes"; then
46406 cat >>confdefs.h <<\_ACEOF
46407 #define wxUSE_AUI 1
46408 _ACEOF
46409
46410 USE_AUI=1
46411 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46412 fi
46413
46414 USE_PROPGRID=0
46415 if test "$wxUSE_PROPGRID" = "yes"; then
46416 cat >>confdefs.h <<\_ACEOF
46417 #define wxUSE_PROPGRID 1
46418 _ACEOF
46419
46420 USE_PROPGRID=1
46421 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46422 fi
46423
46424 USE_STC=0
46425 if test "$wxUSE_STC" = "yes"; then
46426 cat >>confdefs.h <<\_ACEOF
46427 #define wxUSE_STC 1
46428 _ACEOF
46429
46430 USE_STC=1
46431 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46432 fi
46433
46434 if test "$wxUSE_MENUS" = "yes"; then
46435 cat >>confdefs.h <<\_ACEOF
46436 #define wxUSE_MENUS 1
46437 _ACEOF
46438
46439 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46440 fi
46441
46442 if test "$wxUSE_METAFILE" = "yes"; then
46443 cat >>confdefs.h <<\_ACEOF
46444 #define wxUSE_METAFILE 1
46445 _ACEOF
46446
46447 fi
46448
46449 if test "$wxUSE_MIMETYPE" = "yes"; then
46450 cat >>confdefs.h <<\_ACEOF
46451 #define wxUSE_MIMETYPE 1
46452 _ACEOF
46453
46454 fi
46455
46456 if test "$wxUSE_MINIFRAME" = "yes"; then
46457 cat >>confdefs.h <<\_ACEOF
46458 #define wxUSE_MINIFRAME 1
46459 _ACEOF
46460
46461 fi
46462
46463 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46464 cat >>confdefs.h <<\_ACEOF
46465 #define wxUSE_SYSTEM_OPTIONS 1
46466 _ACEOF
46467
46468 fi
46469
46470 if test "$wxUSE_TASKBARICON" = "yes"; then
46471 cat >>confdefs.h <<\_ACEOF
46472 #define wxUSE_TASKBARICON 1
46473 _ACEOF
46474
46475 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46476 fi
46477
46478
46479 if test "$wxUSE_VALIDATORS" = "yes"; then
46480 cat >>confdefs.h <<\_ACEOF
46481 #define wxUSE_VALIDATORS 1
46482 _ACEOF
46483
46484 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46485 fi
46486
46487 if test "$wxUSE_PALETTE" = "yes" ; then
46488 if test "$wxUSE_DFB" = 1; then
46489 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46490 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46491 wxUSE_PALETTE=no
46492 else
46493 cat >>confdefs.h <<\_ACEOF
46494 #define wxUSE_PALETTE 1
46495 _ACEOF
46496
46497 fi
46498 fi
46499
46500 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46501 LIBS=" -lunicows $LIBS"
46502 fi
46503
46504 USE_RICHTEXT=0
46505 if test "$wxUSE_RICHTEXT" = "yes"; then
46506 cat >>confdefs.h <<\_ACEOF
46507 #define wxUSE_RICHTEXT 1
46508 _ACEOF
46509
46510 USE_RICHTEXT=1
46511 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46512 fi
46513
46514
46515 if test "$wxUSE_IMAGE" = "yes" ; then
46516 cat >>confdefs.h <<\_ACEOF
46517 #define wxUSE_IMAGE 1
46518 _ACEOF
46519
46520
46521 if test "$wxUSE_GIF" = "yes" ; then
46522 cat >>confdefs.h <<\_ACEOF
46523 #define wxUSE_GIF 1
46524 _ACEOF
46525
46526 fi
46527
46528 if test "$wxUSE_PCX" = "yes" ; then
46529 cat >>confdefs.h <<\_ACEOF
46530 #define wxUSE_PCX 1
46531 _ACEOF
46532
46533 fi
46534
46535 if test "$wxUSE_TGA" = "yes" ; then
46536 cat >>confdefs.h <<\_ACEOF
46537 #define wxUSE_TGA 1
46538 _ACEOF
46539
46540 fi
46541
46542 if test "$wxUSE_IFF" = "yes" ; then
46543 cat >>confdefs.h <<\_ACEOF
46544 #define wxUSE_IFF 1
46545 _ACEOF
46546
46547 fi
46548
46549 if test "$wxUSE_PNM" = "yes" ; then
46550 cat >>confdefs.h <<\_ACEOF
46551 #define wxUSE_PNM 1
46552 _ACEOF
46553
46554 fi
46555
46556 if test "$wxUSE_XPM" = "yes" ; then
46557 cat >>confdefs.h <<\_ACEOF
46558 #define wxUSE_XPM 1
46559 _ACEOF
46560
46561 fi
46562
46563 if test "$wxUSE_ICO_CUR" = "yes" ; then
46564 cat >>confdefs.h <<\_ACEOF
46565 #define wxUSE_ICO_CUR 1
46566 _ACEOF
46567
46568 fi
46569 fi
46570
46571
46572 if test "$wxUSE_ABOUTDLG" = "yes"; then
46573 cat >>confdefs.h <<\_ACEOF
46574 #define wxUSE_ABOUTDLG 1
46575 _ACEOF
46576
46577 fi
46578
46579 if test "$wxUSE_CHOICEDLG" = "yes"; then
46580 cat >>confdefs.h <<\_ACEOF
46581 #define wxUSE_CHOICEDLG 1
46582 _ACEOF
46583
46584 fi
46585
46586 if test "$wxUSE_COLOURDLG" = "yes"; then
46587 cat >>confdefs.h <<\_ACEOF
46588 #define wxUSE_COLOURDLG 1
46589 _ACEOF
46590
46591 fi
46592
46593 if test "$wxUSE_FILEDLG" = "yes"; then
46594 cat >>confdefs.h <<\_ACEOF
46595 #define wxUSE_FILEDLG 1
46596 _ACEOF
46597
46598 fi
46599
46600 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46601 cat >>confdefs.h <<\_ACEOF
46602 #define wxUSE_FINDREPLDLG 1
46603 _ACEOF
46604
46605 fi
46606
46607 if test "$wxUSE_FONTDLG" = "yes"; then
46608 cat >>confdefs.h <<\_ACEOF
46609 #define wxUSE_FONTDLG 1
46610 _ACEOF
46611
46612 fi
46613
46614 if test "$wxUSE_DIRDLG" = "yes"; then
46615 if test "$wxUSE_TREECTRL" != "yes"; then
46616 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46617 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46618 else
46619 cat >>confdefs.h <<\_ACEOF
46620 #define wxUSE_DIRDLG 1
46621 _ACEOF
46622
46623 fi
46624 fi
46625
46626 if test "$wxUSE_MSGDLG" = "yes"; then
46627 cat >>confdefs.h <<\_ACEOF
46628 #define wxUSE_MSGDLG 1
46629 _ACEOF
46630
46631 fi
46632
46633 if test "$wxUSE_NUMBERDLG" = "yes"; then
46634 cat >>confdefs.h <<\_ACEOF
46635 #define wxUSE_NUMBERDLG 1
46636 _ACEOF
46637
46638 fi
46639
46640 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46641 cat >>confdefs.h <<\_ACEOF
46642 #define wxUSE_PROGRESSDLG 1
46643 _ACEOF
46644
46645 fi
46646
46647 if test "$wxUSE_SPLASH" = "yes"; then
46648 cat >>confdefs.h <<\_ACEOF
46649 #define wxUSE_SPLASH 1
46650 _ACEOF
46651
46652 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46653 fi
46654
46655 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46656 cat >>confdefs.h <<\_ACEOF
46657 #define wxUSE_STARTUP_TIPS 1
46658 _ACEOF
46659
46660 fi
46661
46662 if test "$wxUSE_TEXTDLG" = "yes"; then
46663 cat >>confdefs.h <<\_ACEOF
46664 #define wxUSE_TEXTDLG 1
46665 _ACEOF
46666
46667 fi
46668
46669 if test "$wxUSE_WIZARDDLG" = "yes"; then
46670 cat >>confdefs.h <<\_ACEOF
46671 #define wxUSE_WIZARDDLG 1
46672 _ACEOF
46673
46674 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46675 fi
46676
46677
46678 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46679 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46680 cat >>confdefs.h <<\_ACEOF
46681 #define wxUSE_OWNER_DRAWN 1
46682 _ACEOF
46683
46684 fi
46685 fi
46686
46687
46688 if test "$wxUSE_MSW" = 1 ; then
46689
46690 if test "$wxUSE_DC_CACHEING" = "yes"; then
46691 cat >>confdefs.h <<\_ACEOF
46692 #define wxUSE_DC_CACHEING 1
46693 _ACEOF
46694
46695 fi
46696
46697 if test "$wxUSE_DIB" = "yes"; then
46698 cat >>confdefs.h <<\_ACEOF
46699 #define wxUSE_WXDIB 1
46700 _ACEOF
46701
46702 fi
46703
46704 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46705 cat >>confdefs.h <<\_ACEOF
46706 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46707 _ACEOF
46708
46709 fi
46710
46711 if test "$wxUSE_UXTHEME" = "yes"; then
46712 cat >>confdefs.h <<\_ACEOF
46713 #define wxUSE_UXTHEME 1
46714 _ACEOF
46715
46716 fi
46717
46718 fi
46719
46720 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46721 cat >>confdefs.h <<\_ACEOF
46722 #define wxUSE_AUTOID_MANAGEMENT 1
46723 _ACEOF
46724
46725 fi
46726
46727 if test "$USE_WIN32" = 1 ; then
46728 if test "$wxUSE_INICONF" = "yes"; then
46729 cat >>confdefs.h <<\_ACEOF
46730 #define wxUSE_INICONF 1
46731 _ACEOF
46732
46733 fi
46734
46735 if test "$wxUSE_REGKEY" = "yes"; then
46736 cat >>confdefs.h <<\_ACEOF
46737 #define wxUSE_REGKEY 1
46738 _ACEOF
46739
46740 fi
46741 fi
46742
46743
46744 if test "$wxUSE_MAC" = 1; then
46745 wxUSE_GRAPHICS_CONTEXT="yes"
46746 fi
46747
46748 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46749 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46750 cat >>confdefs.h <<\_ACEOF
46751 #define wxUSE_GRAPHICS_CONTEXT 1
46752 _ACEOF
46753
46754 elif test "$wxUSE_GTK" != 1; then
46755 cat >>confdefs.h <<\_ACEOF
46756 #define wxUSE_GRAPHICS_CONTEXT 1
46757 _ACEOF
46758
46759 else
46760
46761 pkg_failed=no
46762 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46763 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46764
46765 if test -n "$PKG_CONFIG"; then
46766 if test -n "$CAIRO_CFLAGS"; then
46767 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46768 else
46769 if test -n "$PKG_CONFIG" && \
46770 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46771 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46772 ac_status=$?
46773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46774 (exit $ac_status); }; then
46775 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46776 else
46777 pkg_failed=yes
46778 fi
46779 fi
46780 else
46781 pkg_failed=untried
46782 fi
46783 if test -n "$PKG_CONFIG"; then
46784 if test -n "$CAIRO_LIBS"; then
46785 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46786 else
46787 if test -n "$PKG_CONFIG" && \
46788 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46789 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46790 ac_status=$?
46791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46792 (exit $ac_status); }; then
46793 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46794 else
46795 pkg_failed=yes
46796 fi
46797 fi
46798 else
46799 pkg_failed=untried
46800 fi
46801
46802
46803
46804 if test $pkg_failed = yes; then
46805
46806 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46807 _pkg_short_errors_supported=yes
46808 else
46809 _pkg_short_errors_supported=no
46810 fi
46811 if test $_pkg_short_errors_supported = yes; then
46812 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46813 else
46814 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46815 fi
46816 # Put the nasty error message in config.log where it belongs
46817 echo "$CAIRO_PKG_ERRORS" >&5
46818
46819 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46820 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46821
46822 elif test $pkg_failed = untried; then
46823 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46824 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46825
46826 else
46827 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46828 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46829 { echo "$as_me:$LINENO: result: yes" >&5
46830 echo "${ECHO_T}yes" >&6; }
46831 cat >>confdefs.h <<\_ACEOF
46832 #define wxUSE_GRAPHICS_CONTEXT 1
46833 _ACEOF
46834
46835 fi
46836 fi
46837 fi
46838
46839
46840 USE_MEDIA=0
46841
46842 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
46843 USE_MEDIA=1
46844
46845 if test "$wxUSE_GTK" = 1; then
46846 wxUSE_GSTREAMER="no"
46847
46848 GST_VERSION_MAJOR=0
46849 GST_VERSION_MINOR=10
46850 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46851
46852 if test "$wxUSE_GSTREAMER8" = "no"; then
46853
46854 pkg_failed=no
46855 { echo "$as_me:$LINENO: checking for GST" >&5
46856 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46857
46858 if test -n "$PKG_CONFIG"; then
46859 if test -n "$GST_CFLAGS"; then
46860 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46861 else
46862 if test -n "$PKG_CONFIG" && \
46863 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46864 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46865 ac_status=$?
46866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46867 (exit $ac_status); }; then
46868 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46869 else
46870 pkg_failed=yes
46871 fi
46872 fi
46873 else
46874 pkg_failed=untried
46875 fi
46876 if test -n "$PKG_CONFIG"; then
46877 if test -n "$GST_LIBS"; then
46878 pkg_cv_GST_LIBS="$GST_LIBS"
46879 else
46880 if test -n "$PKG_CONFIG" && \
46881 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46882 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46883 ac_status=$?
46884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46885 (exit $ac_status); }; then
46886 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46887 else
46888 pkg_failed=yes
46889 fi
46890 fi
46891 else
46892 pkg_failed=untried
46893 fi
46894
46895
46896
46897 if test $pkg_failed = yes; then
46898
46899 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46900 _pkg_short_errors_supported=yes
46901 else
46902 _pkg_short_errors_supported=no
46903 fi
46904 if test $_pkg_short_errors_supported = yes; then
46905 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46906 else
46907 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46908 fi
46909 # Put the nasty error message in config.log where it belongs
46910 echo "$GST_PKG_ERRORS" >&5
46911
46912
46913 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46914 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46915 GST_VERSION_MINOR=8
46916
46917
46918 elif test $pkg_failed = untried; then
46919
46920 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46921 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46922 GST_VERSION_MINOR=8
46923
46924
46925 else
46926 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46927 GST_LIBS=$pkg_cv_GST_LIBS
46928 { echo "$as_me:$LINENO: result: yes" >&5
46929 echo "${ECHO_T}yes" >&6; }
46930
46931 wxUSE_GSTREAMER="yes"
46932 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46933
46934 fi
46935 else
46936 GST_VERSION_MINOR=8
46937 fi
46938
46939 if test $GST_VERSION_MINOR = "8"; then
46940 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46941
46942 pkg_failed=no
46943 { echo "$as_me:$LINENO: checking for GST" >&5
46944 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46945
46946 if test -n "$PKG_CONFIG"; then
46947 if test -n "$GST_CFLAGS"; then
46948 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46949 else
46950 if test -n "$PKG_CONFIG" && \
46951 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46952 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46953 ac_status=$?
46954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46955 (exit $ac_status); }; then
46956 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46957 else
46958 pkg_failed=yes
46959 fi
46960 fi
46961 else
46962 pkg_failed=untried
46963 fi
46964 if test -n "$PKG_CONFIG"; then
46965 if test -n "$GST_LIBS"; then
46966 pkg_cv_GST_LIBS="$GST_LIBS"
46967 else
46968 if test -n "$PKG_CONFIG" && \
46969 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46970 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46971 ac_status=$?
46972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46973 (exit $ac_status); }; then
46974 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46975 else
46976 pkg_failed=yes
46977 fi
46978 fi
46979 else
46980 pkg_failed=untried
46981 fi
46982
46983
46984
46985 if test $pkg_failed = yes; then
46986
46987 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46988 _pkg_short_errors_supported=yes
46989 else
46990 _pkg_short_errors_supported=no
46991 fi
46992 if test $_pkg_short_errors_supported = yes; then
46993 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46994 else
46995 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46996 fi
46997 # Put the nasty error message in config.log where it belongs
46998 echo "$GST_PKG_ERRORS" >&5
46999
47000
47001 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47002 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47003
47004 elif test $pkg_failed = untried; then
47005
47006 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47007 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47008
47009 else
47010 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47011 GST_LIBS=$pkg_cv_GST_LIBS
47012 { echo "$as_me:$LINENO: result: yes" >&5
47013 echo "${ECHO_T}yes" >&6; }
47014 wxUSE_GSTREAMER="yes"
47015 fi
47016 fi
47017
47018
47019 if test "$wxUSE_GSTREAMER" = "yes"; then
47020 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
47021 EXTRALIBS_MEDIA="$GST_LIBS"
47022
47023 cat >>confdefs.h <<\_ACEOF
47024 #define wxUSE_GSTREAMER 1
47025 _ACEOF
47026
47027 else
47028 USE_MEDIA=0
47029 fi
47030 fi
47031
47032 if test $USE_MEDIA = 1; then
47033 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47034 cat >>confdefs.h <<\_ACEOF
47035 #define wxUSE_MEDIACTRL 1
47036 _ACEOF
47037
47038 else
47039 if test "$wxUSE_MEDIACTRL" = "yes"; then
47040 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
47041 echo "$as_me: error: GStreamer not available" >&2;}
47042 { (exit 1); exit 1; }; }
47043 else
47044 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
47045 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
47046 fi
47047 fi
47048 fi
47049
47050
47051 if test "$cross_compiling" = "yes"; then
47052 OSINFO="\"$host\""
47053 else
47054 OSINFO=`uname -s -r -m`
47055 OSINFO="\"$OSINFO\""
47056 fi
47057
47058 cat >>confdefs.h <<_ACEOF
47059 #define WXWIN_OS_DESCRIPTION $OSINFO
47060 _ACEOF
47061
47062
47063
47064 if test "x$prefix" != "xNONE"; then
47065 wxPREFIX=$prefix
47066 else
47067 wxPREFIX=$ac_default_prefix
47068 fi
47069
47070 cat >>confdefs.h <<_ACEOF
47071 #define wxINSTALL_PREFIX "$wxPREFIX"
47072 _ACEOF
47073
47074
47075
47076
47077 STD_BASE_LIBS="base"
47078 STD_GUI_LIBS=""
47079 BUILT_WX_LIBS="base"
47080 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
47081
47082 if test "$wxUSE_SOCKETS" = "yes" ; then
47083 STD_BASE_LIBS="net $STD_BASE_LIBS"
47084 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
47085 fi
47086 if test "$wxUSE_XML" = "yes" ; then
47087 STD_BASE_LIBS="xml $STD_BASE_LIBS"
47088 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
47089 fi
47090
47091 if test "$wxUSE_GUI" = "yes"; then
47092 STD_GUI_LIBS="adv core"
47093 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
47094
47095 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47096 STD_GUI_LIBS="qa $STD_GUI_LIBS"
47097 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
47098 fi
47099 if test "$wxUSE_HTML" = "yes" ; then
47100 STD_GUI_LIBS="html $STD_GUI_LIBS"
47101 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
47102 fi
47103 if test "$wxUSE_MEDIACTRL" = "yes" ; then
47104 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
47105 fi
47106 if test "$wxUSE_OPENGL" = "yes" ; then
47107 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
47108 fi
47109 if test "$wxUSE_AUI" = "yes" ; then
47110 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
47111 fi
47112 if test "$wxUSE_PROPGRID" = "yes" ; then
47113 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
47114 fi
47115 if test "$wxUSE_RICHTEXT" = "yes" ; then
47116 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
47117 fi
47118 if test "$wxUSE_STC" = "yes" ; then
47119 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
47120 fi
47121 if test "$wxUSE_XRC" = "yes" ; then
47122 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
47123 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
47124 fi
47125 fi
47126
47127
47128
47129
47130
47131
47132
47133
47134 if test "$wxUSE_MAC" = 1 ; then
47135 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47136 if test "$USE_DARWIN" = 1; then
47137 LDFLAGS="$LDFLAGS -framework QuickTime"
47138 fi
47139 fi
47140 if test "$USE_DARWIN" = 1; then
47141 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
47142 fi
47143 fi
47144 if test "$wxUSE_COCOA" = 1 ; then
47145 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47146 if test "$wxUSE_MEDIACTRL" = "yes"; then
47147 LDFLAGS="$LDFLAGS -framework QuickTime"
47148 fi
47149 fi
47150 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47151 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47152 fi
47153
47154 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47155
47156 if test "$wxUSE_GUI" = "yes"; then
47157
47158
47159 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47160 erase event exec font image minimal render \
47161 shaped svg taborder vscroll widgets wrapsizer"
47162
47163 if test "$wxUSE_MONOLITHIC" != "yes"; then
47164 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47165 fi
47166 if test "$TOOLKIT" = "MSW"; then
47167 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47168 if test "$wxUSE_UNIVERSAL" != "yes"; then
47169 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47170 fi
47171 fi
47172 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47173 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47174 fi
47175 else
47176 SAMPLES_SUBDIRS="console"
47177 if test "$wxUSE_SOCKETS" = "yes" ; then
47178 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47179 fi
47180 if test "$wxUSE_IPC" = "yes" ; then
47181 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47182 fi
47183 fi
47184
47185
47186 if test "x$INTELCC" = "xyes" ; then
47187 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
47188 elif test "$GCC" = yes ; then
47189 CWARNINGS="-Wall -Wundef"
47190 fi
47191
47192 if test "x$INTELCXX" = "xyes" ; then
47193 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47194 elif test "$GXX" = yes ; then
47195 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47196 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47197 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47198 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47199 echo $ECHO_N "(cached) $ECHO_C" >&6
47200 else
47201 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
47202
47203 ac_ext=cpp
47204 ac_cpp='$CXXCPP $CPPFLAGS'
47205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47208
47209 ac_save_CXXFLAGS="$CXXFLAGS"
47210 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47211 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47212 cat >conftest.$ac_ext <<_ACEOF
47213 /* confdefs.h. */
47214 _ACEOF
47215 cat confdefs.h >>conftest.$ac_ext
47216 cat >>conftest.$ac_ext <<_ACEOF
47217 /* end confdefs.h. */
47218
47219 int
47220 main ()
47221 {
47222 return 0;
47223 ;
47224 return 0;
47225 }
47226 _ACEOF
47227 rm -f conftest.$ac_objext
47228 if { (ac_try="$ac_compile"
47229 case "(($ac_try" in
47230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47231 *) ac_try_echo=$ac_try;;
47232 esac
47233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47234 (eval "$ac_compile") 2>conftest.er1
47235 ac_status=$?
47236 grep -v '^ *+' conftest.er1 >conftest.err
47237 rm -f conftest.er1
47238 cat conftest.err >&5
47239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47240 (exit $ac_status); } && {
47241 test -z "$ac_cxx_werror_flag" ||
47242 test ! -s conftest.err
47243 } && test -s conftest.$ac_objext; then
47244 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47245 else
47246 echo "$as_me: failed program was:" >&5
47247 sed 's/^/| /' conftest.$ac_ext >&5
47248
47249
47250 fi
47251
47252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47253 done
47254 CXXFLAGS="$ac_save_CXXFLAGS"
47255 ac_ext=c
47256 ac_cpp='$CPP $CPPFLAGS'
47257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47260
47261
47262 fi
47263 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47264 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47265 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47266 .ok|.ok,*) ;;
47267 .|.no|.no,*) ;;
47268 *)
47269 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
47270 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47271 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47272 ac_status=$?
47273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47274 (exit $ac_status); }
47275 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47276 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47277 ac_status=$?
47278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47279 (exit $ac_status); }
47280 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47281 fi
47282 ;;
47283 esac
47284
47285 fi
47286
47287
47288 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47289 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47290
47291
47292 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47293 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47294 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47295 $CPPFLAGS `
47296
47297 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47298 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47299 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47300 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47301 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47302
47303 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47304
47305
47306 if test "x$MWCC" = "xyes"; then
47307
47308 CC="$CC -cwd source -I-"
47309 CXX="$CXX -cwd source -I-"
47310 fi
47311
47312
47313 LIBS=`echo $LIBS`
47314 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47315 EXTRALIBS_XML="$EXPAT_LINK"
47316 EXTRALIBS_HTML="$MSPACK_LINK"
47317 EXTRALIBS_MEDIA="$GST_LIBS"
47318 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47319 if test "$wxUSE_GUI" = "yes"; then
47320 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47321 fi
47322 if test "$wxUSE_OPENGL" = "yes"; then
47323 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47324 fi
47325
47326 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47327
47328 WXCONFIG_LIBS="$LIBS"
47329
47330 if test "$wxUSE_REGEX" = "builtin" ; then
47331 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47332 fi
47333 if test "$wxUSE_EXPAT" = "builtin" ; then
47334 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47335 fi
47336 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47337 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47338 fi
47339 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47340 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47341 fi
47342 if test "$wxUSE_LIBPNG" = "builtin" ; then
47343 wxconfig_3rdparty="png $wxconfig_3rdparty"
47344 fi
47345 if test "$wxUSE_ZLIB" = "builtin" ; then
47346 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47347 fi
47348
47349 for i in $wxconfig_3rdparty ; do
47350 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47351 done
47352
47353
47354 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47355 WXUNIV=1
47356
47357 case "$wxUNIV_THEMES" in
47358 ''|all)
47359 cat >>confdefs.h <<\_ACEOF
47360 #define wxUSE_ALL_THEMES 1
47361 _ACEOF
47362
47363 ;;
47364
47365 *)
47366 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47367 cat >>confdefs.h <<_ACEOF
47368 #define wxUSE_THEME_$t 1
47369 _ACEOF
47370
47371 done
47372 esac
47373 else
47374 WXUNIV=0
47375 fi
47376
47377
47378
47379
47380
47381
47382
47383
47384 if test $wxUSE_MONOLITHIC = "yes" ; then
47385 MONOLITHIC=1
47386 else
47387 MONOLITHIC=0
47388 fi
47389
47390 if test $wxUSE_PLUGINS = "yes" ; then
47391 USE_PLUGINS=1
47392 else
47393 USE_PLUGINS=0
47394 fi
47395
47396 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47397 USE_QA=1
47398 else
47399 USE_QA=0
47400 fi
47401
47402 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47403 OFFICIAL_BUILD=1
47404 else
47405 OFFICIAL_BUILD=0
47406 fi
47407
47408
47409
47410
47411
47412
47413
47414
47415
47416
47417
47418
47419
47420
47421
47422
47423
47424
47425
47426
47427
47428
47429
47430
47431
47432
47433
47434
47435 TOOLKIT_LOWERCASE=xxx
47436 if test "$TOOLKIT" = "MAC"; then
47437 TOOLKIT_LOWERCASE=osx_carbon
47438 fi
47439 if test "$TOOLKIT" = "OSX_CARBON"; then
47440 TOOLKIT_LOWERCASE=osx_carbon
47441 fi
47442 if test "$TOOLKIT" = "OSX_COCOA"; then
47443 TOOLKIT_LOWERCASE=osx_cocoa
47444 fi
47445 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47446 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47447 fi
47448
47449
47450
47451
47452
47453
47454
47455
47456
47457 case "$TOOLKIT" in
47458 GTK)
47459 TOOLKIT_DESC="GTK+"
47460 if test "$WXGTK2" = 1; then
47461 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47462 if test "$wxUSE_GTKPRINT" = "yes" ; then
47463 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
47464 fi
47465 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47466 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47467 fi
47468 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47469 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47470 fi
47471 if test "$wxUSE_LIBHILDON" = "yes"; then
47472 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47473 fi
47474
47475 if test "$TOOLKIT_EXTRA" != ""; then
47476 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47477 fi
47478 fi
47479 ;;
47480
47481 ?*)
47482 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47483 ;;
47484
47485 *)
47486 TOOLKIT_DESC="base only"
47487 ;;
47488 esac
47489
47490 if test "$wxUSE_WINE" = "yes"; then
47491 BAKEFILE_FORCE_PLATFORM=win32
47492 fi
47493
47494 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47495 then
47496 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47497 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47498 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47499 echo $ECHO_N "(cached) $ECHO_C" >&6
47500 else
47501
47502 echo '#include <stdio.h>
47503 const wchar_t test_var[] = L"awidetest";' > conftest.h
47504
47505 echo '#include "conftest.h"
47506 int main()
47507 {
47508 printf("%ls", test_var);
47509 return 0;
47510 }' > conftest.cpp
47511
47512 wx_cv_gcc_pch_bug="pch not supported"
47513
47514 if $CXX conftest.h >/dev/null 2>&1
47515 then
47516 wx_cv_gcc_pch_bug=
47517
47518 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47519 then
47520 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47521 grep awidetest >/dev/null
47522 then
47523 wx_cv_gcc_pch_bug=no
47524 else
47525 wx_cv_gcc_pch_bug=yes
47526 fi
47527 fi
47528 fi
47529
47530 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47531
47532 fi
47533 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47534 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47535
47536 if test "$wx_cv_gcc_pch_bug" = yes; then
47537 bk_use_pch=no
47538 fi
47539 fi
47540
47541
47542
47543
47544
47545
47546
47547 if test "x$BAKEFILE_HOST" = "x"; then
47548 if test "x${host}" = "x" ; then
47549 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47550 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47551 { (exit 1); exit 1; }; }
47552 fi
47553
47554 BAKEFILE_HOST="${host}"
47555 fi
47556
47557 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47558
47559 if test -n "$ac_tool_prefix"; then
47560 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47561 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47562 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47564 if test "${ac_cv_prog_RANLIB+set}" = set; then
47565 echo $ECHO_N "(cached) $ECHO_C" >&6
47566 else
47567 if test -n "$RANLIB"; then
47568 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47569 else
47570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47571 for as_dir in $PATH
47572 do
47573 IFS=$as_save_IFS
47574 test -z "$as_dir" && as_dir=.
47575 for ac_exec_ext in '' $ac_executable_extensions; do
47576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47577 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47579 break 2
47580 fi
47581 done
47582 done
47583 IFS=$as_save_IFS
47584
47585 fi
47586 fi
47587 RANLIB=$ac_cv_prog_RANLIB
47588 if test -n "$RANLIB"; then
47589 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47590 echo "${ECHO_T}$RANLIB" >&6; }
47591 else
47592 { echo "$as_me:$LINENO: result: no" >&5
47593 echo "${ECHO_T}no" >&6; }
47594 fi
47595
47596
47597 fi
47598 if test -z "$ac_cv_prog_RANLIB"; then
47599 ac_ct_RANLIB=$RANLIB
47600 # Extract the first word of "ranlib", so it can be a program name with args.
47601 set dummy ranlib; ac_word=$2
47602 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47603 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47604 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47605 echo $ECHO_N "(cached) $ECHO_C" >&6
47606 else
47607 if test -n "$ac_ct_RANLIB"; then
47608 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47609 else
47610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47611 for as_dir in $PATH
47612 do
47613 IFS=$as_save_IFS
47614 test -z "$as_dir" && as_dir=.
47615 for ac_exec_ext in '' $ac_executable_extensions; do
47616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47617 ac_cv_prog_ac_ct_RANLIB="ranlib"
47618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47619 break 2
47620 fi
47621 done
47622 done
47623 IFS=$as_save_IFS
47624
47625 fi
47626 fi
47627 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47628 if test -n "$ac_ct_RANLIB"; then
47629 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47630 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47631 else
47632 { echo "$as_me:$LINENO: result: no" >&5
47633 echo "${ECHO_T}no" >&6; }
47634 fi
47635
47636 if test "x$ac_ct_RANLIB" = x; then
47637 RANLIB=":"
47638 else
47639 case $cross_compiling:$ac_tool_warned in
47640 yes:)
47641 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47642 whose name does not start with the host triplet. If you think this
47643 configuration is useful to you, please write to autoconf@gnu.org." >&5
47644 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47645 whose name does not start with the host triplet. If you think this
47646 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47647 ac_tool_warned=yes ;;
47648 esac
47649 RANLIB=$ac_ct_RANLIB
47650 fi
47651 else
47652 RANLIB="$ac_cv_prog_RANLIB"
47653 fi
47654
47655 # Find a good install program. We prefer a C program (faster),
47656 # so one script is as good as another. But avoid the broken or
47657 # incompatible versions:
47658 # SysV /etc/install, /usr/sbin/install
47659 # SunOS /usr/etc/install
47660 # IRIX /sbin/install
47661 # AIX /bin/install
47662 # AmigaOS /C/install, which installs bootblocks on floppy discs
47663 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47664 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47665 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47666 # OS/2's system install, which has a completely different semantic
47667 # ./install, which can be erroneously created by make from ./install.sh.
47668 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47669 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47670 if test -z "$INSTALL"; then
47671 if test "${ac_cv_path_install+set}" = set; then
47672 echo $ECHO_N "(cached) $ECHO_C" >&6
47673 else
47674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47675 for as_dir in $PATH
47676 do
47677 IFS=$as_save_IFS
47678 test -z "$as_dir" && as_dir=.
47679 # Account for people who put trailing slashes in PATH elements.
47680 case $as_dir/ in
47681 ./ | .// | /cC/* | \
47682 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47683 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47684 /usr/ucb/* ) ;;
47685 *)
47686 # OSF1 and SCO ODT 3.0 have their own names for install.
47687 # Don't use installbsd from OSF since it installs stuff as root
47688 # by default.
47689 for ac_prog in ginstall scoinst install; do
47690 for ac_exec_ext in '' $ac_executable_extensions; do
47691 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47692 if test $ac_prog = install &&
47693 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47694 # AIX install. It has an incompatible calling convention.
47695 :
47696 elif test $ac_prog = install &&
47697 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47698 # program-specific install script used by HP pwplus--don't use.
47699 :
47700 else
47701 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47702 break 3
47703 fi
47704 fi
47705 done
47706 done
47707 ;;
47708 esac
47709 done
47710 IFS=$as_save_IFS
47711
47712
47713 fi
47714 if test "${ac_cv_path_install+set}" = set; then
47715 INSTALL=$ac_cv_path_install
47716 else
47717 # As a last resort, use the slow shell script. Don't cache a
47718 # value for INSTALL within a source directory, because that will
47719 # break other packages using the cache if that directory is
47720 # removed, or if the value is a relative name.
47721 INSTALL=$ac_install_sh
47722 fi
47723 fi
47724 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47725 echo "${ECHO_T}$INSTALL" >&6; }
47726
47727 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47728 # It thinks the first close brace ends the variable substitution.
47729 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47730
47731 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47732
47733 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47734
47735 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47736 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47737 LN_S=$as_ln_s
47738 if test "$LN_S" = "ln -s"; then
47739 { echo "$as_me:$LINENO: result: yes" >&5
47740 echo "${ECHO_T}yes" >&6; }
47741 else
47742 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47743 echo "${ECHO_T}no, using $LN_S" >&6; }
47744 fi
47745
47746
47747 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47748 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47749 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47750 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
47751 echo $ECHO_N "(cached) $ECHO_C" >&6
47752 else
47753 cat >conftest.make <<\_ACEOF
47754 SHELL = /bin/sh
47755 all:
47756 @echo '@@@%%%=$(MAKE)=@@@%%%'
47757 _ACEOF
47758 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47759 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47760 *@@@%%%=?*=@@@%%%*)
47761 eval ac_cv_prog_make_${ac_make}_set=yes;;
47762 *)
47763 eval ac_cv_prog_make_${ac_make}_set=no;;
47764 esac
47765 rm -f conftest.make
47766 fi
47767 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
47768 { echo "$as_me:$LINENO: result: yes" >&5
47769 echo "${ECHO_T}yes" >&6; }
47770 SET_MAKE=
47771 else
47772 { echo "$as_me:$LINENO: result: no" >&5
47773 echo "${ECHO_T}no" >&6; }
47774 SET_MAKE="MAKE=${MAKE-make}"
47775 fi
47776
47777
47778
47779 if test "x$SUNCXX" = "xyes"; then
47780 AR=$CXX
47781 AROPTIONS="-xar -o"
47782
47783 elif test "x$SGICC" = "xyes"; then
47784 AR=$CXX
47785 AROPTIONS="-ar -o"
47786
47787 else
47788 if test -n "$ac_tool_prefix"; then
47789 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47790 set dummy ${ac_tool_prefix}ar; ac_word=$2
47791 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47793 if test "${ac_cv_prog_AR+set}" = set; then
47794 echo $ECHO_N "(cached) $ECHO_C" >&6
47795 else
47796 if test -n "$AR"; then
47797 ac_cv_prog_AR="$AR" # Let the user override the test.
47798 else
47799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47800 for as_dir in $PATH
47801 do
47802 IFS=$as_save_IFS
47803 test -z "$as_dir" && as_dir=.
47804 for ac_exec_ext in '' $ac_executable_extensions; do
47805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47806 ac_cv_prog_AR="${ac_tool_prefix}ar"
47807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47808 break 2
47809 fi
47810 done
47811 done
47812 IFS=$as_save_IFS
47813
47814 fi
47815 fi
47816 AR=$ac_cv_prog_AR
47817 if test -n "$AR"; then
47818 { echo "$as_me:$LINENO: result: $AR" >&5
47819 echo "${ECHO_T}$AR" >&6; }
47820 else
47821 { echo "$as_me:$LINENO: result: no" >&5
47822 echo "${ECHO_T}no" >&6; }
47823 fi
47824
47825
47826 fi
47827 if test -z "$ac_cv_prog_AR"; then
47828 ac_ct_AR=$AR
47829 # Extract the first word of "ar", so it can be a program name with args.
47830 set dummy ar; ac_word=$2
47831 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47833 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47834 echo $ECHO_N "(cached) $ECHO_C" >&6
47835 else
47836 if test -n "$ac_ct_AR"; then
47837 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47838 else
47839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47840 for as_dir in $PATH
47841 do
47842 IFS=$as_save_IFS
47843 test -z "$as_dir" && as_dir=.
47844 for ac_exec_ext in '' $ac_executable_extensions; do
47845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47846 ac_cv_prog_ac_ct_AR="ar"
47847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47848 break 2
47849 fi
47850 done
47851 done
47852 IFS=$as_save_IFS
47853
47854 fi
47855 fi
47856 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47857 if test -n "$ac_ct_AR"; then
47858 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47859 echo "${ECHO_T}$ac_ct_AR" >&6; }
47860 else
47861 { echo "$as_me:$LINENO: result: no" >&5
47862 echo "${ECHO_T}no" >&6; }
47863 fi
47864
47865 if test "x$ac_ct_AR" = x; then
47866 AR="ar"
47867 else
47868 case $cross_compiling:$ac_tool_warned in
47869 yes:)
47870 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47871 whose name does not start with the host triplet. If you think this
47872 configuration is useful to you, please write to autoconf@gnu.org." >&5
47873 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47874 whose name does not start with the host triplet. If you think this
47875 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47876 ac_tool_warned=yes ;;
47877 esac
47878 AR=$ac_ct_AR
47879 fi
47880 else
47881 AR="$ac_cv_prog_AR"
47882 fi
47883
47884 AROPTIONS=rcu
47885 fi
47886
47887
47888 if test -n "$ac_tool_prefix"; then
47889 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47890 set dummy ${ac_tool_prefix}strip; ac_word=$2
47891 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47893 if test "${ac_cv_prog_STRIP+set}" = set; then
47894 echo $ECHO_N "(cached) $ECHO_C" >&6
47895 else
47896 if test -n "$STRIP"; then
47897 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47898 else
47899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47900 for as_dir in $PATH
47901 do
47902 IFS=$as_save_IFS
47903 test -z "$as_dir" && as_dir=.
47904 for ac_exec_ext in '' $ac_executable_extensions; do
47905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47906 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47908 break 2
47909 fi
47910 done
47911 done
47912 IFS=$as_save_IFS
47913
47914 fi
47915 fi
47916 STRIP=$ac_cv_prog_STRIP
47917 if test -n "$STRIP"; then
47918 { echo "$as_me:$LINENO: result: $STRIP" >&5
47919 echo "${ECHO_T}$STRIP" >&6; }
47920 else
47921 { echo "$as_me:$LINENO: result: no" >&5
47922 echo "${ECHO_T}no" >&6; }
47923 fi
47924
47925
47926 fi
47927 if test -z "$ac_cv_prog_STRIP"; then
47928 ac_ct_STRIP=$STRIP
47929 # Extract the first word of "strip", so it can be a program name with args.
47930 set dummy strip; ac_word=$2
47931 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47933 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47934 echo $ECHO_N "(cached) $ECHO_C" >&6
47935 else
47936 if test -n "$ac_ct_STRIP"; then
47937 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47938 else
47939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47940 for as_dir in $PATH
47941 do
47942 IFS=$as_save_IFS
47943 test -z "$as_dir" && as_dir=.
47944 for ac_exec_ext in '' $ac_executable_extensions; do
47945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47946 ac_cv_prog_ac_ct_STRIP="strip"
47947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47948 break 2
47949 fi
47950 done
47951 done
47952 IFS=$as_save_IFS
47953
47954 fi
47955 fi
47956 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47957 if test -n "$ac_ct_STRIP"; then
47958 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47959 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47960 else
47961 { echo "$as_me:$LINENO: result: no" >&5
47962 echo "${ECHO_T}no" >&6; }
47963 fi
47964
47965 if test "x$ac_ct_STRIP" = x; then
47966 STRIP=":"
47967 else
47968 case $cross_compiling:$ac_tool_warned in
47969 yes:)
47970 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47971 whose name does not start with the host triplet. If you think this
47972 configuration is useful to you, please write to autoconf@gnu.org." >&5
47973 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47974 whose name does not start with the host triplet. If you think this
47975 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47976 ac_tool_warned=yes ;;
47977 esac
47978 STRIP=$ac_ct_STRIP
47979 fi
47980 else
47981 STRIP="$ac_cv_prog_STRIP"
47982 fi
47983
47984 if test -n "$ac_tool_prefix"; then
47985 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47986 set dummy ${ac_tool_prefix}nm; ac_word=$2
47987 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47989 if test "${ac_cv_prog_NM+set}" = set; then
47990 echo $ECHO_N "(cached) $ECHO_C" >&6
47991 else
47992 if test -n "$NM"; then
47993 ac_cv_prog_NM="$NM" # Let the user override the test.
47994 else
47995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47996 for as_dir in $PATH
47997 do
47998 IFS=$as_save_IFS
47999 test -z "$as_dir" && as_dir=.
48000 for ac_exec_ext in '' $ac_executable_extensions; do
48001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48002 ac_cv_prog_NM="${ac_tool_prefix}nm"
48003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48004 break 2
48005 fi
48006 done
48007 done
48008 IFS=$as_save_IFS
48009
48010 fi
48011 fi
48012 NM=$ac_cv_prog_NM
48013 if test -n "$NM"; then
48014 { echo "$as_me:$LINENO: result: $NM" >&5
48015 echo "${ECHO_T}$NM" >&6; }
48016 else
48017 { echo "$as_me:$LINENO: result: no" >&5
48018 echo "${ECHO_T}no" >&6; }
48019 fi
48020
48021
48022 fi
48023 if test -z "$ac_cv_prog_NM"; then
48024 ac_ct_NM=$NM
48025 # Extract the first word of "nm", so it can be a program name with args.
48026 set dummy nm; ac_word=$2
48027 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48029 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48030 echo $ECHO_N "(cached) $ECHO_C" >&6
48031 else
48032 if test -n "$ac_ct_NM"; then
48033 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48034 else
48035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48036 for as_dir in $PATH
48037 do
48038 IFS=$as_save_IFS
48039 test -z "$as_dir" && as_dir=.
48040 for ac_exec_ext in '' $ac_executable_extensions; do
48041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48042 ac_cv_prog_ac_ct_NM="nm"
48043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48044 break 2
48045 fi
48046 done
48047 done
48048 IFS=$as_save_IFS
48049
48050 fi
48051 fi
48052 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48053 if test -n "$ac_ct_NM"; then
48054 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48055 echo "${ECHO_T}$ac_ct_NM" >&6; }
48056 else
48057 { echo "$as_me:$LINENO: result: no" >&5
48058 echo "${ECHO_T}no" >&6; }
48059 fi
48060
48061 if test "x$ac_ct_NM" = x; then
48062 NM=":"
48063 else
48064 case $cross_compiling:$ac_tool_warned in
48065 yes:)
48066 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48067 whose name does not start with the host triplet. If you think this
48068 configuration is useful to you, please write to autoconf@gnu.org." >&5
48069 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48070 whose name does not start with the host triplet. If you think this
48071 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48072 ac_tool_warned=yes ;;
48073 esac
48074 NM=$ac_ct_NM
48075 fi
48076 else
48077 NM="$ac_cv_prog_NM"
48078 fi
48079
48080
48081 { echo "$as_me:$LINENO: checking for command to install directories" >&5
48082 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
48083 INSTALL_TEST_DIR=acbftest$$
48084 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
48085 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
48086 rmdir $INSTALL_TEST_DIR
48087 INSTALL_DIR='$(INSTALL) -d'
48088 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
48089 echo "${ECHO_T}$INSTALL -d" >&6; }
48090 else
48091 INSTALL_DIR="mkdir -p"
48092 { echo "$as_me:$LINENO: result: mkdir -p" >&5
48093 echo "${ECHO_T}mkdir -p" >&6; }
48094 fi
48095
48096
48097 LDFLAGS_GUI=
48098 case ${BAKEFILE_HOST} in
48099 *-*-cygwin* | *-*-mingw32* )
48100 LDFLAGS_GUI="-mwindows"
48101 esac
48102
48103
48104 fi
48105
48106 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48107 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48108 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48109 echo $ECHO_N "(cached) $ECHO_C" >&6
48110 else
48111
48112 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48113 egrep -s GNU > /dev/null); then
48114 bakefile_cv_prog_makeisgnu="yes"
48115 else
48116 bakefile_cv_prog_makeisgnu="no"
48117 fi
48118
48119 fi
48120 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48121 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48122
48123 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48124 IF_GNU_MAKE=""
48125 else
48126 IF_GNU_MAKE="#"
48127 fi
48128
48129
48130
48131 PLATFORM_UNIX=0
48132 PLATFORM_WIN32=0
48133 PLATFORM_MSDOS=0
48134 PLATFORM_MAC=0
48135 PLATFORM_MACOS=0
48136 PLATFORM_MACOSX=0
48137 PLATFORM_OS2=0
48138 PLATFORM_BEOS=0
48139
48140 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48141 case "${BAKEFILE_HOST}" in
48142 *-*-mingw32* )
48143 PLATFORM_WIN32=1
48144 ;;
48145 *-pc-msdosdjgpp )
48146 PLATFORM_MSDOS=1
48147 ;;
48148 *-pc-os2_emx | *-pc-os2-emx )
48149 PLATFORM_OS2=1
48150 ;;
48151 *-*-darwin* )
48152 PLATFORM_MAC=1
48153 PLATFORM_MACOSX=1
48154 ;;
48155 *-*-beos* )
48156 PLATFORM_BEOS=1
48157 ;;
48158 powerpc-apple-macos* )
48159 PLATFORM_MAC=1
48160 PLATFORM_MACOS=1
48161 ;;
48162 * )
48163 PLATFORM_UNIX=1
48164 ;;
48165 esac
48166 else
48167 case "$BAKEFILE_FORCE_PLATFORM" in
48168 win32 )
48169 PLATFORM_WIN32=1
48170 ;;
48171 msdos )
48172 PLATFORM_MSDOS=1
48173 ;;
48174 os2 )
48175 PLATFORM_OS2=1
48176 ;;
48177 darwin )
48178 PLATFORM_MAC=1
48179 PLATFORM_MACOSX=1
48180 ;;
48181 unix )
48182 PLATFORM_UNIX=1
48183 ;;
48184 beos )
48185 PLATFORM_BEOS=1
48186 ;;
48187 * )
48188 ;;
48189 esac
48190 fi
48191
48192
48193
48194
48195
48196
48197
48198
48199
48200
48201
48202 # Check whether --enable-omf was given.
48203 if test "${enable_omf+set}" = set; then
48204 enableval=$enable_omf; bk_os2_use_omf="$enableval"
48205 fi
48206
48207
48208 case "${BAKEFILE_HOST}" in
48209 *-*-darwin* )
48210 if test "x$GCC" = "xyes"; then
48211 CFLAGS="$CFLAGS -fno-common"
48212 CXXFLAGS="$CXXFLAGS -fno-common"
48213 fi
48214 if test "x$XLCC" = "xyes"; then
48215 CFLAGS="$CFLAGS -qnocommon"
48216 CXXFLAGS="$CXXFLAGS -qnocommon"
48217 fi
48218 ;;
48219
48220 *-pc-os2_emx | *-pc-os2-emx )
48221 if test "x$bk_os2_use_omf" = "xyes" ; then
48222 AR=emxomfar
48223 RANLIB=:
48224 LDFLAGS="-Zomf $LDFLAGS"
48225 CFLAGS="-Zomf $CFLAGS"
48226 CXXFLAGS="-Zomf $CXXFLAGS"
48227 OS2_LIBEXT="lib"
48228 else
48229 OS2_LIBEXT="a"
48230 fi
48231 ;;
48232
48233 i*86-*-beos* )
48234 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48235 ;;
48236 esac
48237
48238
48239 SO_SUFFIX="so"
48240 SO_SUFFIX_MODULE="so"
48241 EXEEXT=""
48242 LIBPREFIX="lib"
48243 LIBEXT=".a"
48244 DLLPREFIX="lib"
48245 DLLPREFIX_MODULE=""
48246 DLLIMP_SUFFIX=""
48247 dlldir="$libdir"
48248
48249 case "${BAKEFILE_HOST}" in
48250 ia64-hp-hpux* )
48251 ;;
48252 *-hp-hpux* )
48253 SO_SUFFIX="sl"
48254 SO_SUFFIX_MODULE="sl"
48255 ;;
48256 *-*-aix* )
48257 SO_SUFFIX="a"
48258 SO_SUFFIX_MODULE="a"
48259 ;;
48260 *-*-cygwin* )
48261 SO_SUFFIX="dll"
48262 SO_SUFFIX_MODULE="dll"
48263 DLLIMP_SUFFIX="dll.a"
48264 EXEEXT=".exe"
48265 DLLPREFIX="cyg"
48266 dlldir="$bindir"
48267 ;;
48268 *-*-mingw32* )
48269 SO_SUFFIX="dll"
48270 SO_SUFFIX_MODULE="dll"
48271 DLLIMP_SUFFIX="dll.a"
48272 EXEEXT=".exe"
48273 DLLPREFIX=""
48274 dlldir="$bindir"
48275 ;;
48276 *-pc-msdosdjgpp )
48277 EXEEXT=".exe"
48278 DLLPREFIX=""
48279 dlldir="$bindir"
48280 ;;
48281 *-pc-os2_emx | *-pc-os2-emx )
48282 SO_SUFFIX="dll"
48283 SO_SUFFIX_MODULE="dll"
48284 DLLIMP_SUFFIX=$OS2_LIBEXT
48285 EXEEXT=".exe"
48286 DLLPREFIX=""
48287 LIBPREFIX=""
48288 LIBEXT=".$OS2_LIBEXT"
48289 dlldir="$bindir"
48290 ;;
48291 *-*-darwin* )
48292 SO_SUFFIX="dylib"
48293 SO_SUFFIX_MODULE="bundle"
48294 ;;
48295 esac
48296
48297 if test "x$DLLIMP_SUFFIX" = "x" ; then
48298 DLLIMP_SUFFIX="$SO_SUFFIX"
48299 fi
48300
48301
48302
48303
48304
48305
48306
48307
48308
48309
48310
48311
48312 PIC_FLAG=""
48313 if test "x$GCC" = "xyes"; then
48314 PIC_FLAG="-fPIC"
48315 fi
48316
48317 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48318 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48319 WINDOWS_IMPLIB=0
48320
48321 case "${BAKEFILE_HOST}" in
48322 *-hp-hpux* )
48323 if test "x$GCC" != "xyes"; then
48324 LDFLAGS="$LDFLAGS -L/usr/lib"
48325
48326 SHARED_LD_CC="${CC} -b -o"
48327 SHARED_LD_CXX="${CXX} -b -o"
48328 PIC_FLAG="+Z"
48329 fi
48330 ;;
48331
48332 *-*-linux* )
48333 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48334 PIC_FLAG="-KPIC"
48335 elif test "x$SUNCXX" = "xyes"; then
48336 SHARED_LD_CC="${CC} -G -o"
48337 SHARED_LD_CXX="${CXX} -G -o"
48338 PIC_FLAG="-KPIC"
48339 fi
48340 ;;
48341
48342 *-*-solaris2* )
48343 if test "x$SUNCXX" = xyes ; then
48344 SHARED_LD_CC="${CC} -G -o"
48345 SHARED_LD_CXX="${CXX} -G -o"
48346 PIC_FLAG="-KPIC"
48347 fi
48348 ;;
48349
48350 *-*-darwin* )
48351
48352 D='$'
48353 cat <<EOF >shared-ld-sh
48354 #!/bin/sh
48355 #-----------------------------------------------------------------------------
48356 #-- Name: distrib/mac/shared-ld-sh
48357 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48358 #-- Author: Gilles Depeyrot
48359 #-- Copyright: (c) 2002 Gilles Depeyrot
48360 #-- Licence: any use permitted
48361 #-----------------------------------------------------------------------------
48362
48363 verbose=0
48364 args=""
48365 objects=""
48366 linking_flag="-dynamiclib"
48367 ldargs="-r -keep_private_externs -nostdlib"
48368
48369 if test "x${D}CXX" = "x"; then
48370 CXX="c++"
48371 fi
48372
48373 while test ${D}# -gt 0; do
48374 case ${D}1 in
48375
48376 -v)
48377 verbose=1
48378 ;;
48379
48380 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48381 # collect these options and values
48382 args="${D}{args} ${D}1 ${D}2"
48383 shift
48384 ;;
48385
48386 -arch|-isysroot)
48387 # collect these options and values
48388 ldargs="${D}{ldargs} ${D}1 ${D}2"
48389 shift
48390 ;;
48391
48392 -s|-Wl,*)
48393 # collect these load args
48394 ldargs="${D}{ldargs} ${D}1"
48395 ;;
48396
48397 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48398 # collect these options
48399 args="${D}{args} ${D}1"
48400 ;;
48401
48402 -dynamiclib|-bundle)
48403 linking_flag="${D}1"
48404 ;;
48405
48406 -*)
48407 echo "shared-ld: unhandled option '${D}1'"
48408 exit 1
48409 ;;
48410
48411 *.o | *.a | *.dylib)
48412 # collect object files
48413 objects="${D}{objects} ${D}1"
48414 ;;
48415
48416 *)
48417 echo "shared-ld: unhandled argument '${D}1'"
48418 exit 1
48419 ;;
48420
48421 esac
48422 shift
48423 done
48424
48425 status=0
48426
48427 #
48428 # Link one module containing all the others
48429 #
48430 if test ${D}{verbose} = 1; then
48431 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48432 fi
48433 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48434 status=${D}?
48435
48436 #
48437 # Link the shared library from the single module created, but only if the
48438 # previous command didn't fail:
48439 #
48440 if test ${D}{status} = 0; then
48441 if test ${D}{verbose} = 1; then
48442 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48443 fi
48444 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48445 status=${D}?
48446 fi
48447
48448 #
48449 # Remove intermediate module
48450 #
48451 rm -f master.${D}${D}.o
48452
48453 exit ${D}status
48454 EOF
48455
48456 chmod +x shared-ld-sh
48457
48458 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48459 SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48460
48461
48462 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48463 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48464 if test "${bakefile_cv_gcc31+set}" = set; then
48465 echo $ECHO_N "(cached) $ECHO_C" >&6
48466 else
48467
48468 cat >conftest.$ac_ext <<_ACEOF
48469 /* confdefs.h. */
48470 _ACEOF
48471 cat confdefs.h >>conftest.$ac_ext
48472 cat >>conftest.$ac_ext <<_ACEOF
48473 /* end confdefs.h. */
48474
48475 int
48476 main ()
48477 {
48478
48479 #if (__GNUC__ < 3) || \
48480 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48481 This is old gcc
48482 #endif
48483
48484 ;
48485 return 0;
48486 }
48487 _ACEOF
48488 rm -f conftest.$ac_objext
48489 if { (ac_try="$ac_compile"
48490 case "(($ac_try" in
48491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48492 *) ac_try_echo=$ac_try;;
48493 esac
48494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48495 (eval "$ac_compile") 2>conftest.er1
48496 ac_status=$?
48497 grep -v '^ *+' conftest.er1 >conftest.err
48498 rm -f conftest.er1
48499 cat conftest.err >&5
48500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48501 (exit $ac_status); } && {
48502 test -z "$ac_c_werror_flag" ||
48503 test ! -s conftest.err
48504 } && test -s conftest.$ac_objext; then
48505
48506 bakefile_cv_gcc31=yes
48507
48508 else
48509 echo "$as_me: failed program was:" >&5
48510 sed 's/^/| /' conftest.$ac_ext >&5
48511
48512
48513 bakefile_cv_gcc31=no
48514
48515
48516 fi
48517
48518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48519
48520 fi
48521 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48522 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48523 if test "$bakefile_cv_gcc31" = "no"; then
48524 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48525 SHARED_LD_CXX="$SHARED_LD_CC"
48526 else
48527 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48528 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48529 fi
48530
48531 if test "x$GCC" == "xyes"; then
48532 PIC_FLAG="-dynamic -fPIC"
48533 fi
48534 if test "x$XLCC" = "xyes"; then
48535 PIC_FLAG="-dynamic -DPIC"
48536 fi
48537 ;;
48538
48539 *-*-aix* )
48540 if test "x$GCC" = "xyes"; then
48541 PIC_FLAG=""
48542
48543 case "${BAKEFILE_HOST}" in
48544 *-*-aix5* )
48545 LD_EXPFULL="-Wl,-bexpfull"
48546 ;;
48547 esac
48548
48549 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48550 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48551 else
48552 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48553 set dummy makeC++SharedLib; ac_word=$2
48554 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48556 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48557 echo $ECHO_N "(cached) $ECHO_C" >&6
48558 else
48559 if test -n "$AIX_CXX_LD"; then
48560 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48561 else
48562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48563 for as_dir in $PATH
48564 do
48565 IFS=$as_save_IFS
48566 test -z "$as_dir" && as_dir=.
48567 for ac_exec_ext in '' $ac_executable_extensions; do
48568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48569 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48571 break 2
48572 fi
48573 done
48574 done
48575 IFS=$as_save_IFS
48576
48577 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48578 fi
48579 fi
48580 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48581 if test -n "$AIX_CXX_LD"; then
48582 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48583 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48584 else
48585 { echo "$as_me:$LINENO: result: no" >&5
48586 echo "${ECHO_T}no" >&6; }
48587 fi
48588
48589
48590 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48591 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48592 fi
48593 ;;
48594
48595 *-*-beos* )
48596 SHARED_LD_CC="${LD} -nostart -o"
48597 SHARED_LD_CXX="${LD} -nostart -o"
48598 ;;
48599
48600 *-*-irix* )
48601 if test "x$GCC" != "xyes"; then
48602 PIC_FLAG="-KPIC"
48603 fi
48604 ;;
48605
48606 *-*-cygwin* | *-*-mingw32* )
48607 PIC_FLAG=""
48608 SHARED_LD_CC="\$(CC) -shared -o"
48609 SHARED_LD_CXX="\$(CXX) -shared -o"
48610 WINDOWS_IMPLIB=1
48611 ;;
48612
48613 *-pc-os2_emx | *-pc-os2-emx )
48614 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48615 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48616 PIC_FLAG=""
48617
48618 D='$'
48619 cat <<EOF >dllar.sh
48620 #!/bin/sh
48621 #
48622 # dllar - a tool to build both a .dll and an .a file
48623 # from a set of object (.o) files for EMX/OS2.
48624 #
48625 # Written by Andrew Zabolotny, bit@freya.etu.ru
48626 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48627 #
48628 # This script will accept a set of files on the command line.
48629 # All the public symbols from the .o files will be exported into
48630 # a .DEF file, then linker will be run (through gcc) against them to
48631 # build a shared library consisting of all given .o files. All libraries
48632 # (.a) will be first decompressed into component .o files then act as
48633 # described above. You can optionally give a description (-d "description")
48634 # which will be put into .DLL. To see the list of accepted options (as well
48635 # as command-line format) simply run this program without options. The .DLL
48636 # is built to be imported by name (there is no guarantee that new versions
48637 # of the library you build will have same ordinals for same symbols).
48638 #
48639 # dllar is free software; you can redistribute it and/or modify
48640 # it under the terms of the GNU General Public License as published by
48641 # the Free Software Foundation; either version 2, or (at your option)
48642 # any later version.
48643 #
48644 # dllar is distributed in the hope that it will be useful,
48645 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48646 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48647 # GNU General Public License for more details.
48648 #
48649 # You should have received a copy of the GNU General Public License
48650 # along with dllar; see the file COPYING. If not, write to the Free
48651 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48652 # 02111-1307, USA.
48653
48654 # To successfuly run this program you will need:
48655 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48656 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48657 # - gcc
48658 # (used to build the .dll)
48659 # - emxexp
48660 # (used to create .def file from .o files)
48661 # - emximp
48662 # (used to create .a file from .def file)
48663 # - GNU text utilites (cat, sort, uniq)
48664 # used to process emxexp output
48665 # - GNU file utilities (mv, rm)
48666 # - GNU sed
48667 # - lxlite (optional, see flag below)
48668 # (used for general .dll cleanup)
48669 #
48670
48671 flag_USE_LXLITE=1;
48672
48673 #
48674 # helper functions
48675 # basnam, variant of basename, which does _not_ remove the path, _iff_
48676 # second argument (suffix to remove) is given
48677 basnam(){
48678 case ${D}# in
48679 1)
48680 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48681 ;;
48682 2)
48683 echo ${D}1 | sed 's/'${D}2'${D}//'
48684 ;;
48685 *)
48686 echo "error in basnam ${D}*"
48687 exit 8
48688 ;;
48689 esac
48690 }
48691
48692 # Cleanup temporary files and output
48693 CleanUp() {
48694 cd ${D}curDir
48695 for i in ${D}inputFiles ; do
48696 case ${D}i in
48697 *!)
48698 rm -rf \`basnam ${D}i !\`
48699 ;;
48700 *)
48701 ;;
48702 esac
48703 done
48704
48705 # Kill result in case of failure as there is just to many stupid make/nmake
48706 # things out there which doesn't do this.
48707 if [ ${D}# -eq 0 ]; then
48708 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48709 fi
48710 }
48711
48712 # Print usage and exit script with rc=1.
48713 PrintHelp() {
48714 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48715 echo ' [-name-mangler-script script.sh]'
48716 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48717 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48718 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48719 echo ' [*.o] [*.a]'
48720 echo '*> "output_file" should have no extension.'
48721 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48722 echo ' The import library name is derived from this and is set to "name".a,'
48723 echo ' unless overridden by -import'
48724 echo '*> "importlib_name" should have no extension.'
48725 echo ' If it has the .o, or .a extension, it is automatically removed.'
48726 echo ' This name is used as the import library name and may be longer and'
48727 echo ' more descriptive than the DLL name which has to follow the old '
48728 echo ' 8.3 convention of FAT.'
48729 echo '*> "script.sh may be given to override the output_file name by a'
48730 echo ' different name. It is mainly useful if the regular make process'
48731 echo ' of some package does not take into account OS/2 restriction of'
48732 echo ' DLL name lengths. It takes the importlib name as input and is'
48733 echo ' supposed to procude a shorter name as output. The script should'
48734 echo ' expect to get importlib_name without extension and should produce'
48735 echo ' a (max.) 8 letter name without extension.'
48736 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48737 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48738 echo ' These flags will be put at the start of GCC command line.'
48739 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48740 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48741 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48742 echo ' If the last character of a symbol is "*", all symbols beginning'
48743 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48744 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48745 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48746 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48747 echo ' C runtime DLLs.'
48748 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48749 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48750 echo ' unchanged to GCC at the end of command line.'
48751 echo '*> If you create a DLL from a library and you do not specify -o,'
48752 echo ' the basename for DLL and import library will be set to library name,'
48753 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48754 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48755 echo ' library will be renamed into gcc_s.a.'
48756 echo '--------'
48757 echo 'Example:'
48758 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48759 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48760 CleanUp
48761 exit 1
48762 }
48763
48764 # Execute a command.
48765 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48766 # @Uses Whatever CleanUp() uses.
48767 doCommand() {
48768 echo "${D}*"
48769 eval ${D}*
48770 rcCmd=${D}?
48771
48772 if [ ${D}rcCmd -ne 0 ]; then
48773 echo "command failed, exit code="${D}rcCmd
48774 CleanUp
48775 exit ${D}rcCmd
48776 fi
48777 }
48778
48779 # main routine
48780 # setup globals
48781 cmdLine=${D}*
48782 outFile=""
48783 outimpFile=""
48784 inputFiles=""
48785 renameScript=""
48786 description=""
48787 CC=gcc.exe
48788 CFLAGS="-s -Zcrtdll"
48789 EXTRA_CFLAGS=""
48790 EXPORT_BY_ORDINALS=0
48791 exclude_symbols=""
48792 library_flags=""
48793 curDir=\`pwd\`
48794 curDirS=curDir
48795 case ${D}curDirS in
48796 */)
48797 ;;
48798 *)
48799 curDirS=${D}{curDirS}"/"
48800 ;;
48801 esac
48802 # Parse commandline
48803 libsToLink=0
48804 omfLinking=0
48805 while [ ${D}1 ]; do
48806 case ${D}1 in
48807 -ord*)
48808 EXPORT_BY_ORDINALS=1;
48809 ;;
48810 -o*)
48811 shift
48812 outFile=${D}1
48813 ;;
48814 -i*)
48815 shift
48816 outimpFile=${D}1
48817 ;;
48818 -name-mangler-script)
48819 shift
48820 renameScript=${D}1
48821 ;;
48822 -d*)
48823 shift
48824 description=${D}1
48825 ;;
48826 -f*)
48827 shift
48828 CFLAGS=${D}1
48829 ;;
48830 -c*)
48831 shift
48832 CC=${D}1
48833 ;;
48834 -h*)
48835 PrintHelp
48836 ;;
48837 -ex*)
48838 shift
48839 exclude_symbols=${D}{exclude_symbols}${D}1" "
48840 ;;
48841 -libf*)
48842 shift
48843 library_flags=${D}{library_flags}${D}1" "
48844 ;;
48845 -nocrt*)
48846 CFLAGS="-s"
48847 ;;
48848 -nolxl*)
48849 flag_USE_LXLITE=0
48850 ;;
48851 -* | /*)
48852 case ${D}1 in
48853 -L* | -l*)
48854 libsToLink=1
48855 ;;
48856 -Zomf)
48857 omfLinking=1
48858 ;;
48859 *)
48860 ;;
48861 esac
48862 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48863 ;;
48864 *.dll)
48865 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48866 if [ ${D}omfLinking -eq 1 ]; then
48867 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48868 else
48869 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48870 fi
48871 ;;
48872 *)
48873 found=0;
48874 if [ ${D}libsToLink -ne 0 ]; then
48875 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48876 else
48877 for file in ${D}1 ; do
48878 if [ -f ${D}file ]; then
48879 inputFiles="${D}{inputFiles} ${D}file"
48880 found=1
48881 fi
48882 done
48883 if [ ${D}found -eq 0 ]; then
48884 echo "ERROR: No file(s) found: "${D}1
48885 exit 8
48886 fi
48887 fi
48888 ;;
48889 esac
48890 shift
48891 done # iterate cmdline words
48892
48893 #
48894 if [ -z "${D}inputFiles" ]; then
48895 echo "dllar: no input files"
48896 PrintHelp
48897 fi
48898
48899 # Now extract all .o files from .a files
48900 newInputFiles=""
48901 for file in ${D}inputFiles ; do
48902 case ${D}file in
48903 *.a | *.lib)
48904 case ${D}file in
48905 *.a)
48906 suffix=".a"
48907 AR="ar"
48908 ;;
48909 *.lib)
48910 suffix=".lib"
48911 AR="emxomfar"
48912 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48913 ;;
48914 *)
48915 ;;
48916 esac
48917 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48918 mkdir ${D}dirname
48919 if [ ${D}? -ne 0 ]; then
48920 echo "Failed to create subdirectory ./${D}dirname"
48921 CleanUp
48922 exit 8;
48923 fi
48924 # Append '!' to indicate archive
48925 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48926 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48927 cd ${D}curDir
48928 found=0;
48929 for subfile in ${D}dirname/*.o* ; do
48930 if [ -f ${D}subfile ]; then
48931 found=1
48932 if [ -s ${D}subfile ]; then
48933 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48934 newInputFiles="${D}newInputFiles ${D}subfile"
48935 fi
48936 fi
48937 done
48938 if [ ${D}found -eq 0 ]; then
48939 echo "WARNING: there are no files in archive \\'${D}file\\'"
48940 fi
48941 ;;
48942 *)
48943 newInputFiles="${D}{newInputFiles} ${D}file"
48944 ;;
48945 esac
48946 done
48947 inputFiles="${D}newInputFiles"
48948
48949 # Output filename(s).
48950 do_backup=0;
48951 if [ -z ${D}outFile ]; then
48952 do_backup=1;
48953 set outFile ${D}inputFiles; outFile=${D}2
48954 fi
48955
48956 # If it is an archive, remove the '!' and the '_%' suffixes
48957 case ${D}outFile in
48958 *_%!)
48959 outFile=\`basnam ${D}outFile _%!\`
48960 ;;
48961 *)
48962 ;;
48963 esac
48964 case ${D}outFile in
48965 *.dll)
48966 outFile=\`basnam ${D}outFile .dll\`
48967 ;;
48968 *.DLL)
48969 outFile=\`basnam ${D}outFile .DLL\`
48970 ;;
48971 *.o)
48972 outFile=\`basnam ${D}outFile .o\`
48973 ;;
48974 *.obj)
48975 outFile=\`basnam ${D}outFile .obj\`
48976 ;;
48977 *.a)
48978 outFile=\`basnam ${D}outFile .a\`
48979 ;;
48980 *.lib)
48981 outFile=\`basnam ${D}outFile .lib\`
48982 ;;
48983 *)
48984 ;;
48985 esac
48986 case ${D}outimpFile in
48987 *.a)
48988 outimpFile=\`basnam ${D}outimpFile .a\`
48989 ;;
48990 *.lib)
48991 outimpFile=\`basnam ${D}outimpFile .lib\`
48992 ;;
48993 *)
48994 ;;
48995 esac
48996 if [ -z ${D}outimpFile ]; then
48997 outimpFile=${D}outFile
48998 fi
48999 defFile="${D}{outFile}.def"
49000 arcFile="${D}{outimpFile}.a"
49001 arcFile2="${D}{outimpFile}.lib"
49002
49003 #create ${D}dllFile as something matching 8.3 restrictions,
49004 if [ -z ${D}renameScript ] ; then
49005 dllFile="${D}outFile"
49006 else
49007 dllFile=\`${D}renameScript ${D}outimpFile\`
49008 fi
49009
49010 if [ ${D}do_backup -ne 0 ] ; then
49011 if [ -f ${D}arcFile ] ; then
49012 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49013 fi
49014 if [ -f ${D}arcFile2 ] ; then
49015 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49016 fi
49017 fi
49018
49019 # Extract public symbols from all the object files.
49020 tmpdefFile=${D}{defFile}_%
49021 rm -f ${D}tmpdefFile
49022 for file in ${D}inputFiles ; do
49023 case ${D}file in
49024 *!)
49025 ;;
49026 *)
49027 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49028 ;;
49029 esac
49030 done
49031
49032 # Create the def file.
49033 rm -f ${D}defFile
49034 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49035 dllFile="${D}{dllFile}.dll"
49036 if [ ! -z ${D}description ]; then
49037 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49038 fi
49039 echo "EXPORTS" >> ${D}defFile
49040
49041 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49042 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49043
49044 # Checks if the export is ok or not.
49045 for word in ${D}exclude_symbols; do
49046 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49047 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49048 done
49049
49050
49051 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49052 sed "=" < ${D}tmpdefFile | \\
49053 sed '
49054 N
49055 : loop
49056 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49057 t loop
49058 ' > ${D}{tmpdefFile}%
49059 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49060 else
49061 rm -f ${D}{tmpdefFile}%
49062 fi
49063 cat ${D}tmpdefFile >> ${D}defFile
49064 rm -f ${D}tmpdefFile
49065
49066 # Do linking, create implib, and apply lxlite.
49067 gccCmdl="";
49068 for file in ${D}inputFiles ; do
49069 case ${D}file in
49070 *!)
49071 ;;
49072 *)
49073 gccCmdl="${D}gccCmdl ${D}file"
49074 ;;
49075 esac
49076 done
49077 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49078 touch "${D}{outFile}.dll"
49079
49080 doCommand "emximp -o ${D}arcFile ${D}defFile"
49081 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49082 add_flags="";
49083 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49084 add_flags="-ynd"
49085 fi
49086 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49087 fi
49088 doCommand "emxomf -s -l ${D}arcFile"
49089
49090 # Successful exit.
49091 CleanUp 1
49092 exit 0
49093 EOF
49094
49095 chmod +x dllar.sh
49096 ;;
49097
49098 powerpc-apple-macos* | \
49099 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49100 *-*-mirbsd* | \
49101 *-*-sunos4* | \
49102 *-*-osf* | \
49103 *-*-dgux5* | \
49104 *-*-sysv5* | \
49105 *-pc-msdosdjgpp )
49106 ;;
49107
49108 *)
49109 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49110 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49111 { (exit 1); exit 1; }; }
49112 esac
49113
49114 if test "x$PIC_FLAG" != "x" ; then
49115 PIC_FLAG="$PIC_FLAG -DPIC"
49116 fi
49117
49118 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49119 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49120 fi
49121 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49122 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49123 fi
49124
49125
49126
49127
49128
49129
49130
49131
49132
49133 USE_SOVERSION=0
49134 USE_SOVERLINUX=0
49135 USE_SOVERSOLARIS=0
49136 USE_SOVERCYGWIN=0
49137 USE_SOSYMLINKS=0
49138 USE_MACVERSION=0
49139 SONAME_FLAG=
49140
49141 case "${BAKEFILE_HOST}" in
49142 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49143 *-*-k*bsd*-gnu | *-*-mirbsd* )
49144 if test "x$SUNCXX" = "xyes"; then
49145 SONAME_FLAG="-h "
49146 else
49147 SONAME_FLAG="-Wl,-soname,"
49148 fi
49149 USE_SOVERSION=1
49150 USE_SOVERLINUX=1
49151 USE_SOSYMLINKS=1
49152 ;;
49153
49154 *-*-solaris2* )
49155 SONAME_FLAG="-h "
49156 USE_SOVERSION=1
49157 USE_SOVERSOLARIS=1
49158 USE_SOSYMLINKS=1
49159 ;;
49160
49161 *-*-darwin* )
49162 USE_MACVERSION=1
49163 USE_SOVERSION=1
49164 USE_SOSYMLINKS=1
49165 ;;
49166
49167 *-*-cygwin* )
49168 USE_SOVERSION=1
49169 USE_SOVERCYGWIN=1
49170 ;;
49171 esac
49172
49173
49174
49175
49176
49177
49178
49179
49180
49181
49182 # Check whether --enable-dependency-tracking was given.
49183 if test "${enable_dependency_tracking+set}" = set; then
49184 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49185 fi
49186
49187
49188 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49189 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49190
49191 BK_DEPS=""
49192 if test "x$bk_use_trackdeps" = "xno" ; then
49193 DEPS_TRACKING=0
49194 { echo "$as_me:$LINENO: result: disabled" >&5
49195 echo "${ECHO_T}disabled" >&6; }
49196 else
49197 DEPS_TRACKING=1
49198
49199 if test "x$GCC" = "xyes"; then
49200 DEPSMODE=gcc
49201 case "${BAKEFILE_HOST}" in
49202 *-*-darwin* )
49203 DEPSFLAG="-no-cpp-precomp -MMD"
49204 ;;
49205 * )
49206 DEPSFLAG="-MMD"
49207 ;;
49208 esac
49209 { echo "$as_me:$LINENO: result: gcc" >&5
49210 echo "${ECHO_T}gcc" >&6; }
49211 elif test "x$MWCC" = "xyes"; then
49212 DEPSMODE=mwcc
49213 DEPSFLAG="-MM"
49214 { echo "$as_me:$LINENO: result: mwcc" >&5
49215 echo "${ECHO_T}mwcc" >&6; }
49216 elif test "x$SUNCC" = "xyes"; then
49217 DEPSMODE=unixcc
49218 DEPSFLAG="-xM1"
49219 { echo "$as_me:$LINENO: result: Sun cc" >&5
49220 echo "${ECHO_T}Sun cc" >&6; }
49221 elif test "x$SGICC" = "xyes"; then
49222 DEPSMODE=unixcc
49223 DEPSFLAG="-M"
49224 { echo "$as_me:$LINENO: result: SGI cc" >&5
49225 echo "${ECHO_T}SGI cc" >&6; }
49226 elif test "x$HPCC" = "xyes"; then
49227 DEPSMODE=unixcc
49228 DEPSFLAG="+make"
49229 { echo "$as_me:$LINENO: result: HP cc" >&5
49230 echo "${ECHO_T}HP cc" >&6; }
49231 elif test "x$COMPAQCC" = "xyes"; then
49232 DEPSMODE=gcc
49233 DEPSFLAG="-MD"
49234 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49235 echo "${ECHO_T}Compaq cc" >&6; }
49236 else
49237 DEPS_TRACKING=0
49238 { echo "$as_me:$LINENO: result: none" >&5
49239 echo "${ECHO_T}none" >&6; }
49240 fi
49241
49242 if test $DEPS_TRACKING = 1 ; then
49243
49244 D='$'
49245 cat <<EOF >bk-deps
49246 #!/bin/sh
49247
49248 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49249 # script. It is used to track C/C++ files dependencies in portable way.
49250 #
49251 # Permission is given to use this file in any way.
49252
49253 DEPSMODE=${DEPSMODE}
49254 DEPSFLAG="${DEPSFLAG}"
49255 DEPSDIRBASE=.deps
49256
49257 if test ${D}DEPSMODE = gcc ; then
49258 ${D}* ${D}{DEPSFLAG}
49259 status=${D}?
49260
49261 # determine location of created files:
49262 while test ${D}# -gt 0; do
49263 case "${D}1" in
49264 -o )
49265 shift
49266 objfile=${D}1
49267 ;;
49268 -* )
49269 ;;
49270 * )
49271 srcfile=${D}1
49272 ;;
49273 esac
49274 shift
49275 done
49276 objfilebase=\`basename ${D}objfile\`
49277 builddir=\`dirname ${D}objfile\`
49278 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49279 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49280 depsdir=${D}builddir/${D}DEPSDIRBASE
49281 mkdir -p ${D}depsdir
49282
49283 # if the compiler failed, we're done:
49284 if test ${D}{status} != 0 ; then
49285 rm -f ${D}depfile
49286 exit ${D}{status}
49287 fi
49288
49289 # move created file to the location we want it in:
49290 if test -f ${D}depfile ; then
49291 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49292 rm -f ${D}depfile
49293 else
49294 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49295 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
49296 if test ! -f ${D}depfile ; then
49297 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49298 depfile="${D}objfile.d"
49299 fi
49300 if test -f ${D}depfile ; then
49301 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49302 rm -f ${D}depfile
49303 fi
49304 fi
49305 exit 0
49306
49307 elif test ${D}DEPSMODE = mwcc ; then
49308 ${D}* || exit ${D}?
49309 # Run mwcc again with -MM and redirect into the dep file we want
49310 # NOTE: We can't use shift here because we need ${D}* to be valid
49311 prevarg=
49312 for arg in ${D}* ; do
49313 if test "${D}prevarg" = "-o"; then
49314 objfile=${D}arg
49315 else
49316 case "${D}arg" in
49317 -* )
49318 ;;
49319 * )
49320 srcfile=${D}arg
49321 ;;
49322 esac
49323 fi
49324 prevarg="${D}arg"
49325 done
49326
49327 objfilebase=\`basename ${D}objfile\`
49328 builddir=\`dirname ${D}objfile\`
49329 depsdir=${D}builddir/${D}DEPSDIRBASE
49330 mkdir -p ${D}depsdir
49331
49332 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49333 exit 0
49334
49335 elif test ${D}DEPSMODE = unixcc; then
49336 ${D}* || exit ${D}?
49337 # Run compiler again with deps flag and redirect into the dep file.
49338 # It doesn't work if the '-o FILE' option is used, but without it the
49339 # dependency file will contain the wrong name for the object. So it is
49340 # removed from the command line, and the dep file is fixed with sed.
49341 cmd=""
49342 while test ${D}# -gt 0; do
49343 case "${D}1" in
49344 -o )
49345 shift
49346 objfile=${D}1
49347 ;;
49348 * )
49349 eval arg${D}#=\\${D}1
49350 cmd="${D}cmd \\${D}arg${D}#"
49351 ;;
49352 esac
49353 shift
49354 done
49355
49356 objfilebase=\`basename ${D}objfile\`
49357 builddir=\`dirname ${D}objfile\`
49358 depsdir=${D}builddir/${D}DEPSDIRBASE
49359 mkdir -p ${D}depsdir
49360
49361 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49362 exit 0
49363
49364 else
49365 ${D}*
49366 exit ${D}?
49367 fi
49368 EOF
49369
49370 chmod +x bk-deps
49371 BK_DEPS="`pwd`/bk-deps"
49372 fi
49373 fi
49374
49375
49376
49377
49378
49379 case ${BAKEFILE_HOST} in
49380 *-*-cygwin* | *-*-mingw32* )
49381 if test -n "$ac_tool_prefix"; then
49382 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49383 set dummy ${ac_tool_prefix}windres; ac_word=$2
49384 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49386 if test "${ac_cv_prog_WINDRES+set}" = set; then
49387 echo $ECHO_N "(cached) $ECHO_C" >&6
49388 else
49389 if test -n "$WINDRES"; then
49390 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49391 else
49392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49393 for as_dir in $PATH
49394 do
49395 IFS=$as_save_IFS
49396 test -z "$as_dir" && as_dir=.
49397 for ac_exec_ext in '' $ac_executable_extensions; do
49398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49399 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49401 break 2
49402 fi
49403 done
49404 done
49405 IFS=$as_save_IFS
49406
49407 fi
49408 fi
49409 WINDRES=$ac_cv_prog_WINDRES
49410 if test -n "$WINDRES"; then
49411 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49412 echo "${ECHO_T}$WINDRES" >&6; }
49413 else
49414 { echo "$as_me:$LINENO: result: no" >&5
49415 echo "${ECHO_T}no" >&6; }
49416 fi
49417
49418
49419 fi
49420 if test -z "$ac_cv_prog_WINDRES"; then
49421 ac_ct_WINDRES=$WINDRES
49422 # Extract the first word of "windres", so it can be a program name with args.
49423 set dummy windres; ac_word=$2
49424 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49426 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49427 echo $ECHO_N "(cached) $ECHO_C" >&6
49428 else
49429 if test -n "$ac_ct_WINDRES"; then
49430 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49431 else
49432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49433 for as_dir in $PATH
49434 do
49435 IFS=$as_save_IFS
49436 test -z "$as_dir" && as_dir=.
49437 for ac_exec_ext in '' $ac_executable_extensions; do
49438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49439 ac_cv_prog_ac_ct_WINDRES="windres"
49440 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49441 break 2
49442 fi
49443 done
49444 done
49445 IFS=$as_save_IFS
49446
49447 fi
49448 fi
49449 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49450 if test -n "$ac_ct_WINDRES"; then
49451 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49452 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49453 else
49454 { echo "$as_me:$LINENO: result: no" >&5
49455 echo "${ECHO_T}no" >&6; }
49456 fi
49457
49458 if test "x$ac_ct_WINDRES" = x; then
49459 WINDRES=""
49460 else
49461 case $cross_compiling:$ac_tool_warned in
49462 yes:)
49463 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49464 whose name does not start with the host triplet. If you think this
49465 configuration is useful to you, please write to autoconf@gnu.org." >&5
49466 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49467 whose name does not start with the host triplet. If you think this
49468 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49469 ac_tool_warned=yes ;;
49470 esac
49471 WINDRES=$ac_ct_WINDRES
49472 fi
49473 else
49474 WINDRES="$ac_cv_prog_WINDRES"
49475 fi
49476
49477 ;;
49478
49479 *-*-darwin* | powerpc-apple-macos* )
49480 # Extract the first word of "Rez", so it can be a program name with args.
49481 set dummy Rez; ac_word=$2
49482 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49484 if test "${ac_cv_prog_REZ+set}" = set; then
49485 echo $ECHO_N "(cached) $ECHO_C" >&6
49486 else
49487 if test -n "$REZ"; then
49488 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49489 else
49490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49491 for as_dir in $PATH
49492 do
49493 IFS=$as_save_IFS
49494 test -z "$as_dir" && as_dir=.
49495 for ac_exec_ext in '' $ac_executable_extensions; do
49496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49497 ac_cv_prog_REZ="Rez"
49498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49499 break 2
49500 fi
49501 done
49502 done
49503 IFS=$as_save_IFS
49504
49505 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49506 fi
49507 fi
49508 REZ=$ac_cv_prog_REZ
49509 if test -n "$REZ"; then
49510 { echo "$as_me:$LINENO: result: $REZ" >&5
49511 echo "${ECHO_T}$REZ" >&6; }
49512 else
49513 { echo "$as_me:$LINENO: result: no" >&5
49514 echo "${ECHO_T}no" >&6; }
49515 fi
49516
49517
49518 # Extract the first word of "SetFile", so it can be a program name with args.
49519 set dummy SetFile; ac_word=$2
49520 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49522 if test "${ac_cv_prog_SETFILE+set}" = set; then
49523 echo $ECHO_N "(cached) $ECHO_C" >&6
49524 else
49525 if test -n "$SETFILE"; then
49526 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49527 else
49528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49529 for as_dir in $PATH
49530 do
49531 IFS=$as_save_IFS
49532 test -z "$as_dir" && as_dir=.
49533 for ac_exec_ext in '' $ac_executable_extensions; do
49534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49535 ac_cv_prog_SETFILE="SetFile"
49536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49537 break 2
49538 fi
49539 done
49540 done
49541 IFS=$as_save_IFS
49542
49543 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49544 fi
49545 fi
49546 SETFILE=$ac_cv_prog_SETFILE
49547 if test -n "$SETFILE"; then
49548 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49549 echo "${ECHO_T}$SETFILE" >&6; }
49550 else
49551 { echo "$as_me:$LINENO: result: no" >&5
49552 echo "${ECHO_T}no" >&6; }
49553 fi
49554
49555
49556 ;;
49557 esac
49558
49559
49560
49561
49562
49563
49564
49565
49566
49567 BAKEFILE_BAKEFILE_M4_VERSION="0.2.5"
49568
49569
49570 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.5"
49571
49572
49573
49574 # Check whether --enable-precomp-headers was given.
49575 if test "${enable_precomp_headers+set}" = set; then
49576 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49577 fi
49578
49579
49580 GCC_PCH=0
49581 ICC_PCH=0
49582 USE_PCH=0
49583 BK_MAKE_PCH=""
49584
49585 case ${BAKEFILE_HOST} in
49586 *-*-cygwin* )
49587 bk_use_pch="no"
49588 ;;
49589 esac
49590
49591 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49592 if test "x$GCC" = "xyes"; then
49593 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49594 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49595 cat >conftest.$ac_ext <<_ACEOF
49596 /* confdefs.h. */
49597 _ACEOF
49598 cat confdefs.h >>conftest.$ac_ext
49599 cat >>conftest.$ac_ext <<_ACEOF
49600 /* end confdefs.h. */
49601
49602 int
49603 main ()
49604 {
49605
49606 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49607 There is no PCH support
49608 #endif
49609 #if (__GNUC__ < 3)
49610 There is no PCH support
49611 #endif
49612 #if (__GNUC__ == 3) && \
49613 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49614 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49615 ( defined(__INTEL_COMPILER) )
49616 There is no PCH support
49617 #endif
49618
49619 ;
49620 return 0;
49621 }
49622 _ACEOF
49623 rm -f conftest.$ac_objext
49624 if { (ac_try="$ac_compile"
49625 case "(($ac_try" in
49626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49627 *) ac_try_echo=$ac_try;;
49628 esac
49629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49630 (eval "$ac_compile") 2>conftest.er1
49631 ac_status=$?
49632 grep -v '^ *+' conftest.er1 >conftest.err
49633 rm -f conftest.er1
49634 cat conftest.err >&5
49635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49636 (exit $ac_status); } && {
49637 test -z "$ac_c_werror_flag" ||
49638 test ! -s conftest.err
49639 } && test -s conftest.$ac_objext; then
49640
49641 { echo "$as_me:$LINENO: result: yes" >&5
49642 echo "${ECHO_T}yes" >&6; }
49643 GCC_PCH=1
49644
49645 else
49646 echo "$as_me: failed program was:" >&5
49647 sed 's/^/| /' conftest.$ac_ext >&5
49648
49649
49650 if test "$INTELCXX8" = "yes"; then
49651 { echo "$as_me:$LINENO: result: yes" >&5
49652 echo "${ECHO_T}yes" >&6; }
49653 ICC_PCH=1
49654 if test "$INTELCXX10" = "yes"; then
49655 ICC_PCH_CREATE_SWITCH="-pch-create"
49656 ICC_PCH_USE_SWITCH="-pch-use"
49657 else
49658 ICC_PCH_CREATE_SWITCH="-create-pch"
49659 ICC_PCH_USE_SWITCH="-use-pch"
49660 fi
49661 else
49662 { echo "$as_me:$LINENO: result: no" >&5
49663 echo "${ECHO_T}no" >&6; }
49664 fi
49665
49666 fi
49667
49668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49669 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49670 USE_PCH=1
49671
49672 D='$'
49673 cat <<EOF >bk-make-pch
49674 #!/bin/sh
49675
49676 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49677 # script. It is used to generated precompiled headers.
49678 #
49679 # Permission is given to use this file in any way.
49680
49681 outfile="${D}{1}"
49682 header="${D}{2}"
49683 shift
49684 shift
49685
49686 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
49687
49688 compiler=""
49689 headerfile=""
49690
49691 while test ${D}{#} -gt 0; do
49692 add_to_cmdline=1
49693 case "${D}{1}" in
49694 -I* )
49695 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49696 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49697 headerfile="${D}{incdir}/${D}{header}"
49698 fi
49699 ;;
49700 -use-pch|-use_pch|-pch-use )
49701 shift
49702 add_to_cmdline=0
49703 ;;
49704 esac
49705 if test ${D}add_to_cmdline = 1 ; then
49706 compiler="${D}{compiler} ${D}{1}"
49707 fi
49708 shift
49709 done
49710
49711 if test "x${D}{headerfile}" = "x" ; then
49712 echo "error: can't find header ${D}{header} in include paths" >&2
49713 else
49714 if test -f ${D}{outfile} ; then
49715 rm -f ${D}{outfile}
49716 else
49717 mkdir -p \`dirname ${D}{outfile}\`
49718 fi
49719 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49720 mkdir -p ${D}{builddir}/.deps
49721 if test "x${GCC_PCH}" = "x1" ; then
49722 # can do this because gcc is >= 3.4:
49723 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49724 elif test "x${ICC_PCH}" = "x1" ; then
49725 filename=pch_gen-${D}${D}
49726 file=${D}{filename}.c
49727 dfile=${D}{filename}.d
49728 cat > ${D}file <<EOT
49729 #include "${D}header"
49730 EOT
49731 # using -MF icc complains about differing command lines in creation/use
49732 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
49733 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49734 rm -f ${D}file ${D}dfile ${D}{filename}.o
49735 fi
49736 exit ${D}{?}
49737 fi
49738 EOF
49739
49740 chmod +x bk-make-pch
49741 BK_MAKE_PCH="`pwd`/bk-make-pch"
49742 fi
49743 fi
49744 fi
49745
49746
49747
49748
49749
49750
49751
49752 COND_BUILD_DEBUG="#"
49753 if test "x$BUILD" = "xdebug" ; then
49754 COND_BUILD_DEBUG=""
49755 fi
49756
49757 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49758 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49759 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49760 fi
49761
49762 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49763 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49764 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49765 fi
49766
49767 COND_BUILD_DEBUG_UNICODE_0="#"
49768 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49769 COND_BUILD_DEBUG_UNICODE_0=""
49770 fi
49771
49772 COND_BUILD_DEBUG_UNICODE_1="#"
49773 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49774 COND_BUILD_DEBUG_UNICODE_1=""
49775 fi
49776
49777 COND_BUILD_RELEASE="#"
49778 if test "x$BUILD" = "xrelease" ; then
49779 COND_BUILD_RELEASE=""
49780 fi
49781
49782 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49783 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49784 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49785 fi
49786
49787 COND_BUILD_RELEASE_UNICODE_0="#"
49788 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49789 COND_BUILD_RELEASE_UNICODE_0=""
49790 fi
49791
49792 COND_BUILD_RELEASE_UNICODE_1="#"
49793 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49794 COND_BUILD_RELEASE_UNICODE_1=""
49795 fi
49796
49797 COND_BUILD_debug="#"
49798 if test "x$BUILD" = "xdebug" ; then
49799 COND_BUILD_debug=""
49800 fi
49801
49802 COND_BUILD_debug_DEBUG_FLAG_default="#"
49803 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49804 COND_BUILD_debug_DEBUG_FLAG_default=""
49805 fi
49806
49807 COND_BUILD_debug_DEBUG_INFO_default="#"
49808 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49809 COND_BUILD_debug_DEBUG_INFO_default=""
49810 fi
49811
49812 COND_BUILD_debug_UNICODE_0="#"
49813 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49814 COND_BUILD_debug_UNICODE_0=""
49815 fi
49816
49817 COND_BUILD_debug_UNICODE_1="#"
49818 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49819 COND_BUILD_debug_UNICODE_1=""
49820 fi
49821
49822 COND_BUILD_release="#"
49823 if test "x$BUILD" = "xrelease" ; then
49824 COND_BUILD_release=""
49825 fi
49826
49827 COND_BUILD_release_DEBUG_INFO_default="#"
49828 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49829 COND_BUILD_release_DEBUG_INFO_default=""
49830 fi
49831
49832 COND_BUILD_release_UNICODE_0="#"
49833 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49834 COND_BUILD_release_UNICODE_0=""
49835 fi
49836
49837 COND_BUILD_release_UNICODE_1="#"
49838 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49839 COND_BUILD_release_UNICODE_1=""
49840 fi
49841
49842 COND_DEBUG_FLAG_1="#"
49843 if test "x$DEBUG_FLAG" = "x1" ; then
49844 COND_DEBUG_FLAG_1=""
49845 fi
49846
49847 COND_DEBUG_INFO_0="#"
49848 if test "x$DEBUG_INFO" = "x0" ; then
49849 COND_DEBUG_INFO_0=""
49850 fi
49851
49852 COND_DEBUG_INFO_1="#"
49853 if test "x$DEBUG_INFO" = "x1" ; then
49854 COND_DEBUG_INFO_1=""
49855 fi
49856
49857 COND_DEPS_TRACKING_0="#"
49858 if test "x$DEPS_TRACKING" = "x0" ; then
49859 COND_DEPS_TRACKING_0=""
49860 fi
49861
49862 COND_DEPS_TRACKING_1="#"
49863 if test "x$DEPS_TRACKING" = "x1" ; then
49864 COND_DEPS_TRACKING_1=""
49865 fi
49866
49867 COND_GCC_PCH_1="#"
49868 if test "x$GCC_PCH" = "x1" ; then
49869 COND_GCC_PCH_1=""
49870 fi
49871
49872 COND_ICC_PCH_1="#"
49873 if test "x$ICC_PCH" = "x1" ; then
49874 COND_ICC_PCH_1=""
49875 fi
49876
49877 COND_MONOLITHIC_0="#"
49878 if test "x$MONOLITHIC" = "x0" ; then
49879 COND_MONOLITHIC_0=""
49880 fi
49881
49882 COND_MONOLITHIC_0_SHARED_0="#"
49883 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49884 COND_MONOLITHIC_0_SHARED_0=""
49885 fi
49886
49887 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49888 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49889 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49890 fi
49891
49892 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49893 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49894 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49895 fi
49896
49897 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49898 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49899 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49900 fi
49901
49902 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49903 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49904 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49905 fi
49906
49907 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49908 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49909 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49910 fi
49911
49912 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
49913 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49914 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
49915 fi
49916
49917 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49918 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49919 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49920 fi
49921
49922 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
49923 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49924 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
49925 fi
49926
49927 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49928 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49929 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49930 fi
49931
49932 COND_MONOLITHIC_0_SHARED_1="#"
49933 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49934 COND_MONOLITHIC_0_SHARED_1=""
49935 fi
49936
49937 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49938 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49939 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49940 fi
49941
49942 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49943 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49944 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49945 fi
49946
49947 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49948 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49949 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49950 fi
49951
49952 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49953 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49954 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49955 fi
49956
49957 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49958 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49959 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49960 fi
49961
49962 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
49963 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
49964 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
49965 fi
49966
49967 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49968 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49969 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49970 fi
49971
49972 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
49973 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49974 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
49975 fi
49976
49977 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49978 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49979 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49980 fi
49981
49982 COND_MONOLITHIC_0_USE_AUI_1="#"
49983 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49984 COND_MONOLITHIC_0_USE_AUI_1=""
49985 fi
49986
49987 COND_MONOLITHIC_0_USE_GUI_1="#"
49988 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49989 COND_MONOLITHIC_0_USE_GUI_1=""
49990 fi
49991
49992 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
49993 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49994 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
49995 fi
49996
49997 COND_MONOLITHIC_0_USE_HTML_1="#"
49998 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49999 COND_MONOLITHIC_0_USE_HTML_1=""
50000 fi
50001
50002 COND_MONOLITHIC_0_USE_MEDIA_1="#"
50003 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50004 COND_MONOLITHIC_0_USE_MEDIA_1=""
50005 fi
50006
50007 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
50008 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50009 COND_MONOLITHIC_0_USE_PROPGRID_1=""
50010 fi
50011
50012 COND_MONOLITHIC_0_USE_QA_1="#"
50013 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
50014 COND_MONOLITHIC_0_USE_QA_1=""
50015 fi
50016
50017 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
50018 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50019 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
50020 fi
50021
50022 COND_MONOLITHIC_0_USE_STC_1="#"
50023 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
50024 COND_MONOLITHIC_0_USE_STC_1=""
50025 fi
50026
50027 COND_MONOLITHIC_0_USE_XRC_1="#"
50028 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
50029 COND_MONOLITHIC_0_USE_XRC_1=""
50030 fi
50031
50032 COND_MONOLITHIC_1="#"
50033 if test "x$MONOLITHIC" = "x1" ; then
50034 COND_MONOLITHIC_1=""
50035 fi
50036
50037 COND_MONOLITHIC_1_SHARED_0="#"
50038 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50039 COND_MONOLITHIC_1_SHARED_0=""
50040 fi
50041
50042 COND_MONOLITHIC_1_SHARED_1="#"
50043 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50044 COND_MONOLITHIC_1_SHARED_1=""
50045 fi
50046
50047 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50048 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50049 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50050 fi
50051
50052 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50053 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50054 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50055 fi
50056
50057 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50058 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50059 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50060 fi
50061
50062 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50063 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50064 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50065 fi
50066
50067 COND_PLATFORM_MACOSX_1="#"
50068 if test "x$PLATFORM_MACOSX" = "x1" ; then
50069 COND_PLATFORM_MACOSX_1=""
50070 fi
50071
50072 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
50073 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
50074 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
50075 fi
50076
50077 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50078 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50079 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50080 fi
50081
50082 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50083 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50084 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50085 fi
50086
50087 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50088 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50089 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50090 fi
50091
50092 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50093 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50094 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50095 fi
50096
50097 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50098 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50099 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50100 fi
50101
50102 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
50103 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50104 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
50105 fi
50106
50107 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50108 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50109 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50110 fi
50111
50112 COND_PLATFORM_MACOS_1="#"
50113 if test "x$PLATFORM_MACOS" = "x1" ; then
50114 COND_PLATFORM_MACOS_1=""
50115 fi
50116
50117 COND_PLATFORM_MAC_0="#"
50118 if test "x$PLATFORM_MAC" = "x0" ; then
50119 COND_PLATFORM_MAC_0=""
50120 fi
50121
50122 COND_PLATFORM_MAC_1="#"
50123 if test "x$PLATFORM_MAC" = "x1" ; then
50124 COND_PLATFORM_MAC_1=""
50125 fi
50126
50127 COND_PLATFORM_MSDOS_0="#"
50128 if test "x$PLATFORM_MSDOS" = "x0" ; then
50129 COND_PLATFORM_MSDOS_0=""
50130 fi
50131
50132 COND_PLATFORM_MSDOS_1="#"
50133 if test "x$PLATFORM_MSDOS" = "x1" ; then
50134 COND_PLATFORM_MSDOS_1=""
50135 fi
50136
50137 COND_PLATFORM_OS2_1="#"
50138 if test "x$PLATFORM_OS2" = "x1" ; then
50139 COND_PLATFORM_OS2_1=""
50140 fi
50141
50142 COND_PLATFORM_UNIX_0="#"
50143 if test "x$PLATFORM_UNIX" = "x0" ; then
50144 COND_PLATFORM_UNIX_0=""
50145 fi
50146
50147 COND_PLATFORM_UNIX_1="#"
50148 if test "x$PLATFORM_UNIX" = "x1" ; then
50149 COND_PLATFORM_UNIX_1=""
50150 fi
50151
50152 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
50153 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50154 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
50155 fi
50156
50157 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
50158 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50159 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
50160 fi
50161
50162 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50163 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50164 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50165 fi
50166
50167 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50168 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50169 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50170 fi
50171
50172 COND_PLATFORM_WIN32_0="#"
50173 if test "x$PLATFORM_WIN32" = "x0" ; then
50174 COND_PLATFORM_WIN32_0=""
50175 fi
50176
50177 COND_PLATFORM_WIN32_1="#"
50178 if test "x$PLATFORM_WIN32" = "x1" ; then
50179 COND_PLATFORM_WIN32_1=""
50180 fi
50181
50182 COND_SHARED_0="#"
50183 if test "x$SHARED" = "x0" ; then
50184 COND_SHARED_0=""
50185 fi
50186
50187 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50188 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50189 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50190 fi
50191
50192 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50193 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50194 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50195 fi
50196
50197 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50198 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50199 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50200 fi
50201
50202 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50203 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50204 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50205 fi
50206
50207 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50208 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50209 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50210 fi
50211
50212 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50213 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50214 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50215 fi
50216
50217 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50218 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50219 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50220 fi
50221
50222 COND_SHARED_0_USE_STC_1="#"
50223 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50224 COND_SHARED_0_USE_STC_1=""
50225 fi
50226
50227 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
50228 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50229 COND_SHARED_0_wxUSE_EXPAT_builtin=""
50230 fi
50231
50232 COND_SHARED_0_wxUSE_REGEX_builtin="#"
50233 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50234 COND_SHARED_0_wxUSE_REGEX_builtin=""
50235 fi
50236
50237 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
50238 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50239 COND_SHARED_0_wxUSE_ZLIB_builtin=""
50240 fi
50241
50242 COND_SHARED_1="#"
50243 if test "x$SHARED" = "x1" ; then
50244 COND_SHARED_1=""
50245 fi
50246
50247 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50248 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50249 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50250 fi
50251
50252 COND_TOOLKIT_="#"
50253 if test "x$TOOLKIT" = "x" ; then
50254 COND_TOOLKIT_=""
50255 fi
50256
50257 COND_TOOLKIT_COCOA="#"
50258 if test "x$TOOLKIT" = "xCOCOA" ; then
50259 COND_TOOLKIT_COCOA=""
50260 fi
50261
50262 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50263 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50264 COND_TOOLKIT_COCOA_USE_GUI_1=""
50265 fi
50266
50267 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50268 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50269 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50270 fi
50271
50272 COND_TOOLKIT_DFB="#"
50273 if test "x$TOOLKIT" = "xDFB" ; then
50274 COND_TOOLKIT_DFB=""
50275 fi
50276
50277 COND_TOOLKIT_DFB_USE_GUI_1="#"
50278 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50279 COND_TOOLKIT_DFB_USE_GUI_1=""
50280 fi
50281
50282 COND_TOOLKIT_GTK="#"
50283 if test "x$TOOLKIT" = "xGTK" ; then
50284 COND_TOOLKIT_GTK=""
50285 fi
50286
50287 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50288 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50289 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50290 fi
50291
50292 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50293 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50294 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50295 fi
50296
50297 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50298 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50299 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50300 fi
50301
50302 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50303 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50304 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50305 fi
50306
50307 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50308 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50309 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50310 fi
50311
50312 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50313 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50314 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50315 fi
50316
50317 COND_TOOLKIT_GTK_USE_GUI_1="#"
50318 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50319 COND_TOOLKIT_GTK_USE_GUI_1=""
50320 fi
50321
50322 COND_TOOLKIT_MAC="#"
50323 if test "x$TOOLKIT" = "xMAC" ; then
50324 COND_TOOLKIT_MAC=""
50325 fi
50326
50327 COND_TOOLKIT_MGL="#"
50328 if test "x$TOOLKIT" = "xMGL" ; then
50329 COND_TOOLKIT_MGL=""
50330 fi
50331
50332 COND_TOOLKIT_MGL_USE_GUI_1="#"
50333 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50334 COND_TOOLKIT_MGL_USE_GUI_1=""
50335 fi
50336
50337 COND_TOOLKIT_MOTIF="#"
50338 if test "x$TOOLKIT" = "xMOTIF" ; then
50339 COND_TOOLKIT_MOTIF=""
50340 fi
50341
50342 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50343 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50344 COND_TOOLKIT_MOTIF_USE_GUI_1=""
50345 fi
50346
50347 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50348 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50349 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50350 fi
50351
50352 COND_TOOLKIT_MSW="#"
50353 if test "x$TOOLKIT" = "xMSW" ; then
50354 COND_TOOLKIT_MSW=""
50355 fi
50356
50357 COND_TOOLKIT_MSW_USE_GUI_1="#"
50358 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50359 COND_TOOLKIT_MSW_USE_GUI_1=""
50360 fi
50361
50362 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50363 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50364 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50365 fi
50366
50367 COND_TOOLKIT_MSW_WXUNIV_0="#"
50368 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50369 COND_TOOLKIT_MSW_WXUNIV_0=""
50370 fi
50371
50372 COND_TOOLKIT_OSX_CARBON="#"
50373 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50374 COND_TOOLKIT_OSX_CARBON=""
50375 fi
50376
50377 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50378 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50379 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50380 fi
50381
50382 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50383 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50384 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50385 fi
50386
50387 COND_TOOLKIT_OSX_COCOA="#"
50388 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50389 COND_TOOLKIT_OSX_COCOA=""
50390 fi
50391
50392 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50393 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50394 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50395 fi
50396
50397 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50398 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50399 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50400 fi
50401
50402 COND_TOOLKIT_OSX_IPHONE="#"
50403 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50404 COND_TOOLKIT_OSX_IPHONE=""
50405 fi
50406
50407 COND_TOOLKIT_PM="#"
50408 if test "x$TOOLKIT" = "xPM" ; then
50409 COND_TOOLKIT_PM=""
50410 fi
50411
50412 COND_TOOLKIT_PM_USE_GUI_1="#"
50413 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50414 COND_TOOLKIT_PM_USE_GUI_1=""
50415 fi
50416
50417 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50418 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50419 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50420 fi
50421
50422 COND_TOOLKIT_WINCE="#"
50423 if test "x$TOOLKIT" = "xWINCE" ; then
50424 COND_TOOLKIT_WINCE=""
50425 fi
50426
50427 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50428 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50429 COND_TOOLKIT_WINCE_USE_GUI_1=""
50430 fi
50431
50432 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50433 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50434 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50435 fi
50436
50437 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50438 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50439 COND_TOOLKIT_WINCE_WXUNIV_0=""
50440 fi
50441
50442 COND_TOOLKIT_X11="#"
50443 if test "x$TOOLKIT" = "xX11" ; then
50444 COND_TOOLKIT_X11=""
50445 fi
50446
50447 COND_TOOLKIT_X11_USE_GUI_1="#"
50448 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50449 COND_TOOLKIT_X11_USE_GUI_1=""
50450 fi
50451
50452 COND_UNICODE_1="#"
50453 if test "x$UNICODE" = "x1" ; then
50454 COND_UNICODE_1=""
50455 fi
50456
50457 COND_USE_EXCEPTIONS_0="#"
50458 if test "x$USE_EXCEPTIONS" = "x0" ; then
50459 COND_USE_EXCEPTIONS_0=""
50460 fi
50461
50462 COND_USE_EXCEPTIONS_1="#"
50463 if test "x$USE_EXCEPTIONS" = "x1" ; then
50464 COND_USE_EXCEPTIONS_1=""
50465 fi
50466
50467 COND_USE_GUI_0="#"
50468 if test "x$USE_GUI" = "x0" ; then
50469 COND_USE_GUI_0=""
50470 fi
50471
50472 COND_USE_GUI_1="#"
50473 if test "x$USE_GUI" = "x1" ; then
50474 COND_USE_GUI_1=""
50475 fi
50476
50477 COND_USE_GUI_1_USE_OPENGL_1="#"
50478 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50479 COND_USE_GUI_1_USE_OPENGL_1=""
50480 fi
50481
50482 COND_USE_GUI_1_WXUNIV_0="#"
50483 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50484 COND_USE_GUI_1_WXUNIV_0=""
50485 fi
50486
50487 COND_USE_GUI_1_WXUNIV_1="#"
50488 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50489 COND_USE_GUI_1_WXUNIV_1=""
50490 fi
50491
50492 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50493 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50494 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50495 fi
50496
50497 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50498 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50499 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50500 fi
50501
50502 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50503 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50504 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50505 fi
50506
50507 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50508 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50509 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50510 fi
50511
50512 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50513 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50514 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50515 fi
50516
50517 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50518 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50519 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50520 fi
50521
50522 COND_USE_OPENGL_1="#"
50523 if test "x$USE_OPENGL" = "x1" ; then
50524 COND_USE_OPENGL_1=""
50525 fi
50526
50527 COND_USE_PCH_1="#"
50528 if test "x$USE_PCH" = "x1" ; then
50529 COND_USE_PCH_1=""
50530 fi
50531
50532 COND_USE_PLUGINS_0="#"
50533 if test "x$USE_PLUGINS" = "x0" ; then
50534 COND_USE_PLUGINS_0=""
50535 fi
50536
50537 COND_USE_RTTI_0="#"
50538 if test "x$USE_RTTI" = "x0" ; then
50539 COND_USE_RTTI_0=""
50540 fi
50541
50542 COND_USE_RTTI_1="#"
50543 if test "x$USE_RTTI" = "x1" ; then
50544 COND_USE_RTTI_1=""
50545 fi
50546
50547 COND_USE_SOSYMLINKS_1="#"
50548 if test "x$USE_SOSYMLINKS" = "x1" ; then
50549 COND_USE_SOSYMLINKS_1=""
50550 fi
50551
50552 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50553 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50554 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50555 fi
50556
50557 COND_USE_SOVERLINUX_1="#"
50558 if test "x$USE_SOVERLINUX" = "x1" ; then
50559 COND_USE_SOVERLINUX_1=""
50560 fi
50561
50562 COND_USE_SOVERSION_0="#"
50563 if test "x$USE_SOVERSION" = "x0" ; then
50564 COND_USE_SOVERSION_0=""
50565 fi
50566
50567 COND_USE_SOVERSOLARIS_1="#"
50568 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50569 COND_USE_SOVERSOLARIS_1=""
50570 fi
50571
50572 COND_USE_STC_1="#"
50573 if test "x$USE_STC" = "x1" ; then
50574 COND_USE_STC_1=""
50575 fi
50576
50577 COND_USE_THREADS_0="#"
50578 if test "x$USE_THREADS" = "x0" ; then
50579 COND_USE_THREADS_0=""
50580 fi
50581
50582 COND_USE_THREADS_1="#"
50583 if test "x$USE_THREADS" = "x1" ; then
50584 COND_USE_THREADS_1=""
50585 fi
50586
50587 COND_USE_XRC_1="#"
50588 if test "x$USE_XRC" = "x1" ; then
50589 COND_USE_XRC_1=""
50590 fi
50591
50592 COND_WINDOWS_IMPLIB_1="#"
50593 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50594 COND_WINDOWS_IMPLIB_1=""
50595 fi
50596
50597 COND_WITH_PLUGIN_SDL_1="#"
50598 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50599 COND_WITH_PLUGIN_SDL_1=""
50600 fi
50601
50602 COND_WXUNIV_0="#"
50603 if test "x$WXUNIV" = "x0" ; then
50604 COND_WXUNIV_0=""
50605 fi
50606
50607 COND_WXUNIV_1="#"
50608 if test "x$WXUNIV" = "x1" ; then
50609 COND_WXUNIV_1=""
50610 fi
50611
50612 COND_WXUSE_EXPAT_BUILTIN="#"
50613 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50614 COND_WXUSE_EXPAT_BUILTIN=""
50615 fi
50616
50617 COND_WXUSE_LIBJPEG_BUILTIN="#"
50618 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50619 COND_WXUSE_LIBJPEG_BUILTIN=""
50620 fi
50621
50622 COND_WXUSE_LIBPNG_BUILTIN="#"
50623 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50624 COND_WXUSE_LIBPNG_BUILTIN=""
50625 fi
50626
50627 COND_WXUSE_LIBTIFF_BUILTIN="#"
50628 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50629 COND_WXUSE_LIBTIFF_BUILTIN=""
50630 fi
50631
50632 COND_WXUSE_REGEX_BUILTIN="#"
50633 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50634 COND_WXUSE_REGEX_BUILTIN=""
50635 fi
50636
50637 COND_WXUSE_ZLIB_BUILTIN="#"
50638 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50639 COND_WXUSE_ZLIB_BUILTIN=""
50640 fi
50641
50642 COND_wxUSE_EXPAT_builtin="#"
50643 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50644 COND_wxUSE_EXPAT_builtin=""
50645 fi
50646
50647 COND_wxUSE_LIBJPEG_builtin="#"
50648 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50649 COND_wxUSE_LIBJPEG_builtin=""
50650 fi
50651
50652 COND_wxUSE_LIBPNG_builtin="#"
50653 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50654 COND_wxUSE_LIBPNG_builtin=""
50655 fi
50656
50657 COND_wxUSE_LIBTIFF_builtin="#"
50658 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50659 COND_wxUSE_LIBTIFF_builtin=""
50660 fi
50661
50662 COND_wxUSE_REGEX_builtin="#"
50663 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50664 COND_wxUSE_REGEX_builtin=""
50665 fi
50666
50667 COND_wxUSE_ZLIB_builtin="#"
50668 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50669 COND_wxUSE_ZLIB_builtin=""
50670 fi
50671
50672
50673
50674 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50675 { { 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
50676 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;}
50677 { (exit 1); exit 1; }; }
50678 fi
50679
50680 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50681 { { 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
50682 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;}
50683 { (exit 1); exit 1; }; }
50684 fi
50685
50686
50687 case ${INSTALL} in
50688 /* ) # Absolute
50689 ;;
50690 ?:* ) # Drive letter, considered as absolute.
50691 ;;
50692 *)
50693 INSTALL=`pwd`/${INSTALL} ;;
50694 esac
50695
50696 if test "$wxUSE_GUI" = "yes"; then
50697
50698 if test "$wxUSE_MSW" = 1 ; then
50699 if test "x$WINDRES" = "x"; then
50700 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50701 echo "$as_me: error: Required windres program not found" >&2;}
50702 { (exit 1); exit 1; }; }
50703 fi
50704
50705 RESCOMP="$WINDRES"
50706 fi
50707
50708 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50709 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50710 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50711
50712 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50713
50714 # Extract the first word of "DeRez", so it can be a program name with args.
50715 set dummy DeRez; ac_word=$2
50716 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50718 if test "${ac_cv_prog_DEREZ+set}" = set; then
50719 echo $ECHO_N "(cached) $ECHO_C" >&6
50720 else
50721 if test -n "$DEREZ"; then
50722 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
50723 else
50724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50725 for as_dir in $PATH
50726 do
50727 IFS=$as_save_IFS
50728 test -z "$as_dir" && as_dir=.
50729 for ac_exec_ext in '' $ac_executable_extensions; do
50730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50731 ac_cv_prog_DEREZ="DeRez"
50732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50733 break 2
50734 fi
50735 done
50736 done
50737 IFS=$as_save_IFS
50738
50739 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
50740 fi
50741 fi
50742 DEREZ=$ac_cv_prog_DEREZ
50743 if test -n "$DEREZ"; then
50744 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50745 echo "${ECHO_T}$DEREZ" >&6; }
50746 else
50747 { echo "$as_me:$LINENO: result: no" >&5
50748 echo "${ECHO_T}no" >&6; }
50749 fi
50750
50751
50752
50753 MACSETFILE="\$(SETFILE)"
50754
50755 if test "$wxUSE_OSX_CARBON" = 1; then
50756 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50757 RESCOMP="$REZ"
50758 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
50759 else
50760 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50761 RESCOMP="cat /dev/null \| $REZ"
50762 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50763 fi
50764
50765 else
50766 MACSETFILE="@true"
50767
50768 if test "$wxUSE_PM" = 1; then
50769 RESCOMP="emxbind"
50770 WXCONFIG_RESFLAGS="-ep"
50771
50772 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
50773 else
50774 POSTLINK_COMMAND="@true"
50775 fi
50776 fi
50777
50778 fi
50779
50780
50781 if test $GCC_PCH = 1
50782 then
50783 if test "$wx_cv_gcc_pch_bug" = yes; then
50784 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50785 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50786 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50787 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50788 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50789 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50790 fi
50791
50792 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50793 # the headers that benefit from precompilation are mostly C++ headers.
50794 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50795 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50796 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50797 fi
50798
50799
50800 if test "$wxUSE_MAC" = 1 ; then
50801 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50802 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50803 mv temp bk-deps
50804 chmod +x bk-deps
50805 fi
50806 fi
50807
50808 if test "$wxUSE_SHARED" = "yes"; then
50809 case "${host}" in
50810 *-pc-os2_emx | *-pc-os2-emx )
50811 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50812 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50813 cp -p ${srcdir}/src/os2/dllnames.sh .
50814 cp -p ${srcdir}/src/os2/dllar.sh .
50815 ;;
50816 esac
50817 fi
50818 if test "$wxUSE_OMF" = "yes"; then
50819 case "${host}" in
50820 *-pc-os2_emx | *-pc-os2-emx )
50821 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50822 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50823 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50824 ;;
50825 esac
50826 fi
50827
50828 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50829
50830
50831 case "${host}" in
50832 *-*-solaris2* )
50833 if test "$GCC" = yes; then
50834 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
50835 LIBS=`echo $LIBS | sed 's/-mt//'`
50836 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50837 fi
50838 ;;
50839
50840 *-*-linux* )
50841 if test "x$SUNCXX" = xyes; then
50842 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
50843 LIBS=`echo $LIBS | sed 's/-pthread//'`
50844 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50845 fi
50846 ;;
50847 esac
50848
50849 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
50850 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50851 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
50852 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
50853
50854 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50855
50856
50857
50858
50859
50860
50861
50862
50863
50864
50865
50866
50867
50868
50869
50870
50871
50872
50873
50874
50875
50876
50877
50878
50879
50880
50881
50882
50883
50884
50885
50886
50887
50888
50889
50890
50891
50892
50893
50894
50895
50896
50897
50898
50899
50900
50901
50902
50903
50904
50905
50906
50907
50908
50909
50910
50911
50912
50913
50914
50915 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50916 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50917 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50918 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
50919 echo $ECHO_N "(cached) $ECHO_C" >&6
50920 else
50921 cat >conftest.make <<\_ACEOF
50922 SHELL = /bin/sh
50923 all:
50924 @echo '@@@%%%=$(MAKE)=@@@%%%'
50925 _ACEOF
50926 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50927 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50928 *@@@%%%=?*=@@@%%%*)
50929 eval ac_cv_prog_make_${ac_make}_set=yes;;
50930 *)
50931 eval ac_cv_prog_make_${ac_make}_set=no;;
50932 esac
50933 rm -f conftest.make
50934 fi
50935 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
50936 { echo "$as_me:$LINENO: result: yes" >&5
50937 echo "${ECHO_T}yes" >&6; }
50938 SET_MAKE=
50939 else
50940 { echo "$as_me:$LINENO: result: no" >&5
50941 echo "${ECHO_T}no" >&6; }
50942 SET_MAKE="MAKE=${MAKE-make}"
50943 fi
50944
50945
50946
50947 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50948
50949
50950 if test "$USE_WIN32" = 1; then
50951 ac_config_commands="$ac_config_commands
50952 rcdefs.h
50953 "
50954
50955 fi
50956
50957 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50958
50959
50960 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50961
50962
50963 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
50964
50965
50966 if test "$wx_cv_version_script" = "yes"; then
50967 ac_config_files="$ac_config_files version-script"
50968
50969 fi
50970 ac_config_files="$ac_config_files Makefile"
50971
50972
50973 ac_config_commands="$ac_config_commands wx-config"
50974
50975
50976
50977 if test "$wxWITH_SUBDIRS" != "no"; then
50978 if test "$wxUSE_GUI" = "yes"; then
50979 SUBDIRS="samples demos utils"
50980 else
50981 SUBDIRS="samples utils"
50982 fi
50983
50984
50985
50986 # Check whether --with-cppunit-prefix was given.
50987 if test "${with_cppunit_prefix+set}" = set; then
50988 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
50989 else
50990 cppunit_config_prefix=""
50991 fi
50992
50993
50994 # Check whether --with-cppunit-exec-prefix was given.
50995 if test "${with_cppunit_exec_prefix+set}" = set; then
50996 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
50997 else
50998 cppunit_config_exec_prefix=""
50999 fi
51000
51001
51002 if test x$cppunit_config_exec_prefix != x ; then
51003 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
51004 if test x${CPPUNIT_CONFIG+set} != xset ; then
51005 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
51006 fi
51007 fi
51008 if test x$cppunit_config_prefix != x ; then
51009 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
51010 if test x${CPPUNIT_CONFIG+set} != xset ; then
51011 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
51012 fi
51013 fi
51014
51015 # Extract the first word of "cppunit-config", so it can be a program name with args.
51016 set dummy cppunit-config; ac_word=$2
51017 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51018 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51019 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51020 echo $ECHO_N "(cached) $ECHO_C" >&6
51021 else
51022 case $CPPUNIT_CONFIG in
51023 [\\/]* | ?:[\\/]*)
51024 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51025 ;;
51026 *)
51027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51028 for as_dir in $PATH
51029 do
51030 IFS=$as_save_IFS
51031 test -z "$as_dir" && as_dir=.
51032 for ac_exec_ext in '' $ac_executable_extensions; do
51033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51034 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
51035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51036 break 2
51037 fi
51038 done
51039 done
51040 IFS=$as_save_IFS
51041
51042 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
51043 ;;
51044 esac
51045 fi
51046 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
51047 if test -n "$CPPUNIT_CONFIG"; then
51048 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51049 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
51050 else
51051 { echo "$as_me:$LINENO: result: no" >&5
51052 echo "${ECHO_T}no" >&6; }
51053 fi
51054
51055
51056 cppunit_version_min=1.8.0
51057
51058 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51059 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51060 no_cppunit=""
51061 if test "$CPPUNIT_CONFIG" = "no" ; then
51062 { echo "$as_me:$LINENO: result: no" >&5
51063 echo "${ECHO_T}no" >&6; }
51064 no_cppunit=yes
51065 else
51066 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
51067 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
51068 cppunit_version=`$CPPUNIT_CONFIG --version`
51069
51070 cppunit_major_version=`echo $cppunit_version | \
51071 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51072 cppunit_minor_version=`echo $cppunit_version | \
51073 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51074 cppunit_micro_version=`echo $cppunit_version | \
51075 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51076
51077 cppunit_major_min=`echo $cppunit_version_min | \
51078 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51079 cppunit_minor_min=`echo $cppunit_version_min | \
51080 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51081 cppunit_micro_min=`echo $cppunit_version_min | \
51082 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51083
51084 cppunit_version_proper=`expr \
51085 $cppunit_major_version \> $cppunit_major_min \| \
51086 $cppunit_major_version \= $cppunit_major_min \& \
51087 $cppunit_minor_version \> $cppunit_minor_min \| \
51088 $cppunit_major_version \= $cppunit_major_min \& \
51089 $cppunit_minor_version \= $cppunit_minor_min \& \
51090 $cppunit_micro_version \>= $cppunit_micro_min `
51091
51092 if test "$cppunit_version_proper" = "1" ; then
51093 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51094 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51095 else
51096 { echo "$as_me:$LINENO: result: no" >&5
51097 echo "${ECHO_T}no" >&6; }
51098 no_cppunit=yes
51099 fi
51100 fi
51101
51102 if test "x$no_cppunit" = x ; then
51103 SUBDIRS="$SUBDIRS tests"
51104 else
51105 CPPUNIT_CFLAGS=""
51106 CPPUNIT_LIBS=""
51107 :
51108 fi
51109
51110
51111
51112
51113
51114 for subdir in $SUBDIRS; do
51115 if test -d ${srcdir}/${subdir} ; then
51116 if test "$wxUSE_GUI" = "yes"; then
51117 if test ${subdir} = "samples"; then
51118 makefiles="samples/Makefile.in $makefiles"
51119 for sample in $SAMPLES_SUBDIRS; do
51120 if test -d $srcdir/samples/$sample; then
51121 makefiles="samples/$sample/Makefile.in $makefiles"
51122 fi
51123 done
51124 else
51125 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
51126 eval "disabled=\$$disabled_var"
51127 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
51128 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51129 fi
51130 else
51131 if test ${subdir} = "samples"; then
51132 makefiles="samples/Makefile.in $makefiles"
51133 for sample in `echo $SAMPLES_SUBDIRS`; do
51134 if test -d $srcdir/samples/$sample; then
51135 makefiles="samples/$sample/Makefile.in $makefiles"
51136 fi
51137 done
51138 elif test ${subdir} = "utils"; then
51139 makefiles=""
51140 for util in ifacecheck ; do
51141 if test -d $srcdir/utils/$util ; then
51142 makefiles="utils/$util/src/Makefile.in \
51143 $makefiles"
51144 fi
51145 done
51146 else
51147 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
51148 fi
51149 fi
51150
51151 for mkin in $makefiles ; do
51152 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51153 ac_config_files="$ac_config_files $mk"
51154
51155 done
51156 fi
51157 done
51158 fi
51159 cat >confcache <<\_ACEOF
51160 # This file is a shell script that caches the results of configure
51161 # tests run on this system so they can be shared between configure
51162 # scripts and configure runs, see configure's option --config-cache.
51163 # It is not useful on other systems. If it contains results you don't
51164 # want to keep, you may remove or edit it.
51165 #
51166 # config.status only pays attention to the cache file if you give it
51167 # the --recheck option to rerun configure.
51168 #
51169 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51170 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51171 # following values.
51172
51173 _ACEOF
51174
51175 # The following way of writing the cache mishandles newlines in values,
51176 # but we know of no workaround that is simple, portable, and efficient.
51177 # So, we kill variables containing newlines.
51178 # Ultrix sh set writes to stderr and can't be redirected directly,
51179 # and sets the high bit in the cache file unless we assign to the vars.
51180 (
51181 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51182 eval ac_val=\$$ac_var
51183 case $ac_val in #(
51184 *${as_nl}*)
51185 case $ac_var in #(
51186 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51187 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51188 esac
51189 case $ac_var in #(
51190 _ | IFS | as_nl) ;; #(
51191 *) $as_unset $ac_var ;;
51192 esac ;;
51193 esac
51194 done
51195
51196 (set) 2>&1 |
51197 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51198 *${as_nl}ac_space=\ *)
51199 # `set' does not quote correctly, so add quotes (double-quote
51200 # substitution turns \\\\ into \\, and sed turns \\ into \).
51201 sed -n \
51202 "s/'/'\\\\''/g;
51203 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51204 ;; #(
51205 *)
51206 # `set' quotes correctly as required by POSIX, so do not add quotes.
51207 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51208 ;;
51209 esac |
51210 sort
51211 ) |
51212 sed '
51213 /^ac_cv_env_/b end
51214 t clear
51215 :clear
51216 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51217 t end
51218 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51219 :end' >>confcache
51220 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
51221 if test -w "$cache_file"; then
51222 test "x$cache_file" != "x/dev/null" &&
51223 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51224 echo "$as_me: updating cache $cache_file" >&6;}
51225 cat confcache >$cache_file
51226 else
51227 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51228 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51229 fi
51230 fi
51231 rm -f confcache
51232
51233 test "x$prefix" = xNONE && prefix=$ac_default_prefix
51234 # Let make expand exec_prefix.
51235 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
51236
51237 DEFS=-DHAVE_CONFIG_H
51238
51239 ac_libobjs=
51240 ac_ltlibobjs=
51241 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
51242 # 1. Remove the extension, and $U if already installed.
51243 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
51244 ac_i=`echo "$ac_i" | sed "$ac_script"`
51245 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51246 # will be set to the directory where LIBOBJS objects are built.
51247 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51248 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51249 done
51250 LIBOBJS=$ac_libobjs
51251
51252 LTLIBOBJS=$ac_ltlibobjs
51253
51254
51255
51256 : ${CONFIG_STATUS=./config.status}
51257 ac_clean_files_save=$ac_clean_files
51258 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
51259 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51260 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51261 cat >$CONFIG_STATUS <<_ACEOF
51262 #! $SHELL
51263 # Generated by $as_me.
51264 # Run this file to recreate the current configuration.
51265 # Compiler output produced by configure, useful for debugging
51266 # configure, is in config.log if it exists.
51267
51268 debug=false
51269 ac_cs_recheck=false
51270 ac_cs_silent=false
51271 SHELL=\${CONFIG_SHELL-$SHELL}
51272 _ACEOF
51273
51274 cat >>$CONFIG_STATUS <<\_ACEOF
51275 ## --------------------- ##
51276 ## M4sh Initialization. ##
51277 ## --------------------- ##
51278
51279 # Be more Bourne compatible
51280 DUALCASE=1; export DUALCASE # for MKS sh
51281 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
51282 emulate sh
51283 NULLCMD=:
51284 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51285 # is contrary to our usage. Disable this feature.
51286 alias -g '${1+"$@"}'='"$@"'
51287 setopt NO_GLOB_SUBST
51288 else
51289 case `(set -o) 2>/dev/null` in
51290 *posix*) set -o posix ;;
51291 esac
51292
51293 fi
51294
51295
51296
51297
51298 # PATH needs CR
51299 # Avoid depending upon Character Ranges.
51300 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
51301 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51302 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
51303 as_cr_digits='0123456789'
51304 as_cr_alnum=$as_cr_Letters$as_cr_digits
51305
51306 # The user is always right.
51307 if test "${PATH_SEPARATOR+set}" != set; then
51308 echo "#! /bin/sh" >conf$$.sh
51309 echo "exit 0" >>conf$$.sh
51310 chmod +x conf$$.sh
51311 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51312 PATH_SEPARATOR=';'
51313 else
51314 PATH_SEPARATOR=:
51315 fi
51316 rm -f conf$$.sh
51317 fi
51318
51319 # Support unset when possible.
51320 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51321 as_unset=unset
51322 else
51323 as_unset=false
51324 fi
51325
51326
51327 # IFS
51328 # We need space, tab and new line, in precisely that order. Quoting is
51329 # there to prevent editors from complaining about space-tab.
51330 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51331 # splitting by setting IFS to empty value.)
51332 as_nl='
51333 '
51334 IFS=" "" $as_nl"
51335
51336 # Find who we are. Look in the path if we contain no directory separator.
51337 case $0 in
51338 *[\\/]* ) as_myself=$0 ;;
51339 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51340 for as_dir in $PATH
51341 do
51342 IFS=$as_save_IFS
51343 test -z "$as_dir" && as_dir=.
51344 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
51345 done
51346 IFS=$as_save_IFS
51347
51348 ;;
51349 esac
51350 # We did not find ourselves, most probably we were run as `sh COMMAND'
51351 # in which case we are not to be found in the path.
51352 if test "x$as_myself" = x; then
51353 as_myself=$0
51354 fi
51355 if test ! -f "$as_myself"; then
51356 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51357 { (exit 1); exit 1; }
51358 fi
51359
51360 # Work around bugs in pre-3.0 UWIN ksh.
51361 for as_var in ENV MAIL MAILPATH
51362 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51363 done
51364 PS1='$ '
51365 PS2='> '
51366 PS4='+ '
51367
51368 # NLS nuisances.
51369 for as_var in \
51370 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51371 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51372 LC_TELEPHONE LC_TIME
51373 do
51374 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51375 eval $as_var=C; export $as_var
51376 else
51377 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51378 fi
51379 done
51380
51381 # Required to use basename.
51382 if expr a : '\(a\)' >/dev/null 2>&1 &&
51383 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51384 as_expr=expr
51385 else
51386 as_expr=false
51387 fi
51388
51389 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51390 as_basename=basename
51391 else
51392 as_basename=false
51393 fi
51394
51395
51396 # Name of the executable.
51397 as_me=`$as_basename -- "$0" ||
51398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51399 X"$0" : 'X\(//\)$' \| \
51400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51401 echo X/"$0" |
51402 sed '/^.*\/\([^/][^/]*\)\/*$/{
51403 s//\1/
51404 q
51405 }
51406 /^X\/\(\/\/\)$/{
51407 s//\1/
51408 q
51409 }
51410 /^X\/\(\/\).*/{
51411 s//\1/
51412 q
51413 }
51414 s/.*/./; q'`
51415
51416 # CDPATH.
51417 $as_unset CDPATH
51418
51419
51420
51421 as_lineno_1=$LINENO
51422 as_lineno_2=$LINENO
51423 test "x$as_lineno_1" != "x$as_lineno_2" &&
51424 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51425
51426 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51427 # uniformly replaced by the line number. The first 'sed' inserts a
51428 # line-number line after each line using $LINENO; the second 'sed'
51429 # does the real work. The second script uses 'N' to pair each
51430 # line-number line with the line containing $LINENO, and appends
51431 # trailing '-' during substitution so that $LINENO is not a special
51432 # case at line end.
51433 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51434 # scripts with optimization help from Paolo Bonzini. Blame Lee
51435 # E. McMahon (1931-1989) for sed's syntax. :-)
51436 sed -n '
51437 p
51438 /[$]LINENO/=
51439 ' <$as_myself |
51440 sed '
51441 s/[$]LINENO.*/&-/
51442 t lineno
51443 b
51444 :lineno
51445 N
51446 :loop
51447 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51448 t loop
51449 s/-\n.*//
51450 ' >$as_me.lineno &&
51451 chmod +x "$as_me.lineno" ||
51452 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51453 { (exit 1); exit 1; }; }
51454
51455 # Don't try to exec as it changes $[0], causing all sort of problems
51456 # (the dirname of $[0] is not the place where we might find the
51457 # original and so on. Autoconf is especially sensitive to this).
51458 . "./$as_me.lineno"
51459 # Exit status is that of the last command.
51460 exit
51461 }
51462
51463
51464 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
51465 as_dirname=dirname
51466 else
51467 as_dirname=false
51468 fi
51469
51470 ECHO_C= ECHO_N= ECHO_T=
51471 case `echo -n x` in
51472 -n*)
51473 case `echo 'x\c'` in
51474 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
51475 *) ECHO_C='\c';;
51476 esac;;
51477 *)
51478 ECHO_N='-n';;
51479 esac
51480
51481 if expr a : '\(a\)' >/dev/null 2>&1 &&
51482 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51483 as_expr=expr
51484 else
51485 as_expr=false
51486 fi
51487
51488 rm -f conf$$ conf$$.exe conf$$.file
51489 if test -d conf$$.dir; then
51490 rm -f conf$$.dir/conf$$.file
51491 else
51492 rm -f conf$$.dir
51493 mkdir conf$$.dir
51494 fi
51495 echo >conf$$.file
51496 if ln -s conf$$.file conf$$ 2>/dev/null; then
51497 as_ln_s='ln -s'
51498 # ... but there are two gotchas:
51499 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51500 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51501 # In both cases, we have to default to `cp -p'.
51502 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
51503 as_ln_s='cp -p'
51504 elif ln conf$$.file conf$$ 2>/dev/null; then
51505 as_ln_s=ln
51506 else
51507 as_ln_s='cp -p'
51508 fi
51509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
51510 rmdir conf$$.dir 2>/dev/null
51511
51512 if mkdir -p . 2>/dev/null; then
51513 as_mkdir_p=:
51514 else
51515 test -d ./-p && rmdir ./-p
51516 as_mkdir_p=false
51517 fi
51518
51519 if test -x / >/dev/null 2>&1; then
51520 as_test_x='test -x'
51521 else
51522 if ls -dL / >/dev/null 2>&1; then
51523 as_ls_L_option=L
51524 else
51525 as_ls_L_option=
51526 fi
51527 as_test_x='
51528 eval sh -c '\''
51529 if test -d "$1"; then
51530 test -d "$1/.";
51531 else
51532 case $1 in
51533 -*)set "./$1";;
51534 esac;
51535 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51536 ???[sx]*):;;*)false;;esac;fi
51537 '\'' sh
51538 '
51539 fi
51540 as_executable_p=$as_test_x
51541
51542 # Sed expression to map a string onto a valid CPP name.
51543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51544
51545 # Sed expression to map a string onto a valid variable name.
51546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51547
51548
51549 exec 6>&1
51550
51551 # Save the log message, to keep $[0] and so on meaningful, and to
51552 # report actual input values of CONFIG_FILES etc. instead of their
51553 # values after options handling.
51554 ac_log="
51555 This file was extended by wxWidgets $as_me 2.9.0, which was
51556 generated by GNU Autoconf 2.61. Invocation command line was
51557
51558 CONFIG_FILES = $CONFIG_FILES
51559 CONFIG_HEADERS = $CONFIG_HEADERS
51560 CONFIG_LINKS = $CONFIG_LINKS
51561 CONFIG_COMMANDS = $CONFIG_COMMANDS
51562 $ $0 $@
51563
51564 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51565 "
51566
51567 _ACEOF
51568
51569 cat >>$CONFIG_STATUS <<_ACEOF
51570 # Files that config.status was made for.
51571 config_files="$ac_config_files"
51572 config_headers="$ac_config_headers"
51573 config_commands="$ac_config_commands"
51574
51575 _ACEOF
51576
51577 cat >>$CONFIG_STATUS <<\_ACEOF
51578 ac_cs_usage="\
51579 \`$as_me' instantiates files from templates according to the
51580 current configuration.
51581
51582 Usage: $0 [OPTIONS] [FILE]...
51583
51584 -h, --help print this help, then exit
51585 -V, --version print version number and configuration settings, then exit
51586 -q, --quiet do not print progress messages
51587 -d, --debug don't remove temporary files
51588 --recheck update $as_me by reconfiguring in the same conditions
51589 --file=FILE[:TEMPLATE]
51590 instantiate the configuration file FILE
51591 --header=FILE[:TEMPLATE]
51592 instantiate the configuration header FILE
51593
51594 Configuration files:
51595 $config_files
51596
51597 Configuration headers:
51598 $config_headers
51599
51600 Configuration commands:
51601 $config_commands
51602
51603 Report bugs to <bug-autoconf@gnu.org>."
51604
51605 _ACEOF
51606 cat >>$CONFIG_STATUS <<_ACEOF
51607 ac_cs_version="\\
51608 wxWidgets config.status 2.9.0
51609 configured by $0, generated by GNU Autoconf 2.61,
51610 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51611
51612 Copyright (C) 2006 Free Software Foundation, Inc.
51613 This config.status script is free software; the Free Software Foundation
51614 gives unlimited permission to copy, distribute and modify it."
51615
51616 ac_pwd='$ac_pwd'
51617 srcdir='$srcdir'
51618 INSTALL='$INSTALL'
51619 _ACEOF
51620
51621 cat >>$CONFIG_STATUS <<\_ACEOF
51622 # If no file are specified by the user, then we need to provide default
51623 # value. By we need to know if files were specified by the user.
51624 ac_need_defaults=:
51625 while test $# != 0
51626 do
51627 case $1 in
51628 --*=*)
51629 ac_option=`expr "X$1" : 'X\([^=]*\)='`
51630 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
51631 ac_shift=:
51632 ;;
51633 *)
51634 ac_option=$1
51635 ac_optarg=$2
51636 ac_shift=shift
51637 ;;
51638 esac
51639
51640 case $ac_option in
51641 # Handling of the options.
51642 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51643 ac_cs_recheck=: ;;
51644 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51645 echo "$ac_cs_version"; exit ;;
51646 --debug | --debu | --deb | --de | --d | -d )
51647 debug=: ;;
51648 --file | --fil | --fi | --f )
51649 $ac_shift
51650 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51651 ac_need_defaults=false;;
51652 --header | --heade | --head | --hea )
51653 $ac_shift
51654 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51655 ac_need_defaults=false;;
51656 --he | --h)
51657 # Conflict between --help and --header
51658 { echo "$as_me: error: ambiguous option: $1
51659 Try \`$0 --help' for more information." >&2
51660 { (exit 1); exit 1; }; };;
51661 --help | --hel | -h )
51662 echo "$ac_cs_usage"; exit ;;
51663 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51664 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51665 ac_cs_silent=: ;;
51666
51667 # This is an error.
51668 -*) { echo "$as_me: error: unrecognized option: $1
51669 Try \`$0 --help' for more information." >&2
51670 { (exit 1); exit 1; }; } ;;
51671
51672 *) ac_config_targets="$ac_config_targets $1"
51673 ac_need_defaults=false ;;
51674
51675 esac
51676 shift
51677 done
51678
51679 ac_configure_extra_args=
51680
51681 if $ac_cs_silent; then
51682 exec 6>/dev/null
51683 ac_configure_extra_args="$ac_configure_extra_args --silent"
51684 fi
51685
51686 _ACEOF
51687 cat >>$CONFIG_STATUS <<_ACEOF
51688 if \$ac_cs_recheck; then
51689 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51690 CONFIG_SHELL=$SHELL
51691 export CONFIG_SHELL
51692 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51693 fi
51694
51695 _ACEOF
51696 cat >>$CONFIG_STATUS <<\_ACEOF
51697 exec 5>>config.log
51698 {
51699 echo
51700 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51701 ## Running $as_me. ##
51702 _ASBOX
51703 echo "$ac_log"
51704 } >&5
51705
51706 _ACEOF
51707 cat >>$CONFIG_STATUS <<_ACEOF
51708 #
51709 # INIT-COMMANDS
51710 #
51711
51712 CPP="$CPP"
51713 infile="$srcdir/include/wx/msw/genrcdefs.h"
51714 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51715
51716
51717 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51718 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51719 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51720 LN_S="${LN_S}"
51721
51722
51723 _ACEOF
51724
51725 cat >>$CONFIG_STATUS <<\_ACEOF
51726
51727 # Handling of arguments.
51728 for ac_config_target in $ac_config_targets
51729 do
51730 case $ac_config_target in
51731 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51732 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51733 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51734 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51735 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51736 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
51737 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51738 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51739 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
51740
51741 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51742 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51743 { (exit 1); exit 1; }; };;
51744 esac
51745 done
51746
51747
51748 # If the user did not use the arguments to specify the items to instantiate,
51749 # then the envvar interface is used. Set only those that are not.
51750 # We use the long form for the default assignment because of an extremely
51751 # bizarre bug on SunOS 4.1.3.
51752 if $ac_need_defaults; then
51753 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51754 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51755 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51756 fi
51757
51758 # Have a temporary directory for convenience. Make it in the build tree
51759 # simply because there is no reason against having it here, and in addition,
51760 # creating and moving files from /tmp can sometimes cause problems.
51761 # Hook for its removal unless debugging.
51762 # Note that there is a small window in which the directory will not be cleaned:
51763 # after its creation but before its name has been assigned to `$tmp'.
51764 $debug ||
51765 {
51766 tmp=
51767 trap 'exit_status=$?
51768 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51769 ' 0
51770 trap '{ (exit 1); exit 1; }' 1 2 13 15
51771 }
51772 # Create a (secure) tmp directory for tmp files.
51773
51774 {
51775 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51776 test -n "$tmp" && test -d "$tmp"
51777 } ||
51778 {
51779 tmp=./conf$$-$RANDOM
51780 (umask 077 && mkdir "$tmp")
51781 } ||
51782 {
51783 echo "$me: cannot create a temporary directory in ." >&2
51784 { (exit 1); exit 1; }
51785 }
51786
51787 #
51788 # Set up the sed scripts for CONFIG_FILES section.
51789 #
51790
51791 # No need to generate the scripts if there are no CONFIG_FILES.
51792 # This happens for instance when ./config.status config.h
51793 if test -n "$CONFIG_FILES"; then
51794
51795 _ACEOF
51796
51797
51798
51799 ac_delim='%!_!# '
51800 for ac_last_try in false false false false false :; do
51801 cat >conf$$subs.sed <<_ACEOF
51802 SHELL!$SHELL$ac_delim
51803 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51804 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51805 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51806 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51807 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51808 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51809 exec_prefix!$exec_prefix$ac_delim
51810 prefix!$prefix$ac_delim
51811 program_transform_name!$program_transform_name$ac_delim
51812 bindir!$bindir$ac_delim
51813 sbindir!$sbindir$ac_delim
51814 libexecdir!$libexecdir$ac_delim
51815 datarootdir!$datarootdir$ac_delim
51816 datadir!$datadir$ac_delim
51817 sysconfdir!$sysconfdir$ac_delim
51818 sharedstatedir!$sharedstatedir$ac_delim
51819 localstatedir!$localstatedir$ac_delim
51820 includedir!$includedir$ac_delim
51821 oldincludedir!$oldincludedir$ac_delim
51822 docdir!$docdir$ac_delim
51823 infodir!$infodir$ac_delim
51824 htmldir!$htmldir$ac_delim
51825 dvidir!$dvidir$ac_delim
51826 pdfdir!$pdfdir$ac_delim
51827 psdir!$psdir$ac_delim
51828 libdir!$libdir$ac_delim
51829 localedir!$localedir$ac_delim
51830 mandir!$mandir$ac_delim
51831 DEFS!$DEFS$ac_delim
51832 ECHO_C!$ECHO_C$ac_delim
51833 ECHO_N!$ECHO_N$ac_delim
51834 ECHO_T!$ECHO_T$ac_delim
51835 LIBS!$LIBS$ac_delim
51836 build_alias!$build_alias$ac_delim
51837 host_alias!$host_alias$ac_delim
51838 target_alias!$target_alias$ac_delim
51839 build!$build$ac_delim
51840 build_cpu!$build_cpu$ac_delim
51841 build_vendor!$build_vendor$ac_delim
51842 build_os!$build_os$ac_delim
51843 host!$host$ac_delim
51844 host_cpu!$host_cpu$ac_delim
51845 host_vendor!$host_vendor$ac_delim
51846 host_os!$host_os$ac_delim
51847 wx_top_builddir!$wx_top_builddir$ac_delim
51848 CC!$CC$ac_delim
51849 CFLAGS!$CFLAGS$ac_delim
51850 LDFLAGS!$LDFLAGS$ac_delim
51851 CPPFLAGS!$CPPFLAGS$ac_delim
51852 ac_ct_CC!$ac_ct_CC$ac_delim
51853 EXEEXT!$EXEEXT$ac_delim
51854 OBJEXT!$OBJEXT$ac_delim
51855 CPP!$CPP$ac_delim
51856 GREP!$GREP$ac_delim
51857 EGREP!$EGREP$ac_delim
51858 CXX!$CXX$ac_delim
51859 CXXFLAGS!$CXXFLAGS$ac_delim
51860 ac_ct_CXX!$ac_ct_CXX$ac_delim
51861 AR!$AR$ac_delim
51862 subdirs!$subdirs$ac_delim
51863 PKG_CONFIG!$PKG_CONFIG$ac_delim
51864 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51865 GTK_LIBS!$GTK_LIBS$ac_delim
51866 GTK_CONFIG!$GTK_CONFIG$ac_delim
51867 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51868 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51869 XMKMF!$XMKMF$ac_delim
51870 X_CFLAGS!$X_CFLAGS$ac_delim
51871 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51872 X_LIBS!$X_LIBS$ac_delim
51873 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51874 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51875 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51876 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51877 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51878 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51879 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51880 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51881 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51882 LIBICONV!$LIBICONV$ac_delim
51883 GXX_VERSION!$GXX_VERSION$ac_delim
51884 SDL_CONFIG!$SDL_CONFIG$ac_delim
51885 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51886 SDL_LIBS!$SDL_LIBS$ac_delim
51887 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51888 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51889 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51890 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51891 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51892 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51893 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51894 HILDON_LIBS!$HILDON_LIBS$ac_delim
51895 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51896 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51897 GST_CFLAGS!$GST_CFLAGS$ac_delim
51898 GST_LIBS!$GST_LIBS$ac_delim
51899 _ACEOF
51900
51901 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51902 break
51903 elif $ac_last_try; then
51904 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51905 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51906 { (exit 1); exit 1; }; }
51907 else
51908 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51909 fi
51910 done
51911
51912 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51913 if test -n "$ac_eof"; then
51914 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51915 ac_eof=`expr $ac_eof + 1`
51916 fi
51917
51918 cat >>$CONFIG_STATUS <<_ACEOF
51919 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51920 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51921 _ACEOF
51922 sed '
51923 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51924 s/^/s,@/; s/!/@,|#_!!_#|/
51925 :n
51926 t n
51927 s/'"$ac_delim"'$/,g/; t
51928 s/$/\\/; p
51929 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51930 ' >>$CONFIG_STATUS <conf$$subs.sed
51931 rm -f conf$$subs.sed
51932 cat >>$CONFIG_STATUS <<_ACEOF
51933 CEOF$ac_eof
51934 _ACEOF
51935
51936
51937 ac_delim='%!_!# '
51938 for ac_last_try in false false false false false :; do
51939 cat >conf$$subs.sed <<_ACEOF
51940 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51941 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51942 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51943 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51944 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51945 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51946 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51947 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51948 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51949 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51950 VENDOR!$VENDOR$ac_delim
51951 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51952 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51953 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51954 WXUNIV!$WXUNIV$ac_delim
51955 MONOLITHIC!$MONOLITHIC$ac_delim
51956 USE_PLUGINS!$USE_PLUGINS$ac_delim
51957 CXXWARNINGS!$CXXWARNINGS$ac_delim
51958 EXTRALIBS!$EXTRALIBS$ac_delim
51959 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51960 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51961 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51962 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51963 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51964 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51965 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51966 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51967 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51968 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51969 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51970 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51971 UNICODE!$UNICODE$ac_delim
51972 BUILD!$BUILD$ac_delim
51973 DEBUG_INFO!$DEBUG_INFO$ac_delim
51974 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51975 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51976 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51977 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51978 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
51979 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
51980 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51981 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51982 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51983 RANLIB!$RANLIB$ac_delim
51984 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51985 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51986 INSTALL_DATA!$INSTALL_DATA$ac_delim
51987 LN_S!$LN_S$ac_delim
51988 SET_MAKE!$SET_MAKE$ac_delim
51989 MAKE_SET!$MAKE_SET$ac_delim
51990 AROPTIONS!$AROPTIONS$ac_delim
51991 STRIP!$STRIP$ac_delim
51992 NM!$NM$ac_delim
51993 INSTALL_DIR!$INSTALL_DIR$ac_delim
51994 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51995 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51996 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51997 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51998 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51999 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
52000 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
52001 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
52002 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
52003 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
52004 SO_SUFFIX!$SO_SUFFIX$ac_delim
52005 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
52006 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
52007 LIBPREFIX!$LIBPREFIX$ac_delim
52008 LIBEXT!$LIBEXT$ac_delim
52009 DLLPREFIX!$DLLPREFIX$ac_delim
52010 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
52011 dlldir!$dlldir$ac_delim
52012 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
52013 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
52014 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
52015 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
52016 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
52017 PIC_FLAG!$PIC_FLAG$ac_delim
52018 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
52019 USE_SOVERSION!$USE_SOVERSION$ac_delim
52020 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
52021 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
52022 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
52023 USE_MACVERSION!$USE_MACVERSION$ac_delim
52024 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
52025 SONAME_FLAG!$SONAME_FLAG$ac_delim
52026 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
52027 BK_DEPS!$BK_DEPS$ac_delim
52028 WINDRES!$WINDRES$ac_delim
52029 REZ!$REZ$ac_delim
52030 SETFILE!$SETFILE$ac_delim
52031 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
52032 GCC_PCH!$GCC_PCH$ac_delim
52033 ICC_PCH!$ICC_PCH$ac_delim
52034 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
52035 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
52036 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52037 _ACEOF
52038
52039 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52040 break
52041 elif $ac_last_try; then
52042 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52043 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52044 { (exit 1); exit 1; }; }
52045 else
52046 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52047 fi
52048 done
52049
52050 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52051 if test -n "$ac_eof"; then
52052 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52053 ac_eof=`expr $ac_eof + 1`
52054 fi
52055
52056 cat >>$CONFIG_STATUS <<_ACEOF
52057 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52058 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52059 _ACEOF
52060 sed '
52061 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52062 s/^/s,@/; s/!/@,|#_!!_#|/
52063 :n
52064 t n
52065 s/'"$ac_delim"'$/,g/; t
52066 s/$/\\/; p
52067 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52068 ' >>$CONFIG_STATUS <conf$$subs.sed
52069 rm -f conf$$subs.sed
52070 cat >>$CONFIG_STATUS <<_ACEOF
52071 CEOF$ac_eof
52072 _ACEOF
52073
52074
52075 ac_delim='%!_!# '
52076 for ac_last_try in false false false false false :; do
52077 cat >conf$$subs.sed <<_ACEOF
52078 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52079 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52080 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52081 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52082 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52083 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52084 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52085 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52086 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52087 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
52088 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
52089 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
52090 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
52091 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
52092 COND_BUILD_release!$COND_BUILD_release$ac_delim
52093 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
52094 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
52095 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
52096 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
52097 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
52098 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
52099 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
52100 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
52101 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52102 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52103 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
52104 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
52105 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
52106 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
52107 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52108 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52109 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52110 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
52111 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52112 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
52113 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52114 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52115 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52116 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52117 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52118 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52119 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52120 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
52121 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52122 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
52123 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52124 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
52125 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
52126 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52127 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
52128 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52129 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
52130 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
52131 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
52132 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
52133 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
52134 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52135 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52136 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52137 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52138 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52139 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52140 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52141 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52142 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52143 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52144 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
52145 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52146 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
52147 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52148 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52149 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52150 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52151 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52152 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52153 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52154 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52155 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52156 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52157 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52158 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52159 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52160 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52161 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52162 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52163 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52164 COND_SHARED_0!$COND_SHARED_0$ac_delim
52165 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52166 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52167 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52168 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52169 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52170 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52171 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52172 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52173 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52174 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52175 _ACEOF
52176
52177 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52178 break
52179 elif $ac_last_try; then
52180 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52181 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52182 { (exit 1); exit 1; }; }
52183 else
52184 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52185 fi
52186 done
52187
52188 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52189 if test -n "$ac_eof"; then
52190 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52191 ac_eof=`expr $ac_eof + 1`
52192 fi
52193
52194 cat >>$CONFIG_STATUS <<_ACEOF
52195 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52196 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52197 _ACEOF
52198 sed '
52199 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52200 s/^/s,@/; s/!/@,|#_!!_#|/
52201 :n
52202 t n
52203 s/'"$ac_delim"'$/,g/; t
52204 s/$/\\/; p
52205 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52206 ' >>$CONFIG_STATUS <conf$$subs.sed
52207 rm -f conf$$subs.sed
52208 cat >>$CONFIG_STATUS <<_ACEOF
52209 CEOF$ac_eof
52210 _ACEOF
52211
52212
52213 ac_delim='%!_!# '
52214 for ac_last_try in false false false false false :; do
52215 cat >conf$$subs.sed <<_ACEOF
52216 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52217 COND_SHARED_1!$COND_SHARED_1$ac_delim
52218 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52219 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52220 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52221 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52222 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52223 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52224 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52225 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52226 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52227 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52228 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52229 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52230 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52231 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52232 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52233 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52234 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52235 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52236 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52237 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52238 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52239 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52240 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52241 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52242 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52243 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52244 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52245 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0$ac_delim
52246 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52247 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52248 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52249 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52250 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52251 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52252 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52253 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52254 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52255 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52256 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52257 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52258 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52259 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52260 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52261 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52262 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52263 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52264 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52265 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52266 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52267 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52268 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52269 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52270 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52271 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52272 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52273 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52274 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52275 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52276 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52277 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52278 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
52279 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52280 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52281 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52282 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52283 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52284 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52285 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52286 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52287 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52288 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52289 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52290 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52291 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52292 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52293 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52294 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52295 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52296 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52297 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52298 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52299 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52300 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52301 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52302 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52303 DEREZ!$DEREZ$ac_delim
52304 SHARED!$SHARED$ac_delim
52305 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52306 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52307 USE_GUI!$USE_GUI$ac_delim
52308 AFMINSTALL!$AFMINSTALL$ac_delim
52309 WIN32INSTALL!$WIN32INSTALL$ac_delim
52310 TOOLKIT!$TOOLKIT$ac_delim
52311 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52312 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52313 _ACEOF
52314
52315 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52316 break
52317 elif $ac_last_try; then
52318 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52319 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52320 { (exit 1); exit 1; }; }
52321 else
52322 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52323 fi
52324 done
52325
52326 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52327 if test -n "$ac_eof"; then
52328 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52329 ac_eof=`expr $ac_eof + 1`
52330 fi
52331
52332 cat >>$CONFIG_STATUS <<_ACEOF
52333 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52334 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52335 _ACEOF
52336 sed '
52337 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52338 s/^/s,@/; s/!/@,|#_!!_#|/
52339 :n
52340 t n
52341 s/'"$ac_delim"'$/,g/; t
52342 s/$/\\/; p
52343 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52344 ' >>$CONFIG_STATUS <conf$$subs.sed
52345 rm -f conf$$subs.sed
52346 cat >>$CONFIG_STATUS <<_ACEOF
52347 CEOF$ac_eof
52348 _ACEOF
52349
52350
52351 ac_delim='%!_!# '
52352 for ac_last_try in false false false false false :; do
52353 cat >conf$$subs.sed <<_ACEOF
52354 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52355 cross_compiling!$cross_compiling$ac_delim
52356 WIDGET_SET!$WIDGET_SET$ac_delim
52357 WX_RELEASE!$WX_RELEASE$ac_delim
52358 WX_VERSION!$WX_VERSION$ac_delim
52359 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52360 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52361 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
52362 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52363 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52364 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52365 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52366 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52367 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52368 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52369 GUIDIST!$GUIDIST$ac_delim
52370 DISTDIR!$DISTDIR$ac_delim
52371 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52372 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52373 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52374 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52375 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52376 RESCOMP!$RESCOMP$ac_delim
52377 RESFLAGS!$RESFLAGS$ac_delim
52378 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52379 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52380 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52381 LIBWXMACRES!$LIBWXMACRES$ac_delim
52382 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52383 MACSETFILE!$MACSETFILE$ac_delim
52384 GCC!$GCC$ac_delim
52385 DLLTOOL!$DLLTOOL$ac_delim
52386 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52387 LIBOBJS!$LIBOBJS$ac_delim
52388 LTLIBOBJS!$LTLIBOBJS$ac_delim
52389 _ACEOF
52390
52391 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 35; then
52392 break
52393 elif $ac_last_try; then
52394 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52395 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52396 { (exit 1); exit 1; }; }
52397 else
52398 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52399 fi
52400 done
52401
52402 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52403 if test -n "$ac_eof"; then
52404 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52405 ac_eof=`expr $ac_eof + 1`
52406 fi
52407
52408 cat >>$CONFIG_STATUS <<_ACEOF
52409 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52410 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52411 _ACEOF
52412 sed '
52413 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52414 s/^/s,@/; s/!/@,|#_!!_#|/
52415 :n
52416 t n
52417 s/'"$ac_delim"'$/,g/; t
52418 s/$/\\/; p
52419 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52420 ' >>$CONFIG_STATUS <conf$$subs.sed
52421 rm -f conf$$subs.sed
52422 cat >>$CONFIG_STATUS <<_ACEOF
52423 :end
52424 s/|#_!!_#|//g
52425 CEOF$ac_eof
52426 _ACEOF
52427
52428
52429 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52430 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52431 # trailing colons and then remove the whole line if VPATH becomes empty
52432 # (actually we leave an empty line to preserve line numbers).
52433 if test "x$srcdir" = x.; then
52434 ac_vpsub='/^[ ]*VPATH[ ]*=/{
52435 s/:*\$(srcdir):*/:/
52436 s/:*\${srcdir}:*/:/
52437 s/:*@srcdir@:*/:/
52438 s/^\([^=]*=[ ]*\):*/\1/
52439 s/:*$//
52440 s/^[^=]*=[ ]*$//
52441 }'
52442 fi
52443
52444 cat >>$CONFIG_STATUS <<\_ACEOF
52445 fi # test -n "$CONFIG_FILES"
52446
52447
52448 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
52449 do
52450 case $ac_tag in
52451 :[FHLC]) ac_mode=$ac_tag; continue;;
52452 esac
52453 case $ac_mode$ac_tag in
52454 :[FHL]*:*);;
52455 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52456 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52457 { (exit 1); exit 1; }; };;
52458 :[FH]-) ac_tag=-:-;;
52459 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
52460 esac
52461 ac_save_IFS=$IFS
52462 IFS=:
52463 set x $ac_tag
52464 IFS=$ac_save_IFS
52465 shift
52466 ac_file=$1
52467 shift
52468
52469 case $ac_mode in
52470 :L) ac_source=$1;;
52471 :[FH])
52472 ac_file_inputs=
52473 for ac_f
52474 do
52475 case $ac_f in
52476 -) ac_f="$tmp/stdin";;
52477 *) # Look for the file first in the build tree, then in the source tree
52478 # (if the path is not absolute). The absolute path cannot be DOS-style,
52479 # because $ac_f cannot contain `:'.
52480 test -f "$ac_f" ||
52481 case $ac_f in
52482 [\\/$]*) false;;
52483 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
52484 esac ||
52485 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52486 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52487 { (exit 1); exit 1; }; };;
52488 esac
52489 ac_file_inputs="$ac_file_inputs $ac_f"
52490 done
52491
52492 # Let's still pretend it is `configure' which instantiates (i.e., don't
52493 # use $as_me), people would be surprised to read:
52494 # /* config.h. Generated by config.status. */
52495 configure_input="Generated from "`IFS=:
52496 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52497 if test x"$ac_file" != x-; then
52498 configure_input="$ac_file. $configure_input"
52499 { echo "$as_me:$LINENO: creating $ac_file" >&5
52500 echo "$as_me: creating $ac_file" >&6;}
52501 fi
52502
52503 case $ac_tag in
52504 *:-:* | *:-) cat >"$tmp/stdin";;
52505 esac
52506 ;;
52507 esac
52508
52509 ac_dir=`$as_dirname -- "$ac_file" ||
52510 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52511 X"$ac_file" : 'X\(//\)[^/]' \| \
52512 X"$ac_file" : 'X\(//\)$' \| \
52513 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52514 echo X"$ac_file" |
52515 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52516 s//\1/
52517 q
52518 }
52519 /^X\(\/\/\)[^/].*/{
52520 s//\1/
52521 q
52522 }
52523 /^X\(\/\/\)$/{
52524 s//\1/
52525 q
52526 }
52527 /^X\(\/\).*/{
52528 s//\1/
52529 q
52530 }
52531 s/.*/./; q'`
52532 { as_dir="$ac_dir"
52533 case $as_dir in #(
52534 -*) as_dir=./$as_dir;;
52535 esac
52536 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52537 as_dirs=
52538 while :; do
52539 case $as_dir in #(
52540 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52541 *) as_qdir=$as_dir;;
52542 esac
52543 as_dirs="'$as_qdir' $as_dirs"
52544 as_dir=`$as_dirname -- "$as_dir" ||
52545 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52546 X"$as_dir" : 'X\(//\)[^/]' \| \
52547 X"$as_dir" : 'X\(//\)$' \| \
52548 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52549 echo X"$as_dir" |
52550 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52551 s//\1/
52552 q
52553 }
52554 /^X\(\/\/\)[^/].*/{
52555 s//\1/
52556 q
52557 }
52558 /^X\(\/\/\)$/{
52559 s//\1/
52560 q
52561 }
52562 /^X\(\/\).*/{
52563 s//\1/
52564 q
52565 }
52566 s/.*/./; q'`
52567 test -d "$as_dir" && break
52568 done
52569 test -z "$as_dirs" || eval "mkdir $as_dirs"
52570 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52571 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52572 { (exit 1); exit 1; }; }; }
52573 ac_builddir=.
52574
52575 case "$ac_dir" in
52576 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52577 *)
52578 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52579 # A ".." for each directory in $ac_dir_suffix.
52580 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52581 case $ac_top_builddir_sub in
52582 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52583 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52584 esac ;;
52585 esac
52586 ac_abs_top_builddir=$ac_pwd
52587 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52588 # for backward compatibility:
52589 ac_top_builddir=$ac_top_build_prefix
52590
52591 case $srcdir in
52592 .) # We are building in place.
52593 ac_srcdir=.
52594 ac_top_srcdir=$ac_top_builddir_sub
52595 ac_abs_top_srcdir=$ac_pwd ;;
52596 [\\/]* | ?:[\\/]* ) # Absolute name.
52597 ac_srcdir=$srcdir$ac_dir_suffix;
52598 ac_top_srcdir=$srcdir
52599 ac_abs_top_srcdir=$srcdir ;;
52600 *) # Relative name.
52601 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52602 ac_top_srcdir=$ac_top_build_prefix$srcdir
52603 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52604 esac
52605 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52606
52607
52608 case $ac_mode in
52609 :F)
52610 #
52611 # CONFIG_FILE
52612 #
52613
52614 case $INSTALL in
52615 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
52616 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
52617 esac
52618 _ACEOF
52619
52620 cat >>$CONFIG_STATUS <<\_ACEOF
52621 # If the template does not know about datarootdir, expand it.
52622 # FIXME: This hack should be removed a few years after 2.60.
52623 ac_datarootdir_hack=; ac_datarootdir_seen=
52624
52625 case `sed -n '/datarootdir/ {
52626 p
52627 q
52628 }
52629 /@datadir@/p
52630 /@docdir@/p
52631 /@infodir@/p
52632 /@localedir@/p
52633 /@mandir@/p
52634 ' $ac_file_inputs` in
52635 *datarootdir*) ac_datarootdir_seen=yes;;
52636 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
52637 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52638 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52639 _ACEOF
52640 cat >>$CONFIG_STATUS <<_ACEOF
52641 ac_datarootdir_hack='
52642 s&@datadir@&$datadir&g
52643 s&@docdir@&$docdir&g
52644 s&@infodir@&$infodir&g
52645 s&@localedir@&$localedir&g
52646 s&@mandir@&$mandir&g
52647 s&\\\${datarootdir}&$datarootdir&g' ;;
52648 esac
52649 _ACEOF
52650
52651 # Neutralize VPATH when `$srcdir' = `.'.
52652 # Shell code in configure.ac might set extrasub.
52653 # FIXME: do we really want to maintain this feature?
52654 cat >>$CONFIG_STATUS <<_ACEOF
52655 sed "$ac_vpsub
52656 $extrasub
52657 _ACEOF
52658 cat >>$CONFIG_STATUS <<\_ACEOF
52659 :t
52660 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52661 s&@configure_input@&$configure_input&;t t
52662 s&@top_builddir@&$ac_top_builddir_sub&;t t
52663 s&@srcdir@&$ac_srcdir&;t t
52664 s&@abs_srcdir@&$ac_abs_srcdir&;t t
52665 s&@top_srcdir@&$ac_top_srcdir&;t t
52666 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
52667 s&@builddir@&$ac_builddir&;t t
52668 s&@abs_builddir@&$ac_abs_builddir&;t t
52669 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
52670 s&@INSTALL@&$ac_INSTALL&;t t
52671 $ac_datarootdir_hack
52672 " $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
52673
52674 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52675 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
52676 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
52677 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52678 which seems to be undefined. Please make sure it is defined." >&5
52679 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52680 which seems to be undefined. Please make sure it is defined." >&2;}
52681
52682 rm -f "$tmp/stdin"
52683 case $ac_file in
52684 -) cat "$tmp/out"; rm -f "$tmp/out";;
52685 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52686 esac
52687 ;;
52688 :H)
52689 #
52690 # CONFIG_HEADER
52691 #
52692 _ACEOF
52693
52694 # Transform confdefs.h into a sed script `conftest.defines', that
52695 # substitutes the proper values into config.h.in to produce config.h.
52696 rm -f conftest.defines conftest.tail
52697 # First, append a space to every undef/define line, to ease matching.
52698 echo 's/$/ /' >conftest.defines
52699 # Then, protect against being on the right side of a sed subst, or in
52700 # an unquoted here document, in config.status. If some macros were
52701 # called several times there might be several #defines for the same
52702 # symbol, which is useless. But do not sort them, since the last
52703 # AC_DEFINE must be honored.
52704 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
52705 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52706 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52707 # PARAMS is the parameter list in the macro definition--in most cases, it's
52708 # just an empty string.
52709 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52710 ac_dB='\\)[ (].*,\\1define\\2'
52711 ac_dC=' '
52712 ac_dD=' ,'
52713
52714 uniq confdefs.h |
52715 sed -n '
52716 t rset
52717 :rset
52718 s/^[ ]*#[ ]*define[ ][ ]*//
52719 t ok
52720 d
52721 :ok
52722 s/[\\&,]/\\&/g
52723 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52724 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52725 ' >>conftest.defines
52726
52727 # Remove the space that was appended to ease matching.
52728 # Then replace #undef with comments. This is necessary, for
52729 # example, in the case of _POSIX_SOURCE, which is predefined and required
52730 # on some systems where configure will not decide to define it.
52731 # (The regexp can be short, since the line contains either #define or #undef.)
52732 echo 's/ $//
52733 s,^[ #]*u.*,/* & */,' >>conftest.defines
52734
52735 # Break up conftest.defines:
52736 ac_max_sed_lines=50
52737
52738 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52739 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52740 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52741 # et cetera.
52742 ac_in='$ac_file_inputs'
52743 ac_out='"$tmp/out1"'
52744 ac_nxt='"$tmp/out2"'
52745
52746 while :
52747 do
52748 # Write a here document:
52749 cat >>$CONFIG_STATUS <<_ACEOF
52750 # First, check the format of the line:
52751 cat >"\$tmp/defines.sed" <<\\CEOF
52752 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52753 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52754 b
52755 :def
52756 _ACEOF
52757 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
52758 echo 'CEOF
52759 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52760 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
52761 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
52762 grep . conftest.tail >/dev/null || break
52763 rm -f conftest.defines
52764 mv conftest.tail conftest.defines
52765 done
52766 rm -f conftest.defines conftest.tail
52767
52768 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52769 cat >>$CONFIG_STATUS <<\_ACEOF
52770 if test x"$ac_file" != x-; then
52771 echo "/* $configure_input */" >"$tmp/config.h"
52772 cat "$ac_result" >>"$tmp/config.h"
52773 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
52774 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52775 echo "$as_me: $ac_file is unchanged" >&6;}
52776 else
52777 rm -f $ac_file
52778 mv "$tmp/config.h" $ac_file
52779 fi
52780 else
52781 echo "/* $configure_input */"
52782 cat "$ac_result"
52783 fi
52784 rm -f "$tmp/out12"
52785 ;;
52786
52787 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52788 echo "$as_me: executing $ac_file commands" >&6;}
52789 ;;
52790 esac
52791
52792
52793 case $ac_file$ac_mode in
52794 "rcdefs.h":C)
52795 mkdir -p $outdir &&
52796 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52797 ;;
52798 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52799 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52800 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
52801 "wx-config":C) rm -f wx-config
52802 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52803 ;;
52804
52805 esac
52806 done # for ac_tag
52807
52808
52809 { (exit 0); exit 0; }
52810 _ACEOF
52811 chmod +x $CONFIG_STATUS
52812 ac_clean_files=$ac_clean_files_save
52813
52814
52815 # configure is writing to config.log, and then calls config.status.
52816 # config.status does its own redirection, appending to config.log.
52817 # Unfortunately, on DOS this fails, as config.log is still kept open
52818 # by configure, so config.status won't be able to write to it; its
52819 # output is simply discarded. So we exec the FD to /dev/null,
52820 # effectively closing config.log, so it can be properly (re)opened and
52821 # appended to by config.status. When coming back to configure, we
52822 # need to make the FD available again.
52823 if test "$no_create" != yes; then
52824 ac_cs_success=:
52825 ac_config_status_args=
52826 test "$silent" = yes &&
52827 ac_config_status_args="$ac_config_status_args --quiet"
52828 exec 5>/dev/null
52829 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52830 exec 5>>config.log
52831 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52832 # would make configure fail if this is the last instruction.
52833 $ac_cs_success || { (exit 1); exit 1; }
52834 fi
52835
52836 #
52837 # CONFIG_SUBDIRS section.
52838 #
52839 if test "$no_recursion" != yes; then
52840
52841 # Remove --cache-file and --srcdir arguments so they do not pile up.
52842 ac_sub_configure_args=
52843 ac_prev=
52844 eval "set x $ac_configure_args"
52845 shift
52846 for ac_arg
52847 do
52848 if test -n "$ac_prev"; then
52849 ac_prev=
52850 continue
52851 fi
52852 case $ac_arg in
52853 -cache-file | --cache-file | --cache-fil | --cache-fi \
52854 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52855 ac_prev=cache_file ;;
52856 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52857 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52858 | --c=*)
52859 ;;
52860 --config-cache | -C)
52861 ;;
52862 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52863 ac_prev=srcdir ;;
52864 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52865 ;;
52866 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52867 ac_prev=prefix ;;
52868 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52869 ;;
52870 *)
52871 case $ac_arg in
52872 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52873 esac
52874 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
52875 esac
52876 done
52877
52878 # Always prepend --prefix to ensure using the same prefix
52879 # in subdir configurations.
52880 ac_arg="--prefix=$prefix"
52881 case $ac_arg in
52882 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52883 esac
52884 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
52885
52886 # Pass --silent
52887 if test "$silent" = yes; then
52888 ac_sub_configure_args="--silent $ac_sub_configure_args"
52889 fi
52890
52891 ac_popdir=`pwd`
52892 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52893
52894 # Do not complain, so a configure script can configure whichever
52895 # parts of a large source tree are present.
52896 test -d "$srcdir/$ac_dir" || continue
52897
52898 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52899 echo "$as_me:$LINENO: $ac_msg" >&5
52900 echo "$ac_msg" >&6
52901 { as_dir="$ac_dir"
52902 case $as_dir in #(
52903 -*) as_dir=./$as_dir;;
52904 esac
52905 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52906 as_dirs=
52907 while :; do
52908 case $as_dir in #(
52909 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52910 *) as_qdir=$as_dir;;
52911 esac
52912 as_dirs="'$as_qdir' $as_dirs"
52913 as_dir=`$as_dirname -- "$as_dir" ||
52914 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52915 X"$as_dir" : 'X\(//\)[^/]' \| \
52916 X"$as_dir" : 'X\(//\)$' \| \
52917 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52918 echo X"$as_dir" |
52919 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52920 s//\1/
52921 q
52922 }
52923 /^X\(\/\/\)[^/].*/{
52924 s//\1/
52925 q
52926 }
52927 /^X\(\/\/\)$/{
52928 s//\1/
52929 q
52930 }
52931 /^X\(\/\).*/{
52932 s//\1/
52933 q
52934 }
52935 s/.*/./; q'`
52936 test -d "$as_dir" && break
52937 done
52938 test -z "$as_dirs" || eval "mkdir $as_dirs"
52939 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52940 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52941 { (exit 1); exit 1; }; }; }
52942 ac_builddir=.
52943
52944 case "$ac_dir" in
52945 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52946 *)
52947 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52948 # A ".." for each directory in $ac_dir_suffix.
52949 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52950 case $ac_top_builddir_sub in
52951 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52952 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52953 esac ;;
52954 esac
52955 ac_abs_top_builddir=$ac_pwd
52956 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52957 # for backward compatibility:
52958 ac_top_builddir=$ac_top_build_prefix
52959
52960 case $srcdir in
52961 .) # We are building in place.
52962 ac_srcdir=.
52963 ac_top_srcdir=$ac_top_builddir_sub
52964 ac_abs_top_srcdir=$ac_pwd ;;
52965 [\\/]* | ?:[\\/]* ) # Absolute name.
52966 ac_srcdir=$srcdir$ac_dir_suffix;
52967 ac_top_srcdir=$srcdir
52968 ac_abs_top_srcdir=$srcdir ;;
52969 *) # Relative name.
52970 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52971 ac_top_srcdir=$ac_top_build_prefix$srcdir
52972 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52973 esac
52974 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52975
52976
52977 cd "$ac_dir"
52978
52979 # Check for guested configure; otherwise get Cygnus style configure.
52980 if test -f "$ac_srcdir/configure.gnu"; then
52981 ac_sub_configure=$ac_srcdir/configure.gnu
52982 elif test -f "$ac_srcdir/configure"; then
52983 ac_sub_configure=$ac_srcdir/configure
52984 elif test -f "$ac_srcdir/configure.in"; then
52985 # This should be Cygnus configure.
52986 ac_sub_configure=$ac_aux_dir/configure
52987 else
52988 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52989 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52990 ac_sub_configure=
52991 fi
52992
52993 # The recursion is here.
52994 if test -n "$ac_sub_configure"; then
52995 # Make the cache file name correct relative to the subdirectory.
52996 case $cache_file in
52997 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52998 *) # Relative name.
52999 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
53000 esac
53001
53002 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
53003 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
53004 # The eval makes quoting arguments work.
53005 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
53006 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
53007 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
53008 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
53009 { (exit 1); exit 1; }; }
53010 fi
53011
53012 cd "$ac_popdir"
53013 done
53014 fi
53015
53016
53017 echo
53018 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53019 echo ""
53020 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53021 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53022
53023 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
53024 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53025 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
53026 if test "$wxUSE_UNICODE" = "yes"; then
53027 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
53028 echo " (using UTF-8)"
53029 else
53030 echo " (using wchar_t)"
53031 fi
53032 else
53033 echo
53034 fi
53035
53036 echo " What level of wxWidgets compatibility should be enabled?"
53037 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53038 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53039
53040 echo " Which libraries should wxWidgets use?"
53041 echo " STL ${wxUSE_STL}"
53042 echo " jpeg ${wxUSE_LIBJPEG-none}"
53043 echo " png ${wxUSE_LIBPNG-none}"
53044 echo " regex ${wxUSE_REGEX}"
53045 echo " tiff ${wxUSE_LIBTIFF-none}"
53046 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53047 echo " xpm ${wxUSE_LIBXPM-none}"
53048 fi
53049 echo " zlib ${wxUSE_ZLIB}"
53050 echo " expat ${wxUSE_EXPAT}"
53051 echo " libmspack ${wxUSE_LIBMSPACK}"
53052 echo " sdl ${wxUSE_LIBSDL}"
53053
53054 echo ""
53055