]> git.saurik.com Git - wxWidgets.git/blob - configure
Automatically adjust toolbar's tool size if the provided bitmaps
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 58155 2009-01-16 19:03:26Z VZ .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh
20 NULLCMD=:
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
28 esac
29
30 fi
31
32
33
34
35 # PATH needs CR
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
42
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
47 chmod +x conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 PATH_SEPARATOR=';'
50 else
51 PATH_SEPARATOR=:
52 fi
53 rm -f conf$$.sh
54 fi
55
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 as_unset=unset
59 else
60 as_unset=false
61 fi
62
63
64 # IFS
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
69 as_nl='
70 '
71 IFS=" "" $as_nl"
72
73 # Find who we are. Look in the path if we contain no directory separator.
74 case $0 in
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 for as_dir in $PATH
78 do
79 IFS=$as_save_IFS
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 done
83 IFS=$as_save_IFS
84
85 ;;
86 esac
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
90 as_myself=$0
91 fi
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 { (exit 1); exit 1; }
95 fi
96
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 done
101 PS1='$ '
102 PS2='> '
103 PS4='+ '
104
105 # NLS nuisances.
106 for as_var in \
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 LC_TELEPHONE LC_TIME
110 do
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
113 else
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 fi
116 done
117
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 as_expr=expr
122 else
123 as_expr=false
124 fi
125
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 as_basename=basename
128 else
129 as_basename=false
130 fi
131
132
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 echo X/"$0" |
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\/\)$/{
144 s//\1/
145 q
146 }
147 /^X\/\(\/\).*/{
148 s//\1/
149 q
150 }
151 s/.*/./; q'`
152
153 # CDPATH.
154 $as_unset CDPATH
155
156
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
159 as_have_required=yes
160 else
161 as_have_required=no
162 fi
163
164 if test $as_have_required = yes && (eval ":
165 (as_func_return () {
166 (exit \$1)
167 }
168 as_func_success () {
169 as_func_return 0
170 }
171 as_func_failure () {
172 as_func_return 1
173 }
174 as_func_ret_success () {
175 return 0
176 }
177 as_func_ret_failure () {
178 return 1
179 }
180
181 exitcode=0
182 if as_func_success; then
183 :
184 else
185 exitcode=1
186 echo as_func_success failed.
187 fi
188
189 if as_func_failure; then
190 exitcode=1
191 echo as_func_failure succeeded.
192 fi
193
194 if as_func_ret_success; then
195 :
196 else
197 exitcode=1
198 echo as_func_ret_success failed.
199 fi
200
201 if as_func_ret_failure; then
202 exitcode=1
203 echo as_func_ret_failure succeeded.
204 fi
205
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 :
208 else
209 exitcode=1
210 echo positional parameters were not saved.
211 fi
212
213 test \$exitcode = 0) || { (exit 1); exit 1; }
214
215 (
216 as_lineno_1=\$LINENO
217 as_lineno_2=\$LINENO
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
221 :
222 else
223 as_candidate_shells=
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 do
227 IFS=$as_save_IFS
228 test -z "$as_dir" && as_dir=.
229 case $as_dir in
230 /*)
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 done;;
234 esac
235 done
236 IFS=$as_save_IFS
237
238
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 emulate sh
245 NULLCMD=:
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
249 setopt NO_GLOB_SUBST
250 else
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
253 esac
254
255 fi
256
257
258 :
259 _ASEOF
260 }; then
261 CONFIG_SHELL=$as_shell
262 as_have_required=yes
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 emulate sh
266 NULLCMD=:
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
270 setopt NO_GLOB_SUBST
271 else
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
274 esac
275
276 fi
277
278
279 :
280 (as_func_return () {
281 (exit $1)
282 }
283 as_func_success () {
284 as_func_return 0
285 }
286 as_func_failure () {
287 as_func_return 1
288 }
289 as_func_ret_success () {
290 return 0
291 }
292 as_func_ret_failure () {
293 return 1
294 }
295
296 exitcode=0
297 if as_func_success; then
298 :
299 else
300 exitcode=1
301 echo as_func_success failed.
302 fi
303
304 if as_func_failure; then
305 exitcode=1
306 echo as_func_failure succeeded.
307 fi
308
309 if as_func_ret_success; then
310 :
311 else
312 exitcode=1
313 echo as_func_ret_success failed.
314 fi
315
316 if as_func_ret_failure; then
317 exitcode=1
318 echo as_func_ret_failure succeeded.
319 fi
320
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 :
323 else
324 exitcode=1
325 echo positional parameters were not saved.
326 fi
327
328 test $exitcode = 0) || { (exit 1); exit 1; }
329
330 (
331 as_lineno_1=$LINENO
332 as_lineno_2=$LINENO
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335
336 _ASEOF
337 }; then
338 break
339 fi
340
341 fi
342
343 done
344
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 done
349 export CONFIG_SHELL
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 fi
352
353
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
360 fi
361
362
363 fi
364
365 fi
366
367
368
369 (eval "as_func_return () {
370 (exit \$1)
371 }
372 as_func_success () {
373 as_func_return 0
374 }
375 as_func_failure () {
376 as_func_return 1
377 }
378 as_func_ret_success () {
379 return 0
380 }
381 as_func_ret_failure () {
382 return 1
383 }
384
385 exitcode=0
386 if as_func_success; then
387 :
388 else
389 exitcode=1
390 echo as_func_success failed.
391 fi
392
393 if as_func_failure; then
394 exitcode=1
395 echo as_func_failure succeeded.
396 fi
397
398 if as_func_ret_success; then
399 :
400 else
401 exitcode=1
402 echo as_func_ret_success failed.
403 fi
404
405 if as_func_ret_failure; then
406 exitcode=1
407 echo as_func_ret_failure succeeded.
408 fi
409
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 :
412 else
413 exitcode=1
414 echo positional parameters were not saved.
415 fi
416
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
421 echo message
422 }
423
424
425
426 as_lineno_1=$LINENO
427 as_lineno_2=$LINENO
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
437 # case at line end.
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
441 sed -n '
442 p
443 /[$]LINENO/=
444 ' <$as_myself |
445 sed '
446 s/[$]LINENO.*/&-/
447 t lineno
448 b
449 :lineno
450 N
451 :loop
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 t loop
454 s/-\n.*//
455 ' >$as_me.lineno &&
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
459
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
463 . "./$as_me.lineno"
464 # Exit status is that of the last command.
465 exit
466 }
467
468
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
470 as_dirname=dirname
471 else
472 as_dirname=false
473 fi
474
475 ECHO_C= ECHO_N= ECHO_T=
476 case `echo -n x` in
477 -n*)
478 case `echo 'x\c'` in
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 *) ECHO_C='\c';;
481 esac;;
482 *)
483 ECHO_N='-n';;
484 esac
485
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 as_expr=expr
489 else
490 as_expr=false
491 fi
492
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
496 else
497 rm -f conf$$.dir
498 mkdir conf$$.dir
499 fi
500 echo >conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s='ln -s'
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 as_ln_s='cp -p'
509 elif ln conf$$.file conf$$ 2>/dev/null; then
510 as_ln_s=ln
511 else
512 as_ln_s='cp -p'
513 fi
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
516
517 if mkdir -p . 2>/dev/null; then
518 as_mkdir_p=:
519 else
520 test -d ./-p && rmdir ./-p
521 as_mkdir_p=false
522 fi
523
524 if test -x / >/dev/null 2>&1; then
525 as_test_x='test -x'
526 else
527 if ls -dL / >/dev/null 2>&1; then
528 as_ls_L_option=L
529 else
530 as_ls_L_option=
531 fi
532 as_test_x='
533 eval sh -c '\''
534 if test -d "$1"; then
535 test -d "$1/.";
536 else
537 case $1 in
538 -*)set "./$1";;
539 esac;
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
542 '\'' sh
543 '
544 fi
545 as_executable_p=$as_test_x
546
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
553
554
555 exec 7<&0 </dev/null 6>&1
556
557 # Name of the host.
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
562 #
563 # Initializations.
564 #
565 ac_default_prefix=/usr/local
566 ac_clean_files=
567 ac_config_libobj_dir=.
568 LIBOBJS=
569 cross_compiling=no
570 subdirs=
571 MFLAGS=
572 MAKEFLAGS=
573 SHELL=${CONFIG_SHELL-/bin/sh}
574
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 wx_top_builddir
665 CC
666 CFLAGS
667 LDFLAGS
668 CPPFLAGS
669 ac_ct_CC
670 EXEEXT
671 OBJEXT
672 CPP
673 GREP
674 EGREP
675 CXX
676 CXXFLAGS
677 ac_ct_CXX
678 AR
679 subdirs
680 PKG_CONFIG
681 GTK_CFLAGS
682 GTK_LIBS
683 GTK_CONFIG
684 DIRECTFB_CFLAGS
685 DIRECTFB_LIBS
686 XMKMF
687 X_CFLAGS
688 X_PRE_LIBS
689 X_LIBS
690 X_EXTRA_LIBS
691 PANGOX_CFLAGS
692 PANGOX_LIBS
693 PANGOFT2_CFLAGS
694 PANGOFT2_LIBS
695 PANGOXFT_CFLAGS
696 PANGOXFT_LIBS
697 CFLAGS_VISIBILITY
698 CXXFLAGS_VISIBILITY
699 LIBICONV
700 GXX_VERSION
701 SDL_CONFIG
702 SDL_CFLAGS
703 SDL_LIBS
704 GTKPRINT_CFLAGS
705 GTKPRINT_LIBS
706 LIBGNOMEPRINTUI_CFLAGS
707 LIBGNOMEPRINTUI_LIBS
708 GNOMEVFS_CFLAGS
709 GNOMEVFS_LIBS
710 HILDON_CFLAGS
711 HILDON_LIBS
712 CAIRO_CFLAGS
713 CAIRO_LIBS
714 GST_CFLAGS
715 GST_LIBS
716 ALL_WX_LIBS
717 BUILT_WX_LIBS
718 STD_BASE_LIBS
719 STD_GUI_LIBS
720 wxUSE_ZLIB
721 wxUSE_REGEX
722 wxUSE_EXPAT
723 wxUSE_LIBJPEG
724 wxUSE_LIBPNG
725 wxUSE_LIBTIFF
726 VENDOR
727 OFFICIAL_BUILD
728 WX_FLAVOUR
729 WX_LIB_FLAVOUR
730 WXUNIV
731 MONOLITHIC
732 USE_PLUGINS
733 CXXWARNINGS
734 EXTRALIBS
735 EXTRALIBS_XML
736 EXTRALIBS_HTML
737 EXTRALIBS_MEDIA
738 EXTRALIBS_GUI
739 EXTRALIBS_OPENGL
740 EXTRALIBS_SDL
741 EXTRALIBS_STC
742 WITH_PLUGIN_SDL
743 EXTRALIBS_GTKPRINT
744 EXTRALIBS_GNOMEPRINT
745 EXTRALIBS_GNOMEVFS
746 EXTRALIBS_HILDON
747 UNICODE
748 BUILD
749 DEBUG_INFO
750 DEBUG_FLAG
751 TOOLKIT_LOWERCASE
752 TOOLKIT_VERSION
753 SAMPLES_RPATH_FLAG
754 SAMPLES_RPATH_POSTLINK
755 HEADER_PAD_OPTION
756 HOST_SUFFIX
757 CPPUNIT_CFLAGS
758 CPPUNIT_LIBS
759 RANLIB
760 INSTALL_PROGRAM
761 INSTALL_SCRIPT
762 INSTALL_DATA
763 LN_S
764 SET_MAKE
765 MAKE_SET
766 AROPTIONS
767 STRIP
768 NM
769 INSTALL_DIR
770 LDFLAGS_GUI
771 IF_GNU_MAKE
772 PLATFORM_UNIX
773 PLATFORM_WIN32
774 PLATFORM_MSDOS
775 PLATFORM_MAC
776 PLATFORM_MACOS
777 PLATFORM_MACOSX
778 PLATFORM_OS2
779 PLATFORM_BEOS
780 SO_SUFFIX
781 SO_SUFFIX_MODULE
782 DLLIMP_SUFFIX
783 LIBPREFIX
784 LIBEXT
785 DLLPREFIX
786 DLLPREFIX_MODULE
787 dlldir
788 AIX_CXX_LD
789 SHARED_LD_CC
790 SHARED_LD_CXX
791 SHARED_LD_MODULE_CC
792 SHARED_LD_MODULE_CXX
793 PIC_FLAG
794 WINDOWS_IMPLIB
795 USE_SOVERSION
796 USE_SOVERLINUX
797 USE_SOVERSOLARIS
798 USE_SOVERCYGWIN
799 USE_MACVERSION
800 USE_SOSYMLINKS
801 SONAME_FLAG
802 DEPS_TRACKING
803 BK_DEPS
804 WINDRES
805 REZ
806 SETFILE
807 OBJCXXFLAGS
808 GCC_PCH
809 ICC_PCH
810 ICC_PCH_CREATE_SWITCH
811 ICC_PCH_USE_SWITCH
812 BK_MAKE_PCH
813 COND_BUILD_DEBUG
814 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
815 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
816 COND_BUILD_DEBUG_UNICODE_0
817 COND_BUILD_DEBUG_UNICODE_1
818 COND_BUILD_RELEASE
819 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
820 COND_BUILD_RELEASE_UNICODE_0
821 COND_BUILD_RELEASE_UNICODE_1
822 COND_BUILD_debug
823 COND_BUILD_debug_DEBUG_FLAG_default
824 COND_BUILD_debug_DEBUG_INFO_default
825 COND_BUILD_debug_UNICODE_0
826 COND_BUILD_debug_UNICODE_1
827 COND_BUILD_release
828 COND_BUILD_release_DEBUG_INFO_default
829 COND_BUILD_release_UNICODE_0
830 COND_BUILD_release_UNICODE_1
831 COND_DEBUG_FLAG_1
832 COND_DEBUG_INFO_0
833 COND_DEBUG_INFO_1
834 COND_DEPS_TRACKING_0
835 COND_DEPS_TRACKING_1
836 COND_GCC_PCH_1
837 COND_ICC_PCH_1
838 COND_MONOLITHIC_0
839 COND_MONOLITHIC_0_SHARED_0
840 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
841 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
842 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
843 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
845 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
846 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
847 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
848 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
849 COND_MONOLITHIC_0_SHARED_1
850 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
851 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
852 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
853 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
854 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
855 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
856 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
857 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
858 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
859 COND_MONOLITHIC_0_USE_AUI_1
860 COND_MONOLITHIC_0_USE_GUI_1
861 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
862 COND_MONOLITHIC_0_USE_HTML_1
863 COND_MONOLITHIC_0_USE_MEDIA_1
864 COND_MONOLITHIC_0_USE_PROPGRID_1
865 COND_MONOLITHIC_0_USE_QA_1
866 COND_MONOLITHIC_0_USE_RICHTEXT_1
867 COND_MONOLITHIC_0_USE_STC_1
868 COND_MONOLITHIC_0_USE_XRC_1
869 COND_MONOLITHIC_1
870 COND_MONOLITHIC_1_SHARED_0
871 COND_MONOLITHIC_1_SHARED_1
872 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
873 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
874 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
875 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
876 COND_PLATFORM_MACOSX_1
877 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
878 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
879 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
880 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
881 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
882 COND_PLATFORM_MACOSX_1_USE_GUI_1
883 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
884 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
885 COND_PLATFORM_MACOS_1
886 COND_PLATFORM_MAC_0
887 COND_PLATFORM_MAC_1
888 COND_PLATFORM_MSDOS_0
889 COND_PLATFORM_MSDOS_1
890 COND_PLATFORM_OS2_1
891 COND_PLATFORM_UNIX_0
892 COND_PLATFORM_UNIX_1
893 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
894 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
895 COND_PLATFORM_UNIX_1_USE_GUI_1
896 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
897 COND_PLATFORM_WIN32_0
898 COND_PLATFORM_WIN32_1
899 COND_SHARED_0
900 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
901 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
902 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
903 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
904 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
905 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
906 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
907 COND_SHARED_0_USE_STC_1
908 COND_SHARED_0_wxUSE_EXPAT_builtin
909 COND_SHARED_0_wxUSE_REGEX_builtin
910 COND_SHARED_0_wxUSE_ZLIB_builtin
911 COND_SHARED_1
912 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
913 COND_TOOLKIT_
914 COND_TOOLKIT_COCOA
915 COND_TOOLKIT_COCOA_USE_GUI_1
916 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
917 COND_TOOLKIT_DFB
918 COND_TOOLKIT_DFB_USE_GUI_1
919 COND_TOOLKIT_GTK
920 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
921 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
922 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
923 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
924 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
925 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
926 COND_TOOLKIT_GTK_USE_GUI_1
927 COND_TOOLKIT_MAC
928 COND_TOOLKIT_MGL
929 COND_TOOLKIT_MGL_USE_GUI_1
930 COND_TOOLKIT_MOTIF
931 COND_TOOLKIT_MOTIF_USE_GUI_1
932 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
933 COND_TOOLKIT_MSW
934 COND_TOOLKIT_MSW_USE_GUI_1
935 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
936 COND_TOOLKIT_MSW_WXUNIV_0
937 COND_TOOLKIT_OSX_CARBON
938 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
939 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_OSX_COCOA
941 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
942 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
943 COND_TOOLKIT_OSX_IPHONE
944 COND_TOOLKIT_PM
945 COND_TOOLKIT_PM_USE_GUI_1
946 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
947 COND_TOOLKIT_WINCE
948 COND_TOOLKIT_WINCE_USE_GUI_1
949 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
950 COND_TOOLKIT_WINCE_WXUNIV_0
951 COND_TOOLKIT_X11
952 COND_TOOLKIT_X11_USE_GUI_1
953 COND_UNICODE_1
954 COND_USE_EXCEPTIONS_0
955 COND_USE_EXCEPTIONS_1
956 COND_USE_GUI_0
957 COND_USE_GUI_1
958 COND_USE_GUI_1_USE_OPENGL_1
959 COND_USE_GUI_1_WXUNIV_0
960 COND_USE_GUI_1_WXUNIV_1
961 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
962 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
963 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
964 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
965 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
966 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
967 COND_USE_OPENGL_1
968 COND_USE_PCH_1
969 COND_USE_PLUGINS_0
970 COND_USE_RTTI_0
971 COND_USE_RTTI_1
972 COND_USE_SOSYMLINKS_1
973 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
974 COND_USE_SOVERLINUX_1
975 COND_USE_SOVERSION_0
976 COND_USE_SOVERSOLARIS_1
977 COND_USE_STC_1
978 COND_USE_THREADS_0
979 COND_USE_THREADS_1
980 COND_USE_XRC_1
981 COND_WINDOWS_IMPLIB_1
982 COND_WITH_PLUGIN_SDL_1
983 COND_WXUNIV_0
984 COND_WXUNIV_1
985 COND_WXUSE_EXPAT_BUILTIN
986 COND_WXUSE_LIBJPEG_BUILTIN
987 COND_WXUSE_LIBPNG_BUILTIN
988 COND_WXUSE_LIBTIFF_BUILTIN
989 COND_WXUSE_REGEX_BUILTIN
990 COND_WXUSE_ZLIB_BUILTIN
991 COND_wxUSE_EXPAT_builtin
992 COND_wxUSE_LIBJPEG_builtin
993 COND_wxUSE_LIBPNG_builtin
994 COND_wxUSE_LIBTIFF_builtin
995 COND_wxUSE_REGEX_builtin
996 COND_wxUSE_ZLIB_builtin
997 DEREZ
998 SHARED
999 WX_LIBRARY_BASENAME_NOGUI
1000 WX_LIBRARY_BASENAME_GUI
1001 USE_GUI
1002 AFMINSTALL
1003 WIN32INSTALL
1004 TOOLKIT
1005 TOOLKIT_DIR
1006 TOOLCHAIN_NAME
1007 TOOLCHAIN_FULLNAME
1008 cross_compiling
1009 WIDGET_SET
1010 WX_RELEASE
1011 WX_VERSION
1012 WX_SUBVERSION
1013 WX_CHARTYPE
1014 WX_DEBUGTYPE
1015 WXCONFIG_CPPFLAGS
1016 WXCONFIG_CFLAGS
1017 WXCONFIG_CXXFLAGS
1018 WXCONFIG_LIBS
1019 WXCONFIG_RPATH
1020 WXCONFIG_LDFLAGS_GUI
1021 WXCONFIG_RESFLAGS
1022 GUIDIST
1023 DISTDIR
1024 SAMPLES_SUBDIRS
1025 LDFLAGS_GL
1026 OPENGL_LIBS
1027 DMALLOC_LIBS
1028 WX_VERSION_TAG
1029 RESCOMP
1030 RESFLAGS
1031 RESPROGRAMOBJ
1032 WX_RESOURCES_MACOSX_ASCII
1033 WX_RESOURCES_MACOSX_DATA
1034 LIBWXMACRES
1035 POSTLINK_COMMAND
1036 MACSETFILE
1037 GCC
1038 DLLTOOL
1039 CPPUNIT_CONFIG
1040 LIBOBJS
1041 LTLIBOBJS'
1042 ac_subst_files=''
1043 ac_precious_vars='build_alias
1044 host_alias
1045 target_alias
1046 CC
1047 CFLAGS
1048 LDFLAGS
1049 LIBS
1050 CPPFLAGS
1051 CPP
1052 CXX
1053 CXXFLAGS
1054 CCC
1055 PKG_CONFIG
1056 DIRECTFB_CFLAGS
1057 DIRECTFB_LIBS
1058 XMKMF
1059 PANGOX_CFLAGS
1060 PANGOX_LIBS
1061 PANGOFT2_CFLAGS
1062 PANGOFT2_LIBS
1063 PANGOXFT_CFLAGS
1064 PANGOXFT_LIBS
1065 GTKPRINT_CFLAGS
1066 GTKPRINT_LIBS
1067 LIBGNOMEPRINTUI_CFLAGS
1068 LIBGNOMEPRINTUI_LIBS
1069 GNOMEVFS_CFLAGS
1070 GNOMEVFS_LIBS
1071 HILDON_CFLAGS
1072 HILDON_LIBS
1073 CAIRO_CFLAGS
1074 CAIRO_LIBS
1075 GST_CFLAGS
1076 GST_LIBS'
1077 ac_subdirs_all='src/tiff
1078 src/expat'
1079
1080 # Initialize some variables set by options.
1081 ac_init_help=
1082 ac_init_version=false
1083 # The variables have the same names as the options, with
1084 # dashes changed to underlines.
1085 cache_file=/dev/null
1086 exec_prefix=NONE
1087 no_create=
1088 no_recursion=
1089 prefix=NONE
1090 program_prefix=NONE
1091 program_suffix=NONE
1092 program_transform_name=s,x,x,
1093 silent=
1094 site=
1095 srcdir=
1096 verbose=
1097 x_includes=NONE
1098 x_libraries=NONE
1099
1100 # Installation directory options.
1101 # These are left unexpanded so users can "make install exec_prefix=/foo"
1102 # and all the variables that are supposed to be based on exec_prefix
1103 # by default will actually change.
1104 # Use braces instead of parens because sh, perl, etc. also accept them.
1105 # (The list follows the same order as the GNU Coding Standards.)
1106 bindir='${exec_prefix}/bin'
1107 sbindir='${exec_prefix}/sbin'
1108 libexecdir='${exec_prefix}/libexec'
1109 datarootdir='${prefix}/share'
1110 datadir='${datarootdir}'
1111 sysconfdir='${prefix}/etc'
1112 sharedstatedir='${prefix}/com'
1113 localstatedir='${prefix}/var'
1114 includedir='${prefix}/include'
1115 oldincludedir='/usr/include'
1116 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1117 infodir='${datarootdir}/info'
1118 htmldir='${docdir}'
1119 dvidir='${docdir}'
1120 pdfdir='${docdir}'
1121 psdir='${docdir}'
1122 libdir='${exec_prefix}/lib'
1123 localedir='${datarootdir}/locale'
1124 mandir='${datarootdir}/man'
1125
1126 ac_prev=
1127 ac_dashdash=
1128 for ac_option
1129 do
1130 # If the previous option needs an argument, assign it.
1131 if test -n "$ac_prev"; then
1132 eval $ac_prev=\$ac_option
1133 ac_prev=
1134 continue
1135 fi
1136
1137 case $ac_option in
1138 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1139 *) ac_optarg=yes ;;
1140 esac
1141
1142 # Accept the important Cygnus configure options, so we can diagnose typos.
1143
1144 case $ac_dashdash$ac_option in
1145 --)
1146 ac_dashdash=yes ;;
1147
1148 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1149 ac_prev=bindir ;;
1150 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1151 bindir=$ac_optarg ;;
1152
1153 -build | --build | --buil | --bui | --bu)
1154 ac_prev=build_alias ;;
1155 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1156 build_alias=$ac_optarg ;;
1157
1158 -cache-file | --cache-file | --cache-fil | --cache-fi \
1159 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1160 ac_prev=cache_file ;;
1161 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1162 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1163 cache_file=$ac_optarg ;;
1164
1165 --config-cache | -C)
1166 cache_file=config.cache ;;
1167
1168 -datadir | --datadir | --datadi | --datad)
1169 ac_prev=datadir ;;
1170 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1171 datadir=$ac_optarg ;;
1172
1173 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1174 | --dataroo | --dataro | --datar)
1175 ac_prev=datarootdir ;;
1176 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1177 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1178 datarootdir=$ac_optarg ;;
1179
1180 -disable-* | --disable-*)
1181 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1182 # Reject names that are not valid shell variable names.
1183 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1184 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1185 { (exit 1); exit 1; }; }
1186 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1187 eval enable_$ac_feature=no ;;
1188
1189 -docdir | --docdir | --docdi | --doc | --do)
1190 ac_prev=docdir ;;
1191 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1192 docdir=$ac_optarg ;;
1193
1194 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1195 ac_prev=dvidir ;;
1196 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1197 dvidir=$ac_optarg ;;
1198
1199 -enable-* | --enable-*)
1200 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1201 # Reject names that are not valid shell variable names.
1202 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1203 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1204 { (exit 1); exit 1; }; }
1205 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1206 eval enable_$ac_feature=\$ac_optarg ;;
1207
1208 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1209 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1210 | --exec | --exe | --ex)
1211 ac_prev=exec_prefix ;;
1212 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1213 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1214 | --exec=* | --exe=* | --ex=*)
1215 exec_prefix=$ac_optarg ;;
1216
1217 -gas | --gas | --ga | --g)
1218 # Obsolete; use --with-gas.
1219 with_gas=yes ;;
1220
1221 -help | --help | --hel | --he | -h)
1222 ac_init_help=long ;;
1223 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1224 ac_init_help=recursive ;;
1225 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1226 ac_init_help=short ;;
1227
1228 -host | --host | --hos | --ho)
1229 ac_prev=host_alias ;;
1230 -host=* | --host=* | --hos=* | --ho=*)
1231 host_alias=$ac_optarg ;;
1232
1233 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1234 ac_prev=htmldir ;;
1235 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1236 | --ht=*)
1237 htmldir=$ac_optarg ;;
1238
1239 -includedir | --includedir | --includedi | --included | --include \
1240 | --includ | --inclu | --incl | --inc)
1241 ac_prev=includedir ;;
1242 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1243 | --includ=* | --inclu=* | --incl=* | --inc=*)
1244 includedir=$ac_optarg ;;
1245
1246 -infodir | --infodir | --infodi | --infod | --info | --inf)
1247 ac_prev=infodir ;;
1248 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1249 infodir=$ac_optarg ;;
1250
1251 -libdir | --libdir | --libdi | --libd)
1252 ac_prev=libdir ;;
1253 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1254 libdir=$ac_optarg ;;
1255
1256 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1257 | --libexe | --libex | --libe)
1258 ac_prev=libexecdir ;;
1259 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1260 | --libexe=* | --libex=* | --libe=*)
1261 libexecdir=$ac_optarg ;;
1262
1263 -localedir | --localedir | --localedi | --localed | --locale)
1264 ac_prev=localedir ;;
1265 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1266 localedir=$ac_optarg ;;
1267
1268 -localstatedir | --localstatedir | --localstatedi | --localstated \
1269 | --localstate | --localstat | --localsta | --localst | --locals)
1270 ac_prev=localstatedir ;;
1271 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1272 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1273 localstatedir=$ac_optarg ;;
1274
1275 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1276 ac_prev=mandir ;;
1277 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1278 mandir=$ac_optarg ;;
1279
1280 -nfp | --nfp | --nf)
1281 # Obsolete; use --without-fp.
1282 with_fp=no ;;
1283
1284 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1285 | --no-cr | --no-c | -n)
1286 no_create=yes ;;
1287
1288 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1289 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1290 no_recursion=yes ;;
1291
1292 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1293 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1294 | --oldin | --oldi | --old | --ol | --o)
1295 ac_prev=oldincludedir ;;
1296 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1297 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1298 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1299 oldincludedir=$ac_optarg ;;
1300
1301 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1302 ac_prev=prefix ;;
1303 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1304 prefix=$ac_optarg ;;
1305
1306 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1307 | --program-pre | --program-pr | --program-p)
1308 ac_prev=program_prefix ;;
1309 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1310 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1311 program_prefix=$ac_optarg ;;
1312
1313 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1314 | --program-suf | --program-su | --program-s)
1315 ac_prev=program_suffix ;;
1316 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1317 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1318 program_suffix=$ac_optarg ;;
1319
1320 -program-transform-name | --program-transform-name \
1321 | --program-transform-nam | --program-transform-na \
1322 | --program-transform-n | --program-transform- \
1323 | --program-transform | --program-transfor \
1324 | --program-transfo | --program-transf \
1325 | --program-trans | --program-tran \
1326 | --progr-tra | --program-tr | --program-t)
1327 ac_prev=program_transform_name ;;
1328 -program-transform-name=* | --program-transform-name=* \
1329 | --program-transform-nam=* | --program-transform-na=* \
1330 | --program-transform-n=* | --program-transform-=* \
1331 | --program-transform=* | --program-transfor=* \
1332 | --program-transfo=* | --program-transf=* \
1333 | --program-trans=* | --program-tran=* \
1334 | --progr-tra=* | --program-tr=* | --program-t=*)
1335 program_transform_name=$ac_optarg ;;
1336
1337 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1338 ac_prev=pdfdir ;;
1339 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1340 pdfdir=$ac_optarg ;;
1341
1342 -psdir | --psdir | --psdi | --psd | --ps)
1343 ac_prev=psdir ;;
1344 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1345 psdir=$ac_optarg ;;
1346
1347 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1348 | -silent | --silent | --silen | --sile | --sil)
1349 silent=yes ;;
1350
1351 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1352 ac_prev=sbindir ;;
1353 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1354 | --sbi=* | --sb=*)
1355 sbindir=$ac_optarg ;;
1356
1357 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1358 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1359 | --sharedst | --shareds | --shared | --share | --shar \
1360 | --sha | --sh)
1361 ac_prev=sharedstatedir ;;
1362 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1363 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1364 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1365 | --sha=* | --sh=*)
1366 sharedstatedir=$ac_optarg ;;
1367
1368 -site | --site | --sit)
1369 ac_prev=site ;;
1370 -site=* | --site=* | --sit=*)
1371 site=$ac_optarg ;;
1372
1373 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1374 ac_prev=srcdir ;;
1375 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1376 srcdir=$ac_optarg ;;
1377
1378 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1379 | --syscon | --sysco | --sysc | --sys | --sy)
1380 ac_prev=sysconfdir ;;
1381 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1382 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1383 sysconfdir=$ac_optarg ;;
1384
1385 -target | --target | --targe | --targ | --tar | --ta | --t)
1386 ac_prev=target_alias ;;
1387 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1388 target_alias=$ac_optarg ;;
1389
1390 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1391 verbose=yes ;;
1392
1393 -version | --version | --versio | --versi | --vers | -V)
1394 ac_init_version=: ;;
1395
1396 -with-* | --with-*)
1397 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1398 # Reject names that are not valid shell variable names.
1399 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1400 { echo "$as_me: error: invalid package name: $ac_package" >&2
1401 { (exit 1); exit 1; }; }
1402 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1403 eval with_$ac_package=\$ac_optarg ;;
1404
1405 -without-* | --without-*)
1406 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1407 # Reject names that are not valid shell variable names.
1408 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1409 { echo "$as_me: error: invalid package name: $ac_package" >&2
1410 { (exit 1); exit 1; }; }
1411 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1412 eval with_$ac_package=no ;;
1413
1414 --x)
1415 # Obsolete; use --with-x.
1416 with_x=yes ;;
1417
1418 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1419 | --x-incl | --x-inc | --x-in | --x-i)
1420 ac_prev=x_includes ;;
1421 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1422 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1423 x_includes=$ac_optarg ;;
1424
1425 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1426 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1427 ac_prev=x_libraries ;;
1428 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1429 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1430 x_libraries=$ac_optarg ;;
1431
1432 -*) { echo "$as_me: error: unrecognized option: $ac_option
1433 Try \`$0 --help' for more information." >&2
1434 { (exit 1); exit 1; }; }
1435 ;;
1436
1437 *=*)
1438 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1439 # Reject names that are not valid shell variable names.
1440 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1441 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1442 { (exit 1); exit 1; }; }
1443 eval $ac_envvar=\$ac_optarg
1444 export $ac_envvar ;;
1445
1446 *)
1447 # FIXME: should be removed in autoconf 3.0.
1448 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1449 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1450 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1451 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1452 ;;
1453
1454 esac
1455 done
1456
1457 if test -n "$ac_prev"; then
1458 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1459 { echo "$as_me: error: missing argument to $ac_option" >&2
1460 { (exit 1); exit 1; }; }
1461 fi
1462
1463 # Be sure to have absolute directory names.
1464 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1465 datadir sysconfdir sharedstatedir localstatedir includedir \
1466 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1467 libdir localedir mandir
1468 do
1469 eval ac_val=\$$ac_var
1470 case $ac_val in
1471 [\\/$]* | ?:[\\/]* ) continue;;
1472 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1473 esac
1474 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1475 { (exit 1); exit 1; }; }
1476 done
1477
1478 # There might be people who depend on the old broken behavior: `$host'
1479 # used to hold the argument of --host etc.
1480 # FIXME: To remove some day.
1481 build=$build_alias
1482 host=$host_alias
1483 target=$target_alias
1484
1485 # FIXME: To remove some day.
1486 if test "x$host_alias" != x; then
1487 if test "x$build_alias" = x; then
1488 cross_compiling=maybe
1489 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1490 If a cross compiler is detected then cross compile mode will be used." >&2
1491 elif test "x$build_alias" != "x$host_alias"; then
1492 cross_compiling=yes
1493 fi
1494 fi
1495
1496 ac_tool_prefix=
1497 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1498
1499 test "$silent" = yes && exec 6>/dev/null
1500
1501
1502 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1503 ac_ls_di=`ls -di .` &&
1504 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1505 { echo "$as_me: error: Working directory cannot be determined" >&2
1506 { (exit 1); exit 1; }; }
1507 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1508 { echo "$as_me: error: pwd does not report name of working directory" >&2
1509 { (exit 1); exit 1; }; }
1510
1511
1512 # Find the source files, if location was not specified.
1513 if test -z "$srcdir"; then
1514 ac_srcdir_defaulted=yes
1515 # Try the directory containing this script, then the parent directory.
1516 ac_confdir=`$as_dirname -- "$0" ||
1517 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1518 X"$0" : 'X\(//\)[^/]' \| \
1519 X"$0" : 'X\(//\)$' \| \
1520 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1521 echo X"$0" |
1522 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1523 s//\1/
1524 q
1525 }
1526 /^X\(\/\/\)[^/].*/{
1527 s//\1/
1528 q
1529 }
1530 /^X\(\/\/\)$/{
1531 s//\1/
1532 q
1533 }
1534 /^X\(\/\).*/{
1535 s//\1/
1536 q
1537 }
1538 s/.*/./; q'`
1539 srcdir=$ac_confdir
1540 if test ! -r "$srcdir/$ac_unique_file"; then
1541 srcdir=..
1542 fi
1543 else
1544 ac_srcdir_defaulted=no
1545 fi
1546 if test ! -r "$srcdir/$ac_unique_file"; then
1547 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1548 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1549 { (exit 1); exit 1; }; }
1550 fi
1551 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1552 ac_abs_confdir=`(
1553 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1554 { (exit 1); exit 1; }; }
1555 pwd)`
1556 # When building in place, set srcdir=.
1557 if test "$ac_abs_confdir" = "$ac_pwd"; then
1558 srcdir=.
1559 fi
1560 # Remove unnecessary trailing slashes from srcdir.
1561 # Double slashes in file names in object file debugging info
1562 # mess up M-x gdb in Emacs.
1563 case $srcdir in
1564 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1565 esac
1566 for ac_var in $ac_precious_vars; do
1567 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1568 eval ac_env_${ac_var}_value=\$${ac_var}
1569 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1570 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1571 done
1572
1573 #
1574 # Report the --help message.
1575 #
1576 if test "$ac_init_help" = "long"; then
1577 # Omit some internal or obsolete options to make the list less imposing.
1578 # This message is too long to be a string in the A/UX 3.1 sh.
1579 cat <<_ACEOF
1580 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1581
1582 Usage: $0 [OPTION]... [VAR=VALUE]...
1583
1584 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1585 VAR=VALUE. See below for descriptions of some of the useful variables.
1586
1587 Defaults for the options are specified in brackets.
1588
1589 Configuration:
1590 -h, --help display this help and exit
1591 --help=short display options specific to this package
1592 --help=recursive display the short help of all the included packages
1593 -V, --version display version information and exit
1594 -q, --quiet, --silent do not print \`checking...' messages
1595 --cache-file=FILE cache test results in FILE [disabled]
1596 -C, --config-cache alias for \`--cache-file=config.cache'
1597 -n, --no-create do not create output files
1598 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1599
1600 Installation directories:
1601 --prefix=PREFIX install architecture-independent files in PREFIX
1602 [$ac_default_prefix]
1603 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1604 [PREFIX]
1605
1606 By default, \`make install' will install all the files in
1607 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1608 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1609 for instance \`--prefix=\$HOME'.
1610
1611 For better control, use the options below.
1612
1613 Fine tuning of the installation directories:
1614 --bindir=DIR user executables [EPREFIX/bin]
1615 --sbindir=DIR system admin executables [EPREFIX/sbin]
1616 --libexecdir=DIR program executables [EPREFIX/libexec]
1617 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1618 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1619 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1620 --libdir=DIR object code libraries [EPREFIX/lib]
1621 --includedir=DIR C header files [PREFIX/include]
1622 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1623 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1624 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1625 --infodir=DIR info documentation [DATAROOTDIR/info]
1626 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1627 --mandir=DIR man documentation [DATAROOTDIR/man]
1628 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1629 --htmldir=DIR html documentation [DOCDIR]
1630 --dvidir=DIR dvi documentation [DOCDIR]
1631 --pdfdir=DIR pdf documentation [DOCDIR]
1632 --psdir=DIR ps documentation [DOCDIR]
1633 _ACEOF
1634
1635 cat <<\_ACEOF
1636
1637 X features:
1638 --x-includes=DIR X include files are in DIR
1639 --x-libraries=DIR X library files are in DIR
1640
1641 System types:
1642 --build=BUILD configure for building on BUILD [guessed]
1643 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1644 _ACEOF
1645 fi
1646
1647 if test -n "$ac_init_help"; then
1648 case $ac_init_help in
1649 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1650 esac
1651 cat <<\_ACEOF
1652
1653 Optional Features:
1654 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1655 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1656 --disable-gui don't build GUI parts of the library
1657 --enable-monolithic build wxWidgets as single library
1658 --enable-plugins build parts of wxWidgets as loadable components
1659 --enable-official_build official build of wxWidgets (win32 DLL only)
1660 --enable-vendor=VENDOR vendor name (win32 DLL only)
1661 --disable-all-features disable all optional features to build minimal library
1662 --enable-universal use wxWidgets GUI controls instead of native ones
1663 --enable-nanox use NanoX
1664 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1665 --enable-gpe use GNOME PDA Environment features if possible
1666 --disable-shared create static library instead of shared
1667 --enable-debug same as debug_flag and debug_info
1668 --enable-stl use STL for containers
1669 --enable-std_iostreams use standard C++ stream classes
1670 --enable-std_string use standard C++ string classes
1671 --disable-unicode compile without Unicode support
1672 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1673 --enable-utf8 use UTF-8 representation for strings (Unix only)
1674 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1675 --enable-extended_rtti use extended RTTI (XTI)
1676 --enable-omf use OMF object format
1677 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1678 --enable-debug_info create code with debugging information
1679 --disable-optimise compile without optimisations
1680 --enable-debug_gdb create code with extra GDB debugging information
1681 --enable-debug_cntxt use wxDebugContext
1682 --enable-mem_tracing create code with memory tracing
1683 --enable-profile create code with profiling information
1684 --enable-no_rtti create code without RTTI information
1685 --enable-no_exceptions create code without C++ exceptions handling
1686 --enable-permissive compile code disregarding strict ANSI
1687 --enable-no_deps create code without dependency information
1688 --disable-vararg_macros don't use vararg macros, even if they are supported
1689 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1690 --enable-compat26 enable wxWidgets 2.6 compatibility
1691 --disable-compat28 disable wxWidgets 2.8 compatibility
1692 --disable-rpath disable use of rpath for uninstalled builds
1693 --enable-objc_uniquifying enable Objective-C class name uniquifying
1694 --disable-visibility disable use of ELF symbols visibility even if supported
1695 --enable-intl use internationalization system
1696 --enable-xlocale use x-locale support (requires wxLocale)
1697 --enable-config use wxConfig (and derived) classes
1698 --enable-protocols use wxProtocol and derived classes
1699 --enable-ftp use wxFTP (requires wxProtocol
1700 --enable-http use wxHTTP (requires wxProtocol
1701 --enable-fileproto use wxFileProto class (requires wxProtocol
1702 --enable-sockets use socket/network classes
1703 --enable-ipv6 enable IPv6 support in wxSocket
1704 --enable-ole use OLE classes (Win32 only)
1705 --enable-dataobj use data object classes
1706 --enable-ipc use interprocess communication (wxSocket etc.)
1707 --enable-baseevtloop use event loop in console programs too
1708 --enable-epollloop use wxEpollDispatcher class (Linux only)
1709 --enable-selectloop use wxSelectDispatcher class
1710 --enable-apple_ieee use the Apple IEEE codec
1711 --enable-arcstream use wxArchive streams
1712 --enable-base64 use base64 encoding/decoding functions
1713 --enable-backtrace use wxStackWalker class for getting backtraces
1714 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1715 --enable-cmdline use wxCmdLineParser class
1716 --enable-datetime use wxDateTime class
1717 --enable-debugreport use wxDebugReport class
1718 --enable-dialupman use dialup network classes
1719 --enable-dynlib use wxLibrary class for DLL loading
1720 --enable-dynamicloader use (new) wxDynamicLibrary class
1721 --enable-exceptions build exception-safe library
1722 --enable-ffile use wxFFile class
1723 --enable-file use wxFile class
1724 --enable-filesystem use virtual file systems classes
1725 --enable-fontenum use wxFontEnumerator class
1726 --enable-fontmap use font encodings conversion classes
1727 --enable-fs_archive use virtual archive filesystems
1728 --enable-fs_inet use virtual HTTP/FTP filesystems
1729 --enable-fs_zip now replaced by fs_archive
1730 --enable-geometry use geometry class
1731 --enable-log use logging system
1732 --enable-longlong use wxLongLong class
1733 --enable-mimetype use wxMimeTypesManager
1734 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1735 --enable-snglinst use wxSingleInstanceChecker class
1736 --enable-sound use wxSound class
1737 --enable-stdpaths use wxStandardPaths class
1738 --enable-stopwatch use wxStopWatch class
1739 --enable-streams use wxStream etc classes
1740 --enable-sysoptions use wxSystemOptions
1741 --enable-tarstream use wxTar streams
1742 --enable-textbuf use wxTextBuffer class
1743 --enable-textfile use wxTextFile class
1744 --enable-timer use wxTimer class
1745 --enable-variant use wxVariant class
1746 --enable-zipstream use wxZip streams
1747 --enable-url use wxURL class
1748 --enable-protocol use wxProtocol class
1749 --enable-protocol-http HTTP support in wxProtocol
1750 --enable-protocol-ftp FTP support in wxProtocol
1751 --enable-protocol-file FILE support in wxProtocol
1752 --enable-threads use threads
1753 --enable-iniconf use wxIniConfig (Win32 only)
1754 --enable-regkey use wxRegKey class (Win32 only)
1755 --enable-docview use document view architecture
1756 --enable-help use help subsystem
1757 --enable-mshtmlhelp use MS HTML Help (win32)
1758 --enable-html use wxHTML sub-library
1759 --enable-htmlhelp use wxHTML-based help
1760 --enable-xrc use XRC resources sub-library
1761 --enable-aui use AUI docking library
1762 --enable-propgrid use wxPropertyGrid library
1763 --enable-stc use wxStyledTextCtrl library
1764 --enable-constraints use layout-constraints system
1765 --enable-loggui use standard GUI logger
1766 --enable-logwin use wxLogWindow
1767 --enable-logdialog use wxLogDialog
1768 --enable-mdi use multiple document interface architecture
1769 --enable-mdidoc use docview architecture with MDI
1770 --enable-mediactrl use wxMediaCtrl class
1771 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1772 --enable-webkit use wxWebKitCtrl (Mac)
1773 --enable-richtext use wxRichTextCtrl
1774 --enable-graphics_ctx use graphics context 2D drawing API
1775 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1776 --enable-printarch use printing architecture
1777 --enable-svg use wxSVGFileDC device context
1778 --enable-clipboard use wxClipboard class
1779 --enable-dnd use Drag'n'Drop classes
1780 --enable-metafile use win32 metafiles
1781 --disable-controls disable compilation of all standard controls
1782 --enable-accel use accelerators
1783 --enable-animatectrl use wxAnimationCtrl class
1784 --enable-bmpbutton use wxBitmapButton class
1785 --enable-bmpcombobox use wxBitmapComboBox class
1786 --enable-button use wxButton class
1787 --enable-calendar use wxCalendarCtrl class
1788 --enable-caret use wxCaret class
1789 --enable-checkbox use wxCheckBox class
1790 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1791 --enable-choice use wxChoice class
1792 --enable-choicebook use wxChoicebook class
1793 --enable-collpane use wxCollapsiblePane class
1794 --enable-colourpicker use wxColourPickerCtrl class
1795 --enable-combobox use wxComboBox class
1796 --enable-comboctrl use wxComboCtrl class
1797 --enable-dataviewctrl use wxDataViewCtrl class
1798 --enable-datepick use wxDatePickerCtrl class
1799 --enable-detect_sm use code to detect X11 session manager
1800 --enable-dirpicker use wxDirPickerCtrl class
1801 --enable-display use wxDisplay class
1802 --enable-editablebox use wxEditableListBox class
1803 --enable-filectrl use wxFileCtrl class
1804 --enable-filepicker use wxFilePickerCtrl class
1805 --enable-fontpicker use wxFontPickerCtrl class
1806 --enable-gauge use wxGauge class
1807 --enable-grid use wxGrid class
1808 --enable-headerctrl use wxHeaderCtrl class
1809 --enable-hyperlink use wxHyperlinkCtrl class
1810 --enable-imaglist use wxImageList class
1811 --enable-listbook use wxListbook class
1812 --enable-listbox use wxListBox class
1813 --enable-listctrl use wxListCtrl class
1814 --enable-notebook use wxNotebook class
1815 --enable-notifmsg use wxNotificationMessage class
1816 --enable-odcombobox use wxOwnerDrawnComboBox class
1817 --enable-popupwin use wxPopUpWindow class
1818 --enable-radiobox use wxRadioBox class
1819 --enable-radiobtn use wxRadioButton class
1820 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1821 --enable-sash use wxSashWindow class
1822 --enable-scrollbar use wxScrollBar class and scrollable windows
1823 --enable-searchctrl use wxSearchCtrl class
1824 --enable-slider use wxSlider class
1825 --enable-spinbtn use wxSpinButton class
1826 --enable-spinctrl use wxSpinCtrl class
1827 --enable-splitter use wxSplitterWindow class
1828 --enable-statbmp use wxStaticBitmap class
1829 --enable-statbox use wxStaticBox class
1830 --enable-statline use wxStaticLine class
1831 --enable-stattext use wxStaticText class
1832 --enable-statusbar use wxStatusBar class
1833 --enable-taskbaricon use wxTaskBarIcon class
1834 --enable-tbarnative use native wxToolBar class
1835 --enable-textctrl use wxTextCtrl class
1836 --enable-tipwindow use wxTipWindow class
1837 --enable-togglebtn use wxToggleButton class
1838 --enable-toolbar use wxToolBar class
1839 --enable-toolbook use wxToolbook class
1840 --enable-treebook use wxTreebook class
1841 --enable-treectrl use wxTreeCtrl class
1842 --enable-commondlg use all common dialogs
1843 --enable-aboutdlg use wxAboutBox
1844 --enable-choicedlg use wxChoiceDialog
1845 --enable-coldlg use wxColourDialog
1846 --enable-filedlg use wxFileDialog
1847 --enable-finddlg use wxFindReplaceDialog
1848 --enable-fontdlg use wxFontDialog
1849 --enable-dirdlg use wxDirDialog
1850 --enable-msgdlg use wxMessageDialog
1851 --enable-numberdlg use wxNumberEntryDialog
1852 --enable-splash use wxSplashScreen
1853 --enable-textdlg use wxTextDialog
1854 --enable-tipdlg use startup tips
1855 --enable-progressdlg use wxProgressDialog
1856 --enable-wizarddlg use wxWizard
1857 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1858 --enable-miniframe use wxMiniFrame class
1859 --enable-tooltips use wxToolTip class
1860 --enable-splines use spline drawing code
1861 --enable-mousewheel use mousewheel
1862 --enable-validators use wxValidator and derived classes
1863 --enable-busyinfo use wxBusyInfo
1864 --enable-joystick use wxJoystick
1865 --enable-metafiles use wxMetaFile (Win32 only)
1866 --enable-dragimage use wxDragImage
1867 --enable-accessibility enable accessibility support
1868 --enable-palette use wxPalette class
1869 --enable-image use wxImage class
1870 --enable-gif use gif images (GIF file format)
1871 --enable-pcx use pcx images (PCX file format)
1872 --enable-tga use tga images (TGA file format)
1873 --enable-iff use iff images (IFF file format)
1874 --enable-pnm use pnm images (PNM file format)
1875 --enable-xpm use xpm images (XPM file format)
1876 --enable-ico_cur use Windows ICO and CUR formats
1877 --enable-dccache cache temporary wxDC objects (Win32 only)
1878 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1879 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1880 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1881 --enable-wxdib use wxDIB class (Win32 only)
1882 --enable-autoidman use automatic ids management
1883 --disable-largefile omit support for large files
1884 --disable-gtktest do not try to compile and run a test GTK+ program
1885 --disable-gtktest Do not try to compile and run a test GTK program
1886 --disable-sdltest Do not try to compile and run a test SDL program
1887 --enable-omf use OMF object format (OS/2)
1888 --disable-dependency-tracking
1889 don't use dependency tracking even if the compiler
1890 can
1891 --disable-precomp-headers
1892 don't use precompiled headers even if compiler can
1893
1894 Optional Packages:
1895 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1896 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1897 --without-subdirs don't generate makefiles for samples/demos/...
1898 --with-flavour=NAME specify a name to identify this build
1899 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1900 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1901 --with-motif use Motif/Lesstif
1902 --with-osx_carbon use Mac OS X (Carbon)
1903 --with-osx_cocoa use Mac OS X (Cocoa)
1904 --with-mac use Mac OS X (Default)
1905 --with-cocoa use Cocoa
1906 --with-wine use Wine
1907 --with-msw use MS-Windows
1908 --with-pm use OS/2 Presentation Manager
1909 --with-mgl use SciTech MGL
1910 --with-directfb use DirectFB
1911 --with-microwin use MicroWindows
1912 --with-x11 use X11
1913 --with-libpng use libpng (PNG image format)
1914 --with-libjpeg use libjpeg (JPEG file format)
1915 --with-libtiff use libtiff (TIFF file format)
1916 --with-libxpm use libxpm (XPM file format)
1917 --with-libiconv use libiconv (character conversion)
1918 --with-libmspack use libmspack (CHM help files loading)
1919 --without-gtkprint don't use GTK printing support
1920 --without-gnomeprint don't use GNOME printing libraries
1921 --with-gnomevfs use GNOME VFS for associating MIME types
1922 --with-hildon use Hildon framework for Nokia 770
1923 --with-opengl use OpenGL (or Mesa)
1924 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1925 --with-sdl use SDL for audio on Unix
1926 --with-regex enable support for wxRegEx class
1927 --with-zlib use zlib for LZW compression
1928 --with-expat enable XML support using expat parser
1929 --with-macosx-sdk=PATH use an OS X SDK at PATH
1930 --with-macosx-version-min=VER build binaries which require at least this OS X version
1931 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1932 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1933 --with-x use the X Window System
1934 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1935 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1936 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1937 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1938 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1939
1940 Some influential environment variables:
1941 CC C compiler command
1942 CFLAGS C compiler flags
1943 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1944 nonstandard directory <lib dir>
1945 LIBS libraries to pass to the linker, e.g. -l<library>
1946 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1947 you have headers in a nonstandard directory <include dir>
1948 CPP C preprocessor
1949 CXX C++ compiler command
1950 CXXFLAGS C++ compiler flags
1951 PKG_CONFIG path to pkg-config utility
1952 DIRECTFB_CFLAGS
1953 C compiler flags for DIRECTFB, overriding pkg-config
1954 DIRECTFB_LIBS
1955 linker flags for DIRECTFB, overriding pkg-config
1956 XMKMF Path to xmkmf, Makefile generator for X Window System
1957 PANGOX_CFLAGS
1958 C compiler flags for PANGOX, overriding pkg-config
1959 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1960 PANGOFT2_CFLAGS
1961 C compiler flags for PANGOFT2, overriding pkg-config
1962 PANGOFT2_LIBS
1963 linker flags for PANGOFT2, overriding pkg-config
1964 PANGOXFT_CFLAGS
1965 C compiler flags for PANGOXFT, overriding pkg-config
1966 PANGOXFT_LIBS
1967 linker flags for PANGOXFT, overriding pkg-config
1968 GTKPRINT_CFLAGS
1969 C compiler flags for GTKPRINT, overriding pkg-config
1970 GTKPRINT_LIBS
1971 linker flags for GTKPRINT, overriding pkg-config
1972 LIBGNOMEPRINTUI_CFLAGS
1973 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1974 LIBGNOMEPRINTUI_LIBS
1975 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1976 GNOMEVFS_CFLAGS
1977 C compiler flags for GNOMEVFS, overriding pkg-config
1978 GNOMEVFS_LIBS
1979 linker flags for GNOMEVFS, overriding pkg-config
1980 HILDON_CFLAGS
1981 C compiler flags for HILDON, overriding pkg-config
1982 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1983 CAIRO_CFLAGS
1984 C compiler flags for CAIRO, overriding pkg-config
1985 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1986 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1987 GST_LIBS linker flags for GST, overriding pkg-config
1988
1989 Use these variables to override the choices made by `configure' or to help
1990 it to find libraries and programs with nonstandard names/locations.
1991
1992 Report bugs to <wx-dev@lists.wxwidgets.org>.
1993 _ACEOF
1994 ac_status=$?
1995 fi
1996
1997 if test "$ac_init_help" = "recursive"; then
1998 # If there are subdirs, report their specific --help.
1999 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2000 test -d "$ac_dir" || continue
2001 ac_builddir=.
2002
2003 case "$ac_dir" in
2004 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2005 *)
2006 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2007 # A ".." for each directory in $ac_dir_suffix.
2008 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2009 case $ac_top_builddir_sub in
2010 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2011 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2012 esac ;;
2013 esac
2014 ac_abs_top_builddir=$ac_pwd
2015 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2016 # for backward compatibility:
2017 ac_top_builddir=$ac_top_build_prefix
2018
2019 case $srcdir in
2020 .) # We are building in place.
2021 ac_srcdir=.
2022 ac_top_srcdir=$ac_top_builddir_sub
2023 ac_abs_top_srcdir=$ac_pwd ;;
2024 [\\/]* | ?:[\\/]* ) # Absolute name.
2025 ac_srcdir=$srcdir$ac_dir_suffix;
2026 ac_top_srcdir=$srcdir
2027 ac_abs_top_srcdir=$srcdir ;;
2028 *) # Relative name.
2029 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2030 ac_top_srcdir=$ac_top_build_prefix$srcdir
2031 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2032 esac
2033 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2034
2035 cd "$ac_dir" || { ac_status=$?; continue; }
2036 # Check for guested configure.
2037 if test -f "$ac_srcdir/configure.gnu"; then
2038 echo &&
2039 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2040 elif test -f "$ac_srcdir/configure"; then
2041 echo &&
2042 $SHELL "$ac_srcdir/configure" --help=recursive
2043 else
2044 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2045 fi || ac_status=$?
2046 cd "$ac_pwd" || { ac_status=$?; break; }
2047 done
2048 fi
2049
2050 test -n "$ac_init_help" && exit $ac_status
2051 if $ac_init_version; then
2052 cat <<\_ACEOF
2053 wxWidgets configure 2.9.0
2054 generated by GNU Autoconf 2.61
2055
2056 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2057 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2058 This configure script is free software; the Free Software Foundation
2059 gives unlimited permission to copy, distribute and modify it.
2060 _ACEOF
2061 exit
2062 fi
2063 cat >config.log <<_ACEOF
2064 This file contains any messages produced by compilers while
2065 running configure, to aid debugging if configure makes a mistake.
2066
2067 It was created by wxWidgets $as_me 2.9.0, which was
2068 generated by GNU Autoconf 2.61. Invocation command line was
2069
2070 $ $0 $@
2071
2072 _ACEOF
2073 exec 5>>config.log
2074 {
2075 cat <<_ASUNAME
2076 ## --------- ##
2077 ## Platform. ##
2078 ## --------- ##
2079
2080 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2081 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2082 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2083 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2084 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2085
2086 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2087 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2088
2089 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2090 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2091 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2092 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2093 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2094 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2095 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2096
2097 _ASUNAME
2098
2099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2100 for as_dir in $PATH
2101 do
2102 IFS=$as_save_IFS
2103 test -z "$as_dir" && as_dir=.
2104 echo "PATH: $as_dir"
2105 done
2106 IFS=$as_save_IFS
2107
2108 } >&5
2109
2110 cat >&5 <<_ACEOF
2111
2112
2113 ## ----------- ##
2114 ## Core tests. ##
2115 ## ----------- ##
2116
2117 _ACEOF
2118
2119
2120 # Keep a trace of the command line.
2121 # Strip out --no-create and --no-recursion so they do not pile up.
2122 # Strip out --silent because we don't want to record it for future runs.
2123 # Also quote any args containing shell meta-characters.
2124 # Make two passes to allow for proper duplicate-argument suppression.
2125 ac_configure_args=
2126 ac_configure_args0=
2127 ac_configure_args1=
2128 ac_must_keep_next=false
2129 for ac_pass in 1 2
2130 do
2131 for ac_arg
2132 do
2133 case $ac_arg in
2134 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2135 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2136 | -silent | --silent | --silen | --sile | --sil)
2137 continue ;;
2138 *\'*)
2139 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2140 esac
2141 case $ac_pass in
2142 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2143 2)
2144 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2145 if test $ac_must_keep_next = true; then
2146 ac_must_keep_next=false # Got value, back to normal.
2147 else
2148 case $ac_arg in
2149 *=* | --config-cache | -C | -disable-* | --disable-* \
2150 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2151 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2152 | -with-* | --with-* | -without-* | --without-* | --x)
2153 case "$ac_configure_args0 " in
2154 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2155 esac
2156 ;;
2157 -* ) ac_must_keep_next=true ;;
2158 esac
2159 fi
2160 ac_configure_args="$ac_configure_args '$ac_arg'"
2161 ;;
2162 esac
2163 done
2164 done
2165 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2166 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2167
2168 # When interrupted or exit'd, cleanup temporary files, and complete
2169 # config.log. We remove comments because anyway the quotes in there
2170 # would cause problems or look ugly.
2171 # WARNING: Use '\'' to represent an apostrophe within the trap.
2172 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2173 trap 'exit_status=$?
2174 # Save into config.log some information that might help in debugging.
2175 {
2176 echo
2177
2178 cat <<\_ASBOX
2179 ## ---------------- ##
2180 ## Cache variables. ##
2181 ## ---------------- ##
2182 _ASBOX
2183 echo
2184 # The following way of writing the cache mishandles newlines in values,
2185 (
2186 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2187 eval ac_val=\$$ac_var
2188 case $ac_val in #(
2189 *${as_nl}*)
2190 case $ac_var in #(
2191 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2192 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2193 esac
2194 case $ac_var in #(
2195 _ | IFS | as_nl) ;; #(
2196 *) $as_unset $ac_var ;;
2197 esac ;;
2198 esac
2199 done
2200 (set) 2>&1 |
2201 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2202 *${as_nl}ac_space=\ *)
2203 sed -n \
2204 "s/'\''/'\''\\\\'\'''\''/g;
2205 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2206 ;; #(
2207 *)
2208 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2209 ;;
2210 esac |
2211 sort
2212 )
2213 echo
2214
2215 cat <<\_ASBOX
2216 ## ----------------- ##
2217 ## Output variables. ##
2218 ## ----------------- ##
2219 _ASBOX
2220 echo
2221 for ac_var in $ac_subst_vars
2222 do
2223 eval ac_val=\$$ac_var
2224 case $ac_val in
2225 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2226 esac
2227 echo "$ac_var='\''$ac_val'\''"
2228 done | sort
2229 echo
2230
2231 if test -n "$ac_subst_files"; then
2232 cat <<\_ASBOX
2233 ## ------------------- ##
2234 ## File substitutions. ##
2235 ## ------------------- ##
2236 _ASBOX
2237 echo
2238 for ac_var in $ac_subst_files
2239 do
2240 eval ac_val=\$$ac_var
2241 case $ac_val in
2242 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2243 esac
2244 echo "$ac_var='\''$ac_val'\''"
2245 done | sort
2246 echo
2247 fi
2248
2249 if test -s confdefs.h; then
2250 cat <<\_ASBOX
2251 ## ----------- ##
2252 ## confdefs.h. ##
2253 ## ----------- ##
2254 _ASBOX
2255 echo
2256 cat confdefs.h
2257 echo
2258 fi
2259 test "$ac_signal" != 0 &&
2260 echo "$as_me: caught signal $ac_signal"
2261 echo "$as_me: exit $exit_status"
2262 } >&5
2263 rm -f core *.core core.conftest.* &&
2264 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2265 exit $exit_status
2266 ' 0
2267 for ac_signal in 1 2 13 15; do
2268 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2269 done
2270 ac_signal=0
2271
2272 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2273 rm -f -r conftest* confdefs.h
2274
2275 # Predefined preprocessor variables.
2276
2277 cat >>confdefs.h <<_ACEOF
2278 #define PACKAGE_NAME "$PACKAGE_NAME"
2279 _ACEOF
2280
2281
2282 cat >>confdefs.h <<_ACEOF
2283 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2284 _ACEOF
2285
2286
2287 cat >>confdefs.h <<_ACEOF
2288 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2289 _ACEOF
2290
2291
2292 cat >>confdefs.h <<_ACEOF
2293 #define PACKAGE_STRING "$PACKAGE_STRING"
2294 _ACEOF
2295
2296
2297 cat >>confdefs.h <<_ACEOF
2298 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2299 _ACEOF
2300
2301
2302 # Let the site file select an alternate cache file if it wants to.
2303 # Prefer explicitly selected file to automatically selected ones.
2304 if test -n "$CONFIG_SITE"; then
2305 set x "$CONFIG_SITE"
2306 elif test "x$prefix" != xNONE; then
2307 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2308 else
2309 set x "$ac_default_prefix/share/config.site" \
2310 "$ac_default_prefix/etc/config.site"
2311 fi
2312 shift
2313 for ac_site_file
2314 do
2315 if test -r "$ac_site_file"; then
2316 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2317 echo "$as_me: loading site script $ac_site_file" >&6;}
2318 sed 's/^/| /' "$ac_site_file" >&5
2319 . "$ac_site_file"
2320 fi
2321 done
2322
2323 if test -r "$cache_file"; then
2324 # Some versions of bash will fail to source /dev/null (special
2325 # files actually), so we avoid doing that.
2326 if test -f "$cache_file"; then
2327 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2328 echo "$as_me: loading cache $cache_file" >&6;}
2329 case $cache_file in
2330 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2331 *) . "./$cache_file";;
2332 esac
2333 fi
2334 else
2335 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2336 echo "$as_me: creating cache $cache_file" >&6;}
2337 >$cache_file
2338 fi
2339
2340 # Check that the precious variables saved in the cache have kept the same
2341 # value.
2342 ac_cache_corrupted=false
2343 for ac_var in $ac_precious_vars; do
2344 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2345 eval ac_new_set=\$ac_env_${ac_var}_set
2346 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2347 eval ac_new_val=\$ac_env_${ac_var}_value
2348 case $ac_old_set,$ac_new_set in
2349 set,)
2350 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2351 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2352 ac_cache_corrupted=: ;;
2353 ,set)
2354 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2355 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2356 ac_cache_corrupted=: ;;
2357 ,);;
2358 *)
2359 if test "x$ac_old_val" != "x$ac_new_val"; then
2360 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2361 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2362 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2363 echo "$as_me: former value: $ac_old_val" >&2;}
2364 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2365 echo "$as_me: current value: $ac_new_val" >&2;}
2366 ac_cache_corrupted=:
2367 fi;;
2368 esac
2369 # Pass precious variables to config.status.
2370 if test "$ac_new_set" = set; then
2371 case $ac_new_val in
2372 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2373 *) ac_arg=$ac_var=$ac_new_val ;;
2374 esac
2375 case " $ac_configure_args " in
2376 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2377 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2378 esac
2379 fi
2380 done
2381 if $ac_cache_corrupted; then
2382 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2383 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2384 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2385 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2386 { (exit 1); exit 1; }; }
2387 fi
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413 ac_ext=c
2414 ac_cpp='$CPP $CPPFLAGS'
2415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2418
2419
2420
2421
2422
2423 ac_aux_dir=
2424 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2425 if test -f "$ac_dir/install-sh"; then
2426 ac_aux_dir=$ac_dir
2427 ac_install_sh="$ac_aux_dir/install-sh -c"
2428 break
2429 elif test -f "$ac_dir/install.sh"; then
2430 ac_aux_dir=$ac_dir
2431 ac_install_sh="$ac_aux_dir/install.sh -c"
2432 break
2433 elif test -f "$ac_dir/shtool"; then
2434 ac_aux_dir=$ac_dir
2435 ac_install_sh="$ac_aux_dir/shtool install -c"
2436 break
2437 fi
2438 done
2439 if test -z "$ac_aux_dir"; then
2440 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2441 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2442 { (exit 1); exit 1; }; }
2443 fi
2444
2445 # These three variables are undocumented and unsupported,
2446 # and are intended to be withdrawn in a future Autoconf release.
2447 # They can cause serious problems if a builder's source tree is in a directory
2448 # whose full name contains unusual characters.
2449 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2450 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2451 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2452
2453
2454 # Make sure we can run config.sub.
2455 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2456 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2457 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2458 { (exit 1); exit 1; }; }
2459
2460 { echo "$as_me:$LINENO: checking build system type" >&5
2461 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2462 if test "${ac_cv_build+set}" = set; then
2463 echo $ECHO_N "(cached) $ECHO_C" >&6
2464 else
2465 ac_build_alias=$build_alias
2466 test "x$ac_build_alias" = x &&
2467 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2468 test "x$ac_build_alias" = x &&
2469 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2470 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2471 { (exit 1); exit 1; }; }
2472 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2473 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2474 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2475 { (exit 1); exit 1; }; }
2476
2477 fi
2478 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2479 echo "${ECHO_T}$ac_cv_build" >&6; }
2480 case $ac_cv_build in
2481 *-*-*) ;;
2482 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2483 echo "$as_me: error: invalid value of canonical build" >&2;}
2484 { (exit 1); exit 1; }; };;
2485 esac
2486 build=$ac_cv_build
2487 ac_save_IFS=$IFS; IFS='-'
2488 set x $ac_cv_build
2489 shift
2490 build_cpu=$1
2491 build_vendor=$2
2492 shift; shift
2493 # Remember, the first character of IFS is used to create $*,
2494 # except with old shells:
2495 build_os=$*
2496 IFS=$ac_save_IFS
2497 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2498
2499
2500 { echo "$as_me:$LINENO: checking host system type" >&5
2501 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2502 if test "${ac_cv_host+set}" = set; then
2503 echo $ECHO_N "(cached) $ECHO_C" >&6
2504 else
2505 if test "x$host_alias" = x; then
2506 ac_cv_host=$ac_cv_build
2507 else
2508 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2509 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2510 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2511 { (exit 1); exit 1; }; }
2512 fi
2513
2514 fi
2515 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2516 echo "${ECHO_T}$ac_cv_host" >&6; }
2517 case $ac_cv_host in
2518 *-*-*) ;;
2519 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2520 echo "$as_me: error: invalid value of canonical host" >&2;}
2521 { (exit 1); exit 1; }; };;
2522 esac
2523 host=$ac_cv_host
2524 ac_save_IFS=$IFS; IFS='-'
2525 set x $ac_cv_host
2526 shift
2527 host_cpu=$1
2528 host_vendor=$2
2529 shift; shift
2530 # Remember, the first character of IFS is used to create $*,
2531 # except with old shells:
2532 host_os=$*
2533 IFS=$ac_save_IFS
2534 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2535
2536
2537
2538
2539
2540 wx_major_version_number=2
2541 wx_minor_version_number=9
2542 wx_release_number=0
2543 wx_subrelease_number=0
2544
2545 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2546 WX_VERSION=$WX_RELEASE.$wx_release_number
2547 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2548
2549 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2550
2551
2552 wx_top_builddir="`pwd`"
2553
2554
2555
2556
2557 USE_UNIX=1
2558 USE_OS2=0
2559 USE_WIN32=0
2560 USE_DOS=0
2561 USE_BEOS=0
2562 USE_MAC=0
2563
2564 USE_AIX=
2565 USE_BSD= USE_DARWIN= USE_FREEBSD=
2566 USE_GNU= USE_HPUX=
2567 USE_LINUX=
2568 USE_NETBSD=
2569 USE_OPENBSD=
2570 USE_OSF= USE_SGI=
2571 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2572 USE_ULTRIX=
2573 USE_UNIXWARE=
2574
2575 USE_ALPHA=
2576
2577 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2578
2579 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2580
2581 DEFAULT_wxUSE_COCOA=0
2582 DEFAULT_wxUSE_GTK=0
2583 DEFAULT_wxUSE_OSX_CARBON=0
2584 DEFAULT_wxUSE_OSX_COCOA=0
2585 DEFAULT_wxUSE_MGL=0
2586 DEFAULT_wxUSE_MICROWIN=0
2587 DEFAULT_wxUSE_MOTIF=0
2588 DEFAULT_wxUSE_MSW=0
2589 DEFAULT_wxUSE_PM=0
2590 DEFAULT_wxUSE_X11=0
2591 DEFAULT_wxUSE_DFB=0
2592
2593 DEFAULT_DEFAULT_wxUSE_COCOA=0
2594 DEFAULT_DEFAULT_wxUSE_GTK=0
2595 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2596 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2597 DEFAULT_DEFAULT_wxUSE_MGL=0
2598 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2599 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2600 DEFAULT_DEFAULT_wxUSE_MSW=0
2601 DEFAULT_DEFAULT_wxUSE_PM=0
2602 DEFAULT_DEFAULT_wxUSE_X11=0
2603 DEFAULT_DEFAULT_wxUSE_DFB=0
2604
2605 PROGRAM_EXT=
2606 SAMPLES_RPATH_FLAG=
2607 SAMPLES_RPATH_POSTLINK=
2608
2609 DEFAULT_STD_FLAG=yes
2610
2611 case "${host}" in
2612 *-hp-hpux* )
2613 USE_HPUX=1
2614 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2615 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2616 cat >>confdefs.h <<\_ACEOF
2617 #define __HPUX__ 1
2618 _ACEOF
2619
2620
2621 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2622 ;;
2623 *-*-linux* )
2624 USE_LINUX=1
2625 cat >>confdefs.h <<\_ACEOF
2626 #define __LINUX__ 1
2627 _ACEOF
2628
2629 TMP=`uname -m`
2630 if test "x$TMP" = "xalpha"; then
2631 USE_ALPHA=1
2632 cat >>confdefs.h <<\_ACEOF
2633 #define __ALPHA__ 1
2634 _ACEOF
2635
2636 fi
2637 DEFAULT_DEFAULT_wxUSE_GTK=1
2638 ;;
2639 *-*-gnu* | *-*-k*bsd*-gnu )
2640 USE_GNU=1
2641 TMP=`uname -m`
2642 if test "x$TMP" = "xalpha"; then
2643 USE_ALPHA=1
2644 cat >>confdefs.h <<\_ACEOF
2645 #define __ALPHA__ 1
2646 _ACEOF
2647
2648 fi
2649 DEFAULT_DEFAULT_wxUSE_GTK=1
2650 ;;
2651 *-*-irix5* | *-*-irix6* )
2652 USE_SGI=1
2653 USE_SVR4=1
2654 cat >>confdefs.h <<\_ACEOF
2655 #define __SGI__ 1
2656 _ACEOF
2657
2658 cat >>confdefs.h <<\_ACEOF
2659 #define __SVR4__ 1
2660 _ACEOF
2661
2662 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2663 ;;
2664 *-*-solaris2* )
2665 USE_SUN=1
2666 USE_SOLARIS=1
2667 USE_SVR4=1
2668 cat >>confdefs.h <<\_ACEOF
2669 #define __SUN__ 1
2670 _ACEOF
2671
2672 cat >>confdefs.h <<\_ACEOF
2673 #define __SOLARIS__ 1
2674 _ACEOF
2675
2676 cat >>confdefs.h <<\_ACEOF
2677 #define __SVR4__ 1
2678 _ACEOF
2679
2680 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2681 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2682 ;;
2683 *-*-sunos4* )
2684 USE_SUN=1
2685 USE_SUNOS=1
2686 USE_BSD=1
2687 cat >>confdefs.h <<\_ACEOF
2688 #define __SUN__ 1
2689 _ACEOF
2690
2691 cat >>confdefs.h <<\_ACEOF
2692 #define __SUNOS__ 1
2693 _ACEOF
2694
2695 cat >>confdefs.h <<\_ACEOF
2696 #define __BSD__ 1
2697 _ACEOF
2698
2699 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2700 ;;
2701 *-*-freebsd*)
2702 USE_BSD=1
2703 USE_FREEBSD=1
2704 cat >>confdefs.h <<\_ACEOF
2705 #define __FREEBSD__ 1
2706 _ACEOF
2707
2708 cat >>confdefs.h <<\_ACEOF
2709 #define __BSD__ 1
2710 _ACEOF
2711
2712 DEFAULT_DEFAULT_wxUSE_GTK=1
2713 ;;
2714 *-*-openbsd*|*-*-mirbsd*)
2715 USE_BSD=1
2716 USE_OPENBSD=1
2717 cat >>confdefs.h <<\_ACEOF
2718 #define __OPENBSD__ 1
2719 _ACEOF
2720
2721 cat >>confdefs.h <<\_ACEOF
2722 #define __BSD__ 1
2723 _ACEOF
2724
2725 DEFAULT_DEFAULT_wxUSE_GTK=1
2726 ;;
2727 *-*-netbsd*)
2728 USE_BSD=1
2729 USE_NETBSD=1
2730 cat >>confdefs.h <<\_ACEOF
2731 #define __NETBSD__ 1
2732 _ACEOF
2733
2734 cat >>confdefs.h <<\_ACEOF
2735 #define __BSD__ 1
2736 _ACEOF
2737
2738 DEFAULT_DEFAULT_wxUSE_GTK=1
2739 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2740
2741 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2742 ;;
2743 *-*-osf* )
2744 USE_ALPHA=1
2745 USE_OSF=1
2746 cat >>confdefs.h <<\_ACEOF
2747 #define __ALPHA__ 1
2748 _ACEOF
2749
2750 cat >>confdefs.h <<\_ACEOF
2751 #define __OSF__ 1
2752 _ACEOF
2753
2754 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2755 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2756 ;;
2757 *-*-dgux5* )
2758 USE_ALPHA=1
2759 USE_SVR4=1
2760 cat >>confdefs.h <<\_ACEOF
2761 #define __ALPHA__ 1
2762 _ACEOF
2763
2764 cat >>confdefs.h <<\_ACEOF
2765 #define __SVR4__ 1
2766 _ACEOF
2767
2768 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2769 ;;
2770 *-*-sysv5* )
2771 USE_SYSV=1
2772 USE_SVR4=1
2773 cat >>confdefs.h <<\_ACEOF
2774 #define __SYSV__ 1
2775 _ACEOF
2776
2777 cat >>confdefs.h <<\_ACEOF
2778 #define __SVR4__ 1
2779 _ACEOF
2780
2781 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2782 ;;
2783 *-*-aix* )
2784 USE_AIX=1
2785 USE_SYSV=1
2786 USE_SVR4=1
2787 cat >>confdefs.h <<\_ACEOF
2788 #define __AIX__ 1
2789 _ACEOF
2790
2791 cat >>confdefs.h <<\_ACEOF
2792 #define __SYSV__ 1
2793 _ACEOF
2794
2795 cat >>confdefs.h <<\_ACEOF
2796 #define __SVR4__ 1
2797 _ACEOF
2798
2799 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2800 ;;
2801
2802 *-*-*UnixWare*)
2803 USE_SYSV=1
2804 USE_SVR4=1
2805 USE_UNIXWARE=1
2806 cat >>confdefs.h <<\_ACEOF
2807 #define __UNIXWARE__ 1
2808 _ACEOF
2809
2810 ;;
2811
2812 *-*-cygwin* | *-*-mingw32* )
2813 PROGRAM_EXT=".exe"
2814 DEFAULT_DEFAULT_wxUSE_MSW=1
2815 ;;
2816
2817 *-pc-msdosdjgpp )
2818 USE_UNIX=0
2819 USE_DOS=1
2820 cat >>confdefs.h <<\_ACEOF
2821 #define __DOS__ 1
2822 _ACEOF
2823
2824 PROGRAM_EXT=".exe"
2825 DEFAULT_DEFAULT_wxUSE_MGL=1
2826 ;;
2827
2828 *-pc-os2_emx | *-pc-os2-emx )
2829 cat >>confdefs.h <<\_ACEOF
2830 #define __EMX__ 1
2831 _ACEOF
2832
2833 USE_OS2=1
2834 cat >>confdefs.h <<\_ACEOF
2835 #define __OS2__ 1
2836 _ACEOF
2837
2838 PROGRAM_EXT=".exe"
2839 DEFAULT_DEFAULT_wxUSE_PM=1
2840 CXX=gcc
2841 LDFLAGS="$LDFLAGS -Zcrtdll"
2842 ac_executable_extensions=".exe"
2843 export ac_executable_extensions
2844 ac_save_IFS="$IFS"
2845 IFS='\\'
2846 ac_TEMP_PATH=
2847 for ac_dir in $PATH; do
2848 IFS=$ac_save_IFS
2849 if test -z "$ac_TEMP_PATH"; then
2850 ac_TEMP_PATH="$ac_dir"
2851 else
2852 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2853 fi
2854 done
2855 export PATH="$ac_TEMP_PATH"
2856 unset ac_TEMP_PATH
2857 DEFAULT_STD_FLAG=no
2858 ;;
2859
2860 *-*-darwin* )
2861 USE_BSD=1
2862 USE_DARWIN=1
2863 cat >>confdefs.h <<\_ACEOF
2864 #define __BSD__ 1
2865 _ACEOF
2866
2867 cat >>confdefs.h <<\_ACEOF
2868 #define __DARWIN__ 1
2869 _ACEOF
2870
2871 cat >>confdefs.h <<\_ACEOF
2872 #define TARGET_CARBON 1
2873 _ACEOF
2874
2875 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2876 DEFAULT_STD_FLAG=no
2877 ;;
2878 powerpc-apple-macos* )
2879 USE_UNIX=0
2880 ac_cv_c_bigendian=yes
2881 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2882 DEFAULT_STD_FLAG=no
2883 ;;
2884
2885 *-*-beos* )
2886 USE_BEOS=1
2887 cat >>confdefs.h <<\_ACEOF
2888 #define __BEOS__ 1
2889 _ACEOF
2890
2891 ;;
2892
2893 *)
2894 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2895 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2896 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2897 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2898
2899 DEFAULT_DEFAULT_wxUSE_X11=1
2900 DEFAULT_wxUSE_SHARED=no
2901 esac
2902
2903
2904
2905 DEFAULT_wxUSE_ALL_FEATURES=yes
2906
2907 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2908 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2909
2910 DEFAULT_wxUSE_DMALLOC=no
2911 DEFAULT_wxUSE_LIBGNOMEVFS=no
2912 DEFAULT_wxUSE_LIBHILDON=no
2913 DEFAULT_wxUSE_LIBMSPACK=no
2914 DEFAULT_wxUSE_LIBSDL=no
2915
2916 DEFAULT_wxUSE_ACCESSIBILITY=no
2917 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2918 DEFAULT_wxUSE_IPV6=no
2919 DEFAULT_wxUSE_GSTREAMER8=no
2920
2921 DEFAULT_wxUSE_UNICODE_UTF8=auto
2922 DEFAULT_wxUSE_OPENGL=auto
2923 DEFAULT_wxUSE_MEDIACTRL=auto
2924
2925 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2926
2927 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2928
2929 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2930
2931 DEFAULT_wxUSE_GTK2=yes
2932
2933 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2934
2935
2936
2937
2938
2939 enablestring=disable
2940 defaultval=
2941 if test -z "$defaultval"; then
2942 if test x"$enablestring" = xdisable; then
2943 defaultval=yes
2944 else
2945 defaultval=no
2946 fi
2947 fi
2948
2949 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2950 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2951 # Check whether --enable-gui was given.
2952 if test "${enable_gui+set}" = set; then
2953 enableval=$enable_gui;
2954 if test "$enableval" = yes; then
2955 wx_cv_use_gui='wxUSE_GUI=yes'
2956 else
2957 wx_cv_use_gui='wxUSE_GUI=no'
2958 fi
2959
2960 else
2961
2962 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2963
2964 fi
2965
2966
2967 eval "$wx_cv_use_gui"
2968
2969 if test x"$enablestring" = xdisable; then
2970 if test $wxUSE_GUI = yes; then
2971 result=no
2972 else
2973 result=yes
2974 fi
2975 else
2976 result=$wxUSE_GUI
2977 fi
2978
2979 { echo "$as_me:$LINENO: result: $result" >&5
2980 echo "${ECHO_T}$result" >&6; }
2981
2982
2983 enablestring=
2984 defaultval=
2985 if test -z "$defaultval"; then
2986 if test x"$enablestring" = xdisable; then
2987 defaultval=yes
2988 else
2989 defaultval=no
2990 fi
2991 fi
2992
2993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2994 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
2995 # Check whether --enable-monolithic was given.
2996 if test "${enable_monolithic+set}" = set; then
2997 enableval=$enable_monolithic;
2998 if test "$enableval" = yes; then
2999 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3000 else
3001 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3002 fi
3003
3004 else
3005
3006 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3007
3008 fi
3009
3010
3011 eval "$wx_cv_use_monolithic"
3012
3013 if test x"$enablestring" = xdisable; then
3014 if test $wxUSE_MONOLITHIC = yes; then
3015 result=no
3016 else
3017 result=yes
3018 fi
3019 else
3020 result=$wxUSE_MONOLITHIC
3021 fi
3022
3023 { echo "$as_me:$LINENO: result: $result" >&5
3024 echo "${ECHO_T}$result" >&6; }
3025
3026
3027 enablestring=
3028 defaultval=
3029 if test -z "$defaultval"; then
3030 if test x"$enablestring" = xdisable; then
3031 defaultval=yes
3032 else
3033 defaultval=no
3034 fi
3035 fi
3036
3037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3038 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3039 # Check whether --enable-plugins was given.
3040 if test "${enable_plugins+set}" = set; then
3041 enableval=$enable_plugins;
3042 if test "$enableval" = yes; then
3043 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3044 else
3045 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3046 fi
3047
3048 else
3049
3050 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3051
3052 fi
3053
3054
3055 eval "$wx_cv_use_plugins"
3056
3057 if test x"$enablestring" = xdisable; then
3058 if test $wxUSE_PLUGINS = yes; then
3059 result=no
3060 else
3061 result=yes
3062 fi
3063 else
3064 result=$wxUSE_PLUGINS
3065 fi
3066
3067 { echo "$as_me:$LINENO: result: $result" >&5
3068 echo "${ECHO_T}$result" >&6; }
3069
3070
3071 withstring=without
3072 defaultval=$wxUSE_ALL_FEATURES
3073 if test -z "$defaultval"; then
3074 if test x"$withstring" = xwithout; then
3075 defaultval=yes
3076 else
3077 defaultval=no
3078 fi
3079 fi
3080 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3081 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3082
3083 # Check whether --with-subdirs was given.
3084 if test "${with_subdirs+set}" = set; then
3085 withval=$with_subdirs;
3086 if test "$withval" = yes; then
3087 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3088 else
3089 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3090 fi
3091
3092 else
3093
3094 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3095
3096 fi
3097
3098
3099 eval "$wx_cv_use_subdirs"
3100
3101 if test x"$withstring" = xwithout; then
3102 if test $wxWITH_SUBDIRS = yes; then
3103 result=no
3104 else
3105 result=yes
3106 fi
3107 else
3108 result=$wxWITH_SUBDIRS
3109 fi
3110
3111 { echo "$as_me:$LINENO: result: $result" >&5
3112 echo "${ECHO_T}$result" >&6; }
3113
3114
3115 # Check whether --with-flavour was given.
3116 if test "${with_flavour+set}" = set; then
3117 withval=$with_flavour; WX_FLAVOUR="$withval"
3118 fi
3119
3120
3121 enablestring=
3122 defaultval=
3123 if test -z "$defaultval"; then
3124 if test x"$enablestring" = xdisable; then
3125 defaultval=yes
3126 else
3127 defaultval=no
3128 fi
3129 fi
3130
3131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3132 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3133 # Check whether --enable-official_build was given.
3134 if test "${enable_official_build+set}" = set; then
3135 enableval=$enable_official_build;
3136 if test "$enableval" = yes; then
3137 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3138 else
3139 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3140 fi
3141
3142 else
3143
3144 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3145
3146 fi
3147
3148
3149 eval "$wx_cv_use_official_build"
3150
3151 if test x"$enablestring" = xdisable; then
3152 if test $wxUSE_OFFICIAL_BUILD = yes; then
3153 result=no
3154 else
3155 result=yes
3156 fi
3157 else
3158 result=$wxUSE_OFFICIAL_BUILD
3159 fi
3160
3161 { echo "$as_me:$LINENO: result: $result" >&5
3162 echo "${ECHO_T}$result" >&6; }
3163
3164 # Check whether --enable-vendor was given.
3165 if test "${enable_vendor+set}" = set; then
3166 enableval=$enable_vendor; VENDOR="$enableval"
3167 fi
3168
3169 if test "x$VENDOR" = "x"; then
3170 VENDOR="custom"
3171 fi
3172
3173
3174 enablestring=disable
3175 defaultval=
3176 if test -z "$defaultval"; then
3177 if test x"$enablestring" = xdisable; then
3178 defaultval=yes
3179 else
3180 defaultval=no
3181 fi
3182 fi
3183
3184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3185 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3186 # Check whether --enable-all-features was given.
3187 if test "${enable_all_features+set}" = set; then
3188 enableval=$enable_all_features;
3189 if test "$enableval" = yes; then
3190 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3191 else
3192 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3193 fi
3194
3195 else
3196
3197 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3198
3199 fi
3200
3201
3202 eval "$wx_cv_use_all_features"
3203
3204 if test x"$enablestring" = xdisable; then
3205 if test $wxUSE_ALL_FEATURES = yes; then
3206 result=no
3207 else
3208 result=yes
3209 fi
3210 else
3211 result=$wxUSE_ALL_FEATURES
3212 fi
3213
3214 { echo "$as_me:$LINENO: result: $result" >&5
3215 echo "${ECHO_T}$result" >&6; }
3216
3217
3218 if test "$wxUSE_ALL_FEATURES" = "no"; then
3219 DEFAULT_wxUSE_MEDIACTRL=no
3220 fi
3221
3222
3223 if test "$wxUSE_GUI" = "yes"; then
3224
3225
3226 enablestring=
3227 defaultval=
3228 if test -z "$defaultval"; then
3229 if test x"$enablestring" = xdisable; then
3230 defaultval=yes
3231 else
3232 defaultval=no
3233 fi
3234 fi
3235
3236 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3237 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3238 # Check whether --enable-universal was given.
3239 if test "${enable_universal+set}" = set; then
3240 enableval=$enable_universal;
3241 if test "$enableval" = yes; then
3242 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3243 else
3244 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3245 fi
3246
3247 else
3248
3249 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3250
3251 fi
3252
3253
3254 eval "$wx_cv_use_universal"
3255
3256 if test x"$enablestring" = xdisable; then
3257 if test $wxUSE_UNIVERSAL = yes; then
3258 result=no
3259 else
3260 result=yes
3261 fi
3262 else
3263 result=$wxUSE_UNIVERSAL
3264 fi
3265
3266 { echo "$as_me:$LINENO: result: $result" >&5
3267 echo "${ECHO_T}$result" >&6; }
3268
3269 if test "$wxUSE_UNIVERSAL" = "yes"; then
3270
3271 # Check whether --with-themes was given.
3272 if test "${with_themes+set}" = set; then
3273 withval=$with_themes; wxUNIV_THEMES="$withval"
3274 fi
3275
3276 fi
3277
3278
3279 # Check whether --with-gtk was given.
3280 if test "${with_gtk+set}" = set; then
3281 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3282 fi
3283
3284
3285 # Check whether --with-motif was given.
3286 if test "${with_motif+set}" = set; then
3287 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3288 fi
3289
3290
3291 # Check whether --with-osx_carbon was given.
3292 if test "${with_osx_carbon+set}" = set; then
3293 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3294 fi
3295
3296
3297 # Check whether --with-osx_cocoa was given.
3298 if test "${with_osx_cocoa+set}" = set; then
3299 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3300 fi
3301
3302
3303 # Check whether --with-mac was given.
3304 if test "${with_mac+set}" = set; then
3305 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3306 fi
3307
3308
3309 # Check whether --with-cocoa was given.
3310 if test "${with_cocoa+set}" = set; then
3311 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3312 fi
3313
3314
3315 # Check whether --with-wine was given.
3316 if test "${with_wine+set}" = set; then
3317 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3318 fi
3319
3320
3321 # Check whether --with-msw was given.
3322 if test "${with_msw+set}" = set; then
3323 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3324 fi
3325
3326
3327 # Check whether --with-pm was given.
3328 if test "${with_pm+set}" = set; then
3329 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3330 fi
3331
3332
3333 # Check whether --with-mgl was given.
3334 if test "${with_mgl+set}" = set; then
3335 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3336 fi
3337
3338
3339 # Check whether --with-directfb was given.
3340 if test "${with_directfb+set}" = set; then
3341 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3342 fi
3343
3344
3345 # Check whether --with-microwin was given.
3346 if test "${with_microwin+set}" = set; then
3347 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3348 fi
3349
3350
3351 # Check whether --with-x11 was given.
3352 if test "${with_x11+set}" = set; then
3353 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3354 fi
3355
3356
3357 enablestring=
3358 defaultval=
3359 if test -z "$defaultval"; then
3360 if test x"$enablestring" = xdisable; then
3361 defaultval=yes
3362 else
3363 defaultval=no
3364 fi
3365 fi
3366
3367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3368 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3369 # Check whether --enable-nanox was given.
3370 if test "${enable_nanox+set}" = set; then
3371 enableval=$enable_nanox;
3372 if test "$enableval" = yes; then
3373 wx_cv_use_nanox='wxUSE_NANOX=yes'
3374 else
3375 wx_cv_use_nanox='wxUSE_NANOX=no'
3376 fi
3377
3378 else
3379
3380 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3381
3382 fi
3383
3384
3385 eval "$wx_cv_use_nanox"
3386
3387 if test x"$enablestring" = xdisable; then
3388 if test $wxUSE_NANOX = yes; then
3389 result=no
3390 else
3391 result=yes
3392 fi
3393 else
3394 result=$wxUSE_NANOX
3395 fi
3396
3397 { echo "$as_me:$LINENO: result: $result" >&5
3398 echo "${ECHO_T}$result" >&6; }
3399
3400
3401 # Check whether --enable-gtk2 was given.
3402 if test "${enable_gtk2+set}" = set; then
3403 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3404 fi
3405
3406
3407 enablestring=
3408 defaultval=
3409 if test -z "$defaultval"; then
3410 if test x"$enablestring" = xdisable; then
3411 defaultval=yes
3412 else
3413 defaultval=no
3414 fi
3415 fi
3416
3417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3418 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3419 # Check whether --enable-gpe was given.
3420 if test "${enable_gpe+set}" = set; then
3421 enableval=$enable_gpe;
3422 if test "$enableval" = yes; then
3423 wx_cv_use_gpe='wxUSE_GPE=yes'
3424 else
3425 wx_cv_use_gpe='wxUSE_GPE=no'
3426 fi
3427
3428 else
3429
3430 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3431
3432 fi
3433
3434
3435 eval "$wx_cv_use_gpe"
3436
3437 if test x"$enablestring" = xdisable; then
3438 if test $wxUSE_GPE = yes; then
3439 result=no
3440 else
3441 result=yes
3442 fi
3443 else
3444 result=$wxUSE_GPE
3445 fi
3446
3447 { echo "$as_me:$LINENO: result: $result" >&5
3448 echo "${ECHO_T}$result" >&6; }
3449
3450
3451
3452 { echo "$as_me:$LINENO: checking for toolkit" >&5
3453 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3454
3455
3456
3457 # In Wine, we need to default to MSW, not GTK or MOTIF
3458 if test "$wxUSE_WINE" = "yes"; then
3459 DEFAULT_DEFAULT_wxUSE_GTK=0
3460 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3461 DEFAULT_DEFAULT_wxUSE_MSW=1
3462 wxUSE_SHARED=no
3463 CC=${CC:-winegcc}
3464 CXX=${CXX:-wineg++}
3465 fi
3466
3467
3468 if test "$wxUSE_GUI" = "yes"; then
3469
3470 if test "$USE_BEOS" = 1; then
3471 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3472 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3473 { (exit 1); exit 1; }; }
3474 fi
3475
3476 if test "$TOOLKIT_GIVEN" = 1; then
3477 for toolkit in $ALL_TOOLKITS; do
3478 var=wxUSE_$toolkit
3479 eval "value=\$${var}"
3480 if test "x$value" = "xno"; then
3481 eval "$var=0"
3482 elif test "x$value" != "x"; then
3483 eval "$var=1"
3484 fi
3485
3486 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3487 eval "wx${toolkit}_VERSION=$value"
3488 fi
3489 done
3490 else
3491 for toolkit in $ALL_TOOLKITS; do
3492 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3493 eval "wxUSE_$toolkit=\$${var}"
3494 done
3495 fi
3496
3497 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3498 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3499 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3500
3501 case "${host}" in
3502 *-pc-os2_emx | *-pc-os2-emx )
3503 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3504 esac
3505
3506 case "$NUM_TOOLKITS" in
3507 1)
3508 ;;
3509 0)
3510 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3511 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3512 { (exit 1); exit 1; }; }
3513 ;;
3514 *)
3515 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3516 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3517 { (exit 1); exit 1; }; }
3518 esac
3519
3520 # to be removed when --disable-gtk2 isn't needed
3521 if test "x$wxUSE_GTK2" = "xyes"; then
3522 wxGTK_VERSION=2
3523 elif test "x$wxUSE_GTK2" = "xno"; then
3524 wxGTK_VERSION=1
3525 fi
3526
3527 for toolkit in $ALL_TOOLKITS; do
3528 var=wxUSE_$toolkit
3529 eval "value=\$${var}"
3530 if test "$value" = 1; then
3531 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3532 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3533 echo "${ECHO_T}$toolkit_echo" >&6; }
3534 fi
3535 done
3536 else
3537 if test "x$host_alias" != "x"; then
3538 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3539 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3540 else
3541 { echo "$as_me:$LINENO: result: base only" >&5
3542 echo "${ECHO_T}base only" >&6; }
3543 fi
3544 fi
3545
3546 wxUSE_MAC=0
3547 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3548 wxUSE_MAC=1
3549 fi
3550
3551
3552
3553 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3554 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3555
3556 # Check whether --with-libpng was given.
3557 if test "${with_libpng+set}" = set; then
3558 withval=$with_libpng;
3559 if test "$withval" = yes; then
3560 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3561 elif test "$withval" = no; then
3562 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3563 elif test "$withval" = sys; then
3564 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3565 elif test "$withval" = builtin; then
3566 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3567 else
3568 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3569 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3570 { (exit 1); exit 1; }; }
3571 fi
3572
3573 else
3574
3575 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3576
3577 fi
3578
3579
3580 eval "$wx_cv_use_libpng"
3581
3582 if test "$wxUSE_LIBPNG" = yes; then
3583 { echo "$as_me:$LINENO: result: yes" >&5
3584 echo "${ECHO_T}yes" >&6; }
3585 elif test "$wxUSE_LIBPNG" = no; then
3586 { echo "$as_me:$LINENO: result: no" >&5
3587 echo "${ECHO_T}no" >&6; }
3588 elif test "$wxUSE_LIBPNG" = sys; then
3589 { echo "$as_me:$LINENO: result: system version" >&5
3590 echo "${ECHO_T}system version" >&6; }
3591 elif test "$wxUSE_LIBPNG" = builtin; then
3592 { echo "$as_me:$LINENO: result: builtin version" >&5
3593 echo "${ECHO_T}builtin version" >&6; }
3594 else
3595 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3596 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3597 { (exit 1); exit 1; }; }
3598 fi
3599
3600
3601 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3602 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3603
3604 # Check whether --with-libjpeg was given.
3605 if test "${with_libjpeg+set}" = set; then
3606 withval=$with_libjpeg;
3607 if test "$withval" = yes; then
3608 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3609 elif test "$withval" = no; then
3610 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3611 elif test "$withval" = sys; then
3612 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3613 elif test "$withval" = builtin; then
3614 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3615 else
3616 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3617 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3618 { (exit 1); exit 1; }; }
3619 fi
3620
3621 else
3622
3623 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3624
3625 fi
3626
3627
3628 eval "$wx_cv_use_libjpeg"
3629
3630 if test "$wxUSE_LIBJPEG" = yes; then
3631 { echo "$as_me:$LINENO: result: yes" >&5
3632 echo "${ECHO_T}yes" >&6; }
3633 elif test "$wxUSE_LIBJPEG" = no; then
3634 { echo "$as_me:$LINENO: result: no" >&5
3635 echo "${ECHO_T}no" >&6; }
3636 elif test "$wxUSE_LIBJPEG" = sys; then
3637 { echo "$as_me:$LINENO: result: system version" >&5
3638 echo "${ECHO_T}system version" >&6; }
3639 elif test "$wxUSE_LIBJPEG" = builtin; then
3640 { echo "$as_me:$LINENO: result: builtin version" >&5
3641 echo "${ECHO_T}builtin version" >&6; }
3642 else
3643 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3644 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3645 { (exit 1); exit 1; }; }
3646 fi
3647
3648
3649 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3650 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3651
3652 # Check whether --with-libtiff was given.
3653 if test "${with_libtiff+set}" = set; then
3654 withval=$with_libtiff;
3655 if test "$withval" = yes; then
3656 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3657 elif test "$withval" = no; then
3658 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3659 elif test "$withval" = sys; then
3660 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3661 elif test "$withval" = builtin; then
3662 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3663 else
3664 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3665 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3666 { (exit 1); exit 1; }; }
3667 fi
3668
3669 else
3670
3671 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3672
3673 fi
3674
3675
3676 eval "$wx_cv_use_libtiff"
3677
3678 if test "$wxUSE_LIBTIFF" = yes; then
3679 { echo "$as_me:$LINENO: result: yes" >&5
3680 echo "${ECHO_T}yes" >&6; }
3681 elif test "$wxUSE_LIBTIFF" = no; then
3682 { echo "$as_me:$LINENO: result: no" >&5
3683 echo "${ECHO_T}no" >&6; }
3684 elif test "$wxUSE_LIBTIFF" = sys; then
3685 { echo "$as_me:$LINENO: result: system version" >&5
3686 echo "${ECHO_T}system version" >&6; }
3687 elif test "$wxUSE_LIBTIFF" = builtin; then
3688 { echo "$as_me:$LINENO: result: builtin version" >&5
3689 echo "${ECHO_T}builtin version" >&6; }
3690 else
3691 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3692 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3693 { (exit 1); exit 1; }; }
3694 fi
3695
3696
3697 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3698 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3699
3700 # Check whether --with-libxpm was given.
3701 if test "${with_libxpm+set}" = set; then
3702 withval=$with_libxpm;
3703 if test "$withval" = yes; then
3704 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3705 elif test "$withval" = no; then
3706 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3707 elif test "$withval" = sys; then
3708 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3709 elif test "$withval" = builtin; then
3710 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3711 else
3712 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3713 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3714 { (exit 1); exit 1; }; }
3715 fi
3716
3717 else
3718
3719 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3720
3721 fi
3722
3723
3724 eval "$wx_cv_use_libxpm"
3725
3726 if test "$wxUSE_LIBXPM" = yes; then
3727 { echo "$as_me:$LINENO: result: yes" >&5
3728 echo "${ECHO_T}yes" >&6; }
3729 elif test "$wxUSE_LIBXPM" = no; then
3730 { echo "$as_me:$LINENO: result: no" >&5
3731 echo "${ECHO_T}no" >&6; }
3732 elif test "$wxUSE_LIBXPM" = sys; then
3733 { echo "$as_me:$LINENO: result: system version" >&5
3734 echo "${ECHO_T}system version" >&6; }
3735 elif test "$wxUSE_LIBXPM" = builtin; then
3736 { echo "$as_me:$LINENO: result: builtin version" >&5
3737 echo "${ECHO_T}builtin version" >&6; }
3738 else
3739 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3740 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3741 { (exit 1); exit 1; }; }
3742 fi
3743
3744
3745 withstring=
3746 defaultval=$wxUSE_ALL_FEATURES
3747 if test -z "$defaultval"; then
3748 if test x"$withstring" = xwithout; then
3749 defaultval=yes
3750 else
3751 defaultval=no
3752 fi
3753 fi
3754 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3755 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3756
3757 # Check whether --with-libiconv was given.
3758 if test "${with_libiconv+set}" = set; then
3759 withval=$with_libiconv;
3760 if test "$withval" = yes; then
3761 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3762 else
3763 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3764 fi
3765
3766 else
3767
3768 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3769
3770 fi
3771
3772
3773 eval "$wx_cv_use_libiconv"
3774
3775 if test x"$withstring" = xwithout; then
3776 if test $wxUSE_LIBICONV = yes; then
3777 result=no
3778 else
3779 result=yes
3780 fi
3781 else
3782 result=$wxUSE_LIBICONV
3783 fi
3784
3785 { echo "$as_me:$LINENO: result: $result" >&5
3786 echo "${ECHO_T}$result" >&6; }
3787
3788
3789 withstring=
3790 defaultval=$wxUSE_ALL_FEATURES
3791 if test -z "$defaultval"; then
3792 if test x"$withstring" = xwithout; then
3793 defaultval=yes
3794 else
3795 defaultval=no
3796 fi
3797 fi
3798 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3799 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3800
3801 # Check whether --with-libmspack was given.
3802 if test "${with_libmspack+set}" = set; then
3803 withval=$with_libmspack;
3804 if test "$withval" = yes; then
3805 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3806 else
3807 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3808 fi
3809
3810 else
3811
3812 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3813
3814 fi
3815
3816
3817 eval "$wx_cv_use_libmspack"
3818
3819 if test x"$withstring" = xwithout; then
3820 if test $wxUSE_LIBMSPACK = yes; then
3821 result=no
3822 else
3823 result=yes
3824 fi
3825 else
3826 result=$wxUSE_LIBMSPACK
3827 fi
3828
3829 { echo "$as_me:$LINENO: result: $result" >&5
3830 echo "${ECHO_T}$result" >&6; }
3831
3832
3833 withstring=without
3834 defaultval=$wxUSE_ALL_FEATURES
3835 if test -z "$defaultval"; then
3836 if test x"$withstring" = xwithout; then
3837 defaultval=yes
3838 else
3839 defaultval=no
3840 fi
3841 fi
3842 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3843 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3844
3845 # Check whether --with-gtkprint was given.
3846 if test "${with_gtkprint+set}" = set; then
3847 withval=$with_gtkprint;
3848 if test "$withval" = yes; then
3849 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3850 else
3851 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3852 fi
3853
3854 else
3855
3856 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3857
3858 fi
3859
3860
3861 eval "$wx_cv_use_gtkprint"
3862
3863 if test x"$withstring" = xwithout; then
3864 if test $wxUSE_GTKPRINT = yes; then
3865 result=no
3866 else
3867 result=yes
3868 fi
3869 else
3870 result=$wxUSE_GTKPRINT
3871 fi
3872
3873 { echo "$as_me:$LINENO: result: $result" >&5
3874 echo "${ECHO_T}$result" >&6; }
3875
3876
3877 withstring=without
3878 defaultval=$wxUSE_ALL_FEATURES
3879 if test -z "$defaultval"; then
3880 if test x"$withstring" = xwithout; then
3881 defaultval=yes
3882 else
3883 defaultval=no
3884 fi
3885 fi
3886 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3887 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3888
3889 # Check whether --with-gnomeprint was given.
3890 if test "${with_gnomeprint+set}" = set; then
3891 withval=$with_gnomeprint;
3892 if test "$withval" = yes; then
3893 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3894 else
3895 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3896 fi
3897
3898 else
3899
3900 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3901
3902 fi
3903
3904
3905 eval "$wx_cv_use_gnomeprint"
3906
3907 if test x"$withstring" = xwithout; then
3908 if test $wxUSE_LIBGNOMEPRINT = yes; then
3909 result=no
3910 else
3911 result=yes
3912 fi
3913 else
3914 result=$wxUSE_LIBGNOMEPRINT
3915 fi
3916
3917 { echo "$as_me:$LINENO: result: $result" >&5
3918 echo "${ECHO_T}$result" >&6; }
3919
3920
3921 withstring=
3922 defaultval=$wxUSE_ALL_FEATURES
3923 if test -z "$defaultval"; then
3924 if test x"$withstring" = xwithout; then
3925 defaultval=yes
3926 else
3927 defaultval=no
3928 fi
3929 fi
3930 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3931 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3932
3933 # Check whether --with-gnomevfs was given.
3934 if test "${with_gnomevfs+set}" = set; then
3935 withval=$with_gnomevfs;
3936 if test "$withval" = yes; then
3937 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3938 else
3939 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3940 fi
3941
3942 else
3943
3944 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3945
3946 fi
3947
3948
3949 eval "$wx_cv_use_gnomevfs"
3950
3951 if test x"$withstring" = xwithout; then
3952 if test $wxUSE_LIBGNOMEVFS = yes; then
3953 result=no
3954 else
3955 result=yes
3956 fi
3957 else
3958 result=$wxUSE_LIBGNOMEVFS
3959 fi
3960
3961 { echo "$as_me:$LINENO: result: $result" >&5
3962 echo "${ECHO_T}$result" >&6; }
3963
3964
3965 withstring=
3966 defaultval=$wxUSE_ALL_FEATURES
3967 if test -z "$defaultval"; then
3968 if test x"$withstring" = xwithout; then
3969 defaultval=yes
3970 else
3971 defaultval=no
3972 fi
3973 fi
3974 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3975 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3976
3977 # Check whether --with-hildon was given.
3978 if test "${with_hildon+set}" = set; then
3979 withval=$with_hildon;
3980 if test "$withval" = yes; then
3981 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3982 else
3983 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3984 fi
3985
3986 else
3987
3988 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3989
3990 fi
3991
3992
3993 eval "$wx_cv_use_hildon"
3994
3995 if test x"$withstring" = xwithout; then
3996 if test $wxUSE_LIBHILDON = yes; then
3997 result=no
3998 else
3999 result=yes
4000 fi
4001 else
4002 result=$wxUSE_LIBHILDON
4003 fi
4004
4005 { echo "$as_me:$LINENO: result: $result" >&5
4006 echo "${ECHO_T}$result" >&6; }
4007
4008
4009 withstring=
4010 defaultval=$wxUSE_ALL_FEATURES
4011 if test -z "$defaultval"; then
4012 if test x"$withstring" = xwithout; then
4013 defaultval=yes
4014 else
4015 defaultval=no
4016 fi
4017 fi
4018 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4019 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4020
4021 # Check whether --with-opengl was given.
4022 if test "${with_opengl+set}" = set; then
4023 withval=$with_opengl;
4024 if test "$withval" = yes; then
4025 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4026 else
4027 wx_cv_use_opengl='wxUSE_OPENGL=no'
4028 fi
4029
4030 else
4031
4032 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4033
4034 fi
4035
4036
4037 eval "$wx_cv_use_opengl"
4038
4039 if test x"$withstring" = xwithout; then
4040 if test $wxUSE_OPENGL = yes; then
4041 result=no
4042 else
4043 result=yes
4044 fi
4045 else
4046 result=$wxUSE_OPENGL
4047 fi
4048
4049 { echo "$as_me:$LINENO: result: $result" >&5
4050 echo "${ECHO_T}$result" >&6; }
4051
4052
4053 fi
4054
4055
4056 withstring=
4057 defaultval=$wxUSE_ALL_FEATURES
4058 if test -z "$defaultval"; then
4059 if test x"$withstring" = xwithout; then
4060 defaultval=yes
4061 else
4062 defaultval=no
4063 fi
4064 fi
4065 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4066 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4067
4068 # Check whether --with-dmalloc was given.
4069 if test "${with_dmalloc+set}" = set; then
4070 withval=$with_dmalloc;
4071 if test "$withval" = yes; then
4072 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4073 else
4074 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4075 fi
4076
4077 else
4078
4079 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4080
4081 fi
4082
4083
4084 eval "$wx_cv_use_dmalloc"
4085
4086 if test x"$withstring" = xwithout; then
4087 if test $wxUSE_DMALLOC = yes; then
4088 result=no
4089 else
4090 result=yes
4091 fi
4092 else
4093 result=$wxUSE_DMALLOC
4094 fi
4095
4096 { echo "$as_me:$LINENO: result: $result" >&5
4097 echo "${ECHO_T}$result" >&6; }
4098
4099
4100 withstring=
4101 defaultval=$wxUSE_ALL_FEATURES
4102 if test -z "$defaultval"; then
4103 if test x"$withstring" = xwithout; then
4104 defaultval=yes
4105 else
4106 defaultval=no
4107 fi
4108 fi
4109 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4110 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4111
4112 # Check whether --with-sdl was given.
4113 if test "${with_sdl+set}" = set; then
4114 withval=$with_sdl;
4115 if test "$withval" = yes; then
4116 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4117 else
4118 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4119 fi
4120
4121 else
4122
4123 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4124
4125 fi
4126
4127
4128 eval "$wx_cv_use_sdl"
4129
4130 if test x"$withstring" = xwithout; then
4131 if test $wxUSE_LIBSDL = yes; then
4132 result=no
4133 else
4134 result=yes
4135 fi
4136 else
4137 result=$wxUSE_LIBSDL
4138 fi
4139
4140 { echo "$as_me:$LINENO: result: $result" >&5
4141 echo "${ECHO_T}$result" >&6; }
4142
4143
4144 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4145 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4146
4147 # Check whether --with-regex was given.
4148 if test "${with_regex+set}" = set; then
4149 withval=$with_regex;
4150 if test "$withval" = yes; then
4151 wx_cv_use_regex='wxUSE_REGEX=yes'
4152 elif test "$withval" = no; then
4153 wx_cv_use_regex='wxUSE_REGEX=no'
4154 elif test "$withval" = sys; then
4155 wx_cv_use_regex='wxUSE_REGEX=sys'
4156 elif test "$withval" = builtin; then
4157 wx_cv_use_regex='wxUSE_REGEX=builtin'
4158 else
4159 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4160 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4161 { (exit 1); exit 1; }; }
4162 fi
4163
4164 else
4165
4166 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4167
4168 fi
4169
4170
4171 eval "$wx_cv_use_regex"
4172
4173 if test "$wxUSE_REGEX" = yes; then
4174 { echo "$as_me:$LINENO: result: yes" >&5
4175 echo "${ECHO_T}yes" >&6; }
4176 elif test "$wxUSE_REGEX" = no; then
4177 { echo "$as_me:$LINENO: result: no" >&5
4178 echo "${ECHO_T}no" >&6; }
4179 elif test "$wxUSE_REGEX" = sys; then
4180 { echo "$as_me:$LINENO: result: system version" >&5
4181 echo "${ECHO_T}system version" >&6; }
4182 elif test "$wxUSE_REGEX" = builtin; then
4183 { echo "$as_me:$LINENO: result: builtin version" >&5
4184 echo "${ECHO_T}builtin version" >&6; }
4185 else
4186 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4187 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4188 { (exit 1); exit 1; }; }
4189 fi
4190
4191
4192 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4193 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4194
4195 # Check whether --with-zlib was given.
4196 if test "${with_zlib+set}" = set; then
4197 withval=$with_zlib;
4198 if test "$withval" = yes; then
4199 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4200 elif test "$withval" = no; then
4201 wx_cv_use_zlib='wxUSE_ZLIB=no'
4202 elif test "$withval" = sys; then
4203 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4204 elif test "$withval" = builtin; then
4205 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4206 else
4207 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4208 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4209 { (exit 1); exit 1; }; }
4210 fi
4211
4212 else
4213
4214 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4215
4216 fi
4217
4218
4219 eval "$wx_cv_use_zlib"
4220
4221 if test "$wxUSE_ZLIB" = yes; then
4222 { echo "$as_me:$LINENO: result: yes" >&5
4223 echo "${ECHO_T}yes" >&6; }
4224 elif test "$wxUSE_ZLIB" = no; then
4225 { echo "$as_me:$LINENO: result: no" >&5
4226 echo "${ECHO_T}no" >&6; }
4227 elif test "$wxUSE_ZLIB" = sys; then
4228 { echo "$as_me:$LINENO: result: system version" >&5
4229 echo "${ECHO_T}system version" >&6; }
4230 elif test "$wxUSE_ZLIB" = builtin; then
4231 { echo "$as_me:$LINENO: result: builtin version" >&5
4232 echo "${ECHO_T}builtin version" >&6; }
4233 else
4234 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4235 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4236 { (exit 1); exit 1; }; }
4237 fi
4238
4239
4240 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4241 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4242
4243 # Check whether --with-expat was given.
4244 if test "${with_expat+set}" = set; then
4245 withval=$with_expat;
4246 if test "$withval" = yes; then
4247 wx_cv_use_expat='wxUSE_EXPAT=yes'
4248 elif test "$withval" = no; then
4249 wx_cv_use_expat='wxUSE_EXPAT=no'
4250 elif test "$withval" = sys; then
4251 wx_cv_use_expat='wxUSE_EXPAT=sys'
4252 elif test "$withval" = builtin; then
4253 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4254 else
4255 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4256 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4257 { (exit 1); exit 1; }; }
4258 fi
4259
4260 else
4261
4262 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4263
4264 fi
4265
4266
4267 eval "$wx_cv_use_expat"
4268
4269 if test "$wxUSE_EXPAT" = yes; then
4270 { echo "$as_me:$LINENO: result: yes" >&5
4271 echo "${ECHO_T}yes" >&6; }
4272 elif test "$wxUSE_EXPAT" = no; then
4273 { echo "$as_me:$LINENO: result: no" >&5
4274 echo "${ECHO_T}no" >&6; }
4275 elif test "$wxUSE_EXPAT" = sys; then
4276 { echo "$as_me:$LINENO: result: system version" >&5
4277 echo "${ECHO_T}system version" >&6; }
4278 elif test "$wxUSE_EXPAT" = builtin; then
4279 { echo "$as_me:$LINENO: result: builtin version" >&5
4280 echo "${ECHO_T}builtin version" >&6; }
4281 else
4282 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4283 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4284 { (exit 1); exit 1; }; }
4285 fi
4286
4287
4288 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4289 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4290
4291 # Check whether --with-macosx-sdk was given.
4292 if test "${with_macosx_sdk+set}" = set; then
4293 withval=$with_macosx_sdk;
4294 wxUSE_MACOSX_SDK=$withval
4295 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4296
4297 fi
4298
4299 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4300 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4301
4302 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4303 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4304
4305 # Check whether --with-macosx-version-min was given.
4306 if test "${with_macosx_version_min+set}" = set; then
4307 withval=$with_macosx_version_min;
4308 wxUSE_MACOSX_VERSION_MIN=$withval
4309 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4310
4311 fi
4312
4313 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4314 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4315
4316
4317
4318 enablestring=disable
4319 defaultval=
4320 if test -z "$defaultval"; then
4321 if test x"$enablestring" = xdisable; then
4322 defaultval=yes
4323 else
4324 defaultval=no
4325 fi
4326 fi
4327
4328 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4329 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4330 # Check whether --enable-shared was given.
4331 if test "${enable_shared+set}" = set; then
4332 enableval=$enable_shared;
4333 if test "$enableval" = yes; then
4334 wx_cv_use_shared='wxUSE_SHARED=yes'
4335 else
4336 wx_cv_use_shared='wxUSE_SHARED=no'
4337 fi
4338
4339 else
4340
4341 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4342
4343 fi
4344
4345
4346 eval "$wx_cv_use_shared"
4347
4348 if test x"$enablestring" = xdisable; then
4349 if test $wxUSE_SHARED = yes; then
4350 result=no
4351 else
4352 result=yes
4353 fi
4354 else
4355 result=$wxUSE_SHARED
4356 fi
4357
4358 { echo "$as_me:$LINENO: result: $result" >&5
4359 echo "${ECHO_T}$result" >&6; }
4360
4361
4362 enablestring=
4363 defaultval=
4364 if test -z "$defaultval"; then
4365 if test x"$enablestring" = xdisable; then
4366 defaultval=yes
4367 else
4368 defaultval=no
4369 fi
4370 fi
4371
4372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4373 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4374 # Check whether --enable-debug was given.
4375 if test "${enable_debug+set}" = set; then
4376 enableval=$enable_debug;
4377 if test "$enableval" = yes; then
4378 wx_cv_use_debug='wxUSE_DEBUG=yes'
4379 else
4380 wx_cv_use_debug='wxUSE_DEBUG=no'
4381 fi
4382
4383 else
4384
4385 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4386
4387 fi
4388
4389
4390 eval "$wx_cv_use_debug"
4391
4392 if test x"$enablestring" = xdisable; then
4393 if test $wxUSE_DEBUG = yes; then
4394 result=no
4395 else
4396 result=yes
4397 fi
4398 else
4399 result=$wxUSE_DEBUG
4400 fi
4401
4402 { echo "$as_me:$LINENO: result: $result" >&5
4403 echo "${ECHO_T}$result" >&6; }
4404
4405
4406 enablestring=
4407 defaultval=
4408 if test -z "$defaultval"; then
4409 if test x"$enablestring" = xdisable; then
4410 defaultval=yes
4411 else
4412 defaultval=no
4413 fi
4414 fi
4415
4416 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4417 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4418 # Check whether --enable-stl was given.
4419 if test "${enable_stl+set}" = set; then
4420 enableval=$enable_stl;
4421 if test "$enableval" = yes; then
4422 wx_cv_use_stl='wxUSE_STL=yes'
4423 else
4424 wx_cv_use_stl='wxUSE_STL=no'
4425 fi
4426
4427 else
4428
4429 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4430
4431 fi
4432
4433
4434 eval "$wx_cv_use_stl"
4435
4436 if test x"$enablestring" = xdisable; then
4437 if test $wxUSE_STL = yes; then
4438 result=no
4439 else
4440 result=yes
4441 fi
4442 else
4443 result=$wxUSE_STL
4444 fi
4445
4446 { echo "$as_me:$LINENO: result: $result" >&5
4447 echo "${ECHO_T}$result" >&6; }
4448
4449
4450 enablestring=
4451 defaultval=
4452 if test -z "$defaultval"; then
4453 if test x"$enablestring" = xdisable; then
4454 defaultval=yes
4455 else
4456 defaultval=no
4457 fi
4458 fi
4459
4460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4461 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4462 # Check whether --enable-std_iostreams was given.
4463 if test "${enable_std_iostreams+set}" = set; then
4464 enableval=$enable_std_iostreams;
4465 if test "$enableval" = yes; then
4466 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4467 else
4468 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4469 fi
4470
4471 else
4472
4473 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4474
4475 fi
4476
4477
4478 eval "$wx_cv_use_std_iostreams"
4479
4480 if test x"$enablestring" = xdisable; then
4481 if test $wxUSE_STD_IOSTREAM = yes; then
4482 result=no
4483 else
4484 result=yes
4485 fi
4486 else
4487 result=$wxUSE_STD_IOSTREAM
4488 fi
4489
4490 { echo "$as_me:$LINENO: result: $result" >&5
4491 echo "${ECHO_T}$result" >&6; }
4492
4493
4494 enablestring=
4495 defaultval=
4496 if test -z "$defaultval"; then
4497 if test x"$enablestring" = xdisable; then
4498 defaultval=yes
4499 else
4500 defaultval=no
4501 fi
4502 fi
4503
4504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4505 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4506 # Check whether --enable-std_string was given.
4507 if test "${enable_std_string+set}" = set; then
4508 enableval=$enable_std_string;
4509 if test "$enableval" = yes; then
4510 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4511 else
4512 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4513 fi
4514
4515 else
4516
4517 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4518
4519 fi
4520
4521
4522 eval "$wx_cv_use_std_string"
4523
4524 if test x"$enablestring" = xdisable; then
4525 if test $wxUSE_STD_STRING = yes; then
4526 result=no
4527 else
4528 result=yes
4529 fi
4530 else
4531 result=$wxUSE_STD_STRING
4532 fi
4533
4534 { echo "$as_me:$LINENO: result: $result" >&5
4535 echo "${ECHO_T}$result" >&6; }
4536
4537
4538 enablestring=disable
4539 defaultval=
4540 if test -z "$defaultval"; then
4541 if test x"$enablestring" = xdisable; then
4542 defaultval=yes
4543 else
4544 defaultval=no
4545 fi
4546 fi
4547
4548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4549 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4550 # Check whether --enable-unicode was given.
4551 if test "${enable_unicode+set}" = set; then
4552 enableval=$enable_unicode;
4553 if test "$enableval" = yes; then
4554 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4555 else
4556 wx_cv_use_unicode='wxUSE_UNICODE=no'
4557 fi
4558
4559 else
4560
4561 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4562
4563 fi
4564
4565
4566 eval "$wx_cv_use_unicode"
4567
4568 if test x"$enablestring" = xdisable; then
4569 if test $wxUSE_UNICODE = yes; then
4570 result=no
4571 else
4572 result=yes
4573 fi
4574 else
4575 result=$wxUSE_UNICODE
4576 fi
4577
4578 { echo "$as_me:$LINENO: result: $result" >&5
4579 echo "${ECHO_T}$result" >&6; }
4580
4581
4582 enablestring=
4583 defaultval=
4584 if test -z "$defaultval"; then
4585 if test x"$enablestring" = xdisable; then
4586 defaultval=yes
4587 else
4588 defaultval=no
4589 fi
4590 fi
4591
4592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4593 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4594 # Check whether --enable-mslu was given.
4595 if test "${enable_mslu+set}" = set; then
4596 enableval=$enable_mslu;
4597 if test "$enableval" = yes; then
4598 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4599 else
4600 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4601 fi
4602
4603 else
4604
4605 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4606
4607 fi
4608
4609
4610 eval "$wx_cv_use_mslu"
4611
4612 if test x"$enablestring" = xdisable; then
4613 if test $wxUSE_UNICODE_MSLU = yes; then
4614 result=no
4615 else
4616 result=yes
4617 fi
4618 else
4619 result=$wxUSE_UNICODE_MSLU
4620 fi
4621
4622 { echo "$as_me:$LINENO: result: $result" >&5
4623 echo "${ECHO_T}$result" >&6; }
4624
4625
4626 enablestring=
4627 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4628 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4629 # Check whether --enable-utf8 was given.
4630 if test "${enable_utf8+set}" = set; then
4631 enableval=$enable_utf8;
4632 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4633
4634 else
4635
4636 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4637
4638 fi
4639
4640
4641 eval "$wx_cv_use_utf8"
4642
4643 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4644 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4645
4646
4647 enablestring=
4648 defaultval=
4649 if test -z "$defaultval"; then
4650 if test x"$enablestring" = xdisable; then
4651 defaultval=yes
4652 else
4653 defaultval=no
4654 fi
4655 fi
4656
4657 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4658 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4659 # Check whether --enable-utf8only was given.
4660 if test "${enable_utf8only+set}" = set; then
4661 enableval=$enable_utf8only;
4662 if test "$enableval" = yes; then
4663 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4664 else
4665 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4666 fi
4667
4668 else
4669
4670 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4671
4672 fi
4673
4674
4675 eval "$wx_cv_use_utf8only"
4676
4677 if test x"$enablestring" = xdisable; then
4678 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4679 result=no
4680 else
4681 result=yes
4682 fi
4683 else
4684 result=$wxUSE_UNICODE_UTF8_LOCALE
4685 fi
4686
4687 { echo "$as_me:$LINENO: result: $result" >&5
4688 echo "${ECHO_T}$result" >&6; }
4689
4690
4691 enablestring=
4692 defaultval=
4693 if test -z "$defaultval"; then
4694 if test x"$enablestring" = xdisable; then
4695 defaultval=yes
4696 else
4697 defaultval=no
4698 fi
4699 fi
4700
4701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4702 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4703 # Check whether --enable-extended_rtti was given.
4704 if test "${enable_extended_rtti+set}" = set; then
4705 enableval=$enable_extended_rtti;
4706 if test "$enableval" = yes; then
4707 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4708 else
4709 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4710 fi
4711
4712 else
4713
4714 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4715
4716 fi
4717
4718
4719 eval "$wx_cv_use_extended_rtti"
4720
4721 if test x"$enablestring" = xdisable; then
4722 if test $wxUSE_EXTENDED_RTTI = yes; then
4723 result=no
4724 else
4725 result=yes
4726 fi
4727 else
4728 result=$wxUSE_EXTENDED_RTTI
4729 fi
4730
4731 { echo "$as_me:$LINENO: result: $result" >&5
4732 echo "${ECHO_T}$result" >&6; }
4733
4734 if test "$USE_OS2" = 1; then
4735 DEFAULT_wxUSE_OMF=no
4736
4737 enablestring=
4738 defaultval=
4739 if test -z "$defaultval"; then
4740 if test x"$enablestring" = xdisable; then
4741 defaultval=yes
4742 else
4743 defaultval=no
4744 fi
4745 fi
4746
4747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4748 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4749 # Check whether --enable-omf was given.
4750 if test "${enable_omf+set}" = set; then
4751 enableval=$enable_omf;
4752 if test "$enableval" = yes; then
4753 wx_cv_use_omf='wxUSE_OMF=yes'
4754 else
4755 wx_cv_use_omf='wxUSE_OMF=no'
4756 fi
4757
4758 else
4759
4760 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4761
4762 fi
4763
4764
4765 eval "$wx_cv_use_omf"
4766
4767 if test x"$enablestring" = xdisable; then
4768 if test $wxUSE_OMF = yes; then
4769 result=no
4770 else
4771 result=yes
4772 fi
4773 else
4774 result=$wxUSE_OMF
4775 fi
4776
4777 { echo "$as_me:$LINENO: result: $result" >&5
4778 echo "${ECHO_T}$result" >&6; }
4779
4780 fi
4781
4782 if test "$wxUSE_DEBUG" = "yes"; then
4783 DEFAULT_wxUSE_DEBUG_FLAG=yes
4784 DEFAULT_wxUSE_DEBUG_INFO=yes
4785 BUILD=debug
4786 elif test "$wxUSE_DEBUG" = "no"; then
4787 DEFAULT_wxUSE_DEBUG_FLAG=no
4788 DEFAULT_wxUSE_DEBUG_INFO=no
4789 BUILD=release
4790 fi
4791
4792
4793 enablestring=
4794 defaultval=
4795 if test -z "$defaultval"; then
4796 if test x"$enablestring" = xdisable; then
4797 defaultval=yes
4798 else
4799 defaultval=no
4800 fi
4801 fi
4802
4803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4804 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4805 # Check whether --enable-debug_flag was given.
4806 if test "${enable_debug_flag+set}" = set; then
4807 enableval=$enable_debug_flag;
4808 if test "$enableval" = yes; then
4809 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4810 else
4811 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4812 fi
4813
4814 else
4815
4816 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4817
4818 fi
4819
4820
4821 eval "$wx_cv_use_debug_flag"
4822
4823 if test x"$enablestring" = xdisable; then
4824 if test $wxUSE_DEBUG_FLAG = yes; then
4825 result=no
4826 else
4827 result=yes
4828 fi
4829 else
4830 result=$wxUSE_DEBUG_FLAG
4831 fi
4832
4833 { echo "$as_me:$LINENO: result: $result" >&5
4834 echo "${ECHO_T}$result" >&6; }
4835
4836
4837 enablestring=
4838 defaultval=
4839 if test -z "$defaultval"; then
4840 if test x"$enablestring" = xdisable; then
4841 defaultval=yes
4842 else
4843 defaultval=no
4844 fi
4845 fi
4846
4847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4848 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4849 # Check whether --enable-debug_info was given.
4850 if test "${enable_debug_info+set}" = set; then
4851 enableval=$enable_debug_info;
4852 if test "$enableval" = yes; then
4853 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4854 else
4855 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4856 fi
4857
4858 else
4859
4860 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4861
4862 fi
4863
4864
4865 eval "$wx_cv_use_debug_info"
4866
4867 if test x"$enablestring" = xdisable; then
4868 if test $wxUSE_DEBUG_INFO = yes; then
4869 result=no
4870 else
4871 result=yes
4872 fi
4873 else
4874 result=$wxUSE_DEBUG_INFO
4875 fi
4876
4877 { echo "$as_me:$LINENO: result: $result" >&5
4878 echo "${ECHO_T}$result" >&6; }
4879
4880
4881 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4882 wxUSE_DEBUG=yes
4883 BUILD=debug
4884 fi
4885
4886 if test "$wxUSE_DEBUG" = "yes"; then
4887 DEFAULT_wxUSE_OPTIMISE=no
4888 fi
4889
4890
4891 enablestring=disable
4892 defaultval=
4893 if test -z "$defaultval"; then
4894 if test x"$enablestring" = xdisable; then
4895 defaultval=yes
4896 else
4897 defaultval=no
4898 fi
4899 fi
4900
4901 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4902 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4903 # Check whether --enable-optimise was given.
4904 if test "${enable_optimise+set}" = set; then
4905 enableval=$enable_optimise;
4906 if test "$enableval" = yes; then
4907 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4908 else
4909 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4910 fi
4911
4912 else
4913
4914 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4915
4916 fi
4917
4918
4919 eval "$wx_cv_use_optimise"
4920
4921 if test x"$enablestring" = xdisable; then
4922 if test $wxUSE_OPTIMISE = yes; then
4923 result=no
4924 else
4925 result=yes
4926 fi
4927 else
4928 result=$wxUSE_OPTIMISE
4929 fi
4930
4931 { echo "$as_me:$LINENO: result: $result" >&5
4932 echo "${ECHO_T}$result" >&6; }
4933
4934
4935
4936 enablestring=
4937 defaultval=
4938 if test -z "$defaultval"; then
4939 if test x"$enablestring" = xdisable; then
4940 defaultval=yes
4941 else
4942 defaultval=no
4943 fi
4944 fi
4945
4946 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4947 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4948 # Check whether --enable-debug_gdb was given.
4949 if test "${enable_debug_gdb+set}" = set; then
4950 enableval=$enable_debug_gdb;
4951 if test "$enableval" = yes; then
4952 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4953 else
4954 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4955 fi
4956
4957 else
4958
4959 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4960
4961 fi
4962
4963
4964 eval "$wx_cv_use_debug_gdb"
4965
4966 if test x"$enablestring" = xdisable; then
4967 if test $wxUSE_DEBUG_GDB = yes; then
4968 result=no
4969 else
4970 result=yes
4971 fi
4972 else
4973 result=$wxUSE_DEBUG_GDB
4974 fi
4975
4976 { echo "$as_me:$LINENO: result: $result" >&5
4977 echo "${ECHO_T}$result" >&6; }
4978
4979
4980 enablestring=
4981 defaultval=
4982 if test -z "$defaultval"; then
4983 if test x"$enablestring" = xdisable; then
4984 defaultval=yes
4985 else
4986 defaultval=no
4987 fi
4988 fi
4989
4990 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4991 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4992 # Check whether --enable-debug_cntxt was given.
4993 if test "${enable_debug_cntxt+set}" = set; then
4994 enableval=$enable_debug_cntxt;
4995 if test "$enableval" = yes; then
4996 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4997 else
4998 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4999 fi
5000
5001 else
5002
5003 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5004
5005 fi
5006
5007
5008 eval "$wx_cv_use_debug_cntxt"
5009
5010 if test x"$enablestring" = xdisable; then
5011 if test $wxUSE_DEBUG_CONTEXT = yes; then
5012 result=no
5013 else
5014 result=yes
5015 fi
5016 else
5017 result=$wxUSE_DEBUG_CONTEXT
5018 fi
5019
5020 { echo "$as_me:$LINENO: result: $result" >&5
5021 echo "${ECHO_T}$result" >&6; }
5022
5023
5024 enablestring=
5025 defaultval=
5026 if test -z "$defaultval"; then
5027 if test x"$enablestring" = xdisable; then
5028 defaultval=yes
5029 else
5030 defaultval=no
5031 fi
5032 fi
5033
5034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5035 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5036 # Check whether --enable-mem_tracing was given.
5037 if test "${enable_mem_tracing+set}" = set; then
5038 enableval=$enable_mem_tracing;
5039 if test "$enableval" = yes; then
5040 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5041 else
5042 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5043 fi
5044
5045 else
5046
5047 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5048
5049 fi
5050
5051
5052 eval "$wx_cv_use_mem_tracing"
5053
5054 if test x"$enablestring" = xdisable; then
5055 if test $wxUSE_MEM_TRACING = yes; then
5056 result=no
5057 else
5058 result=yes
5059 fi
5060 else
5061 result=$wxUSE_MEM_TRACING
5062 fi
5063
5064 { echo "$as_me:$LINENO: result: $result" >&5
5065 echo "${ECHO_T}$result" >&6; }
5066
5067
5068 enablestring=
5069 defaultval=
5070 if test -z "$defaultval"; then
5071 if test x"$enablestring" = xdisable; then
5072 defaultval=yes
5073 else
5074 defaultval=no
5075 fi
5076 fi
5077
5078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5079 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5080 # Check whether --enable-profile was given.
5081 if test "${enable_profile+set}" = set; then
5082 enableval=$enable_profile;
5083 if test "$enableval" = yes; then
5084 wx_cv_use_profile='wxUSE_PROFILE=yes'
5085 else
5086 wx_cv_use_profile='wxUSE_PROFILE=no'
5087 fi
5088
5089 else
5090
5091 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5092
5093 fi
5094
5095
5096 eval "$wx_cv_use_profile"
5097
5098 if test x"$enablestring" = xdisable; then
5099 if test $wxUSE_PROFILE = yes; then
5100 result=no
5101 else
5102 result=yes
5103 fi
5104 else
5105 result=$wxUSE_PROFILE
5106 fi
5107
5108 { echo "$as_me:$LINENO: result: $result" >&5
5109 echo "${ECHO_T}$result" >&6; }
5110
5111
5112 enablestring=
5113 defaultval=
5114 if test -z "$defaultval"; then
5115 if test x"$enablestring" = xdisable; then
5116 defaultval=yes
5117 else
5118 defaultval=no
5119 fi
5120 fi
5121
5122 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5123 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5124 # Check whether --enable-no_rtti was given.
5125 if test "${enable_no_rtti+set}" = set; then
5126 enableval=$enable_no_rtti;
5127 if test "$enableval" = yes; then
5128 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5129 else
5130 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5131 fi
5132
5133 else
5134
5135 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5136
5137 fi
5138
5139
5140 eval "$wx_cv_use_no_rtti"
5141
5142 if test x"$enablestring" = xdisable; then
5143 if test $wxUSE_NO_RTTI = yes; then
5144 result=no
5145 else
5146 result=yes
5147 fi
5148 else
5149 result=$wxUSE_NO_RTTI
5150 fi
5151
5152 { echo "$as_me:$LINENO: result: $result" >&5
5153 echo "${ECHO_T}$result" >&6; }
5154
5155
5156 enablestring=
5157 defaultval=
5158 if test -z "$defaultval"; then
5159 if test x"$enablestring" = xdisable; then
5160 defaultval=yes
5161 else
5162 defaultval=no
5163 fi
5164 fi
5165
5166 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5167 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5168 # Check whether --enable-no_exceptions was given.
5169 if test "${enable_no_exceptions+set}" = set; then
5170 enableval=$enable_no_exceptions;
5171 if test "$enableval" = yes; then
5172 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5173 else
5174 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5175 fi
5176
5177 else
5178
5179 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5180
5181 fi
5182
5183
5184 eval "$wx_cv_use_no_exceptions"
5185
5186 if test x"$enablestring" = xdisable; then
5187 if test $wxUSE_NO_EXCEPTIONS = yes; then
5188 result=no
5189 else
5190 result=yes
5191 fi
5192 else
5193 result=$wxUSE_NO_EXCEPTIONS
5194 fi
5195
5196 { echo "$as_me:$LINENO: result: $result" >&5
5197 echo "${ECHO_T}$result" >&6; }
5198
5199
5200 enablestring=
5201 defaultval=
5202 if test -z "$defaultval"; then
5203 if test x"$enablestring" = xdisable; then
5204 defaultval=yes
5205 else
5206 defaultval=no
5207 fi
5208 fi
5209
5210 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5211 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5212 # Check whether --enable-permissive was given.
5213 if test "${enable_permissive+set}" = set; then
5214 enableval=$enable_permissive;
5215 if test "$enableval" = yes; then
5216 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5217 else
5218 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5219 fi
5220
5221 else
5222
5223 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5224
5225 fi
5226
5227
5228 eval "$wx_cv_use_permissive"
5229
5230 if test x"$enablestring" = xdisable; then
5231 if test $wxUSE_PERMISSIVE = yes; then
5232 result=no
5233 else
5234 result=yes
5235 fi
5236 else
5237 result=$wxUSE_PERMISSIVE
5238 fi
5239
5240 { echo "$as_me:$LINENO: result: $result" >&5
5241 echo "${ECHO_T}$result" >&6; }
5242
5243
5244 enablestring=
5245 defaultval=
5246 if test -z "$defaultval"; then
5247 if test x"$enablestring" = xdisable; then
5248 defaultval=yes
5249 else
5250 defaultval=no
5251 fi
5252 fi
5253
5254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5255 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5256 # Check whether --enable-no_deps was given.
5257 if test "${enable_no_deps+set}" = set; then
5258 enableval=$enable_no_deps;
5259 if test "$enableval" = yes; then
5260 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5261 else
5262 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5263 fi
5264
5265 else
5266
5267 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5268
5269 fi
5270
5271
5272 eval "$wx_cv_use_no_deps"
5273
5274 if test x"$enablestring" = xdisable; then
5275 if test $wxUSE_NO_DEPS = yes; then
5276 result=no
5277 else
5278 result=yes
5279 fi
5280 else
5281 result=$wxUSE_NO_DEPS
5282 fi
5283
5284 { echo "$as_me:$LINENO: result: $result" >&5
5285 echo "${ECHO_T}$result" >&6; }
5286
5287
5288 enablestring=disable
5289 defaultval=
5290 if test -z "$defaultval"; then
5291 if test x"$enablestring" = xdisable; then
5292 defaultval=yes
5293 else
5294 defaultval=no
5295 fi
5296 fi
5297
5298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5299 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5300 # Check whether --enable-vararg_macros was given.
5301 if test "${enable_vararg_macros+set}" = set; then
5302 enableval=$enable_vararg_macros;
5303 if test "$enableval" = yes; then
5304 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5305 else
5306 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5307 fi
5308
5309 else
5310
5311 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5312
5313 fi
5314
5315
5316 eval "$wx_cv_use_vararg_macros"
5317
5318 if test x"$enablestring" = xdisable; then
5319 if test $wxUSE_VARARG_MACROS = yes; then
5320 result=no
5321 else
5322 result=yes
5323 fi
5324 else
5325 result=$wxUSE_VARARG_MACROS
5326 fi
5327
5328 { echo "$as_me:$LINENO: result: $result" >&5
5329 echo "${ECHO_T}$result" >&6; }
5330
5331
5332 enablestring=
5333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5334 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5335 # Check whether --enable-universal_binary was given.
5336 if test "${enable_universal_binary+set}" = set; then
5337 enableval=$enable_universal_binary;
5338 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5339
5340 else
5341
5342 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5343
5344 fi
5345
5346
5347 eval "$wx_cv_use_universal_binary"
5348
5349 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5350 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5351
5352
5353
5354 enablestring=
5355 defaultval=
5356 if test -z "$defaultval"; then
5357 if test x"$enablestring" = xdisable; then
5358 defaultval=yes
5359 else
5360 defaultval=no
5361 fi
5362 fi
5363
5364 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5365 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5366 # Check whether --enable-compat26 was given.
5367 if test "${enable_compat26+set}" = set; then
5368 enableval=$enable_compat26;
5369 if test "$enableval" = yes; then
5370 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5371 else
5372 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5373 fi
5374
5375 else
5376
5377 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5378
5379 fi
5380
5381
5382 eval "$wx_cv_use_compat26"
5383
5384 if test x"$enablestring" = xdisable; then
5385 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5386 result=no
5387 else
5388 result=yes
5389 fi
5390 else
5391 result=$WXWIN_COMPATIBILITY_2_6
5392 fi
5393
5394 { echo "$as_me:$LINENO: result: $result" >&5
5395 echo "${ECHO_T}$result" >&6; }
5396
5397
5398 enablestring=disable
5399 defaultval=
5400 if test -z "$defaultval"; then
5401 if test x"$enablestring" = xdisable; then
5402 defaultval=yes
5403 else
5404 defaultval=no
5405 fi
5406 fi
5407
5408 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5409 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5410 # Check whether --enable-compat28 was given.
5411 if test "${enable_compat28+set}" = set; then
5412 enableval=$enable_compat28;
5413 if test "$enableval" = yes; then
5414 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5415 else
5416 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5417 fi
5418
5419 else
5420
5421 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5422
5423 fi
5424
5425
5426 eval "$wx_cv_use_compat28"
5427
5428 if test x"$enablestring" = xdisable; then
5429 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5430 result=no
5431 else
5432 result=yes
5433 fi
5434 else
5435 result=$WXWIN_COMPATIBILITY_2_8
5436 fi
5437
5438 { echo "$as_me:$LINENO: result: $result" >&5
5439 echo "${ECHO_T}$result" >&6; }
5440
5441
5442 cat >>confdefs.h <<\_ACEOF
5443 #define wxEVENTS_COMPATIBILITY_2_8 0
5444 _ACEOF
5445
5446
5447
5448 enablestring=disable
5449 defaultval=
5450 if test -z "$defaultval"; then
5451 if test x"$enablestring" = xdisable; then
5452 defaultval=yes
5453 else
5454 defaultval=no
5455 fi
5456 fi
5457
5458 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5459 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5460 # Check whether --enable-rpath was given.
5461 if test "${enable_rpath+set}" = set; then
5462 enableval=$enable_rpath;
5463 if test "$enableval" = yes; then
5464 wx_cv_use_rpath='wxUSE_RPATH=yes'
5465 else
5466 wx_cv_use_rpath='wxUSE_RPATH=no'
5467 fi
5468
5469 else
5470
5471 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5472
5473 fi
5474
5475
5476 eval "$wx_cv_use_rpath"
5477
5478 if test x"$enablestring" = xdisable; then
5479 if test $wxUSE_RPATH = yes; then
5480 result=no
5481 else
5482 result=yes
5483 fi
5484 else
5485 result=$wxUSE_RPATH
5486 fi
5487
5488 { echo "$as_me:$LINENO: result: $result" >&5
5489 echo "${ECHO_T}$result" >&6; }
5490
5491
5492
5493 enablestring=
5494 defaultval=
5495 if test -z "$defaultval"; then
5496 if test x"$enablestring" = xdisable; then
5497 defaultval=yes
5498 else
5499 defaultval=no
5500 fi
5501 fi
5502
5503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5504 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5505 # Check whether --enable-objc_uniquifying was given.
5506 if test "${enable_objc_uniquifying+set}" = set; then
5507 enableval=$enable_objc_uniquifying;
5508 if test "$enableval" = yes; then
5509 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5510 else
5511 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5512 fi
5513
5514 else
5515
5516 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5517
5518 fi
5519
5520
5521 eval "$wx_cv_use_objc_uniquifying"
5522
5523 if test x"$enablestring" = xdisable; then
5524 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5525 result=no
5526 else
5527 result=yes
5528 fi
5529 else
5530 result=$wxUSE_OBJC_UNIQUIFYING
5531 fi
5532
5533 { echo "$as_me:$LINENO: result: $result" >&5
5534 echo "${ECHO_T}$result" >&6; }
5535
5536
5537
5538 enablestring=disable
5539 defaultval=
5540 if test -z "$defaultval"; then
5541 if test x"$enablestring" = xdisable; then
5542 defaultval=yes
5543 else
5544 defaultval=no
5545 fi
5546 fi
5547
5548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5549 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5550 # Check whether --enable-visibility was given.
5551 if test "${enable_visibility+set}" = set; then
5552 enableval=$enable_visibility;
5553 if test "$enableval" = yes; then
5554 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5555 else
5556 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5557 fi
5558
5559 else
5560
5561 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5562
5563 fi
5564
5565
5566 eval "$wx_cv_use_visibility"
5567
5568 if test x"$enablestring" = xdisable; then
5569 if test $wxUSE_VISIBILITY = yes; then
5570 result=no
5571 else
5572 result=yes
5573 fi
5574 else
5575 result=$wxUSE_VISIBILITY
5576 fi
5577
5578 { echo "$as_me:$LINENO: result: $result" >&5
5579 echo "${ECHO_T}$result" >&6; }
5580
5581
5582
5583
5584 enablestring=
5585 defaultval=$wxUSE_ALL_FEATURES
5586 if test -z "$defaultval"; then
5587 if test x"$enablestring" = xdisable; then
5588 defaultval=yes
5589 else
5590 defaultval=no
5591 fi
5592 fi
5593
5594 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5595 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5596 # Check whether --enable-intl was given.
5597 if test "${enable_intl+set}" = set; then
5598 enableval=$enable_intl;
5599 if test "$enableval" = yes; then
5600 wx_cv_use_intl='wxUSE_INTL=yes'
5601 else
5602 wx_cv_use_intl='wxUSE_INTL=no'
5603 fi
5604
5605 else
5606
5607 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5608
5609 fi
5610
5611
5612 eval "$wx_cv_use_intl"
5613
5614 if test x"$enablestring" = xdisable; then
5615 if test $wxUSE_INTL = yes; then
5616 result=no
5617 else
5618 result=yes
5619 fi
5620 else
5621 result=$wxUSE_INTL
5622 fi
5623
5624 { echo "$as_me:$LINENO: result: $result" >&5
5625 echo "${ECHO_T}$result" >&6; }
5626
5627
5628 enablestring=
5629 defaultval=$wxUSE_ALL_FEATURES
5630 if test -z "$defaultval"; then
5631 if test x"$enablestring" = xdisable; then
5632 defaultval=yes
5633 else
5634 defaultval=no
5635 fi
5636 fi
5637
5638 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5639 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5640 # Check whether --enable-xlocale was given.
5641 if test "${enable_xlocale+set}" = set; then
5642 enableval=$enable_xlocale;
5643 if test "$enableval" = yes; then
5644 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5645 else
5646 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5647 fi
5648
5649 else
5650
5651 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5652
5653 fi
5654
5655
5656 eval "$wx_cv_use_xlocale"
5657
5658 if test x"$enablestring" = xdisable; then
5659 if test $wxUSE_XLOCALE = yes; then
5660 result=no
5661 else
5662 result=yes
5663 fi
5664 else
5665 result=$wxUSE_XLOCALE
5666 fi
5667
5668 { echo "$as_me:$LINENO: result: $result" >&5
5669 echo "${ECHO_T}$result" >&6; }
5670
5671
5672 enablestring=
5673 defaultval=$wxUSE_ALL_FEATURES
5674 if test -z "$defaultval"; then
5675 if test x"$enablestring" = xdisable; then
5676 defaultval=yes
5677 else
5678 defaultval=no
5679 fi
5680 fi
5681
5682 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5683 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5684 # Check whether --enable-config was given.
5685 if test "${enable_config+set}" = set; then
5686 enableval=$enable_config;
5687 if test "$enableval" = yes; then
5688 wx_cv_use_config='wxUSE_CONFIG=yes'
5689 else
5690 wx_cv_use_config='wxUSE_CONFIG=no'
5691 fi
5692
5693 else
5694
5695 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5696
5697 fi
5698
5699
5700 eval "$wx_cv_use_config"
5701
5702 if test x"$enablestring" = xdisable; then
5703 if test $wxUSE_CONFIG = yes; then
5704 result=no
5705 else
5706 result=yes
5707 fi
5708 else
5709 result=$wxUSE_CONFIG
5710 fi
5711
5712 { echo "$as_me:$LINENO: result: $result" >&5
5713 echo "${ECHO_T}$result" >&6; }
5714
5715
5716
5717 enablestring=
5718 defaultval=$wxUSE_ALL_FEATURES
5719 if test -z "$defaultval"; then
5720 if test x"$enablestring" = xdisable; then
5721 defaultval=yes
5722 else
5723 defaultval=no
5724 fi
5725 fi
5726
5727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5728 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5729 # Check whether --enable-protocols was given.
5730 if test "${enable_protocols+set}" = set; then
5731 enableval=$enable_protocols;
5732 if test "$enableval" = yes; then
5733 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5734 else
5735 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5736 fi
5737
5738 else
5739
5740 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5741
5742 fi
5743
5744
5745 eval "$wx_cv_use_protocols"
5746
5747 if test x"$enablestring" = xdisable; then
5748 if test $wxUSE_PROTOCOL = yes; then
5749 result=no
5750 else
5751 result=yes
5752 fi
5753 else
5754 result=$wxUSE_PROTOCOL
5755 fi
5756
5757 { echo "$as_me:$LINENO: result: $result" >&5
5758 echo "${ECHO_T}$result" >&6; }
5759
5760
5761 enablestring=
5762 defaultval=$wxUSE_ALL_FEATURES
5763 if test -z "$defaultval"; then
5764 if test x"$enablestring" = xdisable; then
5765 defaultval=yes
5766 else
5767 defaultval=no
5768 fi
5769 fi
5770
5771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5772 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5773 # Check whether --enable-ftp was given.
5774 if test "${enable_ftp+set}" = set; then
5775 enableval=$enable_ftp;
5776 if test "$enableval" = yes; then
5777 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5778 else
5779 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5780 fi
5781
5782 else
5783
5784 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5785
5786 fi
5787
5788
5789 eval "$wx_cv_use_ftp"
5790
5791 if test x"$enablestring" = xdisable; then
5792 if test $wxUSE_PROTOCOL_FTP = yes; then
5793 result=no
5794 else
5795 result=yes
5796 fi
5797 else
5798 result=$wxUSE_PROTOCOL_FTP
5799 fi
5800
5801 { echo "$as_me:$LINENO: result: $result" >&5
5802 echo "${ECHO_T}$result" >&6; }
5803
5804
5805 enablestring=
5806 defaultval=$wxUSE_ALL_FEATURES
5807 if test -z "$defaultval"; then
5808 if test x"$enablestring" = xdisable; then
5809 defaultval=yes
5810 else
5811 defaultval=no
5812 fi
5813 fi
5814
5815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5816 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5817 # Check whether --enable-http was given.
5818 if test "${enable_http+set}" = set; then
5819 enableval=$enable_http;
5820 if test "$enableval" = yes; then
5821 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5822 else
5823 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5824 fi
5825
5826 else
5827
5828 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5829
5830 fi
5831
5832
5833 eval "$wx_cv_use_http"
5834
5835 if test x"$enablestring" = xdisable; then
5836 if test $wxUSE_PROTOCOL_HTTP = yes; then
5837 result=no
5838 else
5839 result=yes
5840 fi
5841 else
5842 result=$wxUSE_PROTOCOL_HTTP
5843 fi
5844
5845 { echo "$as_me:$LINENO: result: $result" >&5
5846 echo "${ECHO_T}$result" >&6; }
5847
5848
5849 enablestring=
5850 defaultval=$wxUSE_ALL_FEATURES
5851 if test -z "$defaultval"; then
5852 if test x"$enablestring" = xdisable; then
5853 defaultval=yes
5854 else
5855 defaultval=no
5856 fi
5857 fi
5858
5859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5860 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5861 # Check whether --enable-fileproto was given.
5862 if test "${enable_fileproto+set}" = set; then
5863 enableval=$enable_fileproto;
5864 if test "$enableval" = yes; then
5865 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5866 else
5867 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5868 fi
5869
5870 else
5871
5872 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5873
5874 fi
5875
5876
5877 eval "$wx_cv_use_fileproto"
5878
5879 if test x"$enablestring" = xdisable; then
5880 if test $wxUSE_PROTOCOL_FILE = yes; then
5881 result=no
5882 else
5883 result=yes
5884 fi
5885 else
5886 result=$wxUSE_PROTOCOL_FILE
5887 fi
5888
5889 { echo "$as_me:$LINENO: result: $result" >&5
5890 echo "${ECHO_T}$result" >&6; }
5891
5892
5893 enablestring=
5894 defaultval=$wxUSE_ALL_FEATURES
5895 if test -z "$defaultval"; then
5896 if test x"$enablestring" = xdisable; then
5897 defaultval=yes
5898 else
5899 defaultval=no
5900 fi
5901 fi
5902
5903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5904 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5905 # Check whether --enable-sockets was given.
5906 if test "${enable_sockets+set}" = set; then
5907 enableval=$enable_sockets;
5908 if test "$enableval" = yes; then
5909 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5910 else
5911 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5912 fi
5913
5914 else
5915
5916 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5917
5918 fi
5919
5920
5921 eval "$wx_cv_use_sockets"
5922
5923 if test x"$enablestring" = xdisable; then
5924 if test $wxUSE_SOCKETS = yes; then
5925 result=no
5926 else
5927 result=yes
5928 fi
5929 else
5930 result=$wxUSE_SOCKETS
5931 fi
5932
5933 { echo "$as_me:$LINENO: result: $result" >&5
5934 echo "${ECHO_T}$result" >&6; }
5935
5936
5937 enablestring=
5938 defaultval=$wxUSE_ALL_FEATURES
5939 if test -z "$defaultval"; then
5940 if test x"$enablestring" = xdisable; then
5941 defaultval=yes
5942 else
5943 defaultval=no
5944 fi
5945 fi
5946
5947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5948 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5949 # Check whether --enable-ipv6 was given.
5950 if test "${enable_ipv6+set}" = set; then
5951 enableval=$enable_ipv6;
5952 if test "$enableval" = yes; then
5953 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5954 else
5955 wx_cv_use_ipv6='wxUSE_IPV6=no'
5956 fi
5957
5958 else
5959
5960 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5961
5962 fi
5963
5964
5965 eval "$wx_cv_use_ipv6"
5966
5967 if test x"$enablestring" = xdisable; then
5968 if test $wxUSE_IPV6 = yes; then
5969 result=no
5970 else
5971 result=yes
5972 fi
5973 else
5974 result=$wxUSE_IPV6
5975 fi
5976
5977 { echo "$as_me:$LINENO: result: $result" >&5
5978 echo "${ECHO_T}$result" >&6; }
5979
5980
5981 enablestring=
5982 defaultval=$wxUSE_ALL_FEATURES
5983 if test -z "$defaultval"; then
5984 if test x"$enablestring" = xdisable; then
5985 defaultval=yes
5986 else
5987 defaultval=no
5988 fi
5989 fi
5990
5991 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5992 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5993 # Check whether --enable-ole was given.
5994 if test "${enable_ole+set}" = set; then
5995 enableval=$enable_ole;
5996 if test "$enableval" = yes; then
5997 wx_cv_use_ole='wxUSE_OLE=yes'
5998 else
5999 wx_cv_use_ole='wxUSE_OLE=no'
6000 fi
6001
6002 else
6003
6004 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6005
6006 fi
6007
6008
6009 eval "$wx_cv_use_ole"
6010
6011 if test x"$enablestring" = xdisable; then
6012 if test $wxUSE_OLE = yes; then
6013 result=no
6014 else
6015 result=yes
6016 fi
6017 else
6018 result=$wxUSE_OLE
6019 fi
6020
6021 { echo "$as_me:$LINENO: result: $result" >&5
6022 echo "${ECHO_T}$result" >&6; }
6023
6024
6025 enablestring=
6026 defaultval=$wxUSE_ALL_FEATURES
6027 if test -z "$defaultval"; then
6028 if test x"$enablestring" = xdisable; then
6029 defaultval=yes
6030 else
6031 defaultval=no
6032 fi
6033 fi
6034
6035 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6036 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6037 # Check whether --enable-dataobj was given.
6038 if test "${enable_dataobj+set}" = set; then
6039 enableval=$enable_dataobj;
6040 if test "$enableval" = yes; then
6041 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6042 else
6043 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6044 fi
6045
6046 else
6047
6048 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6049
6050 fi
6051
6052
6053 eval "$wx_cv_use_dataobj"
6054
6055 if test x"$enablestring" = xdisable; then
6056 if test $wxUSE_DATAOBJ = yes; then
6057 result=no
6058 else
6059 result=yes
6060 fi
6061 else
6062 result=$wxUSE_DATAOBJ
6063 fi
6064
6065 { echo "$as_me:$LINENO: result: $result" >&5
6066 echo "${ECHO_T}$result" >&6; }
6067
6068
6069
6070 enablestring=
6071 defaultval=$wxUSE_ALL_FEATURES
6072 if test -z "$defaultval"; then
6073 if test x"$enablestring" = xdisable; then
6074 defaultval=yes
6075 else
6076 defaultval=no
6077 fi
6078 fi
6079
6080 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6081 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6082 # Check whether --enable-ipc was given.
6083 if test "${enable_ipc+set}" = set; then
6084 enableval=$enable_ipc;
6085 if test "$enableval" = yes; then
6086 wx_cv_use_ipc='wxUSE_IPC=yes'
6087 else
6088 wx_cv_use_ipc='wxUSE_IPC=no'
6089 fi
6090
6091 else
6092
6093 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6094
6095 fi
6096
6097
6098 eval "$wx_cv_use_ipc"
6099
6100 if test x"$enablestring" = xdisable; then
6101 if test $wxUSE_IPC = yes; then
6102 result=no
6103 else
6104 result=yes
6105 fi
6106 else
6107 result=$wxUSE_IPC
6108 fi
6109
6110 { echo "$as_me:$LINENO: result: $result" >&5
6111 echo "${ECHO_T}$result" >&6; }
6112
6113
6114
6115 enablestring=
6116 defaultval=$wxUSE_ALL_FEATURES
6117 if test -z "$defaultval"; then
6118 if test x"$enablestring" = xdisable; then
6119 defaultval=yes
6120 else
6121 defaultval=no
6122 fi
6123 fi
6124
6125 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6126 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6127 # Check whether --enable-baseevtloop was given.
6128 if test "${enable_baseevtloop+set}" = set; then
6129 enableval=$enable_baseevtloop;
6130 if test "$enableval" = yes; then
6131 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6132 else
6133 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6134 fi
6135
6136 else
6137
6138 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6139
6140 fi
6141
6142
6143 eval "$wx_cv_use_baseevtloop"
6144
6145 if test x"$enablestring" = xdisable; then
6146 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6147 result=no
6148 else
6149 result=yes
6150 fi
6151 else
6152 result=$wxUSE_CONSOLE_EVENTLOOP
6153 fi
6154
6155 { echo "$as_me:$LINENO: result: $result" >&5
6156 echo "${ECHO_T}$result" >&6; }
6157
6158
6159 enablestring=
6160 defaultval=$wxUSE_ALL_FEATURES
6161 if test -z "$defaultval"; then
6162 if test x"$enablestring" = xdisable; then
6163 defaultval=yes
6164 else
6165 defaultval=no
6166 fi
6167 fi
6168
6169 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6170 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6171 # Check whether --enable-epollloop was given.
6172 if test "${enable_epollloop+set}" = set; then
6173 enableval=$enable_epollloop;
6174 if test "$enableval" = yes; then
6175 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6176 else
6177 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6178 fi
6179
6180 else
6181
6182 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6183
6184 fi
6185
6186
6187 eval "$wx_cv_use_epollloop"
6188
6189 if test x"$enablestring" = xdisable; then
6190 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6191 result=no
6192 else
6193 result=yes
6194 fi
6195 else
6196 result=$wxUSE_EPOLL_DISPATCHER
6197 fi
6198
6199 { echo "$as_me:$LINENO: result: $result" >&5
6200 echo "${ECHO_T}$result" >&6; }
6201
6202
6203 enablestring=
6204 defaultval=$wxUSE_ALL_FEATURES
6205 if test -z "$defaultval"; then
6206 if test x"$enablestring" = xdisable; then
6207 defaultval=yes
6208 else
6209 defaultval=no
6210 fi
6211 fi
6212
6213 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6214 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6215 # Check whether --enable-selectloop was given.
6216 if test "${enable_selectloop+set}" = set; then
6217 enableval=$enable_selectloop;
6218 if test "$enableval" = yes; then
6219 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6220 else
6221 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6222 fi
6223
6224 else
6225
6226 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6227
6228 fi
6229
6230
6231 eval "$wx_cv_use_selectloop"
6232
6233 if test x"$enablestring" = xdisable; then
6234 if test $wxUSE_SELECT_DISPATCHER = yes; then
6235 result=no
6236 else
6237 result=yes
6238 fi
6239 else
6240 result=$wxUSE_SELECT_DISPATCHER
6241 fi
6242
6243 { echo "$as_me:$LINENO: result: $result" >&5
6244 echo "${ECHO_T}$result" >&6; }
6245
6246
6247
6248 enablestring=
6249 defaultval=$wxUSE_ALL_FEATURES
6250 if test -z "$defaultval"; then
6251 if test x"$enablestring" = xdisable; then
6252 defaultval=yes
6253 else
6254 defaultval=no
6255 fi
6256 fi
6257
6258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6259 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6260 # Check whether --enable-apple_ieee was given.
6261 if test "${enable_apple_ieee+set}" = set; then
6262 enableval=$enable_apple_ieee;
6263 if test "$enableval" = yes; then
6264 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6265 else
6266 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6267 fi
6268
6269 else
6270
6271 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6272
6273 fi
6274
6275
6276 eval "$wx_cv_use_apple_ieee"
6277
6278 if test x"$enablestring" = xdisable; then
6279 if test $wxUSE_APPLE_IEEE = yes; then
6280 result=no
6281 else
6282 result=yes
6283 fi
6284 else
6285 result=$wxUSE_APPLE_IEEE
6286 fi
6287
6288 { echo "$as_me:$LINENO: result: $result" >&5
6289 echo "${ECHO_T}$result" >&6; }
6290
6291
6292 enablestring=
6293 defaultval=$wxUSE_ALL_FEATURES
6294 if test -z "$defaultval"; then
6295 if test x"$enablestring" = xdisable; then
6296 defaultval=yes
6297 else
6298 defaultval=no
6299 fi
6300 fi
6301
6302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6303 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6304 # Check whether --enable-arcstream was given.
6305 if test "${enable_arcstream+set}" = set; then
6306 enableval=$enable_arcstream;
6307 if test "$enableval" = yes; then
6308 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6309 else
6310 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6311 fi
6312
6313 else
6314
6315 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6316
6317 fi
6318
6319
6320 eval "$wx_cv_use_arcstream"
6321
6322 if test x"$enablestring" = xdisable; then
6323 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6324 result=no
6325 else
6326 result=yes
6327 fi
6328 else
6329 result=$wxUSE_ARCHIVE_STREAMS
6330 fi
6331
6332 { echo "$as_me:$LINENO: result: $result" >&5
6333 echo "${ECHO_T}$result" >&6; }
6334
6335
6336 enablestring=
6337 defaultval=$wxUSE_ALL_FEATURES
6338 if test -z "$defaultval"; then
6339 if test x"$enablestring" = xdisable; then
6340 defaultval=yes
6341 else
6342 defaultval=no
6343 fi
6344 fi
6345
6346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6347 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6348 # Check whether --enable-base64 was given.
6349 if test "${enable_base64+set}" = set; then
6350 enableval=$enable_base64;
6351 if test "$enableval" = yes; then
6352 wx_cv_use_base64='wxUSE_BASE64=yes'
6353 else
6354 wx_cv_use_base64='wxUSE_BASE64=no'
6355 fi
6356
6357 else
6358
6359 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6360
6361 fi
6362
6363
6364 eval "$wx_cv_use_base64"
6365
6366 if test x"$enablestring" = xdisable; then
6367 if test $wxUSE_BASE64 = yes; then
6368 result=no
6369 else
6370 result=yes
6371 fi
6372 else
6373 result=$wxUSE_BASE64
6374 fi
6375
6376 { echo "$as_me:$LINENO: result: $result" >&5
6377 echo "${ECHO_T}$result" >&6; }
6378
6379
6380 enablestring=
6381 defaultval=$wxUSE_ALL_FEATURES
6382 if test -z "$defaultval"; then
6383 if test x"$enablestring" = xdisable; then
6384 defaultval=yes
6385 else
6386 defaultval=no
6387 fi
6388 fi
6389
6390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6391 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6392 # Check whether --enable-backtrace was given.
6393 if test "${enable_backtrace+set}" = set; then
6394 enableval=$enable_backtrace;
6395 if test "$enableval" = yes; then
6396 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6397 else
6398 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6399 fi
6400
6401 else
6402
6403 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6404
6405 fi
6406
6407
6408 eval "$wx_cv_use_backtrace"
6409
6410 if test x"$enablestring" = xdisable; then
6411 if test $wxUSE_STACKWALKER = yes; then
6412 result=no
6413 else
6414 result=yes
6415 fi
6416 else
6417 result=$wxUSE_STACKWALKER
6418 fi
6419
6420 { echo "$as_me:$LINENO: result: $result" >&5
6421 echo "${ECHO_T}$result" >&6; }
6422
6423
6424 enablestring=
6425 defaultval=$wxUSE_ALL_FEATURES
6426 if test -z "$defaultval"; then
6427 if test x"$enablestring" = xdisable; then
6428 defaultval=yes
6429 else
6430 defaultval=no
6431 fi
6432 fi
6433
6434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6435 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6436 # Check whether --enable-catch_segvs was given.
6437 if test "${enable_catch_segvs+set}" = set; then
6438 enableval=$enable_catch_segvs;
6439 if test "$enableval" = yes; then
6440 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6441 else
6442 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6443 fi
6444
6445 else
6446
6447 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6448
6449 fi
6450
6451
6452 eval "$wx_cv_use_catch_segvs"
6453
6454 if test x"$enablestring" = xdisable; then
6455 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6456 result=no
6457 else
6458 result=yes
6459 fi
6460 else
6461 result=$wxUSE_ON_FATAL_EXCEPTION
6462 fi
6463
6464 { echo "$as_me:$LINENO: result: $result" >&5
6465 echo "${ECHO_T}$result" >&6; }
6466
6467
6468 enablestring=
6469 defaultval=$wxUSE_ALL_FEATURES
6470 if test -z "$defaultval"; then
6471 if test x"$enablestring" = xdisable; then
6472 defaultval=yes
6473 else
6474 defaultval=no
6475 fi
6476 fi
6477
6478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6479 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6480 # Check whether --enable-cmdline was given.
6481 if test "${enable_cmdline+set}" = set; then
6482 enableval=$enable_cmdline;
6483 if test "$enableval" = yes; then
6484 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6485 else
6486 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6487 fi
6488
6489 else
6490
6491 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6492
6493 fi
6494
6495
6496 eval "$wx_cv_use_cmdline"
6497
6498 if test x"$enablestring" = xdisable; then
6499 if test $wxUSE_CMDLINE_PARSER = yes; then
6500 result=no
6501 else
6502 result=yes
6503 fi
6504 else
6505 result=$wxUSE_CMDLINE_PARSER
6506 fi
6507
6508 { echo "$as_me:$LINENO: result: $result" >&5
6509 echo "${ECHO_T}$result" >&6; }
6510
6511
6512 enablestring=
6513 defaultval=$wxUSE_ALL_FEATURES
6514 if test -z "$defaultval"; then
6515 if test x"$enablestring" = xdisable; then
6516 defaultval=yes
6517 else
6518 defaultval=no
6519 fi
6520 fi
6521
6522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6523 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6524 # Check whether --enable-datetime was given.
6525 if test "${enable_datetime+set}" = set; then
6526 enableval=$enable_datetime;
6527 if test "$enableval" = yes; then
6528 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6529 else
6530 wx_cv_use_datetime='wxUSE_DATETIME=no'
6531 fi
6532
6533 else
6534
6535 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6536
6537 fi
6538
6539
6540 eval "$wx_cv_use_datetime"
6541
6542 if test x"$enablestring" = xdisable; then
6543 if test $wxUSE_DATETIME = yes; then
6544 result=no
6545 else
6546 result=yes
6547 fi
6548 else
6549 result=$wxUSE_DATETIME
6550 fi
6551
6552 { echo "$as_me:$LINENO: result: $result" >&5
6553 echo "${ECHO_T}$result" >&6; }
6554
6555
6556 enablestring=
6557 defaultval=$wxUSE_ALL_FEATURES
6558 if test -z "$defaultval"; then
6559 if test x"$enablestring" = xdisable; then
6560 defaultval=yes
6561 else
6562 defaultval=no
6563 fi
6564 fi
6565
6566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6567 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6568 # Check whether --enable-debugreport was given.
6569 if test "${enable_debugreport+set}" = set; then
6570 enableval=$enable_debugreport;
6571 if test "$enableval" = yes; then
6572 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6573 else
6574 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6575 fi
6576
6577 else
6578
6579 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6580
6581 fi
6582
6583
6584 eval "$wx_cv_use_debugreport"
6585
6586 if test x"$enablestring" = xdisable; then
6587 if test $wxUSE_DEBUGREPORT = yes; then
6588 result=no
6589 else
6590 result=yes
6591 fi
6592 else
6593 result=$wxUSE_DEBUGREPORT
6594 fi
6595
6596 { echo "$as_me:$LINENO: result: $result" >&5
6597 echo "${ECHO_T}$result" >&6; }
6598
6599
6600 enablestring=
6601 defaultval=$wxUSE_ALL_FEATURES
6602 if test -z "$defaultval"; then
6603 if test x"$enablestring" = xdisable; then
6604 defaultval=yes
6605 else
6606 defaultval=no
6607 fi
6608 fi
6609
6610 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6611 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6612 # Check whether --enable-dialupman was given.
6613 if test "${enable_dialupman+set}" = set; then
6614 enableval=$enable_dialupman;
6615 if test "$enableval" = yes; then
6616 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6617 else
6618 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6619 fi
6620
6621 else
6622
6623 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6624
6625 fi
6626
6627
6628 eval "$wx_cv_use_dialupman"
6629
6630 if test x"$enablestring" = xdisable; then
6631 if test $wxUSE_DIALUP_MANAGER = yes; then
6632 result=no
6633 else
6634 result=yes
6635 fi
6636 else
6637 result=$wxUSE_DIALUP_MANAGER
6638 fi
6639
6640 { echo "$as_me:$LINENO: result: $result" >&5
6641 echo "${ECHO_T}$result" >&6; }
6642
6643
6644 enablestring=
6645 defaultval=$wxUSE_ALL_FEATURES
6646 if test -z "$defaultval"; then
6647 if test x"$enablestring" = xdisable; then
6648 defaultval=yes
6649 else
6650 defaultval=no
6651 fi
6652 fi
6653
6654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6655 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6656 # Check whether --enable-dynlib was given.
6657 if test "${enable_dynlib+set}" = set; then
6658 enableval=$enable_dynlib;
6659 if test "$enableval" = yes; then
6660 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6661 else
6662 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6663 fi
6664
6665 else
6666
6667 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6668
6669 fi
6670
6671
6672 eval "$wx_cv_use_dynlib"
6673
6674 if test x"$enablestring" = xdisable; then
6675 if test $wxUSE_DYNLIB_CLASS = yes; then
6676 result=no
6677 else
6678 result=yes
6679 fi
6680 else
6681 result=$wxUSE_DYNLIB_CLASS
6682 fi
6683
6684 { echo "$as_me:$LINENO: result: $result" >&5
6685 echo "${ECHO_T}$result" >&6; }
6686
6687
6688 enablestring=
6689 defaultval=$wxUSE_ALL_FEATURES
6690 if test -z "$defaultval"; then
6691 if test x"$enablestring" = xdisable; then
6692 defaultval=yes
6693 else
6694 defaultval=no
6695 fi
6696 fi
6697
6698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6699 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6700 # Check whether --enable-dynamicloader was given.
6701 if test "${enable_dynamicloader+set}" = set; then
6702 enableval=$enable_dynamicloader;
6703 if test "$enableval" = yes; then
6704 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6705 else
6706 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6707 fi
6708
6709 else
6710
6711 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6712
6713 fi
6714
6715
6716 eval "$wx_cv_use_dynamicloader"
6717
6718 if test x"$enablestring" = xdisable; then
6719 if test $wxUSE_DYNAMIC_LOADER = yes; then
6720 result=no
6721 else
6722 result=yes
6723 fi
6724 else
6725 result=$wxUSE_DYNAMIC_LOADER
6726 fi
6727
6728 { echo "$as_me:$LINENO: result: $result" >&5
6729 echo "${ECHO_T}$result" >&6; }
6730
6731
6732 enablestring=
6733 defaultval=$wxUSE_ALL_FEATURES
6734 if test -z "$defaultval"; then
6735 if test x"$enablestring" = xdisable; then
6736 defaultval=yes
6737 else
6738 defaultval=no
6739 fi
6740 fi
6741
6742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6743 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6744 # Check whether --enable-exceptions was given.
6745 if test "${enable_exceptions+set}" = set; then
6746 enableval=$enable_exceptions;
6747 if test "$enableval" = yes; then
6748 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6749 else
6750 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6751 fi
6752
6753 else
6754
6755 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6756
6757 fi
6758
6759
6760 eval "$wx_cv_use_exceptions"
6761
6762 if test x"$enablestring" = xdisable; then
6763 if test $wxUSE_EXCEPTIONS = yes; then
6764 result=no
6765 else
6766 result=yes
6767 fi
6768 else
6769 result=$wxUSE_EXCEPTIONS
6770 fi
6771
6772 { echo "$as_me:$LINENO: result: $result" >&5
6773 echo "${ECHO_T}$result" >&6; }
6774
6775
6776 enablestring=
6777 defaultval=$wxUSE_ALL_FEATURES
6778 if test -z "$defaultval"; then
6779 if test x"$enablestring" = xdisable; then
6780 defaultval=yes
6781 else
6782 defaultval=no
6783 fi
6784 fi
6785
6786 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6787 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6788 # Check whether --enable-ffile was given.
6789 if test "${enable_ffile+set}" = set; then
6790 enableval=$enable_ffile;
6791 if test "$enableval" = yes; then
6792 wx_cv_use_ffile='wxUSE_FFILE=yes'
6793 else
6794 wx_cv_use_ffile='wxUSE_FFILE=no'
6795 fi
6796
6797 else
6798
6799 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6800
6801 fi
6802
6803
6804 eval "$wx_cv_use_ffile"
6805
6806 if test x"$enablestring" = xdisable; then
6807 if test $wxUSE_FFILE = yes; then
6808 result=no
6809 else
6810 result=yes
6811 fi
6812 else
6813 result=$wxUSE_FFILE
6814 fi
6815
6816 { echo "$as_me:$LINENO: result: $result" >&5
6817 echo "${ECHO_T}$result" >&6; }
6818
6819
6820 enablestring=
6821 defaultval=$wxUSE_ALL_FEATURES
6822 if test -z "$defaultval"; then
6823 if test x"$enablestring" = xdisable; then
6824 defaultval=yes
6825 else
6826 defaultval=no
6827 fi
6828 fi
6829
6830 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6831 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6832 # Check whether --enable-file was given.
6833 if test "${enable_file+set}" = set; then
6834 enableval=$enable_file;
6835 if test "$enableval" = yes; then
6836 wx_cv_use_file='wxUSE_FILE=yes'
6837 else
6838 wx_cv_use_file='wxUSE_FILE=no'
6839 fi
6840
6841 else
6842
6843 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6844
6845 fi
6846
6847
6848 eval "$wx_cv_use_file"
6849
6850 if test x"$enablestring" = xdisable; then
6851 if test $wxUSE_FILE = yes; then
6852 result=no
6853 else
6854 result=yes
6855 fi
6856 else
6857 result=$wxUSE_FILE
6858 fi
6859
6860 { echo "$as_me:$LINENO: result: $result" >&5
6861 echo "${ECHO_T}$result" >&6; }
6862
6863
6864 enablestring=
6865 defaultval=$wxUSE_ALL_FEATURES
6866 if test -z "$defaultval"; then
6867 if test x"$enablestring" = xdisable; then
6868 defaultval=yes
6869 else
6870 defaultval=no
6871 fi
6872 fi
6873
6874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6875 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6876 # Check whether --enable-filesystem was given.
6877 if test "${enable_filesystem+set}" = set; then
6878 enableval=$enable_filesystem;
6879 if test "$enableval" = yes; then
6880 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6881 else
6882 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6883 fi
6884
6885 else
6886
6887 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6888
6889 fi
6890
6891
6892 eval "$wx_cv_use_filesystem"
6893
6894 if test x"$enablestring" = xdisable; then
6895 if test $wxUSE_FILESYSTEM = yes; then
6896 result=no
6897 else
6898 result=yes
6899 fi
6900 else
6901 result=$wxUSE_FILESYSTEM
6902 fi
6903
6904 { echo "$as_me:$LINENO: result: $result" >&5
6905 echo "${ECHO_T}$result" >&6; }
6906
6907
6908 enablestring=
6909 defaultval=$wxUSE_ALL_FEATURES
6910 if test -z "$defaultval"; then
6911 if test x"$enablestring" = xdisable; then
6912 defaultval=yes
6913 else
6914 defaultval=no
6915 fi
6916 fi
6917
6918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6919 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6920 # Check whether --enable-fontenum was given.
6921 if test "${enable_fontenum+set}" = set; then
6922 enableval=$enable_fontenum;
6923 if test "$enableval" = yes; then
6924 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6925 else
6926 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6927 fi
6928
6929 else
6930
6931 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6932
6933 fi
6934
6935
6936 eval "$wx_cv_use_fontenum"
6937
6938 if test x"$enablestring" = xdisable; then
6939 if test $wxUSE_FONTENUM = yes; then
6940 result=no
6941 else
6942 result=yes
6943 fi
6944 else
6945 result=$wxUSE_FONTENUM
6946 fi
6947
6948 { echo "$as_me:$LINENO: result: $result" >&5
6949 echo "${ECHO_T}$result" >&6; }
6950
6951
6952 enablestring=
6953 defaultval=$wxUSE_ALL_FEATURES
6954 if test -z "$defaultval"; then
6955 if test x"$enablestring" = xdisable; then
6956 defaultval=yes
6957 else
6958 defaultval=no
6959 fi
6960 fi
6961
6962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6963 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6964 # Check whether --enable-fontmap was given.
6965 if test "${enable_fontmap+set}" = set; then
6966 enableval=$enable_fontmap;
6967 if test "$enableval" = yes; then
6968 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
6969 else
6970 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
6971 fi
6972
6973 else
6974
6975 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6976
6977 fi
6978
6979
6980 eval "$wx_cv_use_fontmap"
6981
6982 if test x"$enablestring" = xdisable; then
6983 if test $wxUSE_FONTMAP = yes; then
6984 result=no
6985 else
6986 result=yes
6987 fi
6988 else
6989 result=$wxUSE_FONTMAP
6990 fi
6991
6992 { echo "$as_me:$LINENO: result: $result" >&5
6993 echo "${ECHO_T}$result" >&6; }
6994
6995
6996 enablestring=
6997 defaultval=$wxUSE_ALL_FEATURES
6998 if test -z "$defaultval"; then
6999 if test x"$enablestring" = xdisable; then
7000 defaultval=yes
7001 else
7002 defaultval=no
7003 fi
7004 fi
7005
7006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7007 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7008 # Check whether --enable-fs_archive was given.
7009 if test "${enable_fs_archive+set}" = set; then
7010 enableval=$enable_fs_archive;
7011 if test "$enableval" = yes; then
7012 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7013 else
7014 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7015 fi
7016
7017 else
7018
7019 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7020
7021 fi
7022
7023
7024 eval "$wx_cv_use_fs_archive"
7025
7026 if test x"$enablestring" = xdisable; then
7027 if test $wxUSE_FS_ARCHIVE = yes; then
7028 result=no
7029 else
7030 result=yes
7031 fi
7032 else
7033 result=$wxUSE_FS_ARCHIVE
7034 fi
7035
7036 { echo "$as_me:$LINENO: result: $result" >&5
7037 echo "${ECHO_T}$result" >&6; }
7038
7039
7040 enablestring=
7041 defaultval=$wxUSE_ALL_FEATURES
7042 if test -z "$defaultval"; then
7043 if test x"$enablestring" = xdisable; then
7044 defaultval=yes
7045 else
7046 defaultval=no
7047 fi
7048 fi
7049
7050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7051 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7052 # Check whether --enable-fs_inet was given.
7053 if test "${enable_fs_inet+set}" = set; then
7054 enableval=$enable_fs_inet;
7055 if test "$enableval" = yes; then
7056 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7057 else
7058 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7059 fi
7060
7061 else
7062
7063 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7064
7065 fi
7066
7067
7068 eval "$wx_cv_use_fs_inet"
7069
7070 if test x"$enablestring" = xdisable; then
7071 if test $wxUSE_FS_INET = yes; then
7072 result=no
7073 else
7074 result=yes
7075 fi
7076 else
7077 result=$wxUSE_FS_INET
7078 fi
7079
7080 { echo "$as_me:$LINENO: result: $result" >&5
7081 echo "${ECHO_T}$result" >&6; }
7082
7083
7084 enablestring=
7085 defaultval=$wxUSE_ALL_FEATURES
7086 if test -z "$defaultval"; then
7087 if test x"$enablestring" = xdisable; then
7088 defaultval=yes
7089 else
7090 defaultval=no
7091 fi
7092 fi
7093
7094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7095 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7096 # Check whether --enable-fs_zip was given.
7097 if test "${enable_fs_zip+set}" = set; then
7098 enableval=$enable_fs_zip;
7099 if test "$enableval" = yes; then
7100 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7101 else
7102 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7103 fi
7104
7105 else
7106
7107 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7108
7109 fi
7110
7111
7112 eval "$wx_cv_use_fs_zip"
7113
7114 if test x"$enablestring" = xdisable; then
7115 if test $wxUSE_FS_ZIP = yes; then
7116 result=no
7117 else
7118 result=yes
7119 fi
7120 else
7121 result=$wxUSE_FS_ZIP
7122 fi
7123
7124 { echo "$as_me:$LINENO: result: $result" >&5
7125 echo "${ECHO_T}$result" >&6; }
7126
7127
7128 enablestring=
7129 defaultval=$wxUSE_ALL_FEATURES
7130 if test -z "$defaultval"; then
7131 if test x"$enablestring" = xdisable; then
7132 defaultval=yes
7133 else
7134 defaultval=no
7135 fi
7136 fi
7137
7138 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7139 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7140 # Check whether --enable-geometry was given.
7141 if test "${enable_geometry+set}" = set; then
7142 enableval=$enable_geometry;
7143 if test "$enableval" = yes; then
7144 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7145 else
7146 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7147 fi
7148
7149 else
7150
7151 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7152
7153 fi
7154
7155
7156 eval "$wx_cv_use_geometry"
7157
7158 if test x"$enablestring" = xdisable; then
7159 if test $wxUSE_GEOMETRY = yes; then
7160 result=no
7161 else
7162 result=yes
7163 fi
7164 else
7165 result=$wxUSE_GEOMETRY
7166 fi
7167
7168 { echo "$as_me:$LINENO: result: $result" >&5
7169 echo "${ECHO_T}$result" >&6; }
7170
7171
7172 enablestring=
7173 defaultval=$wxUSE_ALL_FEATURES
7174 if test -z "$defaultval"; then
7175 if test x"$enablestring" = xdisable; then
7176 defaultval=yes
7177 else
7178 defaultval=no
7179 fi
7180 fi
7181
7182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7183 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7184 # Check whether --enable-log was given.
7185 if test "${enable_log+set}" = set; then
7186 enableval=$enable_log;
7187 if test "$enableval" = yes; then
7188 wx_cv_use_log='wxUSE_LOG=yes'
7189 else
7190 wx_cv_use_log='wxUSE_LOG=no'
7191 fi
7192
7193 else
7194
7195 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7196
7197 fi
7198
7199
7200 eval "$wx_cv_use_log"
7201
7202 if test x"$enablestring" = xdisable; then
7203 if test $wxUSE_LOG = yes; then
7204 result=no
7205 else
7206 result=yes
7207 fi
7208 else
7209 result=$wxUSE_LOG
7210 fi
7211
7212 { echo "$as_me:$LINENO: result: $result" >&5
7213 echo "${ECHO_T}$result" >&6; }
7214
7215
7216 enablestring=
7217 defaultval=$wxUSE_ALL_FEATURES
7218 if test -z "$defaultval"; then
7219 if test x"$enablestring" = xdisable; then
7220 defaultval=yes
7221 else
7222 defaultval=no
7223 fi
7224 fi
7225
7226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7227 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7228 # Check whether --enable-longlong was given.
7229 if test "${enable_longlong+set}" = set; then
7230 enableval=$enable_longlong;
7231 if test "$enableval" = yes; then
7232 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7233 else
7234 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7235 fi
7236
7237 else
7238
7239 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7240
7241 fi
7242
7243
7244 eval "$wx_cv_use_longlong"
7245
7246 if test x"$enablestring" = xdisable; then
7247 if test $wxUSE_LONGLONG = yes; then
7248 result=no
7249 else
7250 result=yes
7251 fi
7252 else
7253 result=$wxUSE_LONGLONG
7254 fi
7255
7256 { echo "$as_me:$LINENO: result: $result" >&5
7257 echo "${ECHO_T}$result" >&6; }
7258
7259
7260 enablestring=
7261 defaultval=$wxUSE_ALL_FEATURES
7262 if test -z "$defaultval"; then
7263 if test x"$enablestring" = xdisable; then
7264 defaultval=yes
7265 else
7266 defaultval=no
7267 fi
7268 fi
7269
7270 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7271 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7272 # Check whether --enable-mimetype was given.
7273 if test "${enable_mimetype+set}" = set; then
7274 enableval=$enable_mimetype;
7275 if test "$enableval" = yes; then
7276 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7277 else
7278 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7279 fi
7280
7281 else
7282
7283 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7284
7285 fi
7286
7287
7288 eval "$wx_cv_use_mimetype"
7289
7290 if test x"$enablestring" = xdisable; then
7291 if test $wxUSE_MIMETYPE = yes; then
7292 result=no
7293 else
7294 result=yes
7295 fi
7296 else
7297 result=$wxUSE_MIMETYPE
7298 fi
7299
7300 { echo "$as_me:$LINENO: result: $result" >&5
7301 echo "${ECHO_T}$result" >&6; }
7302
7303
7304 enablestring=
7305 defaultval=$wxUSE_ALL_FEATURES
7306 if test -z "$defaultval"; then
7307 if test x"$enablestring" = xdisable; then
7308 defaultval=yes
7309 else
7310 defaultval=no
7311 fi
7312 fi
7313
7314 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7315 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7316 # Check whether --enable-printfposparam was given.
7317 if test "${enable_printfposparam+set}" = set; then
7318 enableval=$enable_printfposparam;
7319 if test "$enableval" = yes; then
7320 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7321 else
7322 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7323 fi
7324
7325 else
7326
7327 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7328
7329 fi
7330
7331
7332 eval "$wx_cv_use_printfposparam"
7333
7334 if test x"$enablestring" = xdisable; then
7335 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7336 result=no
7337 else
7338 result=yes
7339 fi
7340 else
7341 result=$wxUSE_PRINTF_POS_PARAMS
7342 fi
7343
7344 { echo "$as_me:$LINENO: result: $result" >&5
7345 echo "${ECHO_T}$result" >&6; }
7346
7347
7348 enablestring=
7349 defaultval=$wxUSE_ALL_FEATURES
7350 if test -z "$defaultval"; then
7351 if test x"$enablestring" = xdisable; then
7352 defaultval=yes
7353 else
7354 defaultval=no
7355 fi
7356 fi
7357
7358 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7359 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7360 # Check whether --enable-snglinst was given.
7361 if test "${enable_snglinst+set}" = set; then
7362 enableval=$enable_snglinst;
7363 if test "$enableval" = yes; then
7364 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7365 else
7366 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7367 fi
7368
7369 else
7370
7371 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7372
7373 fi
7374
7375
7376 eval "$wx_cv_use_snglinst"
7377
7378 if test x"$enablestring" = xdisable; then
7379 if test $wxUSE_SNGLINST_CHECKER = yes; then
7380 result=no
7381 else
7382 result=yes
7383 fi
7384 else
7385 result=$wxUSE_SNGLINST_CHECKER
7386 fi
7387
7388 { echo "$as_me:$LINENO: result: $result" >&5
7389 echo "${ECHO_T}$result" >&6; }
7390
7391
7392 enablestring=
7393 defaultval=$wxUSE_ALL_FEATURES
7394 if test -z "$defaultval"; then
7395 if test x"$enablestring" = xdisable; then
7396 defaultval=yes
7397 else
7398 defaultval=no
7399 fi
7400 fi
7401
7402 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7403 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7404 # Check whether --enable-sound was given.
7405 if test "${enable_sound+set}" = set; then
7406 enableval=$enable_sound;
7407 if test "$enableval" = yes; then
7408 wx_cv_use_sound='wxUSE_SOUND=yes'
7409 else
7410 wx_cv_use_sound='wxUSE_SOUND=no'
7411 fi
7412
7413 else
7414
7415 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7416
7417 fi
7418
7419
7420 eval "$wx_cv_use_sound"
7421
7422 if test x"$enablestring" = xdisable; then
7423 if test $wxUSE_SOUND = yes; then
7424 result=no
7425 else
7426 result=yes
7427 fi
7428 else
7429 result=$wxUSE_SOUND
7430 fi
7431
7432 { echo "$as_me:$LINENO: result: $result" >&5
7433 echo "${ECHO_T}$result" >&6; }
7434
7435
7436 enablestring=
7437 defaultval=$wxUSE_ALL_FEATURES
7438 if test -z "$defaultval"; then
7439 if test x"$enablestring" = xdisable; then
7440 defaultval=yes
7441 else
7442 defaultval=no
7443 fi
7444 fi
7445
7446 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7447 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7448 # Check whether --enable-stdpaths was given.
7449 if test "${enable_stdpaths+set}" = set; then
7450 enableval=$enable_stdpaths;
7451 if test "$enableval" = yes; then
7452 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7453 else
7454 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7455 fi
7456
7457 else
7458
7459 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7460
7461 fi
7462
7463
7464 eval "$wx_cv_use_stdpaths"
7465
7466 if test x"$enablestring" = xdisable; then
7467 if test $wxUSE_STDPATHS = yes; then
7468 result=no
7469 else
7470 result=yes
7471 fi
7472 else
7473 result=$wxUSE_STDPATHS
7474 fi
7475
7476 { echo "$as_me:$LINENO: result: $result" >&5
7477 echo "${ECHO_T}$result" >&6; }
7478
7479
7480 enablestring=
7481 defaultval=$wxUSE_ALL_FEATURES
7482 if test -z "$defaultval"; then
7483 if test x"$enablestring" = xdisable; then
7484 defaultval=yes
7485 else
7486 defaultval=no
7487 fi
7488 fi
7489
7490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7491 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7492 # Check whether --enable-stopwatch was given.
7493 if test "${enable_stopwatch+set}" = set; then
7494 enableval=$enable_stopwatch;
7495 if test "$enableval" = yes; then
7496 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7497 else
7498 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7499 fi
7500
7501 else
7502
7503 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7504
7505 fi
7506
7507
7508 eval "$wx_cv_use_stopwatch"
7509
7510 if test x"$enablestring" = xdisable; then
7511 if test $wxUSE_STOPWATCH = yes; then
7512 result=no
7513 else
7514 result=yes
7515 fi
7516 else
7517 result=$wxUSE_STOPWATCH
7518 fi
7519
7520 { echo "$as_me:$LINENO: result: $result" >&5
7521 echo "${ECHO_T}$result" >&6; }
7522
7523
7524 enablestring=
7525 defaultval=$wxUSE_ALL_FEATURES
7526 if test -z "$defaultval"; then
7527 if test x"$enablestring" = xdisable; then
7528 defaultval=yes
7529 else
7530 defaultval=no
7531 fi
7532 fi
7533
7534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7535 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7536 # Check whether --enable-streams was given.
7537 if test "${enable_streams+set}" = set; then
7538 enableval=$enable_streams;
7539 if test "$enableval" = yes; then
7540 wx_cv_use_streams='wxUSE_STREAMS=yes'
7541 else
7542 wx_cv_use_streams='wxUSE_STREAMS=no'
7543 fi
7544
7545 else
7546
7547 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7548
7549 fi
7550
7551
7552 eval "$wx_cv_use_streams"
7553
7554 if test x"$enablestring" = xdisable; then
7555 if test $wxUSE_STREAMS = yes; then
7556 result=no
7557 else
7558 result=yes
7559 fi
7560 else
7561 result=$wxUSE_STREAMS
7562 fi
7563
7564 { echo "$as_me:$LINENO: result: $result" >&5
7565 echo "${ECHO_T}$result" >&6; }
7566
7567
7568 enablestring=
7569 defaultval=$wxUSE_ALL_FEATURES
7570 if test -z "$defaultval"; then
7571 if test x"$enablestring" = xdisable; then
7572 defaultval=yes
7573 else
7574 defaultval=no
7575 fi
7576 fi
7577
7578 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7579 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7580 # Check whether --enable-system_options was given.
7581 if test "${enable_system_options+set}" = set; then
7582 enableval=$enable_system_options;
7583 if test "$enableval" = yes; then
7584 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7585 else
7586 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7587 fi
7588
7589 else
7590
7591 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7592
7593 fi
7594
7595
7596 eval "$wx_cv_use_system_options"
7597
7598 if test x"$enablestring" = xdisable; then
7599 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7600 result=no
7601 else
7602 result=yes
7603 fi
7604 else
7605 result=$wxUSE_SYSTEM_OPTIONS
7606 fi
7607
7608 { echo "$as_me:$LINENO: result: $result" >&5
7609 echo "${ECHO_T}$result" >&6; }
7610
7611
7612 enablestring=
7613 defaultval=$wxUSE_ALL_FEATURES
7614 if test -z "$defaultval"; then
7615 if test x"$enablestring" = xdisable; then
7616 defaultval=yes
7617 else
7618 defaultval=no
7619 fi
7620 fi
7621
7622 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7623 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7624 # Check whether --enable-tarstream was given.
7625 if test "${enable_tarstream+set}" = set; then
7626 enableval=$enable_tarstream;
7627 if test "$enableval" = yes; then
7628 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7629 else
7630 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7631 fi
7632
7633 else
7634
7635 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7636
7637 fi
7638
7639
7640 eval "$wx_cv_use_tarstream"
7641
7642 if test x"$enablestring" = xdisable; then
7643 if test $wxUSE_TARSTREAM = yes; then
7644 result=no
7645 else
7646 result=yes
7647 fi
7648 else
7649 result=$wxUSE_TARSTREAM
7650 fi
7651
7652 { echo "$as_me:$LINENO: result: $result" >&5
7653 echo "${ECHO_T}$result" >&6; }
7654
7655
7656 enablestring=
7657 defaultval=$wxUSE_ALL_FEATURES
7658 if test -z "$defaultval"; then
7659 if test x"$enablestring" = xdisable; then
7660 defaultval=yes
7661 else
7662 defaultval=no
7663 fi
7664 fi
7665
7666 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7667 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7668 # Check whether --enable-textbuf was given.
7669 if test "${enable_textbuf+set}" = set; then
7670 enableval=$enable_textbuf;
7671 if test "$enableval" = yes; then
7672 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7673 else
7674 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7675 fi
7676
7677 else
7678
7679 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7680
7681 fi
7682
7683
7684 eval "$wx_cv_use_textbuf"
7685
7686 if test x"$enablestring" = xdisable; then
7687 if test $wxUSE_TEXTBUFFER = yes; then
7688 result=no
7689 else
7690 result=yes
7691 fi
7692 else
7693 result=$wxUSE_TEXTBUFFER
7694 fi
7695
7696 { echo "$as_me:$LINENO: result: $result" >&5
7697 echo "${ECHO_T}$result" >&6; }
7698
7699
7700 enablestring=
7701 defaultval=$wxUSE_ALL_FEATURES
7702 if test -z "$defaultval"; then
7703 if test x"$enablestring" = xdisable; then
7704 defaultval=yes
7705 else
7706 defaultval=no
7707 fi
7708 fi
7709
7710 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7711 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7712 # Check whether --enable-textfile was given.
7713 if test "${enable_textfile+set}" = set; then
7714 enableval=$enable_textfile;
7715 if test "$enableval" = yes; then
7716 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7717 else
7718 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7719 fi
7720
7721 else
7722
7723 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7724
7725 fi
7726
7727
7728 eval "$wx_cv_use_textfile"
7729
7730 if test x"$enablestring" = xdisable; then
7731 if test $wxUSE_TEXTFILE = yes; then
7732 result=no
7733 else
7734 result=yes
7735 fi
7736 else
7737 result=$wxUSE_TEXTFILE
7738 fi
7739
7740 { echo "$as_me:$LINENO: result: $result" >&5
7741 echo "${ECHO_T}$result" >&6; }
7742
7743
7744 enablestring=
7745 defaultval=$wxUSE_ALL_FEATURES
7746 if test -z "$defaultval"; then
7747 if test x"$enablestring" = xdisable; then
7748 defaultval=yes
7749 else
7750 defaultval=no
7751 fi
7752 fi
7753
7754 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7755 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7756 # Check whether --enable-timer was given.
7757 if test "${enable_timer+set}" = set; then
7758 enableval=$enable_timer;
7759 if test "$enableval" = yes; then
7760 wx_cv_use_timer='wxUSE_TIMER=yes'
7761 else
7762 wx_cv_use_timer='wxUSE_TIMER=no'
7763 fi
7764
7765 else
7766
7767 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7768
7769 fi
7770
7771
7772 eval "$wx_cv_use_timer"
7773
7774 if test x"$enablestring" = xdisable; then
7775 if test $wxUSE_TIMER = yes; then
7776 result=no
7777 else
7778 result=yes
7779 fi
7780 else
7781 result=$wxUSE_TIMER
7782 fi
7783
7784 { echo "$as_me:$LINENO: result: $result" >&5
7785 echo "${ECHO_T}$result" >&6; }
7786
7787
7788 enablestring=
7789 defaultval=$wxUSE_ALL_FEATURES
7790 if test -z "$defaultval"; then
7791 if test x"$enablestring" = xdisable; then
7792 defaultval=yes
7793 else
7794 defaultval=no
7795 fi
7796 fi
7797
7798 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7799 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7800 # Check whether --enable-variant was given.
7801 if test "${enable_variant+set}" = set; then
7802 enableval=$enable_variant;
7803 if test "$enableval" = yes; then
7804 wx_cv_use_variant='wxUSE_VARIANT=yes'
7805 else
7806 wx_cv_use_variant='wxUSE_VARIANT=no'
7807 fi
7808
7809 else
7810
7811 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7812
7813 fi
7814
7815
7816 eval "$wx_cv_use_variant"
7817
7818 if test x"$enablestring" = xdisable; then
7819 if test $wxUSE_VARIANT = yes; then
7820 result=no
7821 else
7822 result=yes
7823 fi
7824 else
7825 result=$wxUSE_VARIANT
7826 fi
7827
7828 { echo "$as_me:$LINENO: result: $result" >&5
7829 echo "${ECHO_T}$result" >&6; }
7830
7831
7832 enablestring=
7833 defaultval=$wxUSE_ALL_FEATURES
7834 if test -z "$defaultval"; then
7835 if test x"$enablestring" = xdisable; then
7836 defaultval=yes
7837 else
7838 defaultval=no
7839 fi
7840 fi
7841
7842 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7843 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7844 # Check whether --enable-zipstream was given.
7845 if test "${enable_zipstream+set}" = set; then
7846 enableval=$enable_zipstream;
7847 if test "$enableval" = yes; then
7848 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7849 else
7850 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7851 fi
7852
7853 else
7854
7855 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7856
7857 fi
7858
7859
7860 eval "$wx_cv_use_zipstream"
7861
7862 if test x"$enablestring" = xdisable; then
7863 if test $wxUSE_ZIPSTREAM = yes; then
7864 result=no
7865 else
7866 result=yes
7867 fi
7868 else
7869 result=$wxUSE_ZIPSTREAM
7870 fi
7871
7872 { echo "$as_me:$LINENO: result: $result" >&5
7873 echo "${ECHO_T}$result" >&6; }
7874
7875
7876
7877 enablestring=
7878 defaultval=$wxUSE_ALL_FEATURES
7879 if test -z "$defaultval"; then
7880 if test x"$enablestring" = xdisable; then
7881 defaultval=yes
7882 else
7883 defaultval=no
7884 fi
7885 fi
7886
7887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7888 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7889 # Check whether --enable-url was given.
7890 if test "${enable_url+set}" = set; then
7891 enableval=$enable_url;
7892 if test "$enableval" = yes; then
7893 wx_cv_use_url='wxUSE_URL=yes'
7894 else
7895 wx_cv_use_url='wxUSE_URL=no'
7896 fi
7897
7898 else
7899
7900 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7901
7902 fi
7903
7904
7905 eval "$wx_cv_use_url"
7906
7907 if test x"$enablestring" = xdisable; then
7908 if test $wxUSE_URL = yes; then
7909 result=no
7910 else
7911 result=yes
7912 fi
7913 else
7914 result=$wxUSE_URL
7915 fi
7916
7917 { echo "$as_me:$LINENO: result: $result" >&5
7918 echo "${ECHO_T}$result" >&6; }
7919
7920
7921 enablestring=
7922 defaultval=$wxUSE_ALL_FEATURES
7923 if test -z "$defaultval"; then
7924 if test x"$enablestring" = xdisable; then
7925 defaultval=yes
7926 else
7927 defaultval=no
7928 fi
7929 fi
7930
7931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7932 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7933 # Check whether --enable-protocol was given.
7934 if test "${enable_protocol+set}" = set; then
7935 enableval=$enable_protocol;
7936 if test "$enableval" = yes; then
7937 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
7938 else
7939 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
7940 fi
7941
7942 else
7943
7944 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7945
7946 fi
7947
7948
7949 eval "$wx_cv_use_protocol"
7950
7951 if test x"$enablestring" = xdisable; then
7952 if test $wxUSE_PROTOCOL = yes; then
7953 result=no
7954 else
7955 result=yes
7956 fi
7957 else
7958 result=$wxUSE_PROTOCOL
7959 fi
7960
7961 { echo "$as_me:$LINENO: result: $result" >&5
7962 echo "${ECHO_T}$result" >&6; }
7963
7964
7965 enablestring=
7966 defaultval=$wxUSE_ALL_FEATURES
7967 if test -z "$defaultval"; then
7968 if test x"$enablestring" = xdisable; then
7969 defaultval=yes
7970 else
7971 defaultval=no
7972 fi
7973 fi
7974
7975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7976 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7977 # Check whether --enable-protocol_http was given.
7978 if test "${enable_protocol_http+set}" = set; then
7979 enableval=$enable_protocol_http;
7980 if test "$enableval" = yes; then
7981 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7982 else
7983 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7984 fi
7985
7986 else
7987
7988 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7989
7990 fi
7991
7992
7993 eval "$wx_cv_use_protocol_http"
7994
7995 if test x"$enablestring" = xdisable; then
7996 if test $wxUSE_PROTOCOL_HTTP = yes; then
7997 result=no
7998 else
7999 result=yes
8000 fi
8001 else
8002 result=$wxUSE_PROTOCOL_HTTP
8003 fi
8004
8005 { echo "$as_me:$LINENO: result: $result" >&5
8006 echo "${ECHO_T}$result" >&6; }
8007
8008
8009 enablestring=
8010 defaultval=$wxUSE_ALL_FEATURES
8011 if test -z "$defaultval"; then
8012 if test x"$enablestring" = xdisable; then
8013 defaultval=yes
8014 else
8015 defaultval=no
8016 fi
8017 fi
8018
8019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8020 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8021 # Check whether --enable-protocol_ftp was given.
8022 if test "${enable_protocol_ftp+set}" = set; then
8023 enableval=$enable_protocol_ftp;
8024 if test "$enableval" = yes; then
8025 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8026 else
8027 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8028 fi
8029
8030 else
8031
8032 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8033
8034 fi
8035
8036
8037 eval "$wx_cv_use_protocol_ftp"
8038
8039 if test x"$enablestring" = xdisable; then
8040 if test $wxUSE_PROTOCOL_FTP = yes; then
8041 result=no
8042 else
8043 result=yes
8044 fi
8045 else
8046 result=$wxUSE_PROTOCOL_FTP
8047 fi
8048
8049 { echo "$as_me:$LINENO: result: $result" >&5
8050 echo "${ECHO_T}$result" >&6; }
8051
8052
8053 enablestring=
8054 defaultval=$wxUSE_ALL_FEATURES
8055 if test -z "$defaultval"; then
8056 if test x"$enablestring" = xdisable; then
8057 defaultval=yes
8058 else
8059 defaultval=no
8060 fi
8061 fi
8062
8063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8064 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8065 # Check whether --enable-protocol_file was given.
8066 if test "${enable_protocol_file+set}" = set; then
8067 enableval=$enable_protocol_file;
8068 if test "$enableval" = yes; then
8069 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8070 else
8071 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8072 fi
8073
8074 else
8075
8076 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8077
8078 fi
8079
8080
8081 eval "$wx_cv_use_protocol_file"
8082
8083 if test x"$enablestring" = xdisable; then
8084 if test $wxUSE_PROTOCOL_FILE = yes; then
8085 result=no
8086 else
8087 result=yes
8088 fi
8089 else
8090 result=$wxUSE_PROTOCOL_FILE
8091 fi
8092
8093 { echo "$as_me:$LINENO: result: $result" >&5
8094 echo "${ECHO_T}$result" >&6; }
8095
8096
8097
8098 enablestring=
8099 defaultval=$wxUSE_ALL_FEATURES
8100 if test -z "$defaultval"; then
8101 if test x"$enablestring" = xdisable; then
8102 defaultval=yes
8103 else
8104 defaultval=no
8105 fi
8106 fi
8107
8108 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8109 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8110 # Check whether --enable-threads was given.
8111 if test "${enable_threads+set}" = set; then
8112 enableval=$enable_threads;
8113 if test "$enableval" = yes; then
8114 wx_cv_use_threads='wxUSE_THREADS=yes'
8115 else
8116 wx_cv_use_threads='wxUSE_THREADS=no'
8117 fi
8118
8119 else
8120
8121 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8122
8123 fi
8124
8125
8126 eval "$wx_cv_use_threads"
8127
8128 if test x"$enablestring" = xdisable; then
8129 if test $wxUSE_THREADS = yes; then
8130 result=no
8131 else
8132 result=yes
8133 fi
8134 else
8135 result=$wxUSE_THREADS
8136 fi
8137
8138 { echo "$as_me:$LINENO: result: $result" >&5
8139 echo "${ECHO_T}$result" >&6; }
8140
8141
8142
8143 enablestring=
8144 defaultval=
8145 if test -z "$defaultval"; then
8146 if test x"$enablestring" = xdisable; then
8147 defaultval=yes
8148 else
8149 defaultval=no
8150 fi
8151 fi
8152
8153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8154 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8155 # Check whether --enable-iniconf was given.
8156 if test "${enable_iniconf+set}" = set; then
8157 enableval=$enable_iniconf;
8158 if test "$enableval" = yes; then
8159 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8160 else
8161 wx_cv_use_iniconf='wxUSE_INICONF=no'
8162 fi
8163
8164 else
8165
8166 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8167
8168 fi
8169
8170
8171 eval "$wx_cv_use_iniconf"
8172
8173 if test x"$enablestring" = xdisable; then
8174 if test $wxUSE_INICONF = yes; then
8175 result=no
8176 else
8177 result=yes
8178 fi
8179 else
8180 result=$wxUSE_INICONF
8181 fi
8182
8183 { echo "$as_me:$LINENO: result: $result" >&5
8184 echo "${ECHO_T}$result" >&6; }
8185
8186
8187 enablestring=
8188 defaultval=$wxUSE_ALL_FEATURES
8189 if test -z "$defaultval"; then
8190 if test x"$enablestring" = xdisable; then
8191 defaultval=yes
8192 else
8193 defaultval=no
8194 fi
8195 fi
8196
8197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8198 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8199 # Check whether --enable-regkey was given.
8200 if test "${enable_regkey+set}" = set; then
8201 enableval=$enable_regkey;
8202 if test "$enableval" = yes; then
8203 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8204 else
8205 wx_cv_use_regkey='wxUSE_REGKEY=no'
8206 fi
8207
8208 else
8209
8210 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8211
8212 fi
8213
8214
8215 eval "$wx_cv_use_regkey"
8216
8217 if test x"$enablestring" = xdisable; then
8218 if test $wxUSE_REGKEY = yes; then
8219 result=no
8220 else
8221 result=yes
8222 fi
8223 else
8224 result=$wxUSE_REGKEY
8225 fi
8226
8227 { echo "$as_me:$LINENO: result: $result" >&5
8228 echo "${ECHO_T}$result" >&6; }
8229
8230
8231 if test "$wxUSE_GUI" = "yes"; then
8232
8233
8234
8235 enablestring=
8236 defaultval=$wxUSE_ALL_FEATURES
8237 if test -z "$defaultval"; then
8238 if test x"$enablestring" = xdisable; then
8239 defaultval=yes
8240 else
8241 defaultval=no
8242 fi
8243 fi
8244
8245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8246 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8247 # Check whether --enable-docview was given.
8248 if test "${enable_docview+set}" = set; then
8249 enableval=$enable_docview;
8250 if test "$enableval" = yes; then
8251 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8252 else
8253 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8254 fi
8255
8256 else
8257
8258 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8259
8260 fi
8261
8262
8263 eval "$wx_cv_use_docview"
8264
8265 if test x"$enablestring" = xdisable; then
8266 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8267 result=no
8268 else
8269 result=yes
8270 fi
8271 else
8272 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8273 fi
8274
8275 { echo "$as_me:$LINENO: result: $result" >&5
8276 echo "${ECHO_T}$result" >&6; }
8277
8278
8279 enablestring=
8280 defaultval=$wxUSE_ALL_FEATURES
8281 if test -z "$defaultval"; then
8282 if test x"$enablestring" = xdisable; then
8283 defaultval=yes
8284 else
8285 defaultval=no
8286 fi
8287 fi
8288
8289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8290 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8291 # Check whether --enable-help was given.
8292 if test "${enable_help+set}" = set; then
8293 enableval=$enable_help;
8294 if test "$enableval" = yes; then
8295 wx_cv_use_help='wxUSE_HELP=yes'
8296 else
8297 wx_cv_use_help='wxUSE_HELP=no'
8298 fi
8299
8300 else
8301
8302 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8303
8304 fi
8305
8306
8307 eval "$wx_cv_use_help"
8308
8309 if test x"$enablestring" = xdisable; then
8310 if test $wxUSE_HELP = yes; then
8311 result=no
8312 else
8313 result=yes
8314 fi
8315 else
8316 result=$wxUSE_HELP
8317 fi
8318
8319 { echo "$as_me:$LINENO: result: $result" >&5
8320 echo "${ECHO_T}$result" >&6; }
8321
8322
8323 enablestring=
8324 defaultval=$wxUSE_ALL_FEATURES
8325 if test -z "$defaultval"; then
8326 if test x"$enablestring" = xdisable; then
8327 defaultval=yes
8328 else
8329 defaultval=no
8330 fi
8331 fi
8332
8333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8334 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8335 # Check whether --enable-mshtmlhelp was given.
8336 if test "${enable_mshtmlhelp+set}" = set; then
8337 enableval=$enable_mshtmlhelp;
8338 if test "$enableval" = yes; then
8339 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8340 else
8341 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8342 fi
8343
8344 else
8345
8346 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8347
8348 fi
8349
8350
8351 eval "$wx_cv_use_mshtmlhelp"
8352
8353 if test x"$enablestring" = xdisable; then
8354 if test $wxUSE_MS_HTML_HELP = yes; then
8355 result=no
8356 else
8357 result=yes
8358 fi
8359 else
8360 result=$wxUSE_MS_HTML_HELP
8361 fi
8362
8363 { echo "$as_me:$LINENO: result: $result" >&5
8364 echo "${ECHO_T}$result" >&6; }
8365
8366
8367 enablestring=
8368 defaultval=$wxUSE_ALL_FEATURES
8369 if test -z "$defaultval"; then
8370 if test x"$enablestring" = xdisable; then
8371 defaultval=yes
8372 else
8373 defaultval=no
8374 fi
8375 fi
8376
8377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8378 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8379 # Check whether --enable-html was given.
8380 if test "${enable_html+set}" = set; then
8381 enableval=$enable_html;
8382 if test "$enableval" = yes; then
8383 wx_cv_use_html='wxUSE_HTML=yes'
8384 else
8385 wx_cv_use_html='wxUSE_HTML=no'
8386 fi
8387
8388 else
8389
8390 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8391
8392 fi
8393
8394
8395 eval "$wx_cv_use_html"
8396
8397 if test x"$enablestring" = xdisable; then
8398 if test $wxUSE_HTML = yes; then
8399 result=no
8400 else
8401 result=yes
8402 fi
8403 else
8404 result=$wxUSE_HTML
8405 fi
8406
8407 { echo "$as_me:$LINENO: result: $result" >&5
8408 echo "${ECHO_T}$result" >&6; }
8409
8410
8411 enablestring=
8412 defaultval=$wxUSE_ALL_FEATURES
8413 if test -z "$defaultval"; then
8414 if test x"$enablestring" = xdisable; then
8415 defaultval=yes
8416 else
8417 defaultval=no
8418 fi
8419 fi
8420
8421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8422 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8423 # Check whether --enable-htmlhelp was given.
8424 if test "${enable_htmlhelp+set}" = set; then
8425 enableval=$enable_htmlhelp;
8426 if test "$enableval" = yes; then
8427 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8428 else
8429 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8430 fi
8431
8432 else
8433
8434 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8435
8436 fi
8437
8438
8439 eval "$wx_cv_use_htmlhelp"
8440
8441 if test x"$enablestring" = xdisable; then
8442 if test $wxUSE_WXHTML_HELP = yes; then
8443 result=no
8444 else
8445 result=yes
8446 fi
8447 else
8448 result=$wxUSE_WXHTML_HELP
8449 fi
8450
8451 { echo "$as_me:$LINENO: result: $result" >&5
8452 echo "${ECHO_T}$result" >&6; }
8453
8454
8455 enablestring=
8456 defaultval=$wxUSE_ALL_FEATURES
8457 if test -z "$defaultval"; then
8458 if test x"$enablestring" = xdisable; then
8459 defaultval=yes
8460 else
8461 defaultval=no
8462 fi
8463 fi
8464
8465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8466 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8467 # Check whether --enable-xrc was given.
8468 if test "${enable_xrc+set}" = set; then
8469 enableval=$enable_xrc;
8470 if test "$enableval" = yes; then
8471 wx_cv_use_xrc='wxUSE_XRC=yes'
8472 else
8473 wx_cv_use_xrc='wxUSE_XRC=no'
8474 fi
8475
8476 else
8477
8478 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8479
8480 fi
8481
8482
8483 eval "$wx_cv_use_xrc"
8484
8485 if test x"$enablestring" = xdisable; then
8486 if test $wxUSE_XRC = yes; then
8487 result=no
8488 else
8489 result=yes
8490 fi
8491 else
8492 result=$wxUSE_XRC
8493 fi
8494
8495 { echo "$as_me:$LINENO: result: $result" >&5
8496 echo "${ECHO_T}$result" >&6; }
8497
8498
8499 enablestring=
8500 defaultval=$wxUSE_ALL_FEATURES
8501 if test -z "$defaultval"; then
8502 if test x"$enablestring" = xdisable; then
8503 defaultval=yes
8504 else
8505 defaultval=no
8506 fi
8507 fi
8508
8509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8510 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8511 # Check whether --enable-aui was given.
8512 if test "${enable_aui+set}" = set; then
8513 enableval=$enable_aui;
8514 if test "$enableval" = yes; then
8515 wx_cv_use_aui='wxUSE_AUI=yes'
8516 else
8517 wx_cv_use_aui='wxUSE_AUI=no'
8518 fi
8519
8520 else
8521
8522 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8523
8524 fi
8525
8526
8527 eval "$wx_cv_use_aui"
8528
8529 if test x"$enablestring" = xdisable; then
8530 if test $wxUSE_AUI = yes; then
8531 result=no
8532 else
8533 result=yes
8534 fi
8535 else
8536 result=$wxUSE_AUI
8537 fi
8538
8539 { echo "$as_me:$LINENO: result: $result" >&5
8540 echo "${ECHO_T}$result" >&6; }
8541
8542
8543 enablestring=
8544 defaultval=$wxUSE_ALL_FEATURES
8545 if test -z "$defaultval"; then
8546 if test x"$enablestring" = xdisable; then
8547 defaultval=yes
8548 else
8549 defaultval=no
8550 fi
8551 fi
8552
8553 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8554 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8555 # Check whether --enable-propgrid was given.
8556 if test "${enable_propgrid+set}" = set; then
8557 enableval=$enable_propgrid;
8558 if test "$enableval" = yes; then
8559 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8560 else
8561 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8562 fi
8563
8564 else
8565
8566 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8567
8568 fi
8569
8570
8571 eval "$wx_cv_use_propgrid"
8572
8573 if test x"$enablestring" = xdisable; then
8574 if test $wxUSE_PROPGRID = yes; then
8575 result=no
8576 else
8577 result=yes
8578 fi
8579 else
8580 result=$wxUSE_PROPGRID
8581 fi
8582
8583 { echo "$as_me:$LINENO: result: $result" >&5
8584 echo "${ECHO_T}$result" >&6; }
8585
8586
8587 enablestring=
8588 defaultval=$wxUSE_ALL_FEATURES
8589 if test -z "$defaultval"; then
8590 if test x"$enablestring" = xdisable; then
8591 defaultval=yes
8592 else
8593 defaultval=no
8594 fi
8595 fi
8596
8597 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8598 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8599 # Check whether --enable-stc was given.
8600 if test "${enable_stc+set}" = set; then
8601 enableval=$enable_stc;
8602 if test "$enableval" = yes; then
8603 wx_cv_use_stc='wxUSE_STC=yes'
8604 else
8605 wx_cv_use_stc='wxUSE_STC=no'
8606 fi
8607
8608 else
8609
8610 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8611
8612 fi
8613
8614
8615 eval "$wx_cv_use_stc"
8616
8617 if test x"$enablestring" = xdisable; then
8618 if test $wxUSE_STC = yes; then
8619 result=no
8620 else
8621 result=yes
8622 fi
8623 else
8624 result=$wxUSE_STC
8625 fi
8626
8627 { echo "$as_me:$LINENO: result: $result" >&5
8628 echo "${ECHO_T}$result" >&6; }
8629
8630
8631 enablestring=
8632 defaultval=$wxUSE_ALL_FEATURES
8633 if test -z "$defaultval"; then
8634 if test x"$enablestring" = xdisable; then
8635 defaultval=yes
8636 else
8637 defaultval=no
8638 fi
8639 fi
8640
8641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8642 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8643 # Check whether --enable-constraints was given.
8644 if test "${enable_constraints+set}" = set; then
8645 enableval=$enable_constraints;
8646 if test "$enableval" = yes; then
8647 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8648 else
8649 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8650 fi
8651
8652 else
8653
8654 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8655
8656 fi
8657
8658
8659 eval "$wx_cv_use_constraints"
8660
8661 if test x"$enablestring" = xdisable; then
8662 if test $wxUSE_CONSTRAINTS = yes; then
8663 result=no
8664 else
8665 result=yes
8666 fi
8667 else
8668 result=$wxUSE_CONSTRAINTS
8669 fi
8670
8671 { echo "$as_me:$LINENO: result: $result" >&5
8672 echo "${ECHO_T}$result" >&6; }
8673
8674
8675 enablestring=
8676 defaultval=$wxUSE_ALL_FEATURES
8677 if test -z "$defaultval"; then
8678 if test x"$enablestring" = xdisable; then
8679 defaultval=yes
8680 else
8681 defaultval=no
8682 fi
8683 fi
8684
8685 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8686 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8687 # Check whether --enable-loggui was given.
8688 if test "${enable_loggui+set}" = set; then
8689 enableval=$enable_loggui;
8690 if test "$enableval" = yes; then
8691 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8692 else
8693 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8694 fi
8695
8696 else
8697
8698 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8699
8700 fi
8701
8702
8703 eval "$wx_cv_use_loggui"
8704
8705 if test x"$enablestring" = xdisable; then
8706 if test $wxUSE_LOGGUI = yes; then
8707 result=no
8708 else
8709 result=yes
8710 fi
8711 else
8712 result=$wxUSE_LOGGUI
8713 fi
8714
8715 { echo "$as_me:$LINENO: result: $result" >&5
8716 echo "${ECHO_T}$result" >&6; }
8717
8718
8719 enablestring=
8720 defaultval=$wxUSE_ALL_FEATURES
8721 if test -z "$defaultval"; then
8722 if test x"$enablestring" = xdisable; then
8723 defaultval=yes
8724 else
8725 defaultval=no
8726 fi
8727 fi
8728
8729 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8730 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8731 # Check whether --enable-logwin was given.
8732 if test "${enable_logwin+set}" = set; then
8733 enableval=$enable_logwin;
8734 if test "$enableval" = yes; then
8735 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8736 else
8737 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8738 fi
8739
8740 else
8741
8742 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8743
8744 fi
8745
8746
8747 eval "$wx_cv_use_logwin"
8748
8749 if test x"$enablestring" = xdisable; then
8750 if test $wxUSE_LOGWINDOW = yes; then
8751 result=no
8752 else
8753 result=yes
8754 fi
8755 else
8756 result=$wxUSE_LOGWINDOW
8757 fi
8758
8759 { echo "$as_me:$LINENO: result: $result" >&5
8760 echo "${ECHO_T}$result" >&6; }
8761
8762
8763 enablestring=
8764 defaultval=$wxUSE_ALL_FEATURES
8765 if test -z "$defaultval"; then
8766 if test x"$enablestring" = xdisable; then
8767 defaultval=yes
8768 else
8769 defaultval=no
8770 fi
8771 fi
8772
8773 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8774 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8775 # Check whether --enable-logdialog was given.
8776 if test "${enable_logdialog+set}" = set; then
8777 enableval=$enable_logdialog;
8778 if test "$enableval" = yes; then
8779 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8780 else
8781 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8782 fi
8783
8784 else
8785
8786 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8787
8788 fi
8789
8790
8791 eval "$wx_cv_use_logdialog"
8792
8793 if test x"$enablestring" = xdisable; then
8794 if test $wxUSE_LOGDIALOG = yes; then
8795 result=no
8796 else
8797 result=yes
8798 fi
8799 else
8800 result=$wxUSE_LOGDIALOG
8801 fi
8802
8803 { echo "$as_me:$LINENO: result: $result" >&5
8804 echo "${ECHO_T}$result" >&6; }
8805
8806
8807 enablestring=
8808 defaultval=$wxUSE_ALL_FEATURES
8809 if test -z "$defaultval"; then
8810 if test x"$enablestring" = xdisable; then
8811 defaultval=yes
8812 else
8813 defaultval=no
8814 fi
8815 fi
8816
8817 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8818 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8819 # Check whether --enable-mdi was given.
8820 if test "${enable_mdi+set}" = set; then
8821 enableval=$enable_mdi;
8822 if test "$enableval" = yes; then
8823 wx_cv_use_mdi='wxUSE_MDI=yes'
8824 else
8825 wx_cv_use_mdi='wxUSE_MDI=no'
8826 fi
8827
8828 else
8829
8830 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8831
8832 fi
8833
8834
8835 eval "$wx_cv_use_mdi"
8836
8837 if test x"$enablestring" = xdisable; then
8838 if test $wxUSE_MDI = yes; then
8839 result=no
8840 else
8841 result=yes
8842 fi
8843 else
8844 result=$wxUSE_MDI
8845 fi
8846
8847 { echo "$as_me:$LINENO: result: $result" >&5
8848 echo "${ECHO_T}$result" >&6; }
8849
8850
8851 enablestring=
8852 defaultval=$wxUSE_ALL_FEATURES
8853 if test -z "$defaultval"; then
8854 if test x"$enablestring" = xdisable; then
8855 defaultval=yes
8856 else
8857 defaultval=no
8858 fi
8859 fi
8860
8861 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8862 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8863 # Check whether --enable-mdidoc was given.
8864 if test "${enable_mdidoc+set}" = set; then
8865 enableval=$enable_mdidoc;
8866 if test "$enableval" = yes; then
8867 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8868 else
8869 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8870 fi
8871
8872 else
8873
8874 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8875
8876 fi
8877
8878
8879 eval "$wx_cv_use_mdidoc"
8880
8881 if test x"$enablestring" = xdisable; then
8882 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8883 result=no
8884 else
8885 result=yes
8886 fi
8887 else
8888 result=$wxUSE_MDI_ARCHITECTURE
8889 fi
8890
8891 { echo "$as_me:$LINENO: result: $result" >&5
8892 echo "${ECHO_T}$result" >&6; }
8893
8894
8895 enablestring=
8896 defaultval=$wxUSE_ALL_FEATURES
8897 if test -z "$defaultval"; then
8898 if test x"$enablestring" = xdisable; then
8899 defaultval=yes
8900 else
8901 defaultval=no
8902 fi
8903 fi
8904
8905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8906 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8907 # Check whether --enable-mediactrl was given.
8908 if test "${enable_mediactrl+set}" = set; then
8909 enableval=$enable_mediactrl;
8910 if test "$enableval" = yes; then
8911 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8912 else
8913 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8914 fi
8915
8916 else
8917
8918 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8919
8920 fi
8921
8922
8923 eval "$wx_cv_use_mediactrl"
8924
8925 if test x"$enablestring" = xdisable; then
8926 if test $wxUSE_MEDIACTRL = yes; then
8927 result=no
8928 else
8929 result=yes
8930 fi
8931 else
8932 result=$wxUSE_MEDIACTRL
8933 fi
8934
8935 { echo "$as_me:$LINENO: result: $result" >&5
8936 echo "${ECHO_T}$result" >&6; }
8937
8938
8939 enablestring=
8940 defaultval=$wxUSE_ALL_FEATURES
8941 if test -z "$defaultval"; then
8942 if test x"$enablestring" = xdisable; then
8943 defaultval=yes
8944 else
8945 defaultval=no
8946 fi
8947 fi
8948
8949 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8950 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8951 # Check whether --enable-gstreamer8 was given.
8952 if test "${enable_gstreamer8+set}" = set; then
8953 enableval=$enable_gstreamer8;
8954 if test "$enableval" = yes; then
8955 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8956 else
8957 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8958 fi
8959
8960 else
8961
8962 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8963
8964 fi
8965
8966
8967 eval "$wx_cv_use_gstreamer8"
8968
8969 if test x"$enablestring" = xdisable; then
8970 if test $wxUSE_GSTREAMER8 = yes; then
8971 result=no
8972 else
8973 result=yes
8974 fi
8975 else
8976 result=$wxUSE_GSTREAMER8
8977 fi
8978
8979 { echo "$as_me:$LINENO: result: $result" >&5
8980 echo "${ECHO_T}$result" >&6; }
8981
8982
8983 enablestring=
8984 defaultval=$wxUSE_ALL_FEATURES
8985 if test -z "$defaultval"; then
8986 if test x"$enablestring" = xdisable; then
8987 defaultval=yes
8988 else
8989 defaultval=no
8990 fi
8991 fi
8992
8993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8994 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8995 # Check whether --enable-webkit was given.
8996 if test "${enable_webkit+set}" = set; then
8997 enableval=$enable_webkit;
8998 if test "$enableval" = yes; then
8999 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9000 else
9001 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9002 fi
9003
9004 else
9005
9006 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9007
9008 fi
9009
9010
9011 eval "$wx_cv_use_webkit"
9012
9013 if test x"$enablestring" = xdisable; then
9014 if test $wxUSE_WEBKIT = yes; then
9015 result=no
9016 else
9017 result=yes
9018 fi
9019 else
9020 result=$wxUSE_WEBKIT
9021 fi
9022
9023 { echo "$as_me:$LINENO: result: $result" >&5
9024 echo "${ECHO_T}$result" >&6; }
9025
9026
9027 enablestring=
9028 defaultval=$wxUSE_ALL_FEATURES
9029 if test -z "$defaultval"; then
9030 if test x"$enablestring" = xdisable; then
9031 defaultval=yes
9032 else
9033 defaultval=no
9034 fi
9035 fi
9036
9037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9038 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9039 # Check whether --enable-richtext was given.
9040 if test "${enable_richtext+set}" = set; then
9041 enableval=$enable_richtext;
9042 if test "$enableval" = yes; then
9043 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9044 else
9045 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9046 fi
9047
9048 else
9049
9050 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9051
9052 fi
9053
9054
9055 eval "$wx_cv_use_richtext"
9056
9057 if test x"$enablestring" = xdisable; then
9058 if test $wxUSE_RICHTEXT = yes; then
9059 result=no
9060 else
9061 result=yes
9062 fi
9063 else
9064 result=$wxUSE_RICHTEXT
9065 fi
9066
9067 { echo "$as_me:$LINENO: result: $result" >&5
9068 echo "${ECHO_T}$result" >&6; }
9069
9070
9071 enablestring=
9072 defaultval=$wxUSE_ALL_FEATURES
9073 if test -z "$defaultval"; then
9074 if test x"$enablestring" = xdisable; then
9075 defaultval=yes
9076 else
9077 defaultval=no
9078 fi
9079 fi
9080
9081 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9082 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9083 # Check whether --enable-graphics_ctx was given.
9084 if test "${enable_graphics_ctx+set}" = set; then
9085 enableval=$enable_graphics_ctx;
9086 if test "$enableval" = yes; then
9087 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9088 else
9089 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9090 fi
9091
9092 else
9093
9094 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9095
9096 fi
9097
9098
9099 eval "$wx_cv_use_graphics_ctx"
9100
9101 if test x"$enablestring" = xdisable; then
9102 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9103 result=no
9104 else
9105 result=yes
9106 fi
9107 else
9108 result=$wxUSE_GRAPHICS_CONTEXT
9109 fi
9110
9111 { echo "$as_me:$LINENO: result: $result" >&5
9112 echo "${ECHO_T}$result" >&6; }
9113
9114
9115 enablestring=
9116 defaultval=$wxUSE_ALL_FEATURES
9117 if test -z "$defaultval"; then
9118 if test x"$enablestring" = xdisable; then
9119 defaultval=yes
9120 else
9121 defaultval=no
9122 fi
9123 fi
9124
9125 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9126 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9127 # Check whether --enable-postscript was given.
9128 if test "${enable_postscript+set}" = set; then
9129 enableval=$enable_postscript;
9130 if test "$enableval" = yes; then
9131 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9132 else
9133 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9134 fi
9135
9136 else
9137
9138 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9139
9140 fi
9141
9142
9143 eval "$wx_cv_use_postscript"
9144
9145 if test x"$enablestring" = xdisable; then
9146 if test $wxUSE_POSTSCRIPT = yes; then
9147 result=no
9148 else
9149 result=yes
9150 fi
9151 else
9152 result=$wxUSE_POSTSCRIPT
9153 fi
9154
9155 { echo "$as_me:$LINENO: result: $result" >&5
9156 echo "${ECHO_T}$result" >&6; }
9157
9158
9159 enablestring=
9160 defaultval=$wxUSE_ALL_FEATURES
9161 if test -z "$defaultval"; then
9162 if test x"$enablestring" = xdisable; then
9163 defaultval=yes
9164 else
9165 defaultval=no
9166 fi
9167 fi
9168
9169 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9170 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9171 # Check whether --enable-printarch was given.
9172 if test "${enable_printarch+set}" = set; then
9173 enableval=$enable_printarch;
9174 if test "$enableval" = yes; then
9175 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9176 else
9177 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9178 fi
9179
9180 else
9181
9182 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9183
9184 fi
9185
9186
9187 eval "$wx_cv_use_printarch"
9188
9189 if test x"$enablestring" = xdisable; then
9190 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9191 result=no
9192 else
9193 result=yes
9194 fi
9195 else
9196 result=$wxUSE_PRINTING_ARCHITECTURE
9197 fi
9198
9199 { echo "$as_me:$LINENO: result: $result" >&5
9200 echo "${ECHO_T}$result" >&6; }
9201
9202
9203 enablestring=
9204 defaultval=$wxUSE_ALL_FEATURES
9205 if test -z "$defaultval"; then
9206 if test x"$enablestring" = xdisable; then
9207 defaultval=yes
9208 else
9209 defaultval=no
9210 fi
9211 fi
9212
9213 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9214 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9215 # Check whether --enable-svg was given.
9216 if test "${enable_svg+set}" = set; then
9217 enableval=$enable_svg;
9218 if test "$enableval" = yes; then
9219 wx_cv_use_svg='wxUSE_SVG=yes'
9220 else
9221 wx_cv_use_svg='wxUSE_SVG=no'
9222 fi
9223
9224 else
9225
9226 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9227
9228 fi
9229
9230
9231 eval "$wx_cv_use_svg"
9232
9233 if test x"$enablestring" = xdisable; then
9234 if test $wxUSE_SVG = yes; then
9235 result=no
9236 else
9237 result=yes
9238 fi
9239 else
9240 result=$wxUSE_SVG
9241 fi
9242
9243 { echo "$as_me:$LINENO: result: $result" >&5
9244 echo "${ECHO_T}$result" >&6; }
9245
9246
9247
9248
9249 enablestring=
9250 defaultval=$wxUSE_ALL_FEATURES
9251 if test -z "$defaultval"; then
9252 if test x"$enablestring" = xdisable; then
9253 defaultval=yes
9254 else
9255 defaultval=no
9256 fi
9257 fi
9258
9259 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9260 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9261 # Check whether --enable-clipboard was given.
9262 if test "${enable_clipboard+set}" = set; then
9263 enableval=$enable_clipboard;
9264 if test "$enableval" = yes; then
9265 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9266 else
9267 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9268 fi
9269
9270 else
9271
9272 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9273
9274 fi
9275
9276
9277 eval "$wx_cv_use_clipboard"
9278
9279 if test x"$enablestring" = xdisable; then
9280 if test $wxUSE_CLIPBOARD = yes; then
9281 result=no
9282 else
9283 result=yes
9284 fi
9285 else
9286 result=$wxUSE_CLIPBOARD
9287 fi
9288
9289 { echo "$as_me:$LINENO: result: $result" >&5
9290 echo "${ECHO_T}$result" >&6; }
9291
9292
9293 enablestring=
9294 defaultval=$wxUSE_ALL_FEATURES
9295 if test -z "$defaultval"; then
9296 if test x"$enablestring" = xdisable; then
9297 defaultval=yes
9298 else
9299 defaultval=no
9300 fi
9301 fi
9302
9303 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9304 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9305 # Check whether --enable-dnd was given.
9306 if test "${enable_dnd+set}" = set; then
9307 enableval=$enable_dnd;
9308 if test "$enableval" = yes; then
9309 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9310 else
9311 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9312 fi
9313
9314 else
9315
9316 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9317
9318 fi
9319
9320
9321 eval "$wx_cv_use_dnd"
9322
9323 if test x"$enablestring" = xdisable; then
9324 if test $wxUSE_DRAG_AND_DROP = yes; then
9325 result=no
9326 else
9327 result=yes
9328 fi
9329 else
9330 result=$wxUSE_DRAG_AND_DROP
9331 fi
9332
9333 { echo "$as_me:$LINENO: result: $result" >&5
9334 echo "${ECHO_T}$result" >&6; }
9335
9336
9337 enablestring=
9338 defaultval=$wxUSE_ALL_FEATURES
9339 if test -z "$defaultval"; then
9340 if test x"$enablestring" = xdisable; then
9341 defaultval=yes
9342 else
9343 defaultval=no
9344 fi
9345 fi
9346
9347 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9348 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9349 # Check whether --enable-metafile was given.
9350 if test "${enable_metafile+set}" = set; then
9351 enableval=$enable_metafile;
9352 if test "$enableval" = yes; then
9353 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9354 else
9355 wx_cv_use_metafile='wxUSE_METAFILE=no'
9356 fi
9357
9358 else
9359
9360 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9361
9362 fi
9363
9364
9365 eval "$wx_cv_use_metafile"
9366
9367 if test x"$enablestring" = xdisable; then
9368 if test $wxUSE_METAFILE = yes; then
9369 result=no
9370 else
9371 result=yes
9372 fi
9373 else
9374 result=$wxUSE_METAFILE
9375 fi
9376
9377 { echo "$as_me:$LINENO: result: $result" >&5
9378 echo "${ECHO_T}$result" >&6; }
9379
9380
9381
9382 DEFAULT_wxUSE_CONTROLS=none
9383
9384 enablestring=disable
9385 defaultval=
9386 if test -z "$defaultval"; then
9387 if test x"$enablestring" = xdisable; then
9388 defaultval=yes
9389 else
9390 defaultval=no
9391 fi
9392 fi
9393
9394 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9395 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9396 # Check whether --enable-controls was given.
9397 if test "${enable_controls+set}" = set; then
9398 enableval=$enable_controls;
9399 if test "$enableval" = yes; then
9400 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9401 else
9402 wx_cv_use_controls='wxUSE_CONTROLS=no'
9403 fi
9404
9405 else
9406
9407 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9408
9409 fi
9410
9411
9412 eval "$wx_cv_use_controls"
9413
9414 if test x"$enablestring" = xdisable; then
9415 if test $wxUSE_CONTROLS = yes; then
9416 result=no
9417 else
9418 result=yes
9419 fi
9420 else
9421 result=$wxUSE_CONTROLS
9422 fi
9423
9424 { echo "$as_me:$LINENO: result: $result" >&5
9425 echo "${ECHO_T}$result" >&6; }
9426
9427
9428 if test "$wxUSE_CONTROLS" = "no"; then
9429 DEFAULT_wxUSE_ACCEL=no
9430 DEFAULT_wxUSE_ANIMATIONCTRL=no
9431 DEFAULT_wxUSE_BMPBUTTON=no
9432 DEFAULT_wxUSE_BUTTON=no
9433 DEFAULT_wxUSE_CALCTRL=no
9434 DEFAULT_wxUSE_CARET=no
9435 DEFAULT_wxUSE_CHECKBOX=no
9436 DEFAULT_wxUSE_CHECKLISTBOX=no
9437 DEFAULT_wxUSE_CHOICE=no
9438 DEFAULT_wxUSE_CHOICEBOOK=no
9439 DEFAULT_wxUSE_COLLPANE=no
9440 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9441 DEFAULT_wxUSE_COMBOBOX=no
9442 DEFAULT_wxUSE_COMBOBOX=no
9443 DEFAULT_wxUSE_DATAVIEWCTRL=no
9444 DEFAULT_wxUSE_DATEPICKCTRL=no
9445 DEFAULT_wxUSE_DETECT_SM=no
9446 DEFAULT_wxUSE_DIRPICKERCTRL=no
9447 DEFAULT_wxUSE_DISPLAY=no
9448 DEFAULT_wxUSE_FILECTRL=no
9449 DEFAULT_wxUSE_FILEPICKERCTRL=no
9450 DEFAULT_wxUSE_FONTPICKERCTRL=no
9451 DEFAULT_wxUSE_GAUGE=no
9452 DEFAULT_wxUSE_GRID=no
9453 DEFAULT_wxUSE_HEADERCTRL=no
9454 DEFAULT_wxUSE_HYPERLINKCTRL=no
9455 DEFAULT_wxUSE_IMAGLIST=no
9456 DEFAULT_wxUSE_LISTBOOK=no
9457 DEFAULT_wxUSE_LISTBOX=no
9458 DEFAULT_wxUSE_LISTCTRL=no
9459 DEFAULT_wxUSE_NOTEBOOK=no
9460 DEFAULT_wxUSE_POPUPWIN=no
9461 DEFAULT_wxUSE_RADIOBOX=no
9462 DEFAULT_wxUSE_RADIOBTN=no
9463 DEFAULT_wxUSE_REARRANGECTRL=no
9464 DEFAULT_wxUSE_SASH=no
9465 DEFAULT_wxUSE_SCROLLBAR=no
9466 DEFAULT_wxUSE_SEARCHCTRL=no
9467 DEFAULT_wxUSE_SLIDER=no
9468 DEFAULT_wxUSE_SPINBTN=no
9469 DEFAULT_wxUSE_SPINCTRL=no
9470 DEFAULT_wxUSE_SPLITTER=no
9471 DEFAULT_wxUSE_STATBMP=no
9472 DEFAULT_wxUSE_STATBOX=no
9473 DEFAULT_wxUSE_STATLINE=no
9474 DEFAULT_wxUSE_STATUSBAR=no
9475 DEFAULT_wxUSE_TIPWINDOW=no
9476 DEFAULT_wxUSE_TOGGLEBTN=no
9477 DEFAULT_wxUSE_TOOLBAR=no
9478 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9479 DEFAULT_wxUSE_TOOLBOOK=no
9480 DEFAULT_wxUSE_TOOLTIPS=no
9481 DEFAULT_wxUSE_TREEBOOK=no
9482 DEFAULT_wxUSE_TREECTRL=no
9483 fi
9484
9485
9486 enablestring=
9487 defaultval=$wxUSE_ALL_FEATURES
9488 if test -z "$defaultval"; then
9489 if test x"$enablestring" = xdisable; then
9490 defaultval=yes
9491 else
9492 defaultval=no
9493 fi
9494 fi
9495
9496 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9497 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9498 # Check whether --enable-accel was given.
9499 if test "${enable_accel+set}" = set; then
9500 enableval=$enable_accel;
9501 if test "$enableval" = yes; then
9502 wx_cv_use_accel='wxUSE_ACCEL=yes'
9503 else
9504 wx_cv_use_accel='wxUSE_ACCEL=no'
9505 fi
9506
9507 else
9508
9509 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9510
9511 fi
9512
9513
9514 eval "$wx_cv_use_accel"
9515
9516 if test x"$enablestring" = xdisable; then
9517 if test $wxUSE_ACCEL = yes; then
9518 result=no
9519 else
9520 result=yes
9521 fi
9522 else
9523 result=$wxUSE_ACCEL
9524 fi
9525
9526 { echo "$as_me:$LINENO: result: $result" >&5
9527 echo "${ECHO_T}$result" >&6; }
9528
9529
9530 enablestring=
9531 defaultval=$wxUSE_ALL_FEATURES
9532 if test -z "$defaultval"; then
9533 if test x"$enablestring" = xdisable; then
9534 defaultval=yes
9535 else
9536 defaultval=no
9537 fi
9538 fi
9539
9540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9541 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9542 # Check whether --enable-animatectrl was given.
9543 if test "${enable_animatectrl+set}" = set; then
9544 enableval=$enable_animatectrl;
9545 if test "$enableval" = yes; then
9546 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9547 else
9548 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9549 fi
9550
9551 else
9552
9553 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9554
9555 fi
9556
9557
9558 eval "$wx_cv_use_animatectrl"
9559
9560 if test x"$enablestring" = xdisable; then
9561 if test $wxUSE_ANIMATIONCTRL = yes; then
9562 result=no
9563 else
9564 result=yes
9565 fi
9566 else
9567 result=$wxUSE_ANIMATIONCTRL
9568 fi
9569
9570 { echo "$as_me:$LINENO: result: $result" >&5
9571 echo "${ECHO_T}$result" >&6; }
9572
9573
9574 enablestring=
9575 defaultval=$wxUSE_ALL_FEATURES
9576 if test -z "$defaultval"; then
9577 if test x"$enablestring" = xdisable; then
9578 defaultval=yes
9579 else
9580 defaultval=no
9581 fi
9582 fi
9583
9584 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9585 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9586 # Check whether --enable-bmpbutton was given.
9587 if test "${enable_bmpbutton+set}" = set; then
9588 enableval=$enable_bmpbutton;
9589 if test "$enableval" = yes; then
9590 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9591 else
9592 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9593 fi
9594
9595 else
9596
9597 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9598
9599 fi
9600
9601
9602 eval "$wx_cv_use_bmpbutton"
9603
9604 if test x"$enablestring" = xdisable; then
9605 if test $wxUSE_BMPBUTTON = yes; then
9606 result=no
9607 else
9608 result=yes
9609 fi
9610 else
9611 result=$wxUSE_BMPBUTTON
9612 fi
9613
9614 { echo "$as_me:$LINENO: result: $result" >&5
9615 echo "${ECHO_T}$result" >&6; }
9616
9617
9618 enablestring=
9619 defaultval=$wxUSE_ALL_FEATURES
9620 if test -z "$defaultval"; then
9621 if test x"$enablestring" = xdisable; then
9622 defaultval=yes
9623 else
9624 defaultval=no
9625 fi
9626 fi
9627
9628 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9629 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9630 # Check whether --enable-bmpcombobox was given.
9631 if test "${enable_bmpcombobox+set}" = set; then
9632 enableval=$enable_bmpcombobox;
9633 if test "$enableval" = yes; then
9634 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9635 else
9636 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9637 fi
9638
9639 else
9640
9641 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9642
9643 fi
9644
9645
9646 eval "$wx_cv_use_bmpcombobox"
9647
9648 if test x"$enablestring" = xdisable; then
9649 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9650 result=no
9651 else
9652 result=yes
9653 fi
9654 else
9655 result=$wxUSE_BITMAPCOMBOBOX
9656 fi
9657
9658 { echo "$as_me:$LINENO: result: $result" >&5
9659 echo "${ECHO_T}$result" >&6; }
9660
9661
9662 enablestring=
9663 defaultval=$wxUSE_ALL_FEATURES
9664 if test -z "$defaultval"; then
9665 if test x"$enablestring" = xdisable; then
9666 defaultval=yes
9667 else
9668 defaultval=no
9669 fi
9670 fi
9671
9672 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9673 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9674 # Check whether --enable-button was given.
9675 if test "${enable_button+set}" = set; then
9676 enableval=$enable_button;
9677 if test "$enableval" = yes; then
9678 wx_cv_use_button='wxUSE_BUTTON=yes'
9679 else
9680 wx_cv_use_button='wxUSE_BUTTON=no'
9681 fi
9682
9683 else
9684
9685 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9686
9687 fi
9688
9689
9690 eval "$wx_cv_use_button"
9691
9692 if test x"$enablestring" = xdisable; then
9693 if test $wxUSE_BUTTON = yes; then
9694 result=no
9695 else
9696 result=yes
9697 fi
9698 else
9699 result=$wxUSE_BUTTON
9700 fi
9701
9702 { echo "$as_me:$LINENO: result: $result" >&5
9703 echo "${ECHO_T}$result" >&6; }
9704
9705
9706 enablestring=
9707 defaultval=$wxUSE_ALL_FEATURES
9708 if test -z "$defaultval"; then
9709 if test x"$enablestring" = xdisable; then
9710 defaultval=yes
9711 else
9712 defaultval=no
9713 fi
9714 fi
9715
9716 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9717 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9718 # Check whether --enable-calendar was given.
9719 if test "${enable_calendar+set}" = set; then
9720 enableval=$enable_calendar;
9721 if test "$enableval" = yes; then
9722 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9723 else
9724 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9725 fi
9726
9727 else
9728
9729 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9730
9731 fi
9732
9733
9734 eval "$wx_cv_use_calendar"
9735
9736 if test x"$enablestring" = xdisable; then
9737 if test $wxUSE_CALCTRL = yes; then
9738 result=no
9739 else
9740 result=yes
9741 fi
9742 else
9743 result=$wxUSE_CALCTRL
9744 fi
9745
9746 { echo "$as_me:$LINENO: result: $result" >&5
9747 echo "${ECHO_T}$result" >&6; }
9748
9749
9750 enablestring=
9751 defaultval=$wxUSE_ALL_FEATURES
9752 if test -z "$defaultval"; then
9753 if test x"$enablestring" = xdisable; then
9754 defaultval=yes
9755 else
9756 defaultval=no
9757 fi
9758 fi
9759
9760 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9761 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9762 # Check whether --enable-caret was given.
9763 if test "${enable_caret+set}" = set; then
9764 enableval=$enable_caret;
9765 if test "$enableval" = yes; then
9766 wx_cv_use_caret='wxUSE_CARET=yes'
9767 else
9768 wx_cv_use_caret='wxUSE_CARET=no'
9769 fi
9770
9771 else
9772
9773 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9774
9775 fi
9776
9777
9778 eval "$wx_cv_use_caret"
9779
9780 if test x"$enablestring" = xdisable; then
9781 if test $wxUSE_CARET = yes; then
9782 result=no
9783 else
9784 result=yes
9785 fi
9786 else
9787 result=$wxUSE_CARET
9788 fi
9789
9790 { echo "$as_me:$LINENO: result: $result" >&5
9791 echo "${ECHO_T}$result" >&6; }
9792
9793
9794 enablestring=
9795 defaultval=$wxUSE_ALL_FEATURES
9796 if test -z "$defaultval"; then
9797 if test x"$enablestring" = xdisable; then
9798 defaultval=yes
9799 else
9800 defaultval=no
9801 fi
9802 fi
9803
9804 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9805 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9806 # Check whether --enable-checkbox was given.
9807 if test "${enable_checkbox+set}" = set; then
9808 enableval=$enable_checkbox;
9809 if test "$enableval" = yes; then
9810 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9811 else
9812 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9813 fi
9814
9815 else
9816
9817 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9818
9819 fi
9820
9821
9822 eval "$wx_cv_use_checkbox"
9823
9824 if test x"$enablestring" = xdisable; then
9825 if test $wxUSE_CHECKBOX = yes; then
9826 result=no
9827 else
9828 result=yes
9829 fi
9830 else
9831 result=$wxUSE_CHECKBOX
9832 fi
9833
9834 { echo "$as_me:$LINENO: result: $result" >&5
9835 echo "${ECHO_T}$result" >&6; }
9836
9837
9838 enablestring=
9839 defaultval=$wxUSE_ALL_FEATURES
9840 if test -z "$defaultval"; then
9841 if test x"$enablestring" = xdisable; then
9842 defaultval=yes
9843 else
9844 defaultval=no
9845 fi
9846 fi
9847
9848 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9849 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9850 # Check whether --enable-checklst was given.
9851 if test "${enable_checklst+set}" = set; then
9852 enableval=$enable_checklst;
9853 if test "$enableval" = yes; then
9854 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9855 else
9856 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9857 fi
9858
9859 else
9860
9861 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9862
9863 fi
9864
9865
9866 eval "$wx_cv_use_checklst"
9867
9868 if test x"$enablestring" = xdisable; then
9869 if test $wxUSE_CHECKLST = yes; then
9870 result=no
9871 else
9872 result=yes
9873 fi
9874 else
9875 result=$wxUSE_CHECKLST
9876 fi
9877
9878 { echo "$as_me:$LINENO: result: $result" >&5
9879 echo "${ECHO_T}$result" >&6; }
9880
9881
9882 enablestring=
9883 defaultval=$wxUSE_ALL_FEATURES
9884 if test -z "$defaultval"; then
9885 if test x"$enablestring" = xdisable; then
9886 defaultval=yes
9887 else
9888 defaultval=no
9889 fi
9890 fi
9891
9892 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9893 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9894 # Check whether --enable-choice was given.
9895 if test "${enable_choice+set}" = set; then
9896 enableval=$enable_choice;
9897 if test "$enableval" = yes; then
9898 wx_cv_use_choice='wxUSE_CHOICE=yes'
9899 else
9900 wx_cv_use_choice='wxUSE_CHOICE=no'
9901 fi
9902
9903 else
9904
9905 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9906
9907 fi
9908
9909
9910 eval "$wx_cv_use_choice"
9911
9912 if test x"$enablestring" = xdisable; then
9913 if test $wxUSE_CHOICE = yes; then
9914 result=no
9915 else
9916 result=yes
9917 fi
9918 else
9919 result=$wxUSE_CHOICE
9920 fi
9921
9922 { echo "$as_me:$LINENO: result: $result" >&5
9923 echo "${ECHO_T}$result" >&6; }
9924
9925
9926 enablestring=
9927 defaultval=$wxUSE_ALL_FEATURES
9928 if test -z "$defaultval"; then
9929 if test x"$enablestring" = xdisable; then
9930 defaultval=yes
9931 else
9932 defaultval=no
9933 fi
9934 fi
9935
9936 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9937 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9938 # Check whether --enable-choicebook was given.
9939 if test "${enable_choicebook+set}" = set; then
9940 enableval=$enable_choicebook;
9941 if test "$enableval" = yes; then
9942 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9943 else
9944 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9945 fi
9946
9947 else
9948
9949 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9950
9951 fi
9952
9953
9954 eval "$wx_cv_use_choicebook"
9955
9956 if test x"$enablestring" = xdisable; then
9957 if test $wxUSE_CHOICEBOOK = yes; then
9958 result=no
9959 else
9960 result=yes
9961 fi
9962 else
9963 result=$wxUSE_CHOICEBOOK
9964 fi
9965
9966 { echo "$as_me:$LINENO: result: $result" >&5
9967 echo "${ECHO_T}$result" >&6; }
9968
9969
9970 enablestring=
9971 defaultval=$wxUSE_ALL_FEATURES
9972 if test -z "$defaultval"; then
9973 if test x"$enablestring" = xdisable; then
9974 defaultval=yes
9975 else
9976 defaultval=no
9977 fi
9978 fi
9979
9980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9981 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9982 # Check whether --enable-collpane was given.
9983 if test "${enable_collpane+set}" = set; then
9984 enableval=$enable_collpane;
9985 if test "$enableval" = yes; then
9986 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
9987 else
9988 wx_cv_use_collpane='wxUSE_COLLPANE=no'
9989 fi
9990
9991 else
9992
9993 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
9994
9995 fi
9996
9997
9998 eval "$wx_cv_use_collpane"
9999
10000 if test x"$enablestring" = xdisable; then
10001 if test $wxUSE_COLLPANE = yes; then
10002 result=no
10003 else
10004 result=yes
10005 fi
10006 else
10007 result=$wxUSE_COLLPANE
10008 fi
10009
10010 { echo "$as_me:$LINENO: result: $result" >&5
10011 echo "${ECHO_T}$result" >&6; }
10012
10013
10014 enablestring=
10015 defaultval=$wxUSE_ALL_FEATURES
10016 if test -z "$defaultval"; then
10017 if test x"$enablestring" = xdisable; then
10018 defaultval=yes
10019 else
10020 defaultval=no
10021 fi
10022 fi
10023
10024 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10025 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10026 # Check whether --enable-colourpicker was given.
10027 if test "${enable_colourpicker+set}" = set; then
10028 enableval=$enable_colourpicker;
10029 if test "$enableval" = yes; then
10030 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10031 else
10032 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10033 fi
10034
10035 else
10036
10037 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10038
10039 fi
10040
10041
10042 eval "$wx_cv_use_colourpicker"
10043
10044 if test x"$enablestring" = xdisable; then
10045 if test $wxUSE_COLOURPICKERCTRL = yes; then
10046 result=no
10047 else
10048 result=yes
10049 fi
10050 else
10051 result=$wxUSE_COLOURPICKERCTRL
10052 fi
10053
10054 { echo "$as_me:$LINENO: result: $result" >&5
10055 echo "${ECHO_T}$result" >&6; }
10056
10057
10058 enablestring=
10059 defaultval=$wxUSE_ALL_FEATURES
10060 if test -z "$defaultval"; then
10061 if test x"$enablestring" = xdisable; then
10062 defaultval=yes
10063 else
10064 defaultval=no
10065 fi
10066 fi
10067
10068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10069 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10070 # Check whether --enable-combobox was given.
10071 if test "${enable_combobox+set}" = set; then
10072 enableval=$enable_combobox;
10073 if test "$enableval" = yes; then
10074 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10075 else
10076 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10077 fi
10078
10079 else
10080
10081 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10082
10083 fi
10084
10085
10086 eval "$wx_cv_use_combobox"
10087
10088 if test x"$enablestring" = xdisable; then
10089 if test $wxUSE_COMBOBOX = yes; then
10090 result=no
10091 else
10092 result=yes
10093 fi
10094 else
10095 result=$wxUSE_COMBOBOX
10096 fi
10097
10098 { echo "$as_me:$LINENO: result: $result" >&5
10099 echo "${ECHO_T}$result" >&6; }
10100
10101
10102 enablestring=
10103 defaultval=$wxUSE_ALL_FEATURES
10104 if test -z "$defaultval"; then
10105 if test x"$enablestring" = xdisable; then
10106 defaultval=yes
10107 else
10108 defaultval=no
10109 fi
10110 fi
10111
10112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10113 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10114 # Check whether --enable-comboctrl was given.
10115 if test "${enable_comboctrl+set}" = set; then
10116 enableval=$enable_comboctrl;
10117 if test "$enableval" = yes; then
10118 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10119 else
10120 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10121 fi
10122
10123 else
10124
10125 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10126
10127 fi
10128
10129
10130 eval "$wx_cv_use_comboctrl"
10131
10132 if test x"$enablestring" = xdisable; then
10133 if test $wxUSE_COMBOCTRL = yes; then
10134 result=no
10135 else
10136 result=yes
10137 fi
10138 else
10139 result=$wxUSE_COMBOCTRL
10140 fi
10141
10142 { echo "$as_me:$LINENO: result: $result" >&5
10143 echo "${ECHO_T}$result" >&6; }
10144
10145
10146 enablestring=
10147 defaultval=$wxUSE_ALL_FEATURES
10148 if test -z "$defaultval"; then
10149 if test x"$enablestring" = xdisable; then
10150 defaultval=yes
10151 else
10152 defaultval=no
10153 fi
10154 fi
10155
10156 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10157 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10158 # Check whether --enable-dataviewctrl was given.
10159 if test "${enable_dataviewctrl+set}" = set; then
10160 enableval=$enable_dataviewctrl;
10161 if test "$enableval" = yes; then
10162 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10163 else
10164 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10165 fi
10166
10167 else
10168
10169 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10170
10171 fi
10172
10173
10174 eval "$wx_cv_use_dataviewctrl"
10175
10176 if test x"$enablestring" = xdisable; then
10177 if test $wxUSE_DATAVIEWCTRL = yes; then
10178 result=no
10179 else
10180 result=yes
10181 fi
10182 else
10183 result=$wxUSE_DATAVIEWCTRL
10184 fi
10185
10186 { echo "$as_me:$LINENO: result: $result" >&5
10187 echo "${ECHO_T}$result" >&6; }
10188
10189
10190 enablestring=
10191 defaultval=$wxUSE_ALL_FEATURES
10192 if test -z "$defaultval"; then
10193 if test x"$enablestring" = xdisable; then
10194 defaultval=yes
10195 else
10196 defaultval=no
10197 fi
10198 fi
10199
10200 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10201 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10202 # Check whether --enable-datepick was given.
10203 if test "${enable_datepick+set}" = set; then
10204 enableval=$enable_datepick;
10205 if test "$enableval" = yes; then
10206 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10207 else
10208 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10209 fi
10210
10211 else
10212
10213 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10214
10215 fi
10216
10217
10218 eval "$wx_cv_use_datepick"
10219
10220 if test x"$enablestring" = xdisable; then
10221 if test $wxUSE_DATEPICKCTRL = yes; then
10222 result=no
10223 else
10224 result=yes
10225 fi
10226 else
10227 result=$wxUSE_DATEPICKCTRL
10228 fi
10229
10230 { echo "$as_me:$LINENO: result: $result" >&5
10231 echo "${ECHO_T}$result" >&6; }
10232
10233
10234 enablestring=
10235 defaultval=$wxUSE_ALL_FEATURES
10236 if test -z "$defaultval"; then
10237 if test x"$enablestring" = xdisable; then
10238 defaultval=yes
10239 else
10240 defaultval=no
10241 fi
10242 fi
10243
10244 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10245 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10246 # Check whether --enable-detect_sm was given.
10247 if test "${enable_detect_sm+set}" = set; then
10248 enableval=$enable_detect_sm;
10249 if test "$enableval" = yes; then
10250 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10251 else
10252 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10253 fi
10254
10255 else
10256
10257 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10258
10259 fi
10260
10261
10262 eval "$wx_cv_use_detect_sm"
10263
10264 if test x"$enablestring" = xdisable; then
10265 if test $wxUSE_DETECT_SM = yes; then
10266 result=no
10267 else
10268 result=yes
10269 fi
10270 else
10271 result=$wxUSE_DETECT_SM
10272 fi
10273
10274 { echo "$as_me:$LINENO: result: $result" >&5
10275 echo "${ECHO_T}$result" >&6; }
10276
10277
10278 enablestring=
10279 defaultval=$wxUSE_ALL_FEATURES
10280 if test -z "$defaultval"; then
10281 if test x"$enablestring" = xdisable; then
10282 defaultval=yes
10283 else
10284 defaultval=no
10285 fi
10286 fi
10287
10288 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10289 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10290 # Check whether --enable-dirpicker was given.
10291 if test "${enable_dirpicker+set}" = set; then
10292 enableval=$enable_dirpicker;
10293 if test "$enableval" = yes; then
10294 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10295 else
10296 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10297 fi
10298
10299 else
10300
10301 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10302
10303 fi
10304
10305
10306 eval "$wx_cv_use_dirpicker"
10307
10308 if test x"$enablestring" = xdisable; then
10309 if test $wxUSE_DIRPICKERCTRL = yes; then
10310 result=no
10311 else
10312 result=yes
10313 fi
10314 else
10315 result=$wxUSE_DIRPICKERCTRL
10316 fi
10317
10318 { echo "$as_me:$LINENO: result: $result" >&5
10319 echo "${ECHO_T}$result" >&6; }
10320
10321
10322 enablestring=
10323 defaultval=$wxUSE_ALL_FEATURES
10324 if test -z "$defaultval"; then
10325 if test x"$enablestring" = xdisable; then
10326 defaultval=yes
10327 else
10328 defaultval=no
10329 fi
10330 fi
10331
10332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10333 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10334 # Check whether --enable-display was given.
10335 if test "${enable_display+set}" = set; then
10336 enableval=$enable_display;
10337 if test "$enableval" = yes; then
10338 wx_cv_use_display='wxUSE_DISPLAY=yes'
10339 else
10340 wx_cv_use_display='wxUSE_DISPLAY=no'
10341 fi
10342
10343 else
10344
10345 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10346
10347 fi
10348
10349
10350 eval "$wx_cv_use_display"
10351
10352 if test x"$enablestring" = xdisable; then
10353 if test $wxUSE_DISPLAY = yes; then
10354 result=no
10355 else
10356 result=yes
10357 fi
10358 else
10359 result=$wxUSE_DISPLAY
10360 fi
10361
10362 { echo "$as_me:$LINENO: result: $result" >&5
10363 echo "${ECHO_T}$result" >&6; }
10364
10365
10366 enablestring=
10367 defaultval=$wxUSE_ALL_FEATURES
10368 if test -z "$defaultval"; then
10369 if test x"$enablestring" = xdisable; then
10370 defaultval=yes
10371 else
10372 defaultval=no
10373 fi
10374 fi
10375
10376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10377 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10378 # Check whether --enable-editablebox was given.
10379 if test "${enable_editablebox+set}" = set; then
10380 enableval=$enable_editablebox;
10381 if test "$enableval" = yes; then
10382 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10383 else
10384 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10385 fi
10386
10387 else
10388
10389 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10390
10391 fi
10392
10393
10394 eval "$wx_cv_use_editablebox"
10395
10396 if test x"$enablestring" = xdisable; then
10397 if test $wxUSE_EDITABLELISTBOX = yes; then
10398 result=no
10399 else
10400 result=yes
10401 fi
10402 else
10403 result=$wxUSE_EDITABLELISTBOX
10404 fi
10405
10406 { echo "$as_me:$LINENO: result: $result" >&5
10407 echo "${ECHO_T}$result" >&6; }
10408
10409
10410 enablestring=
10411 defaultval=$wxUSE_ALL_FEATURES
10412 if test -z "$defaultval"; then
10413 if test x"$enablestring" = xdisable; then
10414 defaultval=yes
10415 else
10416 defaultval=no
10417 fi
10418 fi
10419
10420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10421 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10422 # Check whether --enable-filectrl was given.
10423 if test "${enable_filectrl+set}" = set; then
10424 enableval=$enable_filectrl;
10425 if test "$enableval" = yes; then
10426 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10427 else
10428 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10429 fi
10430
10431 else
10432
10433 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10434
10435 fi
10436
10437
10438 eval "$wx_cv_use_filectrl"
10439
10440 if test x"$enablestring" = xdisable; then
10441 if test $wxUSE_FILECTRL = yes; then
10442 result=no
10443 else
10444 result=yes
10445 fi
10446 else
10447 result=$wxUSE_FILECTRL
10448 fi
10449
10450 { echo "$as_me:$LINENO: result: $result" >&5
10451 echo "${ECHO_T}$result" >&6; }
10452
10453
10454 enablestring=
10455 defaultval=$wxUSE_ALL_FEATURES
10456 if test -z "$defaultval"; then
10457 if test x"$enablestring" = xdisable; then
10458 defaultval=yes
10459 else
10460 defaultval=no
10461 fi
10462 fi
10463
10464 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10465 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10466 # Check whether --enable-filepicker was given.
10467 if test "${enable_filepicker+set}" = set; then
10468 enableval=$enable_filepicker;
10469 if test "$enableval" = yes; then
10470 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10471 else
10472 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10473 fi
10474
10475 else
10476
10477 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10478
10479 fi
10480
10481
10482 eval "$wx_cv_use_filepicker"
10483
10484 if test x"$enablestring" = xdisable; then
10485 if test $wxUSE_FILEPICKERCTRL = yes; then
10486 result=no
10487 else
10488 result=yes
10489 fi
10490 else
10491 result=$wxUSE_FILEPICKERCTRL
10492 fi
10493
10494 { echo "$as_me:$LINENO: result: $result" >&5
10495 echo "${ECHO_T}$result" >&6; }
10496
10497
10498 enablestring=
10499 defaultval=$wxUSE_ALL_FEATURES
10500 if test -z "$defaultval"; then
10501 if test x"$enablestring" = xdisable; then
10502 defaultval=yes
10503 else
10504 defaultval=no
10505 fi
10506 fi
10507
10508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10509 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10510 # Check whether --enable-fontpicker was given.
10511 if test "${enable_fontpicker+set}" = set; then
10512 enableval=$enable_fontpicker;
10513 if test "$enableval" = yes; then
10514 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10515 else
10516 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10517 fi
10518
10519 else
10520
10521 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10522
10523 fi
10524
10525
10526 eval "$wx_cv_use_fontpicker"
10527
10528 if test x"$enablestring" = xdisable; then
10529 if test $wxUSE_FONTPICKERCTRL = yes; then
10530 result=no
10531 else
10532 result=yes
10533 fi
10534 else
10535 result=$wxUSE_FONTPICKERCTRL
10536 fi
10537
10538 { echo "$as_me:$LINENO: result: $result" >&5
10539 echo "${ECHO_T}$result" >&6; }
10540
10541
10542 enablestring=
10543 defaultval=$wxUSE_ALL_FEATURES
10544 if test -z "$defaultval"; then
10545 if test x"$enablestring" = xdisable; then
10546 defaultval=yes
10547 else
10548 defaultval=no
10549 fi
10550 fi
10551
10552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10553 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10554 # Check whether --enable-gauge was given.
10555 if test "${enable_gauge+set}" = set; then
10556 enableval=$enable_gauge;
10557 if test "$enableval" = yes; then
10558 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10559 else
10560 wx_cv_use_gauge='wxUSE_GAUGE=no'
10561 fi
10562
10563 else
10564
10565 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10566
10567 fi
10568
10569
10570 eval "$wx_cv_use_gauge"
10571
10572 if test x"$enablestring" = xdisable; then
10573 if test $wxUSE_GAUGE = yes; then
10574 result=no
10575 else
10576 result=yes
10577 fi
10578 else
10579 result=$wxUSE_GAUGE
10580 fi
10581
10582 { echo "$as_me:$LINENO: result: $result" >&5
10583 echo "${ECHO_T}$result" >&6; }
10584
10585
10586 enablestring=
10587 defaultval=$wxUSE_ALL_FEATURES
10588 if test -z "$defaultval"; then
10589 if test x"$enablestring" = xdisable; then
10590 defaultval=yes
10591 else
10592 defaultval=no
10593 fi
10594 fi
10595
10596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10597 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10598 # Check whether --enable-grid was given.
10599 if test "${enable_grid+set}" = set; then
10600 enableval=$enable_grid;
10601 if test "$enableval" = yes; then
10602 wx_cv_use_grid='wxUSE_GRID=yes'
10603 else
10604 wx_cv_use_grid='wxUSE_GRID=no'
10605 fi
10606
10607 else
10608
10609 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10610
10611 fi
10612
10613
10614 eval "$wx_cv_use_grid"
10615
10616 if test x"$enablestring" = xdisable; then
10617 if test $wxUSE_GRID = yes; then
10618 result=no
10619 else
10620 result=yes
10621 fi
10622 else
10623 result=$wxUSE_GRID
10624 fi
10625
10626 { echo "$as_me:$LINENO: result: $result" >&5
10627 echo "${ECHO_T}$result" >&6; }
10628
10629
10630 enablestring=
10631 defaultval=$wxUSE_ALL_FEATURES
10632 if test -z "$defaultval"; then
10633 if test x"$enablestring" = xdisable; then
10634 defaultval=yes
10635 else
10636 defaultval=no
10637 fi
10638 fi
10639
10640 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10641 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10642 # Check whether --enable-headerctrl was given.
10643 if test "${enable_headerctrl+set}" = set; then
10644 enableval=$enable_headerctrl;
10645 if test "$enableval" = yes; then
10646 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
10647 else
10648 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
10649 fi
10650
10651 else
10652
10653 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10654
10655 fi
10656
10657
10658 eval "$wx_cv_use_headerctrl"
10659
10660 if test x"$enablestring" = xdisable; then
10661 if test $wxUSE_HEADERCTRL = yes; then
10662 result=no
10663 else
10664 result=yes
10665 fi
10666 else
10667 result=$wxUSE_HEADERCTRL
10668 fi
10669
10670 { echo "$as_me:$LINENO: result: $result" >&5
10671 echo "${ECHO_T}$result" >&6; }
10672
10673
10674 enablestring=
10675 defaultval=$wxUSE_ALL_FEATURES
10676 if test -z "$defaultval"; then
10677 if test x"$enablestring" = xdisable; then
10678 defaultval=yes
10679 else
10680 defaultval=no
10681 fi
10682 fi
10683
10684 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10685 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10686 # Check whether --enable-hyperlink was given.
10687 if test "${enable_hyperlink+set}" = set; then
10688 enableval=$enable_hyperlink;
10689 if test "$enableval" = yes; then
10690 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10691 else
10692 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10693 fi
10694
10695 else
10696
10697 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10698
10699 fi
10700
10701
10702 eval "$wx_cv_use_hyperlink"
10703
10704 if test x"$enablestring" = xdisable; then
10705 if test $wxUSE_HYPERLINKCTRL = yes; then
10706 result=no
10707 else
10708 result=yes
10709 fi
10710 else
10711 result=$wxUSE_HYPERLINKCTRL
10712 fi
10713
10714 { echo "$as_me:$LINENO: result: $result" >&5
10715 echo "${ECHO_T}$result" >&6; }
10716
10717
10718 enablestring=
10719 defaultval=$wxUSE_ALL_FEATURES
10720 if test -z "$defaultval"; then
10721 if test x"$enablestring" = xdisable; then
10722 defaultval=yes
10723 else
10724 defaultval=no
10725 fi
10726 fi
10727
10728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10729 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10730 # Check whether --enable-imaglist was given.
10731 if test "${enable_imaglist+set}" = set; then
10732 enableval=$enable_imaglist;
10733 if test "$enableval" = yes; then
10734 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10735 else
10736 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10737 fi
10738
10739 else
10740
10741 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10742
10743 fi
10744
10745
10746 eval "$wx_cv_use_imaglist"
10747
10748 if test x"$enablestring" = xdisable; then
10749 if test $wxUSE_IMAGLIST = yes; then
10750 result=no
10751 else
10752 result=yes
10753 fi
10754 else
10755 result=$wxUSE_IMAGLIST
10756 fi
10757
10758 { echo "$as_me:$LINENO: result: $result" >&5
10759 echo "${ECHO_T}$result" >&6; }
10760
10761
10762 enablestring=
10763 defaultval=$wxUSE_ALL_FEATURES
10764 if test -z "$defaultval"; then
10765 if test x"$enablestring" = xdisable; then
10766 defaultval=yes
10767 else
10768 defaultval=no
10769 fi
10770 fi
10771
10772 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10773 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10774 # Check whether --enable-listbook was given.
10775 if test "${enable_listbook+set}" = set; then
10776 enableval=$enable_listbook;
10777 if test "$enableval" = yes; then
10778 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10779 else
10780 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10781 fi
10782
10783 else
10784
10785 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10786
10787 fi
10788
10789
10790 eval "$wx_cv_use_listbook"
10791
10792 if test x"$enablestring" = xdisable; then
10793 if test $wxUSE_LISTBOOK = yes; then
10794 result=no
10795 else
10796 result=yes
10797 fi
10798 else
10799 result=$wxUSE_LISTBOOK
10800 fi
10801
10802 { echo "$as_me:$LINENO: result: $result" >&5
10803 echo "${ECHO_T}$result" >&6; }
10804
10805
10806 enablestring=
10807 defaultval=$wxUSE_ALL_FEATURES
10808 if test -z "$defaultval"; then
10809 if test x"$enablestring" = xdisable; then
10810 defaultval=yes
10811 else
10812 defaultval=no
10813 fi
10814 fi
10815
10816 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10817 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10818 # Check whether --enable-listbox was given.
10819 if test "${enable_listbox+set}" = set; then
10820 enableval=$enable_listbox;
10821 if test "$enableval" = yes; then
10822 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10823 else
10824 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10825 fi
10826
10827 else
10828
10829 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10830
10831 fi
10832
10833
10834 eval "$wx_cv_use_listbox"
10835
10836 if test x"$enablestring" = xdisable; then
10837 if test $wxUSE_LISTBOX = yes; then
10838 result=no
10839 else
10840 result=yes
10841 fi
10842 else
10843 result=$wxUSE_LISTBOX
10844 fi
10845
10846 { echo "$as_me:$LINENO: result: $result" >&5
10847 echo "${ECHO_T}$result" >&6; }
10848
10849
10850 enablestring=
10851 defaultval=$wxUSE_ALL_FEATURES
10852 if test -z "$defaultval"; then
10853 if test x"$enablestring" = xdisable; then
10854 defaultval=yes
10855 else
10856 defaultval=no
10857 fi
10858 fi
10859
10860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10861 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10862 # Check whether --enable-listctrl was given.
10863 if test "${enable_listctrl+set}" = set; then
10864 enableval=$enable_listctrl;
10865 if test "$enableval" = yes; then
10866 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10867 else
10868 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10869 fi
10870
10871 else
10872
10873 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10874
10875 fi
10876
10877
10878 eval "$wx_cv_use_listctrl"
10879
10880 if test x"$enablestring" = xdisable; then
10881 if test $wxUSE_LISTCTRL = yes; then
10882 result=no
10883 else
10884 result=yes
10885 fi
10886 else
10887 result=$wxUSE_LISTCTRL
10888 fi
10889
10890 { echo "$as_me:$LINENO: result: $result" >&5
10891 echo "${ECHO_T}$result" >&6; }
10892
10893
10894 enablestring=
10895 defaultval=$wxUSE_ALL_FEATURES
10896 if test -z "$defaultval"; then
10897 if test x"$enablestring" = xdisable; then
10898 defaultval=yes
10899 else
10900 defaultval=no
10901 fi
10902 fi
10903
10904 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10905 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10906 # Check whether --enable-notebook was given.
10907 if test "${enable_notebook+set}" = set; then
10908 enableval=$enable_notebook;
10909 if test "$enableval" = yes; then
10910 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10911 else
10912 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10913 fi
10914
10915 else
10916
10917 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10918
10919 fi
10920
10921
10922 eval "$wx_cv_use_notebook"
10923
10924 if test x"$enablestring" = xdisable; then
10925 if test $wxUSE_NOTEBOOK = yes; then
10926 result=no
10927 else
10928 result=yes
10929 fi
10930 else
10931 result=$wxUSE_NOTEBOOK
10932 fi
10933
10934 { echo "$as_me:$LINENO: result: $result" >&5
10935 echo "${ECHO_T}$result" >&6; }
10936
10937
10938 enablestring=
10939 defaultval=$wxUSE_ALL_FEATURES
10940 if test -z "$defaultval"; then
10941 if test x"$enablestring" = xdisable; then
10942 defaultval=yes
10943 else
10944 defaultval=no
10945 fi
10946 fi
10947
10948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10949 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10950 # Check whether --enable-notifmsg was given.
10951 if test "${enable_notifmsg+set}" = set; then
10952 enableval=$enable_notifmsg;
10953 if test "$enableval" = yes; then
10954 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
10955 else
10956 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
10957 fi
10958
10959 else
10960
10961 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
10962
10963 fi
10964
10965
10966 eval "$wx_cv_use_notifmsg"
10967
10968 if test x"$enablestring" = xdisable; then
10969 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
10970 result=no
10971 else
10972 result=yes
10973 fi
10974 else
10975 result=$wxUSE_NOTIFICATION_MESSAGE
10976 fi
10977
10978 { echo "$as_me:$LINENO: result: $result" >&5
10979 echo "${ECHO_T}$result" >&6; }
10980
10981
10982 enablestring=
10983 defaultval=$wxUSE_ALL_FEATURES
10984 if test -z "$defaultval"; then
10985 if test x"$enablestring" = xdisable; then
10986 defaultval=yes
10987 else
10988 defaultval=no
10989 fi
10990 fi
10991
10992 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10993 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10994 # Check whether --enable-odcombobox was given.
10995 if test "${enable_odcombobox+set}" = set; then
10996 enableval=$enable_odcombobox;
10997 if test "$enableval" = yes; then
10998 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10999 else
11000 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11001 fi
11002
11003 else
11004
11005 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11006
11007 fi
11008
11009
11010 eval "$wx_cv_use_odcombobox"
11011
11012 if test x"$enablestring" = xdisable; then
11013 if test $wxUSE_ODCOMBOBOX = yes; then
11014 result=no
11015 else
11016 result=yes
11017 fi
11018 else
11019 result=$wxUSE_ODCOMBOBOX
11020 fi
11021
11022 { echo "$as_me:$LINENO: result: $result" >&5
11023 echo "${ECHO_T}$result" >&6; }
11024
11025
11026 enablestring=
11027 defaultval=$wxUSE_ALL_FEATURES
11028 if test -z "$defaultval"; then
11029 if test x"$enablestring" = xdisable; then
11030 defaultval=yes
11031 else
11032 defaultval=no
11033 fi
11034 fi
11035
11036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11037 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11038 # Check whether --enable-popupwin was given.
11039 if test "${enable_popupwin+set}" = set; then
11040 enableval=$enable_popupwin;
11041 if test "$enableval" = yes; then
11042 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11043 else
11044 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11045 fi
11046
11047 else
11048
11049 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11050
11051 fi
11052
11053
11054 eval "$wx_cv_use_popupwin"
11055
11056 if test x"$enablestring" = xdisable; then
11057 if test $wxUSE_POPUPWIN = yes; then
11058 result=no
11059 else
11060 result=yes
11061 fi
11062 else
11063 result=$wxUSE_POPUPWIN
11064 fi
11065
11066 { echo "$as_me:$LINENO: result: $result" >&5
11067 echo "${ECHO_T}$result" >&6; }
11068
11069
11070 enablestring=
11071 defaultval=$wxUSE_ALL_FEATURES
11072 if test -z "$defaultval"; then
11073 if test x"$enablestring" = xdisable; then
11074 defaultval=yes
11075 else
11076 defaultval=no
11077 fi
11078 fi
11079
11080 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11081 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11082 # Check whether --enable-radiobox was given.
11083 if test "${enable_radiobox+set}" = set; then
11084 enableval=$enable_radiobox;
11085 if test "$enableval" = yes; then
11086 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11087 else
11088 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11089 fi
11090
11091 else
11092
11093 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11094
11095 fi
11096
11097
11098 eval "$wx_cv_use_radiobox"
11099
11100 if test x"$enablestring" = xdisable; then
11101 if test $wxUSE_RADIOBOX = yes; then
11102 result=no
11103 else
11104 result=yes
11105 fi
11106 else
11107 result=$wxUSE_RADIOBOX
11108 fi
11109
11110 { echo "$as_me:$LINENO: result: $result" >&5
11111 echo "${ECHO_T}$result" >&6; }
11112
11113
11114 enablestring=
11115 defaultval=$wxUSE_ALL_FEATURES
11116 if test -z "$defaultval"; then
11117 if test x"$enablestring" = xdisable; then
11118 defaultval=yes
11119 else
11120 defaultval=no
11121 fi
11122 fi
11123
11124 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11125 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11126 # Check whether --enable-radiobtn was given.
11127 if test "${enable_radiobtn+set}" = set; then
11128 enableval=$enable_radiobtn;
11129 if test "$enableval" = yes; then
11130 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11131 else
11132 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11133 fi
11134
11135 else
11136
11137 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11138
11139 fi
11140
11141
11142 eval "$wx_cv_use_radiobtn"
11143
11144 if test x"$enablestring" = xdisable; then
11145 if test $wxUSE_RADIOBTN = yes; then
11146 result=no
11147 else
11148 result=yes
11149 fi
11150 else
11151 result=$wxUSE_RADIOBTN
11152 fi
11153
11154 { echo "$as_me:$LINENO: result: $result" >&5
11155 echo "${ECHO_T}$result" >&6; }
11156
11157
11158 enablestring=
11159 defaultval=$wxUSE_ALL_FEATURES
11160 if test -z "$defaultval"; then
11161 if test x"$enablestring" = xdisable; then
11162 defaultval=yes
11163 else
11164 defaultval=no
11165 fi
11166 fi
11167
11168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11169 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11170 # Check whether --enable-rearrangectrl was given.
11171 if test "${enable_rearrangectrl+set}" = set; then
11172 enableval=$enable_rearrangectrl;
11173 if test "$enableval" = yes; then
11174 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11175 else
11176 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11177 fi
11178
11179 else
11180
11181 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11182
11183 fi
11184
11185
11186 eval "$wx_cv_use_rearrangectrl"
11187
11188 if test x"$enablestring" = xdisable; then
11189 if test $wxUSE_REARRANGECTRL = yes; then
11190 result=no
11191 else
11192 result=yes
11193 fi
11194 else
11195 result=$wxUSE_REARRANGECTRL
11196 fi
11197
11198 { echo "$as_me:$LINENO: result: $result" >&5
11199 echo "${ECHO_T}$result" >&6; }
11200
11201
11202 enablestring=
11203 defaultval=$wxUSE_ALL_FEATURES
11204 if test -z "$defaultval"; then
11205 if test x"$enablestring" = xdisable; then
11206 defaultval=yes
11207 else
11208 defaultval=no
11209 fi
11210 fi
11211
11212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11213 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11214 # Check whether --enable-sash was given.
11215 if test "${enable_sash+set}" = set; then
11216 enableval=$enable_sash;
11217 if test "$enableval" = yes; then
11218 wx_cv_use_sash='wxUSE_SASH=yes'
11219 else
11220 wx_cv_use_sash='wxUSE_SASH=no'
11221 fi
11222
11223 else
11224
11225 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11226
11227 fi
11228
11229
11230 eval "$wx_cv_use_sash"
11231
11232 if test x"$enablestring" = xdisable; then
11233 if test $wxUSE_SASH = yes; then
11234 result=no
11235 else
11236 result=yes
11237 fi
11238 else
11239 result=$wxUSE_SASH
11240 fi
11241
11242 { echo "$as_me:$LINENO: result: $result" >&5
11243 echo "${ECHO_T}$result" >&6; }
11244
11245
11246 enablestring=
11247 defaultval=$wxUSE_ALL_FEATURES
11248 if test -z "$defaultval"; then
11249 if test x"$enablestring" = xdisable; then
11250 defaultval=yes
11251 else
11252 defaultval=no
11253 fi
11254 fi
11255
11256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11257 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11258 # Check whether --enable-scrollbar was given.
11259 if test "${enable_scrollbar+set}" = set; then
11260 enableval=$enable_scrollbar;
11261 if test "$enableval" = yes; then
11262 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11263 else
11264 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11265 fi
11266
11267 else
11268
11269 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11270
11271 fi
11272
11273
11274 eval "$wx_cv_use_scrollbar"
11275
11276 if test x"$enablestring" = xdisable; then
11277 if test $wxUSE_SCROLLBAR = yes; then
11278 result=no
11279 else
11280 result=yes
11281 fi
11282 else
11283 result=$wxUSE_SCROLLBAR
11284 fi
11285
11286 { echo "$as_me:$LINENO: result: $result" >&5
11287 echo "${ECHO_T}$result" >&6; }
11288
11289
11290 enablestring=
11291 defaultval=$wxUSE_ALL_FEATURES
11292 if test -z "$defaultval"; then
11293 if test x"$enablestring" = xdisable; then
11294 defaultval=yes
11295 else
11296 defaultval=no
11297 fi
11298 fi
11299
11300 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11301 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11302 # Check whether --enable-searchctrl was given.
11303 if test "${enable_searchctrl+set}" = set; then
11304 enableval=$enable_searchctrl;
11305 if test "$enableval" = yes; then
11306 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11307 else
11308 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11309 fi
11310
11311 else
11312
11313 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11314
11315 fi
11316
11317
11318 eval "$wx_cv_use_searchctrl"
11319
11320 if test x"$enablestring" = xdisable; then
11321 if test $wxUSE_SEARCHCTRL = yes; then
11322 result=no
11323 else
11324 result=yes
11325 fi
11326 else
11327 result=$wxUSE_SEARCHCTRL
11328 fi
11329
11330 { echo "$as_me:$LINENO: result: $result" >&5
11331 echo "${ECHO_T}$result" >&6; }
11332
11333
11334 enablestring=
11335 defaultval=$wxUSE_ALL_FEATURES
11336 if test -z "$defaultval"; then
11337 if test x"$enablestring" = xdisable; then
11338 defaultval=yes
11339 else
11340 defaultval=no
11341 fi
11342 fi
11343
11344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11345 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11346 # Check whether --enable-slider was given.
11347 if test "${enable_slider+set}" = set; then
11348 enableval=$enable_slider;
11349 if test "$enableval" = yes; then
11350 wx_cv_use_slider='wxUSE_SLIDER=yes'
11351 else
11352 wx_cv_use_slider='wxUSE_SLIDER=no'
11353 fi
11354
11355 else
11356
11357 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11358
11359 fi
11360
11361
11362 eval "$wx_cv_use_slider"
11363
11364 if test x"$enablestring" = xdisable; then
11365 if test $wxUSE_SLIDER = yes; then
11366 result=no
11367 else
11368 result=yes
11369 fi
11370 else
11371 result=$wxUSE_SLIDER
11372 fi
11373
11374 { echo "$as_me:$LINENO: result: $result" >&5
11375 echo "${ECHO_T}$result" >&6; }
11376
11377
11378 enablestring=
11379 defaultval=$wxUSE_ALL_FEATURES
11380 if test -z "$defaultval"; then
11381 if test x"$enablestring" = xdisable; then
11382 defaultval=yes
11383 else
11384 defaultval=no
11385 fi
11386 fi
11387
11388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11389 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11390 # Check whether --enable-spinbtn was given.
11391 if test "${enable_spinbtn+set}" = set; then
11392 enableval=$enable_spinbtn;
11393 if test "$enableval" = yes; then
11394 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11395 else
11396 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11397 fi
11398
11399 else
11400
11401 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11402
11403 fi
11404
11405
11406 eval "$wx_cv_use_spinbtn"
11407
11408 if test x"$enablestring" = xdisable; then
11409 if test $wxUSE_SPINBTN = yes; then
11410 result=no
11411 else
11412 result=yes
11413 fi
11414 else
11415 result=$wxUSE_SPINBTN
11416 fi
11417
11418 { echo "$as_me:$LINENO: result: $result" >&5
11419 echo "${ECHO_T}$result" >&6; }
11420
11421
11422 enablestring=
11423 defaultval=$wxUSE_ALL_FEATURES
11424 if test -z "$defaultval"; then
11425 if test x"$enablestring" = xdisable; then
11426 defaultval=yes
11427 else
11428 defaultval=no
11429 fi
11430 fi
11431
11432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11433 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11434 # Check whether --enable-spinctrl was given.
11435 if test "${enable_spinctrl+set}" = set; then
11436 enableval=$enable_spinctrl;
11437 if test "$enableval" = yes; then
11438 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11439 else
11440 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11441 fi
11442
11443 else
11444
11445 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11446
11447 fi
11448
11449
11450 eval "$wx_cv_use_spinctrl"
11451
11452 if test x"$enablestring" = xdisable; then
11453 if test $wxUSE_SPINCTRL = yes; then
11454 result=no
11455 else
11456 result=yes
11457 fi
11458 else
11459 result=$wxUSE_SPINCTRL
11460 fi
11461
11462 { echo "$as_me:$LINENO: result: $result" >&5
11463 echo "${ECHO_T}$result" >&6; }
11464
11465
11466 enablestring=
11467 defaultval=$wxUSE_ALL_FEATURES
11468 if test -z "$defaultval"; then
11469 if test x"$enablestring" = xdisable; then
11470 defaultval=yes
11471 else
11472 defaultval=no
11473 fi
11474 fi
11475
11476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11477 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11478 # Check whether --enable-splitter was given.
11479 if test "${enable_splitter+set}" = set; then
11480 enableval=$enable_splitter;
11481 if test "$enableval" = yes; then
11482 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11483 else
11484 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11485 fi
11486
11487 else
11488
11489 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11490
11491 fi
11492
11493
11494 eval "$wx_cv_use_splitter"
11495
11496 if test x"$enablestring" = xdisable; then
11497 if test $wxUSE_SPLITTER = yes; then
11498 result=no
11499 else
11500 result=yes
11501 fi
11502 else
11503 result=$wxUSE_SPLITTER
11504 fi
11505
11506 { echo "$as_me:$LINENO: result: $result" >&5
11507 echo "${ECHO_T}$result" >&6; }
11508
11509
11510 enablestring=
11511 defaultval=$wxUSE_ALL_FEATURES
11512 if test -z "$defaultval"; then
11513 if test x"$enablestring" = xdisable; then
11514 defaultval=yes
11515 else
11516 defaultval=no
11517 fi
11518 fi
11519
11520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11521 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11522 # Check whether --enable-statbmp was given.
11523 if test "${enable_statbmp+set}" = set; then
11524 enableval=$enable_statbmp;
11525 if test "$enableval" = yes; then
11526 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11527 else
11528 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11529 fi
11530
11531 else
11532
11533 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11534
11535 fi
11536
11537
11538 eval "$wx_cv_use_statbmp"
11539
11540 if test x"$enablestring" = xdisable; then
11541 if test $wxUSE_STATBMP = yes; then
11542 result=no
11543 else
11544 result=yes
11545 fi
11546 else
11547 result=$wxUSE_STATBMP
11548 fi
11549
11550 { echo "$as_me:$LINENO: result: $result" >&5
11551 echo "${ECHO_T}$result" >&6; }
11552
11553
11554 enablestring=
11555 defaultval=$wxUSE_ALL_FEATURES
11556 if test -z "$defaultval"; then
11557 if test x"$enablestring" = xdisable; then
11558 defaultval=yes
11559 else
11560 defaultval=no
11561 fi
11562 fi
11563
11564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11565 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11566 # Check whether --enable-statbox was given.
11567 if test "${enable_statbox+set}" = set; then
11568 enableval=$enable_statbox;
11569 if test "$enableval" = yes; then
11570 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11571 else
11572 wx_cv_use_statbox='wxUSE_STATBOX=no'
11573 fi
11574
11575 else
11576
11577 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11578
11579 fi
11580
11581
11582 eval "$wx_cv_use_statbox"
11583
11584 if test x"$enablestring" = xdisable; then
11585 if test $wxUSE_STATBOX = yes; then
11586 result=no
11587 else
11588 result=yes
11589 fi
11590 else
11591 result=$wxUSE_STATBOX
11592 fi
11593
11594 { echo "$as_me:$LINENO: result: $result" >&5
11595 echo "${ECHO_T}$result" >&6; }
11596
11597
11598 enablestring=
11599 defaultval=$wxUSE_ALL_FEATURES
11600 if test -z "$defaultval"; then
11601 if test x"$enablestring" = xdisable; then
11602 defaultval=yes
11603 else
11604 defaultval=no
11605 fi
11606 fi
11607
11608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11609 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11610 # Check whether --enable-statline was given.
11611 if test "${enable_statline+set}" = set; then
11612 enableval=$enable_statline;
11613 if test "$enableval" = yes; then
11614 wx_cv_use_statline='wxUSE_STATLINE=yes'
11615 else
11616 wx_cv_use_statline='wxUSE_STATLINE=no'
11617 fi
11618
11619 else
11620
11621 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11622
11623 fi
11624
11625
11626 eval "$wx_cv_use_statline"
11627
11628 if test x"$enablestring" = xdisable; then
11629 if test $wxUSE_STATLINE = yes; then
11630 result=no
11631 else
11632 result=yes
11633 fi
11634 else
11635 result=$wxUSE_STATLINE
11636 fi
11637
11638 { echo "$as_me:$LINENO: result: $result" >&5
11639 echo "${ECHO_T}$result" >&6; }
11640
11641
11642 enablestring=
11643 defaultval=$wxUSE_ALL_FEATURES
11644 if test -z "$defaultval"; then
11645 if test x"$enablestring" = xdisable; then
11646 defaultval=yes
11647 else
11648 defaultval=no
11649 fi
11650 fi
11651
11652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11653 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11654 # Check whether --enable-stattext was given.
11655 if test "${enable_stattext+set}" = set; then
11656 enableval=$enable_stattext;
11657 if test "$enableval" = yes; then
11658 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11659 else
11660 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11661 fi
11662
11663 else
11664
11665 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11666
11667 fi
11668
11669
11670 eval "$wx_cv_use_stattext"
11671
11672 if test x"$enablestring" = xdisable; then
11673 if test $wxUSE_STATTEXT = yes; then
11674 result=no
11675 else
11676 result=yes
11677 fi
11678 else
11679 result=$wxUSE_STATTEXT
11680 fi
11681
11682 { echo "$as_me:$LINENO: result: $result" >&5
11683 echo "${ECHO_T}$result" >&6; }
11684
11685
11686 enablestring=
11687 defaultval=$wxUSE_ALL_FEATURES
11688 if test -z "$defaultval"; then
11689 if test x"$enablestring" = xdisable; then
11690 defaultval=yes
11691 else
11692 defaultval=no
11693 fi
11694 fi
11695
11696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11697 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11698 # Check whether --enable-statusbar was given.
11699 if test "${enable_statusbar+set}" = set; then
11700 enableval=$enable_statusbar;
11701 if test "$enableval" = yes; then
11702 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11703 else
11704 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11705 fi
11706
11707 else
11708
11709 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11710
11711 fi
11712
11713
11714 eval "$wx_cv_use_statusbar"
11715
11716 if test x"$enablestring" = xdisable; then
11717 if test $wxUSE_STATUSBAR = yes; then
11718 result=no
11719 else
11720 result=yes
11721 fi
11722 else
11723 result=$wxUSE_STATUSBAR
11724 fi
11725
11726 { echo "$as_me:$LINENO: result: $result" >&5
11727 echo "${ECHO_T}$result" >&6; }
11728
11729
11730 enablestring=
11731 defaultval=$wxUSE_ALL_FEATURES
11732 if test -z "$defaultval"; then
11733 if test x"$enablestring" = xdisable; then
11734 defaultval=yes
11735 else
11736 defaultval=no
11737 fi
11738 fi
11739
11740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11741 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11742 # Check whether --enable-taskbaricon was given.
11743 if test "${enable_taskbaricon+set}" = set; then
11744 enableval=$enable_taskbaricon;
11745 if test "$enableval" = yes; then
11746 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11747 else
11748 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11749 fi
11750
11751 else
11752
11753 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11754
11755 fi
11756
11757
11758 eval "$wx_cv_use_taskbaricon"
11759
11760 if test x"$enablestring" = xdisable; then
11761 if test $wxUSE_TASKBARICON = yes; then
11762 result=no
11763 else
11764 result=yes
11765 fi
11766 else
11767 result=$wxUSE_TASKBARICON
11768 fi
11769
11770 { echo "$as_me:$LINENO: result: $result" >&5
11771 echo "${ECHO_T}$result" >&6; }
11772
11773
11774 enablestring=
11775 defaultval=$wxUSE_ALL_FEATURES
11776 if test -z "$defaultval"; then
11777 if test x"$enablestring" = xdisable; then
11778 defaultval=yes
11779 else
11780 defaultval=no
11781 fi
11782 fi
11783
11784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11785 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11786 # Check whether --enable-tbarnative was given.
11787 if test "${enable_tbarnative+set}" = set; then
11788 enableval=$enable_tbarnative;
11789 if test "$enableval" = yes; then
11790 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11791 else
11792 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11793 fi
11794
11795 else
11796
11797 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11798
11799 fi
11800
11801
11802 eval "$wx_cv_use_tbarnative"
11803
11804 if test x"$enablestring" = xdisable; then
11805 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11806 result=no
11807 else
11808 result=yes
11809 fi
11810 else
11811 result=$wxUSE_TOOLBAR_NATIVE
11812 fi
11813
11814 { echo "$as_me:$LINENO: result: $result" >&5
11815 echo "${ECHO_T}$result" >&6; }
11816
11817
11818 enablestring=
11819 defaultval=$wxUSE_ALL_FEATURES
11820 if test -z "$defaultval"; then
11821 if test x"$enablestring" = xdisable; then
11822 defaultval=yes
11823 else
11824 defaultval=no
11825 fi
11826 fi
11827
11828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11829 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11830 # Check whether --enable-textctrl was given.
11831 if test "${enable_textctrl+set}" = set; then
11832 enableval=$enable_textctrl;
11833 if test "$enableval" = yes; then
11834 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11835 else
11836 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11837 fi
11838
11839 else
11840
11841 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11842
11843 fi
11844
11845
11846 eval "$wx_cv_use_textctrl"
11847
11848 if test x"$enablestring" = xdisable; then
11849 if test $wxUSE_TEXTCTRL = yes; then
11850 result=no
11851 else
11852 result=yes
11853 fi
11854 else
11855 result=$wxUSE_TEXTCTRL
11856 fi
11857
11858 { echo "$as_me:$LINENO: result: $result" >&5
11859 echo "${ECHO_T}$result" >&6; }
11860
11861
11862 enablestring=
11863 defaultval=$wxUSE_ALL_FEATURES
11864 if test -z "$defaultval"; then
11865 if test x"$enablestring" = xdisable; then
11866 defaultval=yes
11867 else
11868 defaultval=no
11869 fi
11870 fi
11871
11872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11873 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11874 # Check whether --enable-tipwindow was given.
11875 if test "${enable_tipwindow+set}" = set; then
11876 enableval=$enable_tipwindow;
11877 if test "$enableval" = yes; then
11878 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11879 else
11880 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11881 fi
11882
11883 else
11884
11885 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
11886
11887 fi
11888
11889
11890 eval "$wx_cv_use_tipwindow"
11891
11892 if test x"$enablestring" = xdisable; then
11893 if test $wxUSE_TIPWINDOW = yes; then
11894 result=no
11895 else
11896 result=yes
11897 fi
11898 else
11899 result=$wxUSE_TIPWINDOW
11900 fi
11901
11902 { echo "$as_me:$LINENO: result: $result" >&5
11903 echo "${ECHO_T}$result" >&6; }
11904
11905
11906 enablestring=
11907 defaultval=$wxUSE_ALL_FEATURES
11908 if test -z "$defaultval"; then
11909 if test x"$enablestring" = xdisable; then
11910 defaultval=yes
11911 else
11912 defaultval=no
11913 fi
11914 fi
11915
11916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11917 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11918 # Check whether --enable-togglebtn was given.
11919 if test "${enable_togglebtn+set}" = set; then
11920 enableval=$enable_togglebtn;
11921 if test "$enableval" = yes; then
11922 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11923 else
11924 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11925 fi
11926
11927 else
11928
11929 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11930
11931 fi
11932
11933
11934 eval "$wx_cv_use_togglebtn"
11935
11936 if test x"$enablestring" = xdisable; then
11937 if test $wxUSE_TOGGLEBTN = yes; then
11938 result=no
11939 else
11940 result=yes
11941 fi
11942 else
11943 result=$wxUSE_TOGGLEBTN
11944 fi
11945
11946 { echo "$as_me:$LINENO: result: $result" >&5
11947 echo "${ECHO_T}$result" >&6; }
11948
11949
11950 enablestring=
11951 defaultval=$wxUSE_ALL_FEATURES
11952 if test -z "$defaultval"; then
11953 if test x"$enablestring" = xdisable; then
11954 defaultval=yes
11955 else
11956 defaultval=no
11957 fi
11958 fi
11959
11960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11961 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11962 # Check whether --enable-toolbar was given.
11963 if test "${enable_toolbar+set}" = set; then
11964 enableval=$enable_toolbar;
11965 if test "$enableval" = yes; then
11966 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11967 else
11968 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11969 fi
11970
11971 else
11972
11973 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11974
11975 fi
11976
11977
11978 eval "$wx_cv_use_toolbar"
11979
11980 if test x"$enablestring" = xdisable; then
11981 if test $wxUSE_TOOLBAR = yes; then
11982 result=no
11983 else
11984 result=yes
11985 fi
11986 else
11987 result=$wxUSE_TOOLBAR
11988 fi
11989
11990 { echo "$as_me:$LINENO: result: $result" >&5
11991 echo "${ECHO_T}$result" >&6; }
11992
11993
11994 enablestring=
11995 defaultval=$wxUSE_ALL_FEATURES
11996 if test -z "$defaultval"; then
11997 if test x"$enablestring" = xdisable; then
11998 defaultval=yes
11999 else
12000 defaultval=no
12001 fi
12002 fi
12003
12004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12005 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12006 # Check whether --enable-toolbook was given.
12007 if test "${enable_toolbook+set}" = set; then
12008 enableval=$enable_toolbook;
12009 if test "$enableval" = yes; then
12010 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12011 else
12012 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12013 fi
12014
12015 else
12016
12017 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12018
12019 fi
12020
12021
12022 eval "$wx_cv_use_toolbook"
12023
12024 if test x"$enablestring" = xdisable; then
12025 if test $wxUSE_TOOLBOOK = yes; then
12026 result=no
12027 else
12028 result=yes
12029 fi
12030 else
12031 result=$wxUSE_TOOLBOOK
12032 fi
12033
12034 { echo "$as_me:$LINENO: result: $result" >&5
12035 echo "${ECHO_T}$result" >&6; }
12036
12037
12038 enablestring=
12039 defaultval=$wxUSE_ALL_FEATURES
12040 if test -z "$defaultval"; then
12041 if test x"$enablestring" = xdisable; then
12042 defaultval=yes
12043 else
12044 defaultval=no
12045 fi
12046 fi
12047
12048 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12049 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12050 # Check whether --enable-treebook was given.
12051 if test "${enable_treebook+set}" = set; then
12052 enableval=$enable_treebook;
12053 if test "$enableval" = yes; then
12054 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12055 else
12056 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12057 fi
12058
12059 else
12060
12061 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12062
12063 fi
12064
12065
12066 eval "$wx_cv_use_treebook"
12067
12068 if test x"$enablestring" = xdisable; then
12069 if test $wxUSE_TREEBOOK = yes; then
12070 result=no
12071 else
12072 result=yes
12073 fi
12074 else
12075 result=$wxUSE_TREEBOOK
12076 fi
12077
12078 { echo "$as_me:$LINENO: result: $result" >&5
12079 echo "${ECHO_T}$result" >&6; }
12080
12081
12082 enablestring=
12083 defaultval=$wxUSE_ALL_FEATURES
12084 if test -z "$defaultval"; then
12085 if test x"$enablestring" = xdisable; then
12086 defaultval=yes
12087 else
12088 defaultval=no
12089 fi
12090 fi
12091
12092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12093 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12094 # Check whether --enable-treectrl was given.
12095 if test "${enable_treectrl+set}" = set; then
12096 enableval=$enable_treectrl;
12097 if test "$enableval" = yes; then
12098 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12099 else
12100 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12101 fi
12102
12103 else
12104
12105 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12106
12107 fi
12108
12109
12110 eval "$wx_cv_use_treectrl"
12111
12112 if test x"$enablestring" = xdisable; then
12113 if test $wxUSE_TREECTRL = yes; then
12114 result=no
12115 else
12116 result=yes
12117 fi
12118 else
12119 result=$wxUSE_TREECTRL
12120 fi
12121
12122 { echo "$as_me:$LINENO: result: $result" >&5
12123 echo "${ECHO_T}$result" >&6; }
12124
12125
12126
12127
12128 enablestring=
12129 defaultval=$wxUSE_ALL_FEATURES
12130 if test -z "$defaultval"; then
12131 if test x"$enablestring" = xdisable; then
12132 defaultval=yes
12133 else
12134 defaultval=no
12135 fi
12136 fi
12137
12138 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12139 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12140 # Check whether --enable-commondlg was given.
12141 if test "${enable_commondlg+set}" = set; then
12142 enableval=$enable_commondlg;
12143 if test "$enableval" = yes; then
12144 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12145 else
12146 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12147 fi
12148
12149 else
12150
12151 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12152
12153 fi
12154
12155
12156 eval "$wx_cv_use_commondlg"
12157
12158 if test x"$enablestring" = xdisable; then
12159 if test $wxUSE_COMMONDLGS = yes; then
12160 result=no
12161 else
12162 result=yes
12163 fi
12164 else
12165 result=$wxUSE_COMMONDLGS
12166 fi
12167
12168 { echo "$as_me:$LINENO: result: $result" >&5
12169 echo "${ECHO_T}$result" >&6; }
12170
12171
12172 enablestring=
12173 defaultval=$wxUSE_ALL_FEATURES
12174 if test -z "$defaultval"; then
12175 if test x"$enablestring" = xdisable; then
12176 defaultval=yes
12177 else
12178 defaultval=no
12179 fi
12180 fi
12181
12182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12183 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12184 # Check whether --enable-aboutdlg was given.
12185 if test "${enable_aboutdlg+set}" = set; then
12186 enableval=$enable_aboutdlg;
12187 if test "$enableval" = yes; then
12188 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12189 else
12190 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12191 fi
12192
12193 else
12194
12195 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12196
12197 fi
12198
12199
12200 eval "$wx_cv_use_aboutdlg"
12201
12202 if test x"$enablestring" = xdisable; then
12203 if test $wxUSE_ABOUTDLG = yes; then
12204 result=no
12205 else
12206 result=yes
12207 fi
12208 else
12209 result=$wxUSE_ABOUTDLG
12210 fi
12211
12212 { echo "$as_me:$LINENO: result: $result" >&5
12213 echo "${ECHO_T}$result" >&6; }
12214
12215
12216 enablestring=
12217 defaultval=$wxUSE_ALL_FEATURES
12218 if test -z "$defaultval"; then
12219 if test x"$enablestring" = xdisable; then
12220 defaultval=yes
12221 else
12222 defaultval=no
12223 fi
12224 fi
12225
12226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12227 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12228 # Check whether --enable-choicedlg was given.
12229 if test "${enable_choicedlg+set}" = set; then
12230 enableval=$enable_choicedlg;
12231 if test "$enableval" = yes; then
12232 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12233 else
12234 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12235 fi
12236
12237 else
12238
12239 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12240
12241 fi
12242
12243
12244 eval "$wx_cv_use_choicedlg"
12245
12246 if test x"$enablestring" = xdisable; then
12247 if test $wxUSE_CHOICEDLG = yes; then
12248 result=no
12249 else
12250 result=yes
12251 fi
12252 else
12253 result=$wxUSE_CHOICEDLG
12254 fi
12255
12256 { echo "$as_me:$LINENO: result: $result" >&5
12257 echo "${ECHO_T}$result" >&6; }
12258
12259
12260 enablestring=
12261 defaultval=$wxUSE_ALL_FEATURES
12262 if test -z "$defaultval"; then
12263 if test x"$enablestring" = xdisable; then
12264 defaultval=yes
12265 else
12266 defaultval=no
12267 fi
12268 fi
12269
12270 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12271 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12272 # Check whether --enable-coldlg was given.
12273 if test "${enable_coldlg+set}" = set; then
12274 enableval=$enable_coldlg;
12275 if test "$enableval" = yes; then
12276 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12277 else
12278 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12279 fi
12280
12281 else
12282
12283 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12284
12285 fi
12286
12287
12288 eval "$wx_cv_use_coldlg"
12289
12290 if test x"$enablestring" = xdisable; then
12291 if test $wxUSE_COLOURDLG = yes; then
12292 result=no
12293 else
12294 result=yes
12295 fi
12296 else
12297 result=$wxUSE_COLOURDLG
12298 fi
12299
12300 { echo "$as_me:$LINENO: result: $result" >&5
12301 echo "${ECHO_T}$result" >&6; }
12302
12303
12304 enablestring=
12305 defaultval=$wxUSE_ALL_FEATURES
12306 if test -z "$defaultval"; then
12307 if test x"$enablestring" = xdisable; then
12308 defaultval=yes
12309 else
12310 defaultval=no
12311 fi
12312 fi
12313
12314 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12315 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12316 # Check whether --enable-filedlg was given.
12317 if test "${enable_filedlg+set}" = set; then
12318 enableval=$enable_filedlg;
12319 if test "$enableval" = yes; then
12320 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12321 else
12322 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12323 fi
12324
12325 else
12326
12327 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12328
12329 fi
12330
12331
12332 eval "$wx_cv_use_filedlg"
12333
12334 if test x"$enablestring" = xdisable; then
12335 if test $wxUSE_FILEDLG = yes; then
12336 result=no
12337 else
12338 result=yes
12339 fi
12340 else
12341 result=$wxUSE_FILEDLG
12342 fi
12343
12344 { echo "$as_me:$LINENO: result: $result" >&5
12345 echo "${ECHO_T}$result" >&6; }
12346
12347
12348 enablestring=
12349 defaultval=$wxUSE_ALL_FEATURES
12350 if test -z "$defaultval"; then
12351 if test x"$enablestring" = xdisable; then
12352 defaultval=yes
12353 else
12354 defaultval=no
12355 fi
12356 fi
12357
12358 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12359 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12360 # Check whether --enable-finddlg was given.
12361 if test "${enable_finddlg+set}" = set; then
12362 enableval=$enable_finddlg;
12363 if test "$enableval" = yes; then
12364 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12365 else
12366 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12367 fi
12368
12369 else
12370
12371 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12372
12373 fi
12374
12375
12376 eval "$wx_cv_use_finddlg"
12377
12378 if test x"$enablestring" = xdisable; then
12379 if test $wxUSE_FINDREPLDLG = yes; then
12380 result=no
12381 else
12382 result=yes
12383 fi
12384 else
12385 result=$wxUSE_FINDREPLDLG
12386 fi
12387
12388 { echo "$as_me:$LINENO: result: $result" >&5
12389 echo "${ECHO_T}$result" >&6; }
12390
12391
12392 enablestring=
12393 defaultval=$wxUSE_ALL_FEATURES
12394 if test -z "$defaultval"; then
12395 if test x"$enablestring" = xdisable; then
12396 defaultval=yes
12397 else
12398 defaultval=no
12399 fi
12400 fi
12401
12402 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12403 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12404 # Check whether --enable-fontdlg was given.
12405 if test "${enable_fontdlg+set}" = set; then
12406 enableval=$enable_fontdlg;
12407 if test "$enableval" = yes; then
12408 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12409 else
12410 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12411 fi
12412
12413 else
12414
12415 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12416
12417 fi
12418
12419
12420 eval "$wx_cv_use_fontdlg"
12421
12422 if test x"$enablestring" = xdisable; then
12423 if test $wxUSE_FONTDLG = yes; then
12424 result=no
12425 else
12426 result=yes
12427 fi
12428 else
12429 result=$wxUSE_FONTDLG
12430 fi
12431
12432 { echo "$as_me:$LINENO: result: $result" >&5
12433 echo "${ECHO_T}$result" >&6; }
12434
12435
12436 enablestring=
12437 defaultval=$wxUSE_ALL_FEATURES
12438 if test -z "$defaultval"; then
12439 if test x"$enablestring" = xdisable; then
12440 defaultval=yes
12441 else
12442 defaultval=no
12443 fi
12444 fi
12445
12446 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12447 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12448 # Check whether --enable-dirdlg was given.
12449 if test "${enable_dirdlg+set}" = set; then
12450 enableval=$enable_dirdlg;
12451 if test "$enableval" = yes; then
12452 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12453 else
12454 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12455 fi
12456
12457 else
12458
12459 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12460
12461 fi
12462
12463
12464 eval "$wx_cv_use_dirdlg"
12465
12466 if test x"$enablestring" = xdisable; then
12467 if test $wxUSE_DIRDLG = yes; then
12468 result=no
12469 else
12470 result=yes
12471 fi
12472 else
12473 result=$wxUSE_DIRDLG
12474 fi
12475
12476 { echo "$as_me:$LINENO: result: $result" >&5
12477 echo "${ECHO_T}$result" >&6; }
12478
12479
12480 enablestring=
12481 defaultval=$wxUSE_ALL_FEATURES
12482 if test -z "$defaultval"; then
12483 if test x"$enablestring" = xdisable; then
12484 defaultval=yes
12485 else
12486 defaultval=no
12487 fi
12488 fi
12489
12490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12491 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12492 # Check whether --enable-msgdlg was given.
12493 if test "${enable_msgdlg+set}" = set; then
12494 enableval=$enable_msgdlg;
12495 if test "$enableval" = yes; then
12496 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12497 else
12498 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12499 fi
12500
12501 else
12502
12503 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12504
12505 fi
12506
12507
12508 eval "$wx_cv_use_msgdlg"
12509
12510 if test x"$enablestring" = xdisable; then
12511 if test $wxUSE_MSGDLG = yes; then
12512 result=no
12513 else
12514 result=yes
12515 fi
12516 else
12517 result=$wxUSE_MSGDLG
12518 fi
12519
12520 { echo "$as_me:$LINENO: result: $result" >&5
12521 echo "${ECHO_T}$result" >&6; }
12522
12523
12524 enablestring=
12525 defaultval=$wxUSE_ALL_FEATURES
12526 if test -z "$defaultval"; then
12527 if test x"$enablestring" = xdisable; then
12528 defaultval=yes
12529 else
12530 defaultval=no
12531 fi
12532 fi
12533
12534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12535 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12536 # Check whether --enable-numberdlg was given.
12537 if test "${enable_numberdlg+set}" = set; then
12538 enableval=$enable_numberdlg;
12539 if test "$enableval" = yes; then
12540 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12541 else
12542 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12543 fi
12544
12545 else
12546
12547 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12548
12549 fi
12550
12551
12552 eval "$wx_cv_use_numberdlg"
12553
12554 if test x"$enablestring" = xdisable; then
12555 if test $wxUSE_NUMBERDLG = yes; then
12556 result=no
12557 else
12558 result=yes
12559 fi
12560 else
12561 result=$wxUSE_NUMBERDLG
12562 fi
12563
12564 { echo "$as_me:$LINENO: result: $result" >&5
12565 echo "${ECHO_T}$result" >&6; }
12566
12567
12568 enablestring=
12569 defaultval=$wxUSE_ALL_FEATURES
12570 if test -z "$defaultval"; then
12571 if test x"$enablestring" = xdisable; then
12572 defaultval=yes
12573 else
12574 defaultval=no
12575 fi
12576 fi
12577
12578 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12579 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12580 # Check whether --enable-splash was given.
12581 if test "${enable_splash+set}" = set; then
12582 enableval=$enable_splash;
12583 if test "$enableval" = yes; then
12584 wx_cv_use_splash='wxUSE_SPLASH=yes'
12585 else
12586 wx_cv_use_splash='wxUSE_SPLASH=no'
12587 fi
12588
12589 else
12590
12591 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12592
12593 fi
12594
12595
12596 eval "$wx_cv_use_splash"
12597
12598 if test x"$enablestring" = xdisable; then
12599 if test $wxUSE_SPLASH = yes; then
12600 result=no
12601 else
12602 result=yes
12603 fi
12604 else
12605 result=$wxUSE_SPLASH
12606 fi
12607
12608 { echo "$as_me:$LINENO: result: $result" >&5
12609 echo "${ECHO_T}$result" >&6; }
12610
12611
12612 enablestring=
12613 defaultval=$wxUSE_ALL_FEATURES
12614 if test -z "$defaultval"; then
12615 if test x"$enablestring" = xdisable; then
12616 defaultval=yes
12617 else
12618 defaultval=no
12619 fi
12620 fi
12621
12622 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12623 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12624 # Check whether --enable-textdlg was given.
12625 if test "${enable_textdlg+set}" = set; then
12626 enableval=$enable_textdlg;
12627 if test "$enableval" = yes; then
12628 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12629 else
12630 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12631 fi
12632
12633 else
12634
12635 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12636
12637 fi
12638
12639
12640 eval "$wx_cv_use_textdlg"
12641
12642 if test x"$enablestring" = xdisable; then
12643 if test $wxUSE_TEXTDLG = yes; then
12644 result=no
12645 else
12646 result=yes
12647 fi
12648 else
12649 result=$wxUSE_TEXTDLG
12650 fi
12651
12652 { echo "$as_me:$LINENO: result: $result" >&5
12653 echo "${ECHO_T}$result" >&6; }
12654
12655
12656 enablestring=
12657 defaultval=$wxUSE_ALL_FEATURES
12658 if test -z "$defaultval"; then
12659 if test x"$enablestring" = xdisable; then
12660 defaultval=yes
12661 else
12662 defaultval=no
12663 fi
12664 fi
12665
12666 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12667 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12668 # Check whether --enable-tipdlg was given.
12669 if test "${enable_tipdlg+set}" = set; then
12670 enableval=$enable_tipdlg;
12671 if test "$enableval" = yes; then
12672 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12673 else
12674 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12675 fi
12676
12677 else
12678
12679 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12680
12681 fi
12682
12683
12684 eval "$wx_cv_use_tipdlg"
12685
12686 if test x"$enablestring" = xdisable; then
12687 if test $wxUSE_STARTUP_TIPS = yes; then
12688 result=no
12689 else
12690 result=yes
12691 fi
12692 else
12693 result=$wxUSE_STARTUP_TIPS
12694 fi
12695
12696 { echo "$as_me:$LINENO: result: $result" >&5
12697 echo "${ECHO_T}$result" >&6; }
12698
12699
12700 enablestring=
12701 defaultval=$wxUSE_ALL_FEATURES
12702 if test -z "$defaultval"; then
12703 if test x"$enablestring" = xdisable; then
12704 defaultval=yes
12705 else
12706 defaultval=no
12707 fi
12708 fi
12709
12710 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12711 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12712 # Check whether --enable-progressdlg was given.
12713 if test "${enable_progressdlg+set}" = set; then
12714 enableval=$enable_progressdlg;
12715 if test "$enableval" = yes; then
12716 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12717 else
12718 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12719 fi
12720
12721 else
12722
12723 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12724
12725 fi
12726
12727
12728 eval "$wx_cv_use_progressdlg"
12729
12730 if test x"$enablestring" = xdisable; then
12731 if test $wxUSE_PROGRESSDLG = yes; then
12732 result=no
12733 else
12734 result=yes
12735 fi
12736 else
12737 result=$wxUSE_PROGRESSDLG
12738 fi
12739
12740 { echo "$as_me:$LINENO: result: $result" >&5
12741 echo "${ECHO_T}$result" >&6; }
12742
12743
12744 enablestring=
12745 defaultval=$wxUSE_ALL_FEATURES
12746 if test -z "$defaultval"; then
12747 if test x"$enablestring" = xdisable; then
12748 defaultval=yes
12749 else
12750 defaultval=no
12751 fi
12752 fi
12753
12754 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12755 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12756 # Check whether --enable-wizarddlg was given.
12757 if test "${enable_wizarddlg+set}" = set; then
12758 enableval=$enable_wizarddlg;
12759 if test "$enableval" = yes; then
12760 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12761 else
12762 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12763 fi
12764
12765 else
12766
12767 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12768
12769 fi
12770
12771
12772 eval "$wx_cv_use_wizarddlg"
12773
12774 if test x"$enablestring" = xdisable; then
12775 if test $wxUSE_WIZARDDLG = yes; then
12776 result=no
12777 else
12778 result=yes
12779 fi
12780 else
12781 result=$wxUSE_WIZARDDLG
12782 fi
12783
12784 { echo "$as_me:$LINENO: result: $result" >&5
12785 echo "${ECHO_T}$result" >&6; }
12786
12787
12788
12789
12790 enablestring=
12791 defaultval=$wxUSE_ALL_FEATURES
12792 if test -z "$defaultval"; then
12793 if test x"$enablestring" = xdisable; then
12794 defaultval=yes
12795 else
12796 defaultval=no
12797 fi
12798 fi
12799
12800 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12801 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12802 # Check whether --enable-menus was given.
12803 if test "${enable_menus+set}" = set; then
12804 enableval=$enable_menus;
12805 if test "$enableval" = yes; then
12806 wx_cv_use_menus='wxUSE_MENUS=yes'
12807 else
12808 wx_cv_use_menus='wxUSE_MENUS=no'
12809 fi
12810
12811 else
12812
12813 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12814
12815 fi
12816
12817
12818 eval "$wx_cv_use_menus"
12819
12820 if test x"$enablestring" = xdisable; then
12821 if test $wxUSE_MENUS = yes; then
12822 result=no
12823 else
12824 result=yes
12825 fi
12826 else
12827 result=$wxUSE_MENUS
12828 fi
12829
12830 { echo "$as_me:$LINENO: result: $result" >&5
12831 echo "${ECHO_T}$result" >&6; }
12832
12833
12834 enablestring=
12835 defaultval=$wxUSE_ALL_FEATURES
12836 if test -z "$defaultval"; then
12837 if test x"$enablestring" = xdisable; then
12838 defaultval=yes
12839 else
12840 defaultval=no
12841 fi
12842 fi
12843
12844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12845 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12846 # Check whether --enable-miniframe was given.
12847 if test "${enable_miniframe+set}" = set; then
12848 enableval=$enable_miniframe;
12849 if test "$enableval" = yes; then
12850 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12851 else
12852 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12853 fi
12854
12855 else
12856
12857 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12858
12859 fi
12860
12861
12862 eval "$wx_cv_use_miniframe"
12863
12864 if test x"$enablestring" = xdisable; then
12865 if test $wxUSE_MINIFRAME = yes; then
12866 result=no
12867 else
12868 result=yes
12869 fi
12870 else
12871 result=$wxUSE_MINIFRAME
12872 fi
12873
12874 { echo "$as_me:$LINENO: result: $result" >&5
12875 echo "${ECHO_T}$result" >&6; }
12876
12877
12878 enablestring=
12879 defaultval=$wxUSE_ALL_FEATURES
12880 if test -z "$defaultval"; then
12881 if test x"$enablestring" = xdisable; then
12882 defaultval=yes
12883 else
12884 defaultval=no
12885 fi
12886 fi
12887
12888 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12889 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12890 # Check whether --enable-tooltips was given.
12891 if test "${enable_tooltips+set}" = set; then
12892 enableval=$enable_tooltips;
12893 if test "$enableval" = yes; then
12894 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12895 else
12896 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12897 fi
12898
12899 else
12900
12901 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12902
12903 fi
12904
12905
12906 eval "$wx_cv_use_tooltips"
12907
12908 if test x"$enablestring" = xdisable; then
12909 if test $wxUSE_TOOLTIPS = yes; then
12910 result=no
12911 else
12912 result=yes
12913 fi
12914 else
12915 result=$wxUSE_TOOLTIPS
12916 fi
12917
12918 { echo "$as_me:$LINENO: result: $result" >&5
12919 echo "${ECHO_T}$result" >&6; }
12920
12921
12922 enablestring=
12923 defaultval=$wxUSE_ALL_FEATURES
12924 if test -z "$defaultval"; then
12925 if test x"$enablestring" = xdisable; then
12926 defaultval=yes
12927 else
12928 defaultval=no
12929 fi
12930 fi
12931
12932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12933 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12934 # Check whether --enable-splines was given.
12935 if test "${enable_splines+set}" = set; then
12936 enableval=$enable_splines;
12937 if test "$enableval" = yes; then
12938 wx_cv_use_splines='wxUSE_SPLINES=yes'
12939 else
12940 wx_cv_use_splines='wxUSE_SPLINES=no'
12941 fi
12942
12943 else
12944
12945 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12946
12947 fi
12948
12949
12950 eval "$wx_cv_use_splines"
12951
12952 if test x"$enablestring" = xdisable; then
12953 if test $wxUSE_SPLINES = yes; then
12954 result=no
12955 else
12956 result=yes
12957 fi
12958 else
12959 result=$wxUSE_SPLINES
12960 fi
12961
12962 { echo "$as_me:$LINENO: result: $result" >&5
12963 echo "${ECHO_T}$result" >&6; }
12964
12965
12966 enablestring=
12967 defaultval=$wxUSE_ALL_FEATURES
12968 if test -z "$defaultval"; then
12969 if test x"$enablestring" = xdisable; then
12970 defaultval=yes
12971 else
12972 defaultval=no
12973 fi
12974 fi
12975
12976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
12977 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12978 # Check whether --enable-mousewheel was given.
12979 if test "${enable_mousewheel+set}" = set; then
12980 enableval=$enable_mousewheel;
12981 if test "$enableval" = yes; then
12982 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
12983 else
12984 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
12985 fi
12986
12987 else
12988
12989 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12990
12991 fi
12992
12993
12994 eval "$wx_cv_use_mousewheel"
12995
12996 if test x"$enablestring" = xdisable; then
12997 if test $wxUSE_MOUSEWHEEL = yes; then
12998 result=no
12999 else
13000 result=yes
13001 fi
13002 else
13003 result=$wxUSE_MOUSEWHEEL
13004 fi
13005
13006 { echo "$as_me:$LINENO: result: $result" >&5
13007 echo "${ECHO_T}$result" >&6; }
13008
13009
13010 enablestring=
13011 defaultval=$wxUSE_ALL_FEATURES
13012 if test -z "$defaultval"; then
13013 if test x"$enablestring" = xdisable; then
13014 defaultval=yes
13015 else
13016 defaultval=no
13017 fi
13018 fi
13019
13020 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13021 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13022 # Check whether --enable-validators was given.
13023 if test "${enable_validators+set}" = set; then
13024 enableval=$enable_validators;
13025 if test "$enableval" = yes; then
13026 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13027 else
13028 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13029 fi
13030
13031 else
13032
13033 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13034
13035 fi
13036
13037
13038 eval "$wx_cv_use_validators"
13039
13040 if test x"$enablestring" = xdisable; then
13041 if test $wxUSE_VALIDATORS = yes; then
13042 result=no
13043 else
13044 result=yes
13045 fi
13046 else
13047 result=$wxUSE_VALIDATORS
13048 fi
13049
13050 { echo "$as_me:$LINENO: result: $result" >&5
13051 echo "${ECHO_T}$result" >&6; }
13052
13053
13054 enablestring=
13055 defaultval=$wxUSE_ALL_FEATURES
13056 if test -z "$defaultval"; then
13057 if test x"$enablestring" = xdisable; then
13058 defaultval=yes
13059 else
13060 defaultval=no
13061 fi
13062 fi
13063
13064 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13065 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13066 # Check whether --enable-busyinfo was given.
13067 if test "${enable_busyinfo+set}" = set; then
13068 enableval=$enable_busyinfo;
13069 if test "$enableval" = yes; then
13070 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13071 else
13072 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13073 fi
13074
13075 else
13076
13077 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13078
13079 fi
13080
13081
13082 eval "$wx_cv_use_busyinfo"
13083
13084 if test x"$enablestring" = xdisable; then
13085 if test $wxUSE_BUSYINFO = yes; then
13086 result=no
13087 else
13088 result=yes
13089 fi
13090 else
13091 result=$wxUSE_BUSYINFO
13092 fi
13093
13094 { echo "$as_me:$LINENO: result: $result" >&5
13095 echo "${ECHO_T}$result" >&6; }
13096
13097
13098 enablestring=
13099 defaultval=$wxUSE_ALL_FEATURES
13100 if test -z "$defaultval"; then
13101 if test x"$enablestring" = xdisable; then
13102 defaultval=yes
13103 else
13104 defaultval=no
13105 fi
13106 fi
13107
13108 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13109 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13110 # Check whether --enable-joystick was given.
13111 if test "${enable_joystick+set}" = set; then
13112 enableval=$enable_joystick;
13113 if test "$enableval" = yes; then
13114 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13115 else
13116 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13117 fi
13118
13119 else
13120
13121 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13122
13123 fi
13124
13125
13126 eval "$wx_cv_use_joystick"
13127
13128 if test x"$enablestring" = xdisable; then
13129 if test $wxUSE_JOYSTICK = yes; then
13130 result=no
13131 else
13132 result=yes
13133 fi
13134 else
13135 result=$wxUSE_JOYSTICK
13136 fi
13137
13138 { echo "$as_me:$LINENO: result: $result" >&5
13139 echo "${ECHO_T}$result" >&6; }
13140
13141
13142 enablestring=
13143 defaultval=$wxUSE_ALL_FEATURES
13144 if test -z "$defaultval"; then
13145 if test x"$enablestring" = xdisable; then
13146 defaultval=yes
13147 else
13148 defaultval=no
13149 fi
13150 fi
13151
13152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13153 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13154 # Check whether --enable-metafile was given.
13155 if test "${enable_metafile+set}" = set; then
13156 enableval=$enable_metafile;
13157 if test "$enableval" = yes; then
13158 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13159 else
13160 wx_cv_use_metafile='wxUSE_METAFILE=no'
13161 fi
13162
13163 else
13164
13165 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13166
13167 fi
13168
13169
13170 eval "$wx_cv_use_metafile"
13171
13172 if test x"$enablestring" = xdisable; then
13173 if test $wxUSE_METAFILE = yes; then
13174 result=no
13175 else
13176 result=yes
13177 fi
13178 else
13179 result=$wxUSE_METAFILE
13180 fi
13181
13182 { echo "$as_me:$LINENO: result: $result" >&5
13183 echo "${ECHO_T}$result" >&6; }
13184
13185
13186 enablestring=
13187 defaultval=$wxUSE_ALL_FEATURES
13188 if test -z "$defaultval"; then
13189 if test x"$enablestring" = xdisable; then
13190 defaultval=yes
13191 else
13192 defaultval=no
13193 fi
13194 fi
13195
13196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13197 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13198 # Check whether --enable-dragimage was given.
13199 if test "${enable_dragimage+set}" = set; then
13200 enableval=$enable_dragimage;
13201 if test "$enableval" = yes; then
13202 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13203 else
13204 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13205 fi
13206
13207 else
13208
13209 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13210
13211 fi
13212
13213
13214 eval "$wx_cv_use_dragimage"
13215
13216 if test x"$enablestring" = xdisable; then
13217 if test $wxUSE_DRAGIMAGE = yes; then
13218 result=no
13219 else
13220 result=yes
13221 fi
13222 else
13223 result=$wxUSE_DRAGIMAGE
13224 fi
13225
13226 { echo "$as_me:$LINENO: result: $result" >&5
13227 echo "${ECHO_T}$result" >&6; }
13228
13229
13230 enablestring=
13231 defaultval=$wxUSE_ALL_FEATURES
13232 if test -z "$defaultval"; then
13233 if test x"$enablestring" = xdisable; then
13234 defaultval=yes
13235 else
13236 defaultval=no
13237 fi
13238 fi
13239
13240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13241 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13242 # Check whether --enable-accessibility was given.
13243 if test "${enable_accessibility+set}" = set; then
13244 enableval=$enable_accessibility;
13245 if test "$enableval" = yes; then
13246 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13247 else
13248 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13249 fi
13250
13251 else
13252
13253 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13254
13255 fi
13256
13257
13258 eval "$wx_cv_use_accessibility"
13259
13260 if test x"$enablestring" = xdisable; then
13261 if test $wxUSE_ACCESSIBILITY = yes; then
13262 result=no
13263 else
13264 result=yes
13265 fi
13266 else
13267 result=$wxUSE_ACCESSIBILITY
13268 fi
13269
13270 { echo "$as_me:$LINENO: result: $result" >&5
13271 echo "${ECHO_T}$result" >&6; }
13272
13273
13274
13275
13276 enablestring=
13277 defaultval=$wxUSE_ALL_FEATURES
13278 if test -z "$defaultval"; then
13279 if test x"$enablestring" = xdisable; then
13280 defaultval=yes
13281 else
13282 defaultval=no
13283 fi
13284 fi
13285
13286 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13287 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13288 # Check whether --enable-palette was given.
13289 if test "${enable_palette+set}" = set; then
13290 enableval=$enable_palette;
13291 if test "$enableval" = yes; then
13292 wx_cv_use_palette='wxUSE_PALETTE=yes'
13293 else
13294 wx_cv_use_palette='wxUSE_PALETTE=no'
13295 fi
13296
13297 else
13298
13299 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13300
13301 fi
13302
13303
13304 eval "$wx_cv_use_palette"
13305
13306 if test x"$enablestring" = xdisable; then
13307 if test $wxUSE_PALETTE = yes; then
13308 result=no
13309 else
13310 result=yes
13311 fi
13312 else
13313 result=$wxUSE_PALETTE
13314 fi
13315
13316 { echo "$as_me:$LINENO: result: $result" >&5
13317 echo "${ECHO_T}$result" >&6; }
13318
13319
13320 enablestring=
13321 defaultval=$wxUSE_ALL_FEATURES
13322 if test -z "$defaultval"; then
13323 if test x"$enablestring" = xdisable; then
13324 defaultval=yes
13325 else
13326 defaultval=no
13327 fi
13328 fi
13329
13330 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13331 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13332 # Check whether --enable-image was given.
13333 if test "${enable_image+set}" = set; then
13334 enableval=$enable_image;
13335 if test "$enableval" = yes; then
13336 wx_cv_use_image='wxUSE_IMAGE=yes'
13337 else
13338 wx_cv_use_image='wxUSE_IMAGE=no'
13339 fi
13340
13341 else
13342
13343 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13344
13345 fi
13346
13347
13348 eval "$wx_cv_use_image"
13349
13350 if test x"$enablestring" = xdisable; then
13351 if test $wxUSE_IMAGE = yes; then
13352 result=no
13353 else
13354 result=yes
13355 fi
13356 else
13357 result=$wxUSE_IMAGE
13358 fi
13359
13360 { echo "$as_me:$LINENO: result: $result" >&5
13361 echo "${ECHO_T}$result" >&6; }
13362
13363
13364 enablestring=
13365 defaultval=$wxUSE_ALL_FEATURES
13366 if test -z "$defaultval"; then
13367 if test x"$enablestring" = xdisable; then
13368 defaultval=yes
13369 else
13370 defaultval=no
13371 fi
13372 fi
13373
13374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13375 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13376 # Check whether --enable-gif was given.
13377 if test "${enable_gif+set}" = set; then
13378 enableval=$enable_gif;
13379 if test "$enableval" = yes; then
13380 wx_cv_use_gif='wxUSE_GIF=yes'
13381 else
13382 wx_cv_use_gif='wxUSE_GIF=no'
13383 fi
13384
13385 else
13386
13387 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13388
13389 fi
13390
13391
13392 eval "$wx_cv_use_gif"
13393
13394 if test x"$enablestring" = xdisable; then
13395 if test $wxUSE_GIF = yes; then
13396 result=no
13397 else
13398 result=yes
13399 fi
13400 else
13401 result=$wxUSE_GIF
13402 fi
13403
13404 { echo "$as_me:$LINENO: result: $result" >&5
13405 echo "${ECHO_T}$result" >&6; }
13406
13407
13408 enablestring=
13409 defaultval=$wxUSE_ALL_FEATURES
13410 if test -z "$defaultval"; then
13411 if test x"$enablestring" = xdisable; then
13412 defaultval=yes
13413 else
13414 defaultval=no
13415 fi
13416 fi
13417
13418 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13419 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13420 # Check whether --enable-pcx was given.
13421 if test "${enable_pcx+set}" = set; then
13422 enableval=$enable_pcx;
13423 if test "$enableval" = yes; then
13424 wx_cv_use_pcx='wxUSE_PCX=yes'
13425 else
13426 wx_cv_use_pcx='wxUSE_PCX=no'
13427 fi
13428
13429 else
13430
13431 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13432
13433 fi
13434
13435
13436 eval "$wx_cv_use_pcx"
13437
13438 if test x"$enablestring" = xdisable; then
13439 if test $wxUSE_PCX = yes; then
13440 result=no
13441 else
13442 result=yes
13443 fi
13444 else
13445 result=$wxUSE_PCX
13446 fi
13447
13448 { echo "$as_me:$LINENO: result: $result" >&5
13449 echo "${ECHO_T}$result" >&6; }
13450
13451
13452 enablestring=
13453 defaultval=$wxUSE_ALL_FEATURES
13454 if test -z "$defaultval"; then
13455 if test x"$enablestring" = xdisable; then
13456 defaultval=yes
13457 else
13458 defaultval=no
13459 fi
13460 fi
13461
13462 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13463 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13464 # Check whether --enable-tga was given.
13465 if test "${enable_tga+set}" = set; then
13466 enableval=$enable_tga;
13467 if test "$enableval" = yes; then
13468 wx_cv_use_tga='wxUSE_TGA=yes'
13469 else
13470 wx_cv_use_tga='wxUSE_TGA=no'
13471 fi
13472
13473 else
13474
13475 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13476
13477 fi
13478
13479
13480 eval "$wx_cv_use_tga"
13481
13482 if test x"$enablestring" = xdisable; then
13483 if test $wxUSE_TGA = yes; then
13484 result=no
13485 else
13486 result=yes
13487 fi
13488 else
13489 result=$wxUSE_TGA
13490 fi
13491
13492 { echo "$as_me:$LINENO: result: $result" >&5
13493 echo "${ECHO_T}$result" >&6; }
13494
13495
13496 enablestring=
13497 defaultval=$wxUSE_ALL_FEATURES
13498 if test -z "$defaultval"; then
13499 if test x"$enablestring" = xdisable; then
13500 defaultval=yes
13501 else
13502 defaultval=no
13503 fi
13504 fi
13505
13506 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13507 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13508 # Check whether --enable-iff was given.
13509 if test "${enable_iff+set}" = set; then
13510 enableval=$enable_iff;
13511 if test "$enableval" = yes; then
13512 wx_cv_use_iff='wxUSE_IFF=yes'
13513 else
13514 wx_cv_use_iff='wxUSE_IFF=no'
13515 fi
13516
13517 else
13518
13519 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13520
13521 fi
13522
13523
13524 eval "$wx_cv_use_iff"
13525
13526 if test x"$enablestring" = xdisable; then
13527 if test $wxUSE_IFF = yes; then
13528 result=no
13529 else
13530 result=yes
13531 fi
13532 else
13533 result=$wxUSE_IFF
13534 fi
13535
13536 { echo "$as_me:$LINENO: result: $result" >&5
13537 echo "${ECHO_T}$result" >&6; }
13538
13539
13540 enablestring=
13541 defaultval=$wxUSE_ALL_FEATURES
13542 if test -z "$defaultval"; then
13543 if test x"$enablestring" = xdisable; then
13544 defaultval=yes
13545 else
13546 defaultval=no
13547 fi
13548 fi
13549
13550 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13551 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13552 # Check whether --enable-pnm was given.
13553 if test "${enable_pnm+set}" = set; then
13554 enableval=$enable_pnm;
13555 if test "$enableval" = yes; then
13556 wx_cv_use_pnm='wxUSE_PNM=yes'
13557 else
13558 wx_cv_use_pnm='wxUSE_PNM=no'
13559 fi
13560
13561 else
13562
13563 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13564
13565 fi
13566
13567
13568 eval "$wx_cv_use_pnm"
13569
13570 if test x"$enablestring" = xdisable; then
13571 if test $wxUSE_PNM = yes; then
13572 result=no
13573 else
13574 result=yes
13575 fi
13576 else
13577 result=$wxUSE_PNM
13578 fi
13579
13580 { echo "$as_me:$LINENO: result: $result" >&5
13581 echo "${ECHO_T}$result" >&6; }
13582
13583
13584 enablestring=
13585 defaultval=$wxUSE_ALL_FEATURES
13586 if test -z "$defaultval"; then
13587 if test x"$enablestring" = xdisable; then
13588 defaultval=yes
13589 else
13590 defaultval=no
13591 fi
13592 fi
13593
13594 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13595 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13596 # Check whether --enable-xpm was given.
13597 if test "${enable_xpm+set}" = set; then
13598 enableval=$enable_xpm;
13599 if test "$enableval" = yes; then
13600 wx_cv_use_xpm='wxUSE_XPM=yes'
13601 else
13602 wx_cv_use_xpm='wxUSE_XPM=no'
13603 fi
13604
13605 else
13606
13607 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13608
13609 fi
13610
13611
13612 eval "$wx_cv_use_xpm"
13613
13614 if test x"$enablestring" = xdisable; then
13615 if test $wxUSE_XPM = yes; then
13616 result=no
13617 else
13618 result=yes
13619 fi
13620 else
13621 result=$wxUSE_XPM
13622 fi
13623
13624 { echo "$as_me:$LINENO: result: $result" >&5
13625 echo "${ECHO_T}$result" >&6; }
13626
13627
13628 enablestring=
13629 defaultval=$wxUSE_ALL_FEATURES
13630 if test -z "$defaultval"; then
13631 if test x"$enablestring" = xdisable; then
13632 defaultval=yes
13633 else
13634 defaultval=no
13635 fi
13636 fi
13637
13638 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13639 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13640 # Check whether --enable-ico_cur was given.
13641 if test "${enable_ico_cur+set}" = set; then
13642 enableval=$enable_ico_cur;
13643 if test "$enableval" = yes; then
13644 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13645 else
13646 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13647 fi
13648
13649 else
13650
13651 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13652
13653 fi
13654
13655
13656 eval "$wx_cv_use_ico_cur"
13657
13658 if test x"$enablestring" = xdisable; then
13659 if test $wxUSE_ICO_CUR = yes; then
13660 result=no
13661 else
13662 result=yes
13663 fi
13664 else
13665 result=$wxUSE_ICO_CUR
13666 fi
13667
13668 { echo "$as_me:$LINENO: result: $result" >&5
13669 echo "${ECHO_T}$result" >&6; }
13670
13671
13672
13673
13674 enablestring=
13675 defaultval=$wxUSE_ALL_FEATURES
13676 if test -z "$defaultval"; then
13677 if test x"$enablestring" = xdisable; then
13678 defaultval=yes
13679 else
13680 defaultval=no
13681 fi
13682 fi
13683
13684 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13685 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13686 # Check whether --enable-dccache was given.
13687 if test "${enable_dccache+set}" = set; then
13688 enableval=$enable_dccache;
13689 if test "$enableval" = yes; then
13690 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13691 else
13692 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13693 fi
13694
13695 else
13696
13697 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13698
13699 fi
13700
13701
13702 eval "$wx_cv_use_dccache"
13703
13704 if test x"$enablestring" = xdisable; then
13705 if test $wxUSE_DC_CACHEING = yes; then
13706 result=no
13707 else
13708 result=yes
13709 fi
13710 else
13711 result=$wxUSE_DC_CACHEING
13712 fi
13713
13714 { echo "$as_me:$LINENO: result: $result" >&5
13715 echo "${ECHO_T}$result" >&6; }
13716
13717
13718 enablestring=
13719 defaultval=$wxUSE_ALL_FEATURES
13720 if test -z "$defaultval"; then
13721 if test x"$enablestring" = xdisable; then
13722 defaultval=yes
13723 else
13724 defaultval=no
13725 fi
13726 fi
13727
13728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13729 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13730 # Check whether --enable-ps-in-msw was given.
13731 if test "${enable_ps_in_msw+set}" = set; then
13732 enableval=$enable_ps_in_msw;
13733 if test "$enableval" = yes; then
13734 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13735 else
13736 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13737 fi
13738
13739 else
13740
13741 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13742
13743 fi
13744
13745
13746 eval "$wx_cv_use_ps_in_msw"
13747
13748 if test x"$enablestring" = xdisable; then
13749 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13750 result=no
13751 else
13752 result=yes
13753 fi
13754 else
13755 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13756 fi
13757
13758 { echo "$as_me:$LINENO: result: $result" >&5
13759 echo "${ECHO_T}$result" >&6; }
13760
13761
13762 enablestring=
13763 defaultval=$wxUSE_ALL_FEATURES
13764 if test -z "$defaultval"; then
13765 if test x"$enablestring" = xdisable; then
13766 defaultval=yes
13767 else
13768 defaultval=no
13769 fi
13770 fi
13771
13772 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13773 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13774 # Check whether --enable-ownerdrawn was given.
13775 if test "${enable_ownerdrawn+set}" = set; then
13776 enableval=$enable_ownerdrawn;
13777 if test "$enableval" = yes; then
13778 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13779 else
13780 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13781 fi
13782
13783 else
13784
13785 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13786
13787 fi
13788
13789
13790 eval "$wx_cv_use_ownerdrawn"
13791
13792 if test x"$enablestring" = xdisable; then
13793 if test $wxUSE_OWNER_DRAWN = yes; then
13794 result=no
13795 else
13796 result=yes
13797 fi
13798 else
13799 result=$wxUSE_OWNER_DRAWN
13800 fi
13801
13802 { echo "$as_me:$LINENO: result: $result" >&5
13803 echo "${ECHO_T}$result" >&6; }
13804
13805
13806 enablestring=
13807 defaultval=$wxUSE_ALL_FEATURES
13808 if test -z "$defaultval"; then
13809 if test x"$enablestring" = xdisable; then
13810 defaultval=yes
13811 else
13812 defaultval=no
13813 fi
13814 fi
13815
13816 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13817 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13818 # Check whether --enable-uxtheme was given.
13819 if test "${enable_uxtheme+set}" = set; then
13820 enableval=$enable_uxtheme;
13821 if test "$enableval" = yes; then
13822 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13823 else
13824 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13825 fi
13826
13827 else
13828
13829 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13830
13831 fi
13832
13833
13834 eval "$wx_cv_use_uxtheme"
13835
13836 if test x"$enablestring" = xdisable; then
13837 if test $wxUSE_UXTHEME = yes; then
13838 result=no
13839 else
13840 result=yes
13841 fi
13842 else
13843 result=$wxUSE_UXTHEME
13844 fi
13845
13846 { echo "$as_me:$LINENO: result: $result" >&5
13847 echo "${ECHO_T}$result" >&6; }
13848
13849
13850 enablestring=
13851 defaultval=$wxUSE_ALL_FEATURES
13852 if test -z "$defaultval"; then
13853 if test x"$enablestring" = xdisable; then
13854 defaultval=yes
13855 else
13856 defaultval=no
13857 fi
13858 fi
13859
13860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13861 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13862 # Check whether --enable-wxdib was given.
13863 if test "${enable_wxdib+set}" = set; then
13864 enableval=$enable_wxdib;
13865 if test "$enableval" = yes; then
13866 wx_cv_use_wxdib='wxUSE_DIB=yes'
13867 else
13868 wx_cv_use_wxdib='wxUSE_DIB=no'
13869 fi
13870
13871 else
13872
13873 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13874
13875 fi
13876
13877
13878 eval "$wx_cv_use_wxdib"
13879
13880 if test x"$enablestring" = xdisable; then
13881 if test $wxUSE_DIB = yes; then
13882 result=no
13883 else
13884 result=yes
13885 fi
13886 else
13887 result=$wxUSE_DIB
13888 fi
13889
13890 { echo "$as_me:$LINENO: result: $result" >&5
13891 echo "${ECHO_T}$result" >&6; }
13892
13893
13894 if test "$wxUSE_MSW" != 1; then
13895 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13896 fi
13897
13898
13899 enablestring=
13900 defaultval=$wxUSE_ALL_FEATURES
13901 if test -z "$defaultval"; then
13902 if test x"$enablestring" = xdisable; then
13903 defaultval=yes
13904 else
13905 defaultval=no
13906 fi
13907 fi
13908
13909 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13910 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13911 # Check whether --enable-autoidman was given.
13912 if test "${enable_autoidman+set}" = set; then
13913 enableval=$enable_autoidman;
13914 if test "$enableval" = yes; then
13915 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
13916 else
13917 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
13918 fi
13919
13920 else
13921
13922 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13923
13924 fi
13925
13926
13927 eval "$wx_cv_use_autoidman"
13928
13929 if test x"$enablestring" = xdisable; then
13930 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13931 result=no
13932 else
13933 result=yes
13934 fi
13935 else
13936 result=$wxUSE_AUTOID_MANAGEMENT
13937 fi
13938
13939 { echo "$as_me:$LINENO: result: $result" >&5
13940 echo "${ECHO_T}$result" >&6; }
13941
13942
13943 fi
13944
13945
13946 cat >confcache <<\_ACEOF
13947 # This file is a shell script that caches the results of configure
13948 # tests run on this system so they can be shared between configure
13949 # scripts and configure runs, see configure's option --config-cache.
13950 # It is not useful on other systems. If it contains results you don't
13951 # want to keep, you may remove or edit it.
13952 #
13953 # config.status only pays attention to the cache file if you give it
13954 # the --recheck option to rerun configure.
13955 #
13956 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13957 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13958 # following values.
13959
13960 _ACEOF
13961
13962 # The following way of writing the cache mishandles newlines in values,
13963 # but we know of no workaround that is simple, portable, and efficient.
13964 # So, we kill variables containing newlines.
13965 # Ultrix sh set writes to stderr and can't be redirected directly,
13966 # and sets the high bit in the cache file unless we assign to the vars.
13967 (
13968 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13969 eval ac_val=\$$ac_var
13970 case $ac_val in #(
13971 *${as_nl}*)
13972 case $ac_var in #(
13973 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13974 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13975 esac
13976 case $ac_var in #(
13977 _ | IFS | as_nl) ;; #(
13978 *) $as_unset $ac_var ;;
13979 esac ;;
13980 esac
13981 done
13982
13983 (set) 2>&1 |
13984 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13985 *${as_nl}ac_space=\ *)
13986 # `set' does not quote correctly, so add quotes (double-quote
13987 # substitution turns \\\\ into \\, and sed turns \\ into \).
13988 sed -n \
13989 "s/'/'\\\\''/g;
13990 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13991 ;; #(
13992 *)
13993 # `set' quotes correctly as required by POSIX, so do not add quotes.
13994 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13995 ;;
13996 esac |
13997 sort
13998 ) |
13999 sed '
14000 /^ac_cv_env_/b end
14001 t clear
14002 :clear
14003 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14004 t end
14005 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14006 :end' >>confcache
14007 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14008 if test -w "$cache_file"; then
14009 test "x$cache_file" != "x/dev/null" &&
14010 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14011 echo "$as_me: updating cache $cache_file" >&6;}
14012 cat confcache >$cache_file
14013 else
14014 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14015 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14016 fi
14017 fi
14018 rm -f confcache
14019
14020 CFLAGS=${CFLAGS:=}
14021
14022
14023
14024 ac_ext=c
14025 ac_cpp='$CPP $CPPFLAGS'
14026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14029 if test -n "$ac_tool_prefix"; then
14030 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14031 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14032 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14034 if test "${ac_cv_prog_CC+set}" = set; then
14035 echo $ECHO_N "(cached) $ECHO_C" >&6
14036 else
14037 if test -n "$CC"; then
14038 ac_cv_prog_CC="$CC" # Let the user override the test.
14039 else
14040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14041 for as_dir in $PATH
14042 do
14043 IFS=$as_save_IFS
14044 test -z "$as_dir" && as_dir=.
14045 for ac_exec_ext in '' $ac_executable_extensions; do
14046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14047 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14049 break 2
14050 fi
14051 done
14052 done
14053 IFS=$as_save_IFS
14054
14055 fi
14056 fi
14057 CC=$ac_cv_prog_CC
14058 if test -n "$CC"; then
14059 { echo "$as_me:$LINENO: result: $CC" >&5
14060 echo "${ECHO_T}$CC" >&6; }
14061 else
14062 { echo "$as_me:$LINENO: result: no" >&5
14063 echo "${ECHO_T}no" >&6; }
14064 fi
14065
14066
14067 fi
14068 if test -z "$ac_cv_prog_CC"; then
14069 ac_ct_CC=$CC
14070 # Extract the first word of "gcc", so it can be a program name with args.
14071 set dummy gcc; ac_word=$2
14072 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14073 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14074 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14075 echo $ECHO_N "(cached) $ECHO_C" >&6
14076 else
14077 if test -n "$ac_ct_CC"; then
14078 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14079 else
14080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14081 for as_dir in $PATH
14082 do
14083 IFS=$as_save_IFS
14084 test -z "$as_dir" && as_dir=.
14085 for ac_exec_ext in '' $ac_executable_extensions; do
14086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14087 ac_cv_prog_ac_ct_CC="gcc"
14088 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14089 break 2
14090 fi
14091 done
14092 done
14093 IFS=$as_save_IFS
14094
14095 fi
14096 fi
14097 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14098 if test -n "$ac_ct_CC"; then
14099 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14100 echo "${ECHO_T}$ac_ct_CC" >&6; }
14101 else
14102 { echo "$as_me:$LINENO: result: no" >&5
14103 echo "${ECHO_T}no" >&6; }
14104 fi
14105
14106 if test "x$ac_ct_CC" = x; then
14107 CC=""
14108 else
14109 case $cross_compiling:$ac_tool_warned in
14110 yes:)
14111 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14112 whose name does not start with the host triplet. If you think this
14113 configuration is useful to you, please write to autoconf@gnu.org." >&5
14114 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14115 whose name does not start with the host triplet. If you think this
14116 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14117 ac_tool_warned=yes ;;
14118 esac
14119 CC=$ac_ct_CC
14120 fi
14121 else
14122 CC="$ac_cv_prog_CC"
14123 fi
14124
14125 if test -z "$CC"; then
14126 if test -n "$ac_tool_prefix"; then
14127 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14128 set dummy ${ac_tool_prefix}cc; ac_word=$2
14129 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14131 if test "${ac_cv_prog_CC+set}" = set; then
14132 echo $ECHO_N "(cached) $ECHO_C" >&6
14133 else
14134 if test -n "$CC"; then
14135 ac_cv_prog_CC="$CC" # Let the user override the test.
14136 else
14137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14138 for as_dir in $PATH
14139 do
14140 IFS=$as_save_IFS
14141 test -z "$as_dir" && as_dir=.
14142 for ac_exec_ext in '' $ac_executable_extensions; do
14143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14144 ac_cv_prog_CC="${ac_tool_prefix}cc"
14145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14146 break 2
14147 fi
14148 done
14149 done
14150 IFS=$as_save_IFS
14151
14152 fi
14153 fi
14154 CC=$ac_cv_prog_CC
14155 if test -n "$CC"; then
14156 { echo "$as_me:$LINENO: result: $CC" >&5
14157 echo "${ECHO_T}$CC" >&6; }
14158 else
14159 { echo "$as_me:$LINENO: result: no" >&5
14160 echo "${ECHO_T}no" >&6; }
14161 fi
14162
14163
14164 fi
14165 fi
14166 if test -z "$CC"; then
14167 # Extract the first word of "cc", so it can be a program name with args.
14168 set dummy cc; ac_word=$2
14169 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14171 if test "${ac_cv_prog_CC+set}" = set; then
14172 echo $ECHO_N "(cached) $ECHO_C" >&6
14173 else
14174 if test -n "$CC"; then
14175 ac_cv_prog_CC="$CC" # Let the user override the test.
14176 else
14177 ac_prog_rejected=no
14178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14179 for as_dir in $PATH
14180 do
14181 IFS=$as_save_IFS
14182 test -z "$as_dir" && as_dir=.
14183 for ac_exec_ext in '' $ac_executable_extensions; do
14184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14185 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14186 ac_prog_rejected=yes
14187 continue
14188 fi
14189 ac_cv_prog_CC="cc"
14190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14191 break 2
14192 fi
14193 done
14194 done
14195 IFS=$as_save_IFS
14196
14197 if test $ac_prog_rejected = yes; then
14198 # We found a bogon in the path, so make sure we never use it.
14199 set dummy $ac_cv_prog_CC
14200 shift
14201 if test $# != 0; then
14202 # We chose a different compiler from the bogus one.
14203 # However, it has the same basename, so the bogon will be chosen
14204 # first if we set CC to just the basename; use the full file name.
14205 shift
14206 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14207 fi
14208 fi
14209 fi
14210 fi
14211 CC=$ac_cv_prog_CC
14212 if test -n "$CC"; then
14213 { echo "$as_me:$LINENO: result: $CC" >&5
14214 echo "${ECHO_T}$CC" >&6; }
14215 else
14216 { echo "$as_me:$LINENO: result: no" >&5
14217 echo "${ECHO_T}no" >&6; }
14218 fi
14219
14220
14221 fi
14222 if test -z "$CC"; then
14223 if test -n "$ac_tool_prefix"; then
14224 for ac_prog in cl.exe
14225 do
14226 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14227 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14228 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14230 if test "${ac_cv_prog_CC+set}" = set; then
14231 echo $ECHO_N "(cached) $ECHO_C" >&6
14232 else
14233 if test -n "$CC"; then
14234 ac_cv_prog_CC="$CC" # Let the user override the test.
14235 else
14236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14237 for as_dir in $PATH
14238 do
14239 IFS=$as_save_IFS
14240 test -z "$as_dir" && as_dir=.
14241 for ac_exec_ext in '' $ac_executable_extensions; do
14242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14243 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14245 break 2
14246 fi
14247 done
14248 done
14249 IFS=$as_save_IFS
14250
14251 fi
14252 fi
14253 CC=$ac_cv_prog_CC
14254 if test -n "$CC"; then
14255 { echo "$as_me:$LINENO: result: $CC" >&5
14256 echo "${ECHO_T}$CC" >&6; }
14257 else
14258 { echo "$as_me:$LINENO: result: no" >&5
14259 echo "${ECHO_T}no" >&6; }
14260 fi
14261
14262
14263 test -n "$CC" && break
14264 done
14265 fi
14266 if test -z "$CC"; then
14267 ac_ct_CC=$CC
14268 for ac_prog in cl.exe
14269 do
14270 # Extract the first word of "$ac_prog", so it can be a program name with args.
14271 set dummy $ac_prog; ac_word=$2
14272 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14274 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14275 echo $ECHO_N "(cached) $ECHO_C" >&6
14276 else
14277 if test -n "$ac_ct_CC"; then
14278 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14279 else
14280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14281 for as_dir in $PATH
14282 do
14283 IFS=$as_save_IFS
14284 test -z "$as_dir" && as_dir=.
14285 for ac_exec_ext in '' $ac_executable_extensions; do
14286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14287 ac_cv_prog_ac_ct_CC="$ac_prog"
14288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14289 break 2
14290 fi
14291 done
14292 done
14293 IFS=$as_save_IFS
14294
14295 fi
14296 fi
14297 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14298 if test -n "$ac_ct_CC"; then
14299 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14300 echo "${ECHO_T}$ac_ct_CC" >&6; }
14301 else
14302 { echo "$as_me:$LINENO: result: no" >&5
14303 echo "${ECHO_T}no" >&6; }
14304 fi
14305
14306
14307 test -n "$ac_ct_CC" && break
14308 done
14309
14310 if test "x$ac_ct_CC" = x; then
14311 CC=""
14312 else
14313 case $cross_compiling:$ac_tool_warned in
14314 yes:)
14315 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14316 whose name does not start with the host triplet. If you think this
14317 configuration is useful to you, please write to autoconf@gnu.org." >&5
14318 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14319 whose name does not start with the host triplet. If you think this
14320 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14321 ac_tool_warned=yes ;;
14322 esac
14323 CC=$ac_ct_CC
14324 fi
14325 fi
14326
14327 fi
14328
14329
14330 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14331 See \`config.log' for more details." >&5
14332 echo "$as_me: error: no acceptable C compiler found in \$PATH
14333 See \`config.log' for more details." >&2;}
14334 { (exit 1); exit 1; }; }
14335
14336 # Provide some information about the compiler.
14337 echo "$as_me:$LINENO: checking for C compiler version" >&5
14338 ac_compiler=`set X $ac_compile; echo $2`
14339 { (ac_try="$ac_compiler --version >&5"
14340 case "(($ac_try" in
14341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14342 *) ac_try_echo=$ac_try;;
14343 esac
14344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14345 (eval "$ac_compiler --version >&5") 2>&5
14346 ac_status=$?
14347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14348 (exit $ac_status); }
14349 { (ac_try="$ac_compiler -v >&5"
14350 case "(($ac_try" in
14351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14352 *) ac_try_echo=$ac_try;;
14353 esac
14354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14355 (eval "$ac_compiler -v >&5") 2>&5
14356 ac_status=$?
14357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14358 (exit $ac_status); }
14359 { (ac_try="$ac_compiler -V >&5"
14360 case "(($ac_try" in
14361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14362 *) ac_try_echo=$ac_try;;
14363 esac
14364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14365 (eval "$ac_compiler -V >&5") 2>&5
14366 ac_status=$?
14367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14368 (exit $ac_status); }
14369
14370 cat >conftest.$ac_ext <<_ACEOF
14371 /* confdefs.h. */
14372 _ACEOF
14373 cat confdefs.h >>conftest.$ac_ext
14374 cat >>conftest.$ac_ext <<_ACEOF
14375 /* end confdefs.h. */
14376
14377 int
14378 main ()
14379 {
14380
14381 ;
14382 return 0;
14383 }
14384 _ACEOF
14385 ac_clean_files_save=$ac_clean_files
14386 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14387 # Try to create an executable without -o first, disregard a.out.
14388 # It will help us diagnose broken compilers, and finding out an intuition
14389 # of exeext.
14390 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14391 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14392 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14393 #
14394 # List of possible output files, starting from the most likely.
14395 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14396 # only as a last resort. b.out is created by i960 compilers.
14397 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14398 #
14399 # The IRIX 6 linker writes into existing files which may not be
14400 # executable, retaining their permissions. Remove them first so a
14401 # subsequent execution test works.
14402 ac_rmfiles=
14403 for ac_file in $ac_files
14404 do
14405 case $ac_file in
14406 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14407 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14408 esac
14409 done
14410 rm -f $ac_rmfiles
14411
14412 if { (ac_try="$ac_link_default"
14413 case "(($ac_try" in
14414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14415 *) ac_try_echo=$ac_try;;
14416 esac
14417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14418 (eval "$ac_link_default") 2>&5
14419 ac_status=$?
14420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14421 (exit $ac_status); }; then
14422 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14423 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14424 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14425 # so that the user can short-circuit this test for compilers unknown to
14426 # Autoconf.
14427 for ac_file in $ac_files ''
14428 do
14429 test -f "$ac_file" || continue
14430 case $ac_file in
14431 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14432 ;;
14433 [ab].out )
14434 # We found the default executable, but exeext='' is most
14435 # certainly right.
14436 break;;
14437 *.* )
14438 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14439 then :; else
14440 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14441 fi
14442 # We set ac_cv_exeext here because the later test for it is not
14443 # safe: cross compilers may not add the suffix if given an `-o'
14444 # argument, so we may need to know it at that point already.
14445 # Even if this section looks crufty: it has the advantage of
14446 # actually working.
14447 break;;
14448 * )
14449 break;;
14450 esac
14451 done
14452 test "$ac_cv_exeext" = no && ac_cv_exeext=
14453
14454 else
14455 ac_file=''
14456 fi
14457
14458 { echo "$as_me:$LINENO: result: $ac_file" >&5
14459 echo "${ECHO_T}$ac_file" >&6; }
14460 if test -z "$ac_file"; then
14461 echo "$as_me: failed program was:" >&5
14462 sed 's/^/| /' conftest.$ac_ext >&5
14463
14464 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14465 See \`config.log' for more details." >&5
14466 echo "$as_me: error: C compiler cannot create executables
14467 See \`config.log' for more details." >&2;}
14468 { (exit 77); exit 77; }; }
14469 fi
14470
14471 ac_exeext=$ac_cv_exeext
14472
14473 # Check that the compiler produces executables we can run. If not, either
14474 # the compiler is broken, or we cross compile.
14475 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14476 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14477 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14478 # If not cross compiling, check that we can run a simple program.
14479 if test "$cross_compiling" != yes; then
14480 if { ac_try='./$ac_file'
14481 { (case "(($ac_try" in
14482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14483 *) ac_try_echo=$ac_try;;
14484 esac
14485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14486 (eval "$ac_try") 2>&5
14487 ac_status=$?
14488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14489 (exit $ac_status); }; }; then
14490 cross_compiling=no
14491 else
14492 if test "$cross_compiling" = maybe; then
14493 cross_compiling=yes
14494 else
14495 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14496 If you meant to cross compile, use \`--host'.
14497 See \`config.log' for more details." >&5
14498 echo "$as_me: error: cannot run C compiled programs.
14499 If you meant to cross compile, use \`--host'.
14500 See \`config.log' for more details." >&2;}
14501 { (exit 1); exit 1; }; }
14502 fi
14503 fi
14504 fi
14505 { echo "$as_me:$LINENO: result: yes" >&5
14506 echo "${ECHO_T}yes" >&6; }
14507
14508 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14509 ac_clean_files=$ac_clean_files_save
14510 # Check that the compiler produces executables we can run. If not, either
14511 # the compiler is broken, or we cross compile.
14512 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14513 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14514 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14515 echo "${ECHO_T}$cross_compiling" >&6; }
14516
14517 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14518 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14519 if { (ac_try="$ac_link"
14520 case "(($ac_try" in
14521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14522 *) ac_try_echo=$ac_try;;
14523 esac
14524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14525 (eval "$ac_link") 2>&5
14526 ac_status=$?
14527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14528 (exit $ac_status); }; then
14529 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14530 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14531 # work properly (i.e., refer to `conftest.exe'), while it won't with
14532 # `rm'.
14533 for ac_file in conftest.exe conftest conftest.*; do
14534 test -f "$ac_file" || continue
14535 case $ac_file in
14536 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14537 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14538 break;;
14539 * ) break;;
14540 esac
14541 done
14542 else
14543 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14544 See \`config.log' for more details." >&5
14545 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14546 See \`config.log' for more details." >&2;}
14547 { (exit 1); exit 1; }; }
14548 fi
14549
14550 rm -f conftest$ac_cv_exeext
14551 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14552 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14553
14554 rm -f conftest.$ac_ext
14555 EXEEXT=$ac_cv_exeext
14556 ac_exeext=$EXEEXT
14557 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14558 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14559 if test "${ac_cv_objext+set}" = set; then
14560 echo $ECHO_N "(cached) $ECHO_C" >&6
14561 else
14562 cat >conftest.$ac_ext <<_ACEOF
14563 /* confdefs.h. */
14564 _ACEOF
14565 cat confdefs.h >>conftest.$ac_ext
14566 cat >>conftest.$ac_ext <<_ACEOF
14567 /* end confdefs.h. */
14568
14569 int
14570 main ()
14571 {
14572
14573 ;
14574 return 0;
14575 }
14576 _ACEOF
14577 rm -f conftest.o conftest.obj
14578 if { (ac_try="$ac_compile"
14579 case "(($ac_try" in
14580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14581 *) ac_try_echo=$ac_try;;
14582 esac
14583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14584 (eval "$ac_compile") 2>&5
14585 ac_status=$?
14586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14587 (exit $ac_status); }; then
14588 for ac_file in conftest.o conftest.obj conftest.*; do
14589 test -f "$ac_file" || continue;
14590 case $ac_file in
14591 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14592 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14593 break;;
14594 esac
14595 done
14596 else
14597 echo "$as_me: failed program was:" >&5
14598 sed 's/^/| /' conftest.$ac_ext >&5
14599
14600 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14601 See \`config.log' for more details." >&5
14602 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14603 See \`config.log' for more details." >&2;}
14604 { (exit 1); exit 1; }; }
14605 fi
14606
14607 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14608 fi
14609 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14610 echo "${ECHO_T}$ac_cv_objext" >&6; }
14611 OBJEXT=$ac_cv_objext
14612 ac_objext=$OBJEXT
14613 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14614 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14615 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14616 echo $ECHO_N "(cached) $ECHO_C" >&6
14617 else
14618 cat >conftest.$ac_ext <<_ACEOF
14619 /* confdefs.h. */
14620 _ACEOF
14621 cat confdefs.h >>conftest.$ac_ext
14622 cat >>conftest.$ac_ext <<_ACEOF
14623 /* end confdefs.h. */
14624
14625 int
14626 main ()
14627 {
14628 #ifndef __GNUC__
14629 choke me
14630 #endif
14631
14632 ;
14633 return 0;
14634 }
14635 _ACEOF
14636 rm -f conftest.$ac_objext
14637 if { (ac_try="$ac_compile"
14638 case "(($ac_try" in
14639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14640 *) ac_try_echo=$ac_try;;
14641 esac
14642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14643 (eval "$ac_compile") 2>conftest.er1
14644 ac_status=$?
14645 grep -v '^ *+' conftest.er1 >conftest.err
14646 rm -f conftest.er1
14647 cat conftest.err >&5
14648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14649 (exit $ac_status); } && {
14650 test -z "$ac_c_werror_flag" ||
14651 test ! -s conftest.err
14652 } && test -s conftest.$ac_objext; then
14653 ac_compiler_gnu=yes
14654 else
14655 echo "$as_me: failed program was:" >&5
14656 sed 's/^/| /' conftest.$ac_ext >&5
14657
14658 ac_compiler_gnu=no
14659 fi
14660
14661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14662 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14663
14664 fi
14665 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14666 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14667 GCC=`test $ac_compiler_gnu = yes && echo yes`
14668 ac_test_CFLAGS=${CFLAGS+set}
14669 ac_save_CFLAGS=$CFLAGS
14670 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14671 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14672 if test "${ac_cv_prog_cc_g+set}" = set; then
14673 echo $ECHO_N "(cached) $ECHO_C" >&6
14674 else
14675 ac_save_c_werror_flag=$ac_c_werror_flag
14676 ac_c_werror_flag=yes
14677 ac_cv_prog_cc_g=no
14678 CFLAGS="-g"
14679 cat >conftest.$ac_ext <<_ACEOF
14680 /* confdefs.h. */
14681 _ACEOF
14682 cat confdefs.h >>conftest.$ac_ext
14683 cat >>conftest.$ac_ext <<_ACEOF
14684 /* end confdefs.h. */
14685
14686 int
14687 main ()
14688 {
14689
14690 ;
14691 return 0;
14692 }
14693 _ACEOF
14694 rm -f conftest.$ac_objext
14695 if { (ac_try="$ac_compile"
14696 case "(($ac_try" in
14697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14698 *) ac_try_echo=$ac_try;;
14699 esac
14700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14701 (eval "$ac_compile") 2>conftest.er1
14702 ac_status=$?
14703 grep -v '^ *+' conftest.er1 >conftest.err
14704 rm -f conftest.er1
14705 cat conftest.err >&5
14706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14707 (exit $ac_status); } && {
14708 test -z "$ac_c_werror_flag" ||
14709 test ! -s conftest.err
14710 } && test -s conftest.$ac_objext; then
14711 ac_cv_prog_cc_g=yes
14712 else
14713 echo "$as_me: failed program was:" >&5
14714 sed 's/^/| /' conftest.$ac_ext >&5
14715
14716 CFLAGS=""
14717 cat >conftest.$ac_ext <<_ACEOF
14718 /* confdefs.h. */
14719 _ACEOF
14720 cat confdefs.h >>conftest.$ac_ext
14721 cat >>conftest.$ac_ext <<_ACEOF
14722 /* end confdefs.h. */
14723
14724 int
14725 main ()
14726 {
14727
14728 ;
14729 return 0;
14730 }
14731 _ACEOF
14732 rm -f conftest.$ac_objext
14733 if { (ac_try="$ac_compile"
14734 case "(($ac_try" in
14735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14736 *) ac_try_echo=$ac_try;;
14737 esac
14738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14739 (eval "$ac_compile") 2>conftest.er1
14740 ac_status=$?
14741 grep -v '^ *+' conftest.er1 >conftest.err
14742 rm -f conftest.er1
14743 cat conftest.err >&5
14744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14745 (exit $ac_status); } && {
14746 test -z "$ac_c_werror_flag" ||
14747 test ! -s conftest.err
14748 } && test -s conftest.$ac_objext; then
14749 :
14750 else
14751 echo "$as_me: failed program was:" >&5
14752 sed 's/^/| /' conftest.$ac_ext >&5
14753
14754 ac_c_werror_flag=$ac_save_c_werror_flag
14755 CFLAGS="-g"
14756 cat >conftest.$ac_ext <<_ACEOF
14757 /* confdefs.h. */
14758 _ACEOF
14759 cat confdefs.h >>conftest.$ac_ext
14760 cat >>conftest.$ac_ext <<_ACEOF
14761 /* end confdefs.h. */
14762
14763 int
14764 main ()
14765 {
14766
14767 ;
14768 return 0;
14769 }
14770 _ACEOF
14771 rm -f conftest.$ac_objext
14772 if { (ac_try="$ac_compile"
14773 case "(($ac_try" in
14774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14775 *) ac_try_echo=$ac_try;;
14776 esac
14777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14778 (eval "$ac_compile") 2>conftest.er1
14779 ac_status=$?
14780 grep -v '^ *+' conftest.er1 >conftest.err
14781 rm -f conftest.er1
14782 cat conftest.err >&5
14783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14784 (exit $ac_status); } && {
14785 test -z "$ac_c_werror_flag" ||
14786 test ! -s conftest.err
14787 } && test -s conftest.$ac_objext; then
14788 ac_cv_prog_cc_g=yes
14789 else
14790 echo "$as_me: failed program was:" >&5
14791 sed 's/^/| /' conftest.$ac_ext >&5
14792
14793
14794 fi
14795
14796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14797 fi
14798
14799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14800 fi
14801
14802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14803 ac_c_werror_flag=$ac_save_c_werror_flag
14804 fi
14805 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14806 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14807 if test "$ac_test_CFLAGS" = set; then
14808 CFLAGS=$ac_save_CFLAGS
14809 elif test $ac_cv_prog_cc_g = yes; then
14810 if test "$GCC" = yes; then
14811 CFLAGS="-g -O2"
14812 else
14813 CFLAGS="-g"
14814 fi
14815 else
14816 if test "$GCC" = yes; then
14817 CFLAGS="-O2"
14818 else
14819 CFLAGS=
14820 fi
14821 fi
14822 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14823 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14824 if test "${ac_cv_prog_cc_c89+set}" = set; then
14825 echo $ECHO_N "(cached) $ECHO_C" >&6
14826 else
14827 ac_cv_prog_cc_c89=no
14828 ac_save_CC=$CC
14829 cat >conftest.$ac_ext <<_ACEOF
14830 /* confdefs.h. */
14831 _ACEOF
14832 cat confdefs.h >>conftest.$ac_ext
14833 cat >>conftest.$ac_ext <<_ACEOF
14834 /* end confdefs.h. */
14835 #include <stdarg.h>
14836 #include <stdio.h>
14837 #include <sys/types.h>
14838 #include <sys/stat.h>
14839 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14840 struct buf { int x; };
14841 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14842 static char *e (p, i)
14843 char **p;
14844 int i;
14845 {
14846 return p[i];
14847 }
14848 static char *f (char * (*g) (char **, int), char **p, ...)
14849 {
14850 char *s;
14851 va_list v;
14852 va_start (v,p);
14853 s = g (p, va_arg (v,int));
14854 va_end (v);
14855 return s;
14856 }
14857
14858 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14859 function prototypes and stuff, but not '\xHH' hex character constants.
14860 These don't provoke an error unfortunately, instead are silently treated
14861 as 'x'. The following induces an error, until -std is added to get
14862 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14863 array size at least. It's necessary to write '\x00'==0 to get something
14864 that's true only with -std. */
14865 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14866
14867 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14868 inside strings and character constants. */
14869 #define FOO(x) 'x'
14870 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14871
14872 int test (int i, double x);
14873 struct s1 {int (*f) (int a);};
14874 struct s2 {int (*f) (double a);};
14875 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14876 int argc;
14877 char **argv;
14878 int
14879 main ()
14880 {
14881 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14882 ;
14883 return 0;
14884 }
14885 _ACEOF
14886 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14887 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14888 do
14889 CC="$ac_save_CC $ac_arg"
14890 rm -f conftest.$ac_objext
14891 if { (ac_try="$ac_compile"
14892 case "(($ac_try" in
14893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14894 *) ac_try_echo=$ac_try;;
14895 esac
14896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14897 (eval "$ac_compile") 2>conftest.er1
14898 ac_status=$?
14899 grep -v '^ *+' conftest.er1 >conftest.err
14900 rm -f conftest.er1
14901 cat conftest.err >&5
14902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14903 (exit $ac_status); } && {
14904 test -z "$ac_c_werror_flag" ||
14905 test ! -s conftest.err
14906 } && test -s conftest.$ac_objext; then
14907 ac_cv_prog_cc_c89=$ac_arg
14908 else
14909 echo "$as_me: failed program was:" >&5
14910 sed 's/^/| /' conftest.$ac_ext >&5
14911
14912
14913 fi
14914
14915 rm -f core conftest.err conftest.$ac_objext
14916 test "x$ac_cv_prog_cc_c89" != "xno" && break
14917 done
14918 rm -f conftest.$ac_ext
14919 CC=$ac_save_CC
14920
14921 fi
14922 # AC_CACHE_VAL
14923 case "x$ac_cv_prog_cc_c89" in
14924 x)
14925 { echo "$as_me:$LINENO: result: none needed" >&5
14926 echo "${ECHO_T}none needed" >&6; } ;;
14927 xno)
14928 { echo "$as_me:$LINENO: result: unsupported" >&5
14929 echo "${ECHO_T}unsupported" >&6; } ;;
14930 *)
14931 CC="$CC $ac_cv_prog_cc_c89"
14932 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
14933 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14934 esac
14935
14936
14937 ac_ext=c
14938 ac_cpp='$CPP $CPPFLAGS'
14939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14942
14943
14944
14945
14946 ac_ext=c
14947 ac_cpp='$CPP $CPPFLAGS'
14948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14951
14952 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
14953 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
14954 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14955 echo $ECHO_N "(cached) $ECHO_C" >&6
14956 else
14957 cat >conftest.$ac_ext <<_ACEOF
14958 /* confdefs.h. */
14959 _ACEOF
14960 cat confdefs.h >>conftest.$ac_ext
14961 cat >>conftest.$ac_ext <<_ACEOF
14962 /* end confdefs.h. */
14963
14964 int
14965 main ()
14966 {
14967
14968 #ifndef __INTEL_COMPILER
14969 choke me
14970 #endif
14971
14972 ;
14973 return 0;
14974 }
14975 _ACEOF
14976 rm -f conftest.$ac_objext
14977 if { (ac_try="$ac_compile"
14978 case "(($ac_try" in
14979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14980 *) ac_try_echo=$ac_try;;
14981 esac
14982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14983 (eval "$ac_compile") 2>conftest.er1
14984 ac_status=$?
14985 grep -v '^ *+' conftest.er1 >conftest.err
14986 rm -f conftest.er1
14987 cat conftest.err >&5
14988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14989 (exit $ac_status); } && {
14990 test -z "$ac_c_werror_flag" ||
14991 test ! -s conftest.err
14992 } && test -s conftest.$ac_objext; then
14993 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14994 else
14995 echo "$as_me: failed program was:" >&5
14996 sed 's/^/| /' conftest.$ac_ext >&5
14997
14998 bakefile_cv_c_compiler___INTEL_COMPILER=no
14999
15000 fi
15001
15002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15003
15004
15005 fi
15006 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15007 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15008 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15009 :; INTELCC=yes
15010 else
15011 :;
15012 fi
15013 ac_ext=c
15014 ac_cpp='$CPP $CPPFLAGS'
15015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15018
15019
15020
15021
15022 if test "$INTELCC" = "yes"; then
15023
15024
15025 ac_ext=c
15026 ac_cpp='$CPP $CPPFLAGS'
15027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15030
15031 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15032 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15033 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15034 echo $ECHO_N "(cached) $ECHO_C" >&6
15035 else
15036 cat >conftest.$ac_ext <<_ACEOF
15037 /* confdefs.h. */
15038 _ACEOF
15039 cat confdefs.h >>conftest.$ac_ext
15040 cat >>conftest.$ac_ext <<_ACEOF
15041 /* end confdefs.h. */
15042
15043 int
15044 main ()
15045 {
15046
15047 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15048 choke me
15049 #endif
15050
15051 ;
15052 return 0;
15053 }
15054 _ACEOF
15055 rm -f conftest.$ac_objext
15056 if { (ac_try="$ac_compile"
15057 case "(($ac_try" in
15058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15059 *) ac_try_echo=$ac_try;;
15060 esac
15061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15062 (eval "$ac_compile") 2>conftest.er1
15063 ac_status=$?
15064 grep -v '^ *+' conftest.er1 >conftest.err
15065 rm -f conftest.er1
15066 cat conftest.err >&5
15067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15068 (exit $ac_status); } && {
15069 test -z "$ac_c_werror_flag" ||
15070 test ! -s conftest.err
15071 } && test -s conftest.$ac_objext; then
15072 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15073 else
15074 echo "$as_me: failed program was:" >&5
15075 sed 's/^/| /' conftest.$ac_ext >&5
15076
15077 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15078
15079 fi
15080
15081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15082
15083
15084 fi
15085 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15086 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15087 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15088 :; INTELCC8=yes
15089 else
15090 :;
15091 fi
15092 ac_ext=c
15093 ac_cpp='$CPP $CPPFLAGS'
15094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15097
15098
15099
15100
15101
15102 ac_ext=c
15103 ac_cpp='$CPP $CPPFLAGS'
15104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15107
15108 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15109 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15110 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15111 echo $ECHO_N "(cached) $ECHO_C" >&6
15112 else
15113 cat >conftest.$ac_ext <<_ACEOF
15114 /* confdefs.h. */
15115 _ACEOF
15116 cat confdefs.h >>conftest.$ac_ext
15117 cat >>conftest.$ac_ext <<_ACEOF
15118 /* end confdefs.h. */
15119
15120 int
15121 main ()
15122 {
15123
15124 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15125 choke me
15126 #endif
15127
15128 ;
15129 return 0;
15130 }
15131 _ACEOF
15132 rm -f conftest.$ac_objext
15133 if { (ac_try="$ac_compile"
15134 case "(($ac_try" in
15135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15136 *) ac_try_echo=$ac_try;;
15137 esac
15138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15139 (eval "$ac_compile") 2>conftest.er1
15140 ac_status=$?
15141 grep -v '^ *+' conftest.er1 >conftest.err
15142 rm -f conftest.er1
15143 cat conftest.err >&5
15144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15145 (exit $ac_status); } && {
15146 test -z "$ac_c_werror_flag" ||
15147 test ! -s conftest.err
15148 } && test -s conftest.$ac_objext; then
15149 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15150 else
15151 echo "$as_me: failed program was:" >&5
15152 sed 's/^/| /' conftest.$ac_ext >&5
15153
15154 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15155
15156 fi
15157
15158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15159
15160
15161 fi
15162 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15163 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15164 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15165 :; INTELCC10=yes
15166 else
15167 :;
15168 fi
15169 ac_ext=c
15170 ac_cpp='$CPP $CPPFLAGS'
15171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15174
15175
15176
15177 fi
15178
15179 if test "x$GCC" != "xyes"; then
15180 if test "xCC" = "xC"; then
15181 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15182 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15183 if test "${bakefile_cv_c_exto+set}" = set; then
15184 echo $ECHO_N "(cached) $ECHO_C" >&6
15185 else
15186 cat >conftest.$ac_ext <<_ACEOF
15187 /* confdefs.h. */
15188 _ACEOF
15189 cat confdefs.h >>conftest.$ac_ext
15190 cat >>conftest.$ac_ext <<_ACEOF
15191 /* end confdefs.h. */
15192
15193 int
15194 main ()
15195 {
15196
15197 ;
15198 return 0;
15199 }
15200 _ACEOF
15201 rm -f conftest.$ac_objext conftest.$ac_ext.o
15202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15203 (eval $ac_compile) 2>&5
15204 ac_status=$?
15205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15206 (exit $ac_status); }; then
15207 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15208 case $ac_file in
15209 conftest.$ac_ext.o)
15210 bakefile_cv_c_exto="-ext o"
15211 ;;
15212 *)
15213 ;;
15214 esac
15215 done
15216 else
15217 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15218 See \`config.log' for more details." >&5
15219 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15220 See \`config.log' for more details." >&2;}
15221 { (exit 1); exit 1; }; }
15222
15223 fi
15224
15225 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15226
15227 fi
15228 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15229 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15230 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15231 if test "c" = "c"; then
15232 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15233 fi
15234 if test "c" = "cxx"; then
15235 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15236 fi
15237 fi
15238
15239 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15240 unset ac_cv_prog_cc_g
15241 ac_test_CFLAGS=${CFLAGS+set}
15242 ac_save_CFLAGS=$CFLAGS
15243 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15244 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15245 if test "${ac_cv_prog_cc_g+set}" = set; then
15246 echo $ECHO_N "(cached) $ECHO_C" >&6
15247 else
15248 ac_save_c_werror_flag=$ac_c_werror_flag
15249 ac_c_werror_flag=yes
15250 ac_cv_prog_cc_g=no
15251 CFLAGS="-g"
15252 cat >conftest.$ac_ext <<_ACEOF
15253 /* confdefs.h. */
15254 _ACEOF
15255 cat confdefs.h >>conftest.$ac_ext
15256 cat >>conftest.$ac_ext <<_ACEOF
15257 /* end confdefs.h. */
15258
15259 int
15260 main ()
15261 {
15262
15263 ;
15264 return 0;
15265 }
15266 _ACEOF
15267 rm -f conftest.$ac_objext
15268 if { (ac_try="$ac_compile"
15269 case "(($ac_try" in
15270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15271 *) ac_try_echo=$ac_try;;
15272 esac
15273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15274 (eval "$ac_compile") 2>conftest.er1
15275 ac_status=$?
15276 grep -v '^ *+' conftest.er1 >conftest.err
15277 rm -f conftest.er1
15278 cat conftest.err >&5
15279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15280 (exit $ac_status); } && {
15281 test -z "$ac_c_werror_flag" ||
15282 test ! -s conftest.err
15283 } && test -s conftest.$ac_objext; then
15284 ac_cv_prog_cc_g=yes
15285 else
15286 echo "$as_me: failed program was:" >&5
15287 sed 's/^/| /' conftest.$ac_ext >&5
15288
15289 CFLAGS=""
15290 cat >conftest.$ac_ext <<_ACEOF
15291 /* confdefs.h. */
15292 _ACEOF
15293 cat confdefs.h >>conftest.$ac_ext
15294 cat >>conftest.$ac_ext <<_ACEOF
15295 /* end confdefs.h. */
15296
15297 int
15298 main ()
15299 {
15300
15301 ;
15302 return 0;
15303 }
15304 _ACEOF
15305 rm -f conftest.$ac_objext
15306 if { (ac_try="$ac_compile"
15307 case "(($ac_try" in
15308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15309 *) ac_try_echo=$ac_try;;
15310 esac
15311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15312 (eval "$ac_compile") 2>conftest.er1
15313 ac_status=$?
15314 grep -v '^ *+' conftest.er1 >conftest.err
15315 rm -f conftest.er1
15316 cat conftest.err >&5
15317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15318 (exit $ac_status); } && {
15319 test -z "$ac_c_werror_flag" ||
15320 test ! -s conftest.err
15321 } && test -s conftest.$ac_objext; then
15322 :
15323 else
15324 echo "$as_me: failed program was:" >&5
15325 sed 's/^/| /' conftest.$ac_ext >&5
15326
15327 ac_c_werror_flag=$ac_save_c_werror_flag
15328 CFLAGS="-g"
15329 cat >conftest.$ac_ext <<_ACEOF
15330 /* confdefs.h. */
15331 _ACEOF
15332 cat confdefs.h >>conftest.$ac_ext
15333 cat >>conftest.$ac_ext <<_ACEOF
15334 /* end confdefs.h. */
15335
15336 int
15337 main ()
15338 {
15339
15340 ;
15341 return 0;
15342 }
15343 _ACEOF
15344 rm -f conftest.$ac_objext
15345 if { (ac_try="$ac_compile"
15346 case "(($ac_try" in
15347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15348 *) ac_try_echo=$ac_try;;
15349 esac
15350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15351 (eval "$ac_compile") 2>conftest.er1
15352 ac_status=$?
15353 grep -v '^ *+' conftest.er1 >conftest.err
15354 rm -f conftest.er1
15355 cat conftest.err >&5
15356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15357 (exit $ac_status); } && {
15358 test -z "$ac_c_werror_flag" ||
15359 test ! -s conftest.err
15360 } && test -s conftest.$ac_objext; then
15361 ac_cv_prog_cc_g=yes
15362 else
15363 echo "$as_me: failed program was:" >&5
15364 sed 's/^/| /' conftest.$ac_ext >&5
15365
15366
15367 fi
15368
15369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15370 fi
15371
15372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15373 fi
15374
15375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15376 ac_c_werror_flag=$ac_save_c_werror_flag
15377 fi
15378 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15379 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15380 if test "$ac_test_CFLAGS" = set; then
15381 CFLAGS=$ac_save_CFLAGS
15382 elif test $ac_cv_prog_cc_g = yes; then
15383 if test "$GCC" = yes; then
15384 CFLAGS="-g -O2"
15385 else
15386 CFLAGS="-g"
15387 fi
15388 else
15389 if test "$GCC" = yes; then
15390 CFLAGS="-O2"
15391 else
15392 CFLAGS=
15393 fi
15394 fi
15395 fi
15396 fi
15397
15398 case `uname -s` in
15399 AIX*)
15400
15401
15402 ac_ext=c
15403 ac_cpp='$CPP $CPPFLAGS'
15404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15407
15408 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15409 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15410 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15411 echo $ECHO_N "(cached) $ECHO_C" >&6
15412 else
15413 cat >conftest.$ac_ext <<_ACEOF
15414 /* confdefs.h. */
15415 _ACEOF
15416 cat confdefs.h >>conftest.$ac_ext
15417 cat >>conftest.$ac_ext <<_ACEOF
15418 /* end confdefs.h. */
15419
15420 int
15421 main ()
15422 {
15423
15424 #ifndef __xlC__
15425 choke me
15426 #endif
15427
15428 ;
15429 return 0;
15430 }
15431 _ACEOF
15432 rm -f conftest.$ac_objext
15433 if { (ac_try="$ac_compile"
15434 case "(($ac_try" in
15435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15436 *) ac_try_echo=$ac_try;;
15437 esac
15438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15439 (eval "$ac_compile") 2>conftest.er1
15440 ac_status=$?
15441 grep -v '^ *+' conftest.er1 >conftest.err
15442 rm -f conftest.er1
15443 cat conftest.err >&5
15444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15445 (exit $ac_status); } && {
15446 test -z "$ac_c_werror_flag" ||
15447 test ! -s conftest.err
15448 } && test -s conftest.$ac_objext; then
15449 bakefile_cv_c_compiler___xlC__=yes
15450 else
15451 echo "$as_me: failed program was:" >&5
15452 sed 's/^/| /' conftest.$ac_ext >&5
15453
15454 bakefile_cv_c_compiler___xlC__=no
15455
15456 fi
15457
15458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15459
15460
15461 fi
15462 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15463 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15464 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15465 :; XLCC=yes
15466 else
15467 :;
15468 fi
15469 ac_ext=c
15470 ac_cpp='$CPP $CPPFLAGS'
15471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15474
15475
15476
15477 ;;
15478
15479 Darwin)
15480
15481
15482 ac_ext=c
15483 ac_cpp='$CPP $CPPFLAGS'
15484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15487
15488 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15489 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15490 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15491 echo $ECHO_N "(cached) $ECHO_C" >&6
15492 else
15493 cat >conftest.$ac_ext <<_ACEOF
15494 /* confdefs.h. */
15495 _ACEOF
15496 cat confdefs.h >>conftest.$ac_ext
15497 cat >>conftest.$ac_ext <<_ACEOF
15498 /* end confdefs.h. */
15499
15500 int
15501 main ()
15502 {
15503
15504 #ifndef __MWERKS__
15505 choke me
15506 #endif
15507
15508 ;
15509 return 0;
15510 }
15511 _ACEOF
15512 rm -f conftest.$ac_objext
15513 if { (ac_try="$ac_compile"
15514 case "(($ac_try" in
15515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15516 *) ac_try_echo=$ac_try;;
15517 esac
15518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15519 (eval "$ac_compile") 2>conftest.er1
15520 ac_status=$?
15521 grep -v '^ *+' conftest.er1 >conftest.err
15522 rm -f conftest.er1
15523 cat conftest.err >&5
15524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15525 (exit $ac_status); } && {
15526 test -z "$ac_c_werror_flag" ||
15527 test ! -s conftest.err
15528 } && test -s conftest.$ac_objext; then
15529 bakefile_cv_c_compiler___MWERKS__=yes
15530 else
15531 echo "$as_me: failed program was:" >&5
15532 sed 's/^/| /' conftest.$ac_ext >&5
15533
15534 bakefile_cv_c_compiler___MWERKS__=no
15535
15536 fi
15537
15538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15539
15540
15541 fi
15542 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15543 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15544 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15545 :; MWCC=yes
15546 else
15547 :;
15548 fi
15549 ac_ext=c
15550 ac_cpp='$CPP $CPPFLAGS'
15551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15554
15555
15556
15557 if test "$MWCC" != "yes"; then
15558
15559
15560 ac_ext=c
15561 ac_cpp='$CPP $CPPFLAGS'
15562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15565
15566 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15567 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15568 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15569 echo $ECHO_N "(cached) $ECHO_C" >&6
15570 else
15571 cat >conftest.$ac_ext <<_ACEOF
15572 /* confdefs.h. */
15573 _ACEOF
15574 cat confdefs.h >>conftest.$ac_ext
15575 cat >>conftest.$ac_ext <<_ACEOF
15576 /* end confdefs.h. */
15577
15578 int
15579 main ()
15580 {
15581
15582 #ifndef __xlC__
15583 choke me
15584 #endif
15585
15586 ;
15587 return 0;
15588 }
15589 _ACEOF
15590 rm -f conftest.$ac_objext
15591 if { (ac_try="$ac_compile"
15592 case "(($ac_try" in
15593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15594 *) ac_try_echo=$ac_try;;
15595 esac
15596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15597 (eval "$ac_compile") 2>conftest.er1
15598 ac_status=$?
15599 grep -v '^ *+' conftest.er1 >conftest.err
15600 rm -f conftest.er1
15601 cat conftest.err >&5
15602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15603 (exit $ac_status); } && {
15604 test -z "$ac_c_werror_flag" ||
15605 test ! -s conftest.err
15606 } && test -s conftest.$ac_objext; then
15607 bakefile_cv_c_compiler___xlC__=yes
15608 else
15609 echo "$as_me: failed program was:" >&5
15610 sed 's/^/| /' conftest.$ac_ext >&5
15611
15612 bakefile_cv_c_compiler___xlC__=no
15613
15614 fi
15615
15616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15617
15618
15619 fi
15620 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15621 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15622 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15623 :; XLCC=yes
15624 else
15625 :;
15626 fi
15627 ac_ext=c
15628 ac_cpp='$CPP $CPPFLAGS'
15629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15632
15633
15634
15635 fi
15636 ;;
15637
15638 IRIX*)
15639
15640
15641 ac_ext=c
15642 ac_cpp='$CPP $CPPFLAGS'
15643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15646
15647 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15648 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15649 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15650 echo $ECHO_N "(cached) $ECHO_C" >&6
15651 else
15652 cat >conftest.$ac_ext <<_ACEOF
15653 /* confdefs.h. */
15654 _ACEOF
15655 cat confdefs.h >>conftest.$ac_ext
15656 cat >>conftest.$ac_ext <<_ACEOF
15657 /* end confdefs.h. */
15658
15659 int
15660 main ()
15661 {
15662
15663 #ifndef _SGI_COMPILER_VERSION
15664 choke me
15665 #endif
15666
15667 ;
15668 return 0;
15669 }
15670 _ACEOF
15671 rm -f conftest.$ac_objext
15672 if { (ac_try="$ac_compile"
15673 case "(($ac_try" in
15674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15675 *) ac_try_echo=$ac_try;;
15676 esac
15677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15678 (eval "$ac_compile") 2>conftest.er1
15679 ac_status=$?
15680 grep -v '^ *+' conftest.er1 >conftest.err
15681 rm -f conftest.er1
15682 cat conftest.err >&5
15683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15684 (exit $ac_status); } && {
15685 test -z "$ac_c_werror_flag" ||
15686 test ! -s conftest.err
15687 } && test -s conftest.$ac_objext; then
15688 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15689 else
15690 echo "$as_me: failed program was:" >&5
15691 sed 's/^/| /' conftest.$ac_ext >&5
15692
15693 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15694
15695 fi
15696
15697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15698
15699
15700 fi
15701 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15702 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15703 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15704 :; SGICC=yes
15705 else
15706 :;
15707 fi
15708 ac_ext=c
15709 ac_cpp='$CPP $CPPFLAGS'
15710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15713
15714
15715
15716 ;;
15717
15718 Linux*)
15719 if test "$INTELCC" != "yes"; then
15720
15721
15722 ac_ext=c
15723 ac_cpp='$CPP $CPPFLAGS'
15724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15727
15728 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15729 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15730 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15731 echo $ECHO_N "(cached) $ECHO_C" >&6
15732 else
15733 cat >conftest.$ac_ext <<_ACEOF
15734 /* confdefs.h. */
15735 _ACEOF
15736 cat confdefs.h >>conftest.$ac_ext
15737 cat >>conftest.$ac_ext <<_ACEOF
15738 /* end confdefs.h. */
15739
15740 int
15741 main ()
15742 {
15743
15744 #ifndef __SUNPRO_C
15745 choke me
15746 #endif
15747
15748 ;
15749 return 0;
15750 }
15751 _ACEOF
15752 rm -f conftest.$ac_objext
15753 if { (ac_try="$ac_compile"
15754 case "(($ac_try" in
15755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15756 *) ac_try_echo=$ac_try;;
15757 esac
15758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15759 (eval "$ac_compile") 2>conftest.er1
15760 ac_status=$?
15761 grep -v '^ *+' conftest.er1 >conftest.err
15762 rm -f conftest.er1
15763 cat conftest.err >&5
15764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15765 (exit $ac_status); } && {
15766 test -z "$ac_c_werror_flag" ||
15767 test ! -s conftest.err
15768 } && test -s conftest.$ac_objext; then
15769 bakefile_cv_c_compiler___SUNPRO_C=yes
15770 else
15771 echo "$as_me: failed program was:" >&5
15772 sed 's/^/| /' conftest.$ac_ext >&5
15773
15774 bakefile_cv_c_compiler___SUNPRO_C=no
15775
15776 fi
15777
15778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15779
15780
15781 fi
15782 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15783 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15784 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15785 :; SUNCC=yes
15786 else
15787 :;
15788 fi
15789 ac_ext=c
15790 ac_cpp='$CPP $CPPFLAGS'
15791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15794
15795
15796
15797 fi
15798 ;;
15799
15800 HP-UX*)
15801
15802
15803 ac_ext=c
15804 ac_cpp='$CPP $CPPFLAGS'
15805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15808
15809 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15810 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15811 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15812 echo $ECHO_N "(cached) $ECHO_C" >&6
15813 else
15814 cat >conftest.$ac_ext <<_ACEOF
15815 /* confdefs.h. */
15816 _ACEOF
15817 cat confdefs.h >>conftest.$ac_ext
15818 cat >>conftest.$ac_ext <<_ACEOF
15819 /* end confdefs.h. */
15820
15821 int
15822 main ()
15823 {
15824
15825 #ifndef __HP_cc
15826 choke me
15827 #endif
15828
15829 ;
15830 return 0;
15831 }
15832 _ACEOF
15833 rm -f conftest.$ac_objext
15834 if { (ac_try="$ac_compile"
15835 case "(($ac_try" in
15836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15837 *) ac_try_echo=$ac_try;;
15838 esac
15839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15840 (eval "$ac_compile") 2>conftest.er1
15841 ac_status=$?
15842 grep -v '^ *+' conftest.er1 >conftest.err
15843 rm -f conftest.er1
15844 cat conftest.err >&5
15845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15846 (exit $ac_status); } && {
15847 test -z "$ac_c_werror_flag" ||
15848 test ! -s conftest.err
15849 } && test -s conftest.$ac_objext; then
15850 bakefile_cv_c_compiler___HP_cc=yes
15851 else
15852 echo "$as_me: failed program was:" >&5
15853 sed 's/^/| /' conftest.$ac_ext >&5
15854
15855 bakefile_cv_c_compiler___HP_cc=no
15856
15857 fi
15858
15859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15860
15861
15862 fi
15863 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15864 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15865 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15866 :; HPCC=yes
15867 else
15868 :;
15869 fi
15870 ac_ext=c
15871 ac_cpp='$CPP $CPPFLAGS'
15872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15875
15876
15877
15878 ;;
15879
15880 OSF1)
15881
15882
15883 ac_ext=c
15884 ac_cpp='$CPP $CPPFLAGS'
15885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15888
15889 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15890 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15891 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15892 echo $ECHO_N "(cached) $ECHO_C" >&6
15893 else
15894 cat >conftest.$ac_ext <<_ACEOF
15895 /* confdefs.h. */
15896 _ACEOF
15897 cat confdefs.h >>conftest.$ac_ext
15898 cat >>conftest.$ac_ext <<_ACEOF
15899 /* end confdefs.h. */
15900
15901 int
15902 main ()
15903 {
15904
15905 #ifndef __DECC
15906 choke me
15907 #endif
15908
15909 ;
15910 return 0;
15911 }
15912 _ACEOF
15913 rm -f conftest.$ac_objext
15914 if { (ac_try="$ac_compile"
15915 case "(($ac_try" in
15916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15917 *) ac_try_echo=$ac_try;;
15918 esac
15919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15920 (eval "$ac_compile") 2>conftest.er1
15921 ac_status=$?
15922 grep -v '^ *+' conftest.er1 >conftest.err
15923 rm -f conftest.er1
15924 cat conftest.err >&5
15925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15926 (exit $ac_status); } && {
15927 test -z "$ac_c_werror_flag" ||
15928 test ! -s conftest.err
15929 } && test -s conftest.$ac_objext; then
15930 bakefile_cv_c_compiler___DECC=yes
15931 else
15932 echo "$as_me: failed program was:" >&5
15933 sed 's/^/| /' conftest.$ac_ext >&5
15934
15935 bakefile_cv_c_compiler___DECC=no
15936
15937 fi
15938
15939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15940
15941
15942 fi
15943 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15944 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15945 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15946 :; COMPAQCC=yes
15947 else
15948 :;
15949 fi
15950 ac_ext=c
15951 ac_cpp='$CPP $CPPFLAGS'
15952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15955
15956
15957
15958 ;;
15959
15960 SunOS)
15961
15962
15963 ac_ext=c
15964 ac_cpp='$CPP $CPPFLAGS'
15965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15968
15969 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15970 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15971 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15972 echo $ECHO_N "(cached) $ECHO_C" >&6
15973 else
15974 cat >conftest.$ac_ext <<_ACEOF
15975 /* confdefs.h. */
15976 _ACEOF
15977 cat confdefs.h >>conftest.$ac_ext
15978 cat >>conftest.$ac_ext <<_ACEOF
15979 /* end confdefs.h. */
15980
15981 int
15982 main ()
15983 {
15984
15985 #ifndef __SUNPRO_C
15986 choke me
15987 #endif
15988
15989 ;
15990 return 0;
15991 }
15992 _ACEOF
15993 rm -f conftest.$ac_objext
15994 if { (ac_try="$ac_compile"
15995 case "(($ac_try" in
15996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15997 *) ac_try_echo=$ac_try;;
15998 esac
15999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16000 (eval "$ac_compile") 2>conftest.er1
16001 ac_status=$?
16002 grep -v '^ *+' conftest.er1 >conftest.err
16003 rm -f conftest.er1
16004 cat conftest.err >&5
16005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16006 (exit $ac_status); } && {
16007 test -z "$ac_c_werror_flag" ||
16008 test ! -s conftest.err
16009 } && test -s conftest.$ac_objext; then
16010 bakefile_cv_c_compiler___SUNPRO_C=yes
16011 else
16012 echo "$as_me: failed program was:" >&5
16013 sed 's/^/| /' conftest.$ac_ext >&5
16014
16015 bakefile_cv_c_compiler___SUNPRO_C=no
16016
16017 fi
16018
16019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16020
16021
16022 fi
16023 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16024 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16025 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16026 :; SUNCC=yes
16027 else
16028 :;
16029 fi
16030 ac_ext=c
16031 ac_cpp='$CPP $CPPFLAGS'
16032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16035
16036
16037
16038 ;;
16039 esac
16040 fi
16041
16042
16043
16044 ac_ext=c
16045 ac_cpp='$CPP $CPPFLAGS'
16046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16049 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16050 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16051 # On Suns, sometimes $CPP names a directory.
16052 if test -n "$CPP" && test -d "$CPP"; then
16053 CPP=
16054 fi
16055 if test -z "$CPP"; then
16056 if test "${ac_cv_prog_CPP+set}" = set; then
16057 echo $ECHO_N "(cached) $ECHO_C" >&6
16058 else
16059 # Double quotes because CPP needs to be expanded
16060 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16061 do
16062 ac_preproc_ok=false
16063 for ac_c_preproc_warn_flag in '' yes
16064 do
16065 # Use a header file that comes with gcc, so configuring glibc
16066 # with a fresh cross-compiler works.
16067 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16068 # <limits.h> exists even on freestanding compilers.
16069 # On the NeXT, cc -E runs the code through the compiler's parser,
16070 # not just through cpp. "Syntax error" is here to catch this case.
16071 cat >conftest.$ac_ext <<_ACEOF
16072 /* confdefs.h. */
16073 _ACEOF
16074 cat confdefs.h >>conftest.$ac_ext
16075 cat >>conftest.$ac_ext <<_ACEOF
16076 /* end confdefs.h. */
16077 #ifdef __STDC__
16078 # include <limits.h>
16079 #else
16080 # include <assert.h>
16081 #endif
16082 Syntax error
16083 _ACEOF
16084 if { (ac_try="$ac_cpp conftest.$ac_ext"
16085 case "(($ac_try" in
16086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16087 *) ac_try_echo=$ac_try;;
16088 esac
16089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16090 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16091 ac_status=$?
16092 grep -v '^ *+' conftest.er1 >conftest.err
16093 rm -f conftest.er1
16094 cat conftest.err >&5
16095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16096 (exit $ac_status); } >/dev/null && {
16097 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16098 test ! -s conftest.err
16099 }; then
16100 :
16101 else
16102 echo "$as_me: failed program was:" >&5
16103 sed 's/^/| /' conftest.$ac_ext >&5
16104
16105 # Broken: fails on valid input.
16106 continue
16107 fi
16108
16109 rm -f conftest.err conftest.$ac_ext
16110
16111 # OK, works on sane cases. Now check whether nonexistent headers
16112 # can be detected and how.
16113 cat >conftest.$ac_ext <<_ACEOF
16114 /* confdefs.h. */
16115 _ACEOF
16116 cat confdefs.h >>conftest.$ac_ext
16117 cat >>conftest.$ac_ext <<_ACEOF
16118 /* end confdefs.h. */
16119 #include <ac_nonexistent.h>
16120 _ACEOF
16121 if { (ac_try="$ac_cpp conftest.$ac_ext"
16122 case "(($ac_try" in
16123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16124 *) ac_try_echo=$ac_try;;
16125 esac
16126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16127 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16128 ac_status=$?
16129 grep -v '^ *+' conftest.er1 >conftest.err
16130 rm -f conftest.er1
16131 cat conftest.err >&5
16132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16133 (exit $ac_status); } >/dev/null && {
16134 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16135 test ! -s conftest.err
16136 }; then
16137 # Broken: success on invalid input.
16138 continue
16139 else
16140 echo "$as_me: failed program was:" >&5
16141 sed 's/^/| /' conftest.$ac_ext >&5
16142
16143 # Passes both tests.
16144 ac_preproc_ok=:
16145 break
16146 fi
16147
16148 rm -f conftest.err conftest.$ac_ext
16149
16150 done
16151 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16152 rm -f conftest.err conftest.$ac_ext
16153 if $ac_preproc_ok; then
16154 break
16155 fi
16156
16157 done
16158 ac_cv_prog_CPP=$CPP
16159
16160 fi
16161 CPP=$ac_cv_prog_CPP
16162 else
16163 ac_cv_prog_CPP=$CPP
16164 fi
16165 { echo "$as_me:$LINENO: result: $CPP" >&5
16166 echo "${ECHO_T}$CPP" >&6; }
16167 ac_preproc_ok=false
16168 for ac_c_preproc_warn_flag in '' yes
16169 do
16170 # Use a header file that comes with gcc, so configuring glibc
16171 # with a fresh cross-compiler works.
16172 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16173 # <limits.h> exists even on freestanding compilers.
16174 # On the NeXT, cc -E runs the code through the compiler's parser,
16175 # not just through cpp. "Syntax error" is here to catch this case.
16176 cat >conftest.$ac_ext <<_ACEOF
16177 /* confdefs.h. */
16178 _ACEOF
16179 cat confdefs.h >>conftest.$ac_ext
16180 cat >>conftest.$ac_ext <<_ACEOF
16181 /* end confdefs.h. */
16182 #ifdef __STDC__
16183 # include <limits.h>
16184 #else
16185 # include <assert.h>
16186 #endif
16187 Syntax error
16188 _ACEOF
16189 if { (ac_try="$ac_cpp conftest.$ac_ext"
16190 case "(($ac_try" in
16191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16192 *) ac_try_echo=$ac_try;;
16193 esac
16194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16195 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16196 ac_status=$?
16197 grep -v '^ *+' conftest.er1 >conftest.err
16198 rm -f conftest.er1
16199 cat conftest.err >&5
16200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16201 (exit $ac_status); } >/dev/null && {
16202 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16203 test ! -s conftest.err
16204 }; then
16205 :
16206 else
16207 echo "$as_me: failed program was:" >&5
16208 sed 's/^/| /' conftest.$ac_ext >&5
16209
16210 # Broken: fails on valid input.
16211 continue
16212 fi
16213
16214 rm -f conftest.err conftest.$ac_ext
16215
16216 # OK, works on sane cases. Now check whether nonexistent headers
16217 # can be detected and how.
16218 cat >conftest.$ac_ext <<_ACEOF
16219 /* confdefs.h. */
16220 _ACEOF
16221 cat confdefs.h >>conftest.$ac_ext
16222 cat >>conftest.$ac_ext <<_ACEOF
16223 /* end confdefs.h. */
16224 #include <ac_nonexistent.h>
16225 _ACEOF
16226 if { (ac_try="$ac_cpp conftest.$ac_ext"
16227 case "(($ac_try" in
16228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16229 *) ac_try_echo=$ac_try;;
16230 esac
16231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16232 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16233 ac_status=$?
16234 grep -v '^ *+' conftest.er1 >conftest.err
16235 rm -f conftest.er1
16236 cat conftest.err >&5
16237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16238 (exit $ac_status); } >/dev/null && {
16239 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16240 test ! -s conftest.err
16241 }; then
16242 # Broken: success on invalid input.
16243 continue
16244 else
16245 echo "$as_me: failed program was:" >&5
16246 sed 's/^/| /' conftest.$ac_ext >&5
16247
16248 # Passes both tests.
16249 ac_preproc_ok=:
16250 break
16251 fi
16252
16253 rm -f conftest.err conftest.$ac_ext
16254
16255 done
16256 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16257 rm -f conftest.err conftest.$ac_ext
16258 if $ac_preproc_ok; then
16259 :
16260 else
16261 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16262 See \`config.log' for more details." >&5
16263 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16264 See \`config.log' for more details." >&2;}
16265 { (exit 1); exit 1; }; }
16266 fi
16267
16268 ac_ext=c
16269 ac_cpp='$CPP $CPPFLAGS'
16270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16273
16274
16275 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16276 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16277 if test "${ac_cv_path_GREP+set}" = set; then
16278 echo $ECHO_N "(cached) $ECHO_C" >&6
16279 else
16280 # Extract the first word of "grep ggrep" to use in msg output
16281 if test -z "$GREP"; then
16282 set dummy grep ggrep; ac_prog_name=$2
16283 if test "${ac_cv_path_GREP+set}" = set; then
16284 echo $ECHO_N "(cached) $ECHO_C" >&6
16285 else
16286 ac_path_GREP_found=false
16287 # Loop through the user's path and test for each of PROGNAME-LIST
16288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16289 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16290 do
16291 IFS=$as_save_IFS
16292 test -z "$as_dir" && as_dir=.
16293 for ac_prog in grep ggrep; do
16294 for ac_exec_ext in '' $ac_executable_extensions; do
16295 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16296 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16297 # Check for GNU ac_path_GREP and select it if it is found.
16298 # Check for GNU $ac_path_GREP
16299 case `"$ac_path_GREP" --version 2>&1` in
16300 *GNU*)
16301 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16302 *)
16303 ac_count=0
16304 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16305 while :
16306 do
16307 cat "conftest.in" "conftest.in" >"conftest.tmp"
16308 mv "conftest.tmp" "conftest.in"
16309 cp "conftest.in" "conftest.nl"
16310 echo 'GREP' >> "conftest.nl"
16311 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16312 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16313 ac_count=`expr $ac_count + 1`
16314 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16315 # Best one so far, save it but keep looking for a better one
16316 ac_cv_path_GREP="$ac_path_GREP"
16317 ac_path_GREP_max=$ac_count
16318 fi
16319 # 10*(2^10) chars as input seems more than enough
16320 test $ac_count -gt 10 && break
16321 done
16322 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16323 esac
16324
16325
16326 $ac_path_GREP_found && break 3
16327 done
16328 done
16329
16330 done
16331 IFS=$as_save_IFS
16332
16333
16334 fi
16335
16336 GREP="$ac_cv_path_GREP"
16337 if test -z "$GREP"; then
16338 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16339 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16340 { (exit 1); exit 1; }; }
16341 fi
16342
16343 else
16344 ac_cv_path_GREP=$GREP
16345 fi
16346
16347
16348 fi
16349 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16350 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16351 GREP="$ac_cv_path_GREP"
16352
16353
16354 { echo "$as_me:$LINENO: checking for egrep" >&5
16355 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16356 if test "${ac_cv_path_EGREP+set}" = set; then
16357 echo $ECHO_N "(cached) $ECHO_C" >&6
16358 else
16359 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16360 then ac_cv_path_EGREP="$GREP -E"
16361 else
16362 # Extract the first word of "egrep" to use in msg output
16363 if test -z "$EGREP"; then
16364 set dummy egrep; ac_prog_name=$2
16365 if test "${ac_cv_path_EGREP+set}" = set; then
16366 echo $ECHO_N "(cached) $ECHO_C" >&6
16367 else
16368 ac_path_EGREP_found=false
16369 # Loop through the user's path and test for each of PROGNAME-LIST
16370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16371 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16372 do
16373 IFS=$as_save_IFS
16374 test -z "$as_dir" && as_dir=.
16375 for ac_prog in egrep; do
16376 for ac_exec_ext in '' $ac_executable_extensions; do
16377 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16378 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16379 # Check for GNU ac_path_EGREP and select it if it is found.
16380 # Check for GNU $ac_path_EGREP
16381 case `"$ac_path_EGREP" --version 2>&1` in
16382 *GNU*)
16383 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16384 *)
16385 ac_count=0
16386 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16387 while :
16388 do
16389 cat "conftest.in" "conftest.in" >"conftest.tmp"
16390 mv "conftest.tmp" "conftest.in"
16391 cp "conftest.in" "conftest.nl"
16392 echo 'EGREP' >> "conftest.nl"
16393 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16394 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16395 ac_count=`expr $ac_count + 1`
16396 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16397 # Best one so far, save it but keep looking for a better one
16398 ac_cv_path_EGREP="$ac_path_EGREP"
16399 ac_path_EGREP_max=$ac_count
16400 fi
16401 # 10*(2^10) chars as input seems more than enough
16402 test $ac_count -gt 10 && break
16403 done
16404 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16405 esac
16406
16407
16408 $ac_path_EGREP_found && break 3
16409 done
16410 done
16411
16412 done
16413 IFS=$as_save_IFS
16414
16415
16416 fi
16417
16418 EGREP="$ac_cv_path_EGREP"
16419 if test -z "$EGREP"; then
16420 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16421 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16422 { (exit 1); exit 1; }; }
16423 fi
16424
16425 else
16426 ac_cv_path_EGREP=$EGREP
16427 fi
16428
16429
16430 fi
16431 fi
16432 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16433 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16434 EGREP="$ac_cv_path_EGREP"
16435
16436
16437 if test $ac_cv_c_compiler_gnu = yes; then
16438 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16439 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16440 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16441 echo $ECHO_N "(cached) $ECHO_C" >&6
16442 else
16443 ac_pattern="Autoconf.*'x'"
16444 cat >conftest.$ac_ext <<_ACEOF
16445 /* confdefs.h. */
16446 _ACEOF
16447 cat confdefs.h >>conftest.$ac_ext
16448 cat >>conftest.$ac_ext <<_ACEOF
16449 /* end confdefs.h. */
16450 #include <sgtty.h>
16451 Autoconf TIOCGETP
16452 _ACEOF
16453 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16454 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16455 ac_cv_prog_gcc_traditional=yes
16456 else
16457 ac_cv_prog_gcc_traditional=no
16458 fi
16459 rm -f conftest*
16460
16461
16462 if test $ac_cv_prog_gcc_traditional = no; then
16463 cat >conftest.$ac_ext <<_ACEOF
16464 /* confdefs.h. */
16465 _ACEOF
16466 cat confdefs.h >>conftest.$ac_ext
16467 cat >>conftest.$ac_ext <<_ACEOF
16468 /* end confdefs.h. */
16469 #include <termio.h>
16470 Autoconf TCGETA
16471 _ACEOF
16472 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16473 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16474 ac_cv_prog_gcc_traditional=yes
16475 fi
16476 rm -f conftest*
16477
16478 fi
16479 fi
16480 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16481 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16482 if test $ac_cv_prog_gcc_traditional = yes; then
16483 CC="$CC -traditional"
16484 fi
16485 fi
16486
16487
16488 CXXFLAGS=${CXXFLAGS:=}
16489
16490
16491
16492 ac_ext=cpp
16493 ac_cpp='$CXXCPP $CPPFLAGS'
16494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16497 if test -z "$CXX"; then
16498 if test -n "$CCC"; then
16499 CXX=$CCC
16500 else
16501 if test -n "$ac_tool_prefix"; then
16502 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16503 do
16504 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16505 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16506 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16508 if test "${ac_cv_prog_CXX+set}" = set; then
16509 echo $ECHO_N "(cached) $ECHO_C" >&6
16510 else
16511 if test -n "$CXX"; then
16512 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16513 else
16514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16515 for as_dir in $PATH
16516 do
16517 IFS=$as_save_IFS
16518 test -z "$as_dir" && as_dir=.
16519 for ac_exec_ext in '' $ac_executable_extensions; do
16520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16521 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16523 break 2
16524 fi
16525 done
16526 done
16527 IFS=$as_save_IFS
16528
16529 fi
16530 fi
16531 CXX=$ac_cv_prog_CXX
16532 if test -n "$CXX"; then
16533 { echo "$as_me:$LINENO: result: $CXX" >&5
16534 echo "${ECHO_T}$CXX" >&6; }
16535 else
16536 { echo "$as_me:$LINENO: result: no" >&5
16537 echo "${ECHO_T}no" >&6; }
16538 fi
16539
16540
16541 test -n "$CXX" && break
16542 done
16543 fi
16544 if test -z "$CXX"; then
16545 ac_ct_CXX=$CXX
16546 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16547 do
16548 # Extract the first word of "$ac_prog", so it can be a program name with args.
16549 set dummy $ac_prog; ac_word=$2
16550 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16552 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16553 echo $ECHO_N "(cached) $ECHO_C" >&6
16554 else
16555 if test -n "$ac_ct_CXX"; then
16556 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16557 else
16558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16559 for as_dir in $PATH
16560 do
16561 IFS=$as_save_IFS
16562 test -z "$as_dir" && as_dir=.
16563 for ac_exec_ext in '' $ac_executable_extensions; do
16564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16565 ac_cv_prog_ac_ct_CXX="$ac_prog"
16566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16567 break 2
16568 fi
16569 done
16570 done
16571 IFS=$as_save_IFS
16572
16573 fi
16574 fi
16575 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16576 if test -n "$ac_ct_CXX"; then
16577 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16578 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16579 else
16580 { echo "$as_me:$LINENO: result: no" >&5
16581 echo "${ECHO_T}no" >&6; }
16582 fi
16583
16584
16585 test -n "$ac_ct_CXX" && break
16586 done
16587
16588 if test "x$ac_ct_CXX" = x; then
16589 CXX="g++"
16590 else
16591 case $cross_compiling:$ac_tool_warned in
16592 yes:)
16593 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16594 whose name does not start with the host triplet. If you think this
16595 configuration is useful to you, please write to autoconf@gnu.org." >&5
16596 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16597 whose name does not start with the host triplet. If you think this
16598 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16599 ac_tool_warned=yes ;;
16600 esac
16601 CXX=$ac_ct_CXX
16602 fi
16603 fi
16604
16605 fi
16606 fi
16607 # Provide some information about the compiler.
16608 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16609 ac_compiler=`set X $ac_compile; echo $2`
16610 { (ac_try="$ac_compiler --version >&5"
16611 case "(($ac_try" in
16612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16613 *) ac_try_echo=$ac_try;;
16614 esac
16615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16616 (eval "$ac_compiler --version >&5") 2>&5
16617 ac_status=$?
16618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16619 (exit $ac_status); }
16620 { (ac_try="$ac_compiler -v >&5"
16621 case "(($ac_try" in
16622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16623 *) ac_try_echo=$ac_try;;
16624 esac
16625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16626 (eval "$ac_compiler -v >&5") 2>&5
16627 ac_status=$?
16628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16629 (exit $ac_status); }
16630 { (ac_try="$ac_compiler -V >&5"
16631 case "(($ac_try" in
16632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16633 *) ac_try_echo=$ac_try;;
16634 esac
16635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16636 (eval "$ac_compiler -V >&5") 2>&5
16637 ac_status=$?
16638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16639 (exit $ac_status); }
16640
16641 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16642 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16643 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16644 echo $ECHO_N "(cached) $ECHO_C" >&6
16645 else
16646 cat >conftest.$ac_ext <<_ACEOF
16647 /* confdefs.h. */
16648 _ACEOF
16649 cat confdefs.h >>conftest.$ac_ext
16650 cat >>conftest.$ac_ext <<_ACEOF
16651 /* end confdefs.h. */
16652
16653 int
16654 main ()
16655 {
16656 #ifndef __GNUC__
16657 choke me
16658 #endif
16659
16660 ;
16661 return 0;
16662 }
16663 _ACEOF
16664 rm -f conftest.$ac_objext
16665 if { (ac_try="$ac_compile"
16666 case "(($ac_try" in
16667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16668 *) ac_try_echo=$ac_try;;
16669 esac
16670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16671 (eval "$ac_compile") 2>conftest.er1
16672 ac_status=$?
16673 grep -v '^ *+' conftest.er1 >conftest.err
16674 rm -f conftest.er1
16675 cat conftest.err >&5
16676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16677 (exit $ac_status); } && {
16678 test -z "$ac_cxx_werror_flag" ||
16679 test ! -s conftest.err
16680 } && test -s conftest.$ac_objext; then
16681 ac_compiler_gnu=yes
16682 else
16683 echo "$as_me: failed program was:" >&5
16684 sed 's/^/| /' conftest.$ac_ext >&5
16685
16686 ac_compiler_gnu=no
16687 fi
16688
16689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16690 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16691
16692 fi
16693 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16694 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16695 GXX=`test $ac_compiler_gnu = yes && echo yes`
16696 ac_test_CXXFLAGS=${CXXFLAGS+set}
16697 ac_save_CXXFLAGS=$CXXFLAGS
16698 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16699 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16700 if test "${ac_cv_prog_cxx_g+set}" = set; then
16701 echo $ECHO_N "(cached) $ECHO_C" >&6
16702 else
16703 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16704 ac_cxx_werror_flag=yes
16705 ac_cv_prog_cxx_g=no
16706 CXXFLAGS="-g"
16707 cat >conftest.$ac_ext <<_ACEOF
16708 /* confdefs.h. */
16709 _ACEOF
16710 cat confdefs.h >>conftest.$ac_ext
16711 cat >>conftest.$ac_ext <<_ACEOF
16712 /* end confdefs.h. */
16713
16714 int
16715 main ()
16716 {
16717
16718 ;
16719 return 0;
16720 }
16721 _ACEOF
16722 rm -f conftest.$ac_objext
16723 if { (ac_try="$ac_compile"
16724 case "(($ac_try" in
16725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16726 *) ac_try_echo=$ac_try;;
16727 esac
16728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16729 (eval "$ac_compile") 2>conftest.er1
16730 ac_status=$?
16731 grep -v '^ *+' conftest.er1 >conftest.err
16732 rm -f conftest.er1
16733 cat conftest.err >&5
16734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16735 (exit $ac_status); } && {
16736 test -z "$ac_cxx_werror_flag" ||
16737 test ! -s conftest.err
16738 } && test -s conftest.$ac_objext; then
16739 ac_cv_prog_cxx_g=yes
16740 else
16741 echo "$as_me: failed program was:" >&5
16742 sed 's/^/| /' conftest.$ac_ext >&5
16743
16744 CXXFLAGS=""
16745 cat >conftest.$ac_ext <<_ACEOF
16746 /* confdefs.h. */
16747 _ACEOF
16748 cat confdefs.h >>conftest.$ac_ext
16749 cat >>conftest.$ac_ext <<_ACEOF
16750 /* end confdefs.h. */
16751
16752 int
16753 main ()
16754 {
16755
16756 ;
16757 return 0;
16758 }
16759 _ACEOF
16760 rm -f conftest.$ac_objext
16761 if { (ac_try="$ac_compile"
16762 case "(($ac_try" in
16763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16764 *) ac_try_echo=$ac_try;;
16765 esac
16766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16767 (eval "$ac_compile") 2>conftest.er1
16768 ac_status=$?
16769 grep -v '^ *+' conftest.er1 >conftest.err
16770 rm -f conftest.er1
16771 cat conftest.err >&5
16772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16773 (exit $ac_status); } && {
16774 test -z "$ac_cxx_werror_flag" ||
16775 test ! -s conftest.err
16776 } && test -s conftest.$ac_objext; then
16777 :
16778 else
16779 echo "$as_me: failed program was:" >&5
16780 sed 's/^/| /' conftest.$ac_ext >&5
16781
16782 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16783 CXXFLAGS="-g"
16784 cat >conftest.$ac_ext <<_ACEOF
16785 /* confdefs.h. */
16786 _ACEOF
16787 cat confdefs.h >>conftest.$ac_ext
16788 cat >>conftest.$ac_ext <<_ACEOF
16789 /* end confdefs.h. */
16790
16791 int
16792 main ()
16793 {
16794
16795 ;
16796 return 0;
16797 }
16798 _ACEOF
16799 rm -f conftest.$ac_objext
16800 if { (ac_try="$ac_compile"
16801 case "(($ac_try" in
16802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16803 *) ac_try_echo=$ac_try;;
16804 esac
16805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16806 (eval "$ac_compile") 2>conftest.er1
16807 ac_status=$?
16808 grep -v '^ *+' conftest.er1 >conftest.err
16809 rm -f conftest.er1
16810 cat conftest.err >&5
16811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16812 (exit $ac_status); } && {
16813 test -z "$ac_cxx_werror_flag" ||
16814 test ! -s conftest.err
16815 } && test -s conftest.$ac_objext; then
16816 ac_cv_prog_cxx_g=yes
16817 else
16818 echo "$as_me: failed program was:" >&5
16819 sed 's/^/| /' conftest.$ac_ext >&5
16820
16821
16822 fi
16823
16824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16825 fi
16826
16827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16828 fi
16829
16830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16831 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16832 fi
16833 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16834 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16835 if test "$ac_test_CXXFLAGS" = set; then
16836 CXXFLAGS=$ac_save_CXXFLAGS
16837 elif test $ac_cv_prog_cxx_g = yes; then
16838 if test "$GXX" = yes; then
16839 CXXFLAGS="-g -O2"
16840 else
16841 CXXFLAGS="-g"
16842 fi
16843 else
16844 if test "$GXX" = yes; then
16845 CXXFLAGS="-O2"
16846 else
16847 CXXFLAGS=
16848 fi
16849 fi
16850 ac_ext=c
16851 ac_cpp='$CPP $CPPFLAGS'
16852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16855
16856
16857
16858
16859 ac_ext=cpp
16860 ac_cpp='$CXXCPP $CPPFLAGS'
16861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16864
16865 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16866 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16867 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16868 echo $ECHO_N "(cached) $ECHO_C" >&6
16869 else
16870 cat >conftest.$ac_ext <<_ACEOF
16871 /* confdefs.h. */
16872 _ACEOF
16873 cat confdefs.h >>conftest.$ac_ext
16874 cat >>conftest.$ac_ext <<_ACEOF
16875 /* end confdefs.h. */
16876
16877 int
16878 main ()
16879 {
16880
16881 #ifndef __INTEL_COMPILER
16882 choke me
16883 #endif
16884
16885 ;
16886 return 0;
16887 }
16888 _ACEOF
16889 rm -f conftest.$ac_objext
16890 if { (ac_try="$ac_compile"
16891 case "(($ac_try" in
16892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16893 *) ac_try_echo=$ac_try;;
16894 esac
16895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16896 (eval "$ac_compile") 2>conftest.er1
16897 ac_status=$?
16898 grep -v '^ *+' conftest.er1 >conftest.err
16899 rm -f conftest.er1
16900 cat conftest.err >&5
16901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16902 (exit $ac_status); } && {
16903 test -z "$ac_cxx_werror_flag" ||
16904 test ! -s conftest.err
16905 } && test -s conftest.$ac_objext; then
16906 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
16907 else
16908 echo "$as_me: failed program was:" >&5
16909 sed 's/^/| /' conftest.$ac_ext >&5
16910
16911 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
16912
16913 fi
16914
16915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16916
16917
16918 fi
16919 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16920 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16921 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16922 :; INTELCXX=yes
16923 else
16924 :;
16925 fi
16926 ac_ext=c
16927 ac_cpp='$CPP $CPPFLAGS'
16928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16931
16932
16933
16934
16935 if test "$INTELCXX" = "yes"; then
16936
16937
16938 ac_ext=cpp
16939 ac_cpp='$CXXCPP $CPPFLAGS'
16940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16943
16944 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
16945 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
16946 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
16947 echo $ECHO_N "(cached) $ECHO_C" >&6
16948 else
16949 cat >conftest.$ac_ext <<_ACEOF
16950 /* confdefs.h. */
16951 _ACEOF
16952 cat confdefs.h >>conftest.$ac_ext
16953 cat >>conftest.$ac_ext <<_ACEOF
16954 /* end confdefs.h. */
16955
16956 int
16957 main ()
16958 {
16959
16960 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
16961 choke me
16962 #endif
16963
16964 ;
16965 return 0;
16966 }
16967 _ACEOF
16968 rm -f conftest.$ac_objext
16969 if { (ac_try="$ac_compile"
16970 case "(($ac_try" in
16971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16972 *) ac_try_echo=$ac_try;;
16973 esac
16974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16975 (eval "$ac_compile") 2>conftest.er1
16976 ac_status=$?
16977 grep -v '^ *+' conftest.er1 >conftest.err
16978 rm -f conftest.er1
16979 cat conftest.err >&5
16980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16981 (exit $ac_status); } && {
16982 test -z "$ac_cxx_werror_flag" ||
16983 test ! -s conftest.err
16984 } && test -s conftest.$ac_objext; then
16985 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
16986 else
16987 echo "$as_me: failed program was:" >&5
16988 sed 's/^/| /' conftest.$ac_ext >&5
16989
16990 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
16991
16992 fi
16993
16994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16995
16996
16997 fi
16998 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
16999 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17000 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17001 :; INTELCXX8=yes
17002 else
17003 :;
17004 fi
17005 ac_ext=c
17006 ac_cpp='$CPP $CPPFLAGS'
17007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17010
17011
17012
17013
17014
17015 ac_ext=cpp
17016 ac_cpp='$CXXCPP $CPPFLAGS'
17017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17020
17021 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17022 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17023 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17024 echo $ECHO_N "(cached) $ECHO_C" >&6
17025 else
17026 cat >conftest.$ac_ext <<_ACEOF
17027 /* confdefs.h. */
17028 _ACEOF
17029 cat confdefs.h >>conftest.$ac_ext
17030 cat >>conftest.$ac_ext <<_ACEOF
17031 /* end confdefs.h. */
17032
17033 int
17034 main ()
17035 {
17036
17037 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17038 choke me
17039 #endif
17040
17041 ;
17042 return 0;
17043 }
17044 _ACEOF
17045 rm -f conftest.$ac_objext
17046 if { (ac_try="$ac_compile"
17047 case "(($ac_try" in
17048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17049 *) ac_try_echo=$ac_try;;
17050 esac
17051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17052 (eval "$ac_compile") 2>conftest.er1
17053 ac_status=$?
17054 grep -v '^ *+' conftest.er1 >conftest.err
17055 rm -f conftest.er1
17056 cat conftest.err >&5
17057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17058 (exit $ac_status); } && {
17059 test -z "$ac_cxx_werror_flag" ||
17060 test ! -s conftest.err
17061 } && test -s conftest.$ac_objext; then
17062 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17063 else
17064 echo "$as_me: failed program was:" >&5
17065 sed 's/^/| /' conftest.$ac_ext >&5
17066
17067 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17068
17069 fi
17070
17071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17072
17073
17074 fi
17075 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17076 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17077 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17078 :; INTELCXX10=yes
17079 else
17080 :;
17081 fi
17082 ac_ext=c
17083 ac_cpp='$CPP $CPPFLAGS'
17084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17087
17088
17089
17090 fi
17091
17092 if test "x$GCXX" != "xyes"; then
17093 if test "xCXX" = "xC"; then
17094 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17095 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17096 if test "${bakefile_cv_c_exto+set}" = set; then
17097 echo $ECHO_N "(cached) $ECHO_C" >&6
17098 else
17099 cat >conftest.$ac_ext <<_ACEOF
17100 /* confdefs.h. */
17101 _ACEOF
17102 cat confdefs.h >>conftest.$ac_ext
17103 cat >>conftest.$ac_ext <<_ACEOF
17104 /* end confdefs.h. */
17105
17106 int
17107 main ()
17108 {
17109
17110 ;
17111 return 0;
17112 }
17113 _ACEOF
17114 rm -f conftest.$ac_objext conftest.$ac_ext.o
17115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17116 (eval $ac_compile) 2>&5
17117 ac_status=$?
17118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17119 (exit $ac_status); }; then
17120 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17121 case $ac_file in
17122 conftest.$ac_ext.o)
17123 bakefile_cv_c_exto="-ext o"
17124 ;;
17125 *)
17126 ;;
17127 esac
17128 done
17129 else
17130 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17131 See \`config.log' for more details." >&5
17132 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17133 See \`config.log' for more details." >&2;}
17134 { (exit 1); exit 1; }; }
17135
17136 fi
17137
17138 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17139
17140 fi
17141 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17142 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17143 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17144 if test "c" = "c"; then
17145 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17146 fi
17147 if test "c" = "cxx"; then
17148 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17149 fi
17150 fi
17151
17152 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17153 unset ac_cv_prog_cc_g
17154 ac_test_CFLAGS=${CFLAGS+set}
17155 ac_save_CFLAGS=$CFLAGS
17156 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17157 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17158 if test "${ac_cv_prog_cc_g+set}" = set; then
17159 echo $ECHO_N "(cached) $ECHO_C" >&6
17160 else
17161 ac_save_c_werror_flag=$ac_c_werror_flag
17162 ac_c_werror_flag=yes
17163 ac_cv_prog_cc_g=no
17164 CFLAGS="-g"
17165 cat >conftest.$ac_ext <<_ACEOF
17166 /* confdefs.h. */
17167 _ACEOF
17168 cat confdefs.h >>conftest.$ac_ext
17169 cat >>conftest.$ac_ext <<_ACEOF
17170 /* end confdefs.h. */
17171
17172 int
17173 main ()
17174 {
17175
17176 ;
17177 return 0;
17178 }
17179 _ACEOF
17180 rm -f conftest.$ac_objext
17181 if { (ac_try="$ac_compile"
17182 case "(($ac_try" in
17183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17184 *) ac_try_echo=$ac_try;;
17185 esac
17186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17187 (eval "$ac_compile") 2>conftest.er1
17188 ac_status=$?
17189 grep -v '^ *+' conftest.er1 >conftest.err
17190 rm -f conftest.er1
17191 cat conftest.err >&5
17192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17193 (exit $ac_status); } && {
17194 test -z "$ac_c_werror_flag" ||
17195 test ! -s conftest.err
17196 } && test -s conftest.$ac_objext; then
17197 ac_cv_prog_cc_g=yes
17198 else
17199 echo "$as_me: failed program was:" >&5
17200 sed 's/^/| /' conftest.$ac_ext >&5
17201
17202 CFLAGS=""
17203 cat >conftest.$ac_ext <<_ACEOF
17204 /* confdefs.h. */
17205 _ACEOF
17206 cat confdefs.h >>conftest.$ac_ext
17207 cat >>conftest.$ac_ext <<_ACEOF
17208 /* end confdefs.h. */
17209
17210 int
17211 main ()
17212 {
17213
17214 ;
17215 return 0;
17216 }
17217 _ACEOF
17218 rm -f conftest.$ac_objext
17219 if { (ac_try="$ac_compile"
17220 case "(($ac_try" in
17221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17222 *) ac_try_echo=$ac_try;;
17223 esac
17224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17225 (eval "$ac_compile") 2>conftest.er1
17226 ac_status=$?
17227 grep -v '^ *+' conftest.er1 >conftest.err
17228 rm -f conftest.er1
17229 cat conftest.err >&5
17230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17231 (exit $ac_status); } && {
17232 test -z "$ac_c_werror_flag" ||
17233 test ! -s conftest.err
17234 } && test -s conftest.$ac_objext; then
17235 :
17236 else
17237 echo "$as_me: failed program was:" >&5
17238 sed 's/^/| /' conftest.$ac_ext >&5
17239
17240 ac_c_werror_flag=$ac_save_c_werror_flag
17241 CFLAGS="-g"
17242 cat >conftest.$ac_ext <<_ACEOF
17243 /* confdefs.h. */
17244 _ACEOF
17245 cat confdefs.h >>conftest.$ac_ext
17246 cat >>conftest.$ac_ext <<_ACEOF
17247 /* end confdefs.h. */
17248
17249 int
17250 main ()
17251 {
17252
17253 ;
17254 return 0;
17255 }
17256 _ACEOF
17257 rm -f conftest.$ac_objext
17258 if { (ac_try="$ac_compile"
17259 case "(($ac_try" in
17260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17261 *) ac_try_echo=$ac_try;;
17262 esac
17263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17264 (eval "$ac_compile") 2>conftest.er1
17265 ac_status=$?
17266 grep -v '^ *+' conftest.er1 >conftest.err
17267 rm -f conftest.er1
17268 cat conftest.err >&5
17269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17270 (exit $ac_status); } && {
17271 test -z "$ac_c_werror_flag" ||
17272 test ! -s conftest.err
17273 } && test -s conftest.$ac_objext; then
17274 ac_cv_prog_cc_g=yes
17275 else
17276 echo "$as_me: failed program was:" >&5
17277 sed 's/^/| /' conftest.$ac_ext >&5
17278
17279
17280 fi
17281
17282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17283 fi
17284
17285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17286 fi
17287
17288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17289 ac_c_werror_flag=$ac_save_c_werror_flag
17290 fi
17291 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17292 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17293 if test "$ac_test_CFLAGS" = set; then
17294 CFLAGS=$ac_save_CFLAGS
17295 elif test $ac_cv_prog_cc_g = yes; then
17296 if test "$GCC" = yes; then
17297 CFLAGS="-g -O2"
17298 else
17299 CFLAGS="-g"
17300 fi
17301 else
17302 if test "$GCC" = yes; then
17303 CFLAGS="-O2"
17304 else
17305 CFLAGS=
17306 fi
17307 fi
17308 fi
17309 fi
17310
17311 case `uname -s` in
17312 AIX*)
17313
17314
17315 ac_ext=cpp
17316 ac_cpp='$CXXCPP $CPPFLAGS'
17317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17320
17321 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17322 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17323 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17324 echo $ECHO_N "(cached) $ECHO_C" >&6
17325 else
17326 cat >conftest.$ac_ext <<_ACEOF
17327 /* confdefs.h. */
17328 _ACEOF
17329 cat confdefs.h >>conftest.$ac_ext
17330 cat >>conftest.$ac_ext <<_ACEOF
17331 /* end confdefs.h. */
17332
17333 int
17334 main ()
17335 {
17336
17337 #ifndef __xlC__
17338 choke me
17339 #endif
17340
17341 ;
17342 return 0;
17343 }
17344 _ACEOF
17345 rm -f conftest.$ac_objext
17346 if { (ac_try="$ac_compile"
17347 case "(($ac_try" in
17348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17349 *) ac_try_echo=$ac_try;;
17350 esac
17351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17352 (eval "$ac_compile") 2>conftest.er1
17353 ac_status=$?
17354 grep -v '^ *+' conftest.er1 >conftest.err
17355 rm -f conftest.er1
17356 cat conftest.err >&5
17357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17358 (exit $ac_status); } && {
17359 test -z "$ac_cxx_werror_flag" ||
17360 test ! -s conftest.err
17361 } && test -s conftest.$ac_objext; then
17362 bakefile_cv_cxx_compiler___xlC__=yes
17363 else
17364 echo "$as_me: failed program was:" >&5
17365 sed 's/^/| /' conftest.$ac_ext >&5
17366
17367 bakefile_cv_cxx_compiler___xlC__=no
17368
17369 fi
17370
17371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17372
17373
17374 fi
17375 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17376 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17377 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17378 :; XLCXX=yes
17379 else
17380 :;
17381 fi
17382 ac_ext=c
17383 ac_cpp='$CPP $CPPFLAGS'
17384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17387
17388
17389
17390 ;;
17391
17392 Darwin)
17393
17394
17395 ac_ext=cpp
17396 ac_cpp='$CXXCPP $CPPFLAGS'
17397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17400
17401 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17402 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17403 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17404 echo $ECHO_N "(cached) $ECHO_C" >&6
17405 else
17406 cat >conftest.$ac_ext <<_ACEOF
17407 /* confdefs.h. */
17408 _ACEOF
17409 cat confdefs.h >>conftest.$ac_ext
17410 cat >>conftest.$ac_ext <<_ACEOF
17411 /* end confdefs.h. */
17412
17413 int
17414 main ()
17415 {
17416
17417 #ifndef __MWERKS__
17418 choke me
17419 #endif
17420
17421 ;
17422 return 0;
17423 }
17424 _ACEOF
17425 rm -f conftest.$ac_objext
17426 if { (ac_try="$ac_compile"
17427 case "(($ac_try" in
17428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17429 *) ac_try_echo=$ac_try;;
17430 esac
17431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17432 (eval "$ac_compile") 2>conftest.er1
17433 ac_status=$?
17434 grep -v '^ *+' conftest.er1 >conftest.err
17435 rm -f conftest.er1
17436 cat conftest.err >&5
17437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17438 (exit $ac_status); } && {
17439 test -z "$ac_cxx_werror_flag" ||
17440 test ! -s conftest.err
17441 } && test -s conftest.$ac_objext; then
17442 bakefile_cv_cxx_compiler___MWERKS__=yes
17443 else
17444 echo "$as_me: failed program was:" >&5
17445 sed 's/^/| /' conftest.$ac_ext >&5
17446
17447 bakefile_cv_cxx_compiler___MWERKS__=no
17448
17449 fi
17450
17451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17452
17453
17454 fi
17455 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17456 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17457 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17458 :; MWCXX=yes
17459 else
17460 :;
17461 fi
17462 ac_ext=c
17463 ac_cpp='$CPP $CPPFLAGS'
17464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17467
17468
17469
17470 if test "$MWCXX" != "yes"; then
17471
17472
17473 ac_ext=cpp
17474 ac_cpp='$CXXCPP $CPPFLAGS'
17475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17478
17479 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17480 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17481 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17482 echo $ECHO_N "(cached) $ECHO_C" >&6
17483 else
17484 cat >conftest.$ac_ext <<_ACEOF
17485 /* confdefs.h. */
17486 _ACEOF
17487 cat confdefs.h >>conftest.$ac_ext
17488 cat >>conftest.$ac_ext <<_ACEOF
17489 /* end confdefs.h. */
17490
17491 int
17492 main ()
17493 {
17494
17495 #ifndef __xlC__
17496 choke me
17497 #endif
17498
17499 ;
17500 return 0;
17501 }
17502 _ACEOF
17503 rm -f conftest.$ac_objext
17504 if { (ac_try="$ac_compile"
17505 case "(($ac_try" in
17506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17507 *) ac_try_echo=$ac_try;;
17508 esac
17509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17510 (eval "$ac_compile") 2>conftest.er1
17511 ac_status=$?
17512 grep -v '^ *+' conftest.er1 >conftest.err
17513 rm -f conftest.er1
17514 cat conftest.err >&5
17515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17516 (exit $ac_status); } && {
17517 test -z "$ac_cxx_werror_flag" ||
17518 test ! -s conftest.err
17519 } && test -s conftest.$ac_objext; then
17520 bakefile_cv_cxx_compiler___xlC__=yes
17521 else
17522 echo "$as_me: failed program was:" >&5
17523 sed 's/^/| /' conftest.$ac_ext >&5
17524
17525 bakefile_cv_cxx_compiler___xlC__=no
17526
17527 fi
17528
17529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17530
17531
17532 fi
17533 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17534 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17535 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17536 :; XLCXX=yes
17537 else
17538 :;
17539 fi
17540 ac_ext=c
17541 ac_cpp='$CPP $CPPFLAGS'
17542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17545
17546
17547
17548 fi
17549 ;;
17550
17551 IRIX*)
17552
17553
17554 ac_ext=cpp
17555 ac_cpp='$CXXCPP $CPPFLAGS'
17556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17559
17560 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17561 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17562 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17563 echo $ECHO_N "(cached) $ECHO_C" >&6
17564 else
17565 cat >conftest.$ac_ext <<_ACEOF
17566 /* confdefs.h. */
17567 _ACEOF
17568 cat confdefs.h >>conftest.$ac_ext
17569 cat >>conftest.$ac_ext <<_ACEOF
17570 /* end confdefs.h. */
17571
17572 int
17573 main ()
17574 {
17575
17576 #ifndef _SGI_COMPILER_VERSION
17577 choke me
17578 #endif
17579
17580 ;
17581 return 0;
17582 }
17583 _ACEOF
17584 rm -f conftest.$ac_objext
17585 if { (ac_try="$ac_compile"
17586 case "(($ac_try" in
17587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17588 *) ac_try_echo=$ac_try;;
17589 esac
17590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17591 (eval "$ac_compile") 2>conftest.er1
17592 ac_status=$?
17593 grep -v '^ *+' conftest.er1 >conftest.err
17594 rm -f conftest.er1
17595 cat conftest.err >&5
17596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17597 (exit $ac_status); } && {
17598 test -z "$ac_cxx_werror_flag" ||
17599 test ! -s conftest.err
17600 } && test -s conftest.$ac_objext; then
17601 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17602 else
17603 echo "$as_me: failed program was:" >&5
17604 sed 's/^/| /' conftest.$ac_ext >&5
17605
17606 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17607
17608 fi
17609
17610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17611
17612
17613 fi
17614 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17615 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17616 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17617 :; SGICXX=yes
17618 else
17619 :;
17620 fi
17621 ac_ext=c
17622 ac_cpp='$CPP $CPPFLAGS'
17623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17626
17627
17628
17629 ;;
17630
17631 Linux*)
17632 if test "$INTELCXX" != "yes"; then
17633
17634
17635 ac_ext=cpp
17636 ac_cpp='$CXXCPP $CPPFLAGS'
17637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17640
17641 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17642 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17643 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17644 echo $ECHO_N "(cached) $ECHO_C" >&6
17645 else
17646 cat >conftest.$ac_ext <<_ACEOF
17647 /* confdefs.h. */
17648 _ACEOF
17649 cat confdefs.h >>conftest.$ac_ext
17650 cat >>conftest.$ac_ext <<_ACEOF
17651 /* end confdefs.h. */
17652
17653 int
17654 main ()
17655 {
17656
17657 #ifndef __SUNPRO_CC
17658 choke me
17659 #endif
17660
17661 ;
17662 return 0;
17663 }
17664 _ACEOF
17665 rm -f conftest.$ac_objext
17666 if { (ac_try="$ac_compile"
17667 case "(($ac_try" in
17668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17669 *) ac_try_echo=$ac_try;;
17670 esac
17671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17672 (eval "$ac_compile") 2>conftest.er1
17673 ac_status=$?
17674 grep -v '^ *+' conftest.er1 >conftest.err
17675 rm -f conftest.er1
17676 cat conftest.err >&5
17677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17678 (exit $ac_status); } && {
17679 test -z "$ac_cxx_werror_flag" ||
17680 test ! -s conftest.err
17681 } && test -s conftest.$ac_objext; then
17682 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17683 else
17684 echo "$as_me: failed program was:" >&5
17685 sed 's/^/| /' conftest.$ac_ext >&5
17686
17687 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17688
17689 fi
17690
17691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17692
17693
17694 fi
17695 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17696 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17697 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17698 :; SUNCXX=yes
17699 else
17700 :;
17701 fi
17702 ac_ext=c
17703 ac_cpp='$CPP $CPPFLAGS'
17704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17707
17708
17709
17710 fi
17711 ;;
17712
17713 HP-UX*)
17714
17715
17716 ac_ext=cpp
17717 ac_cpp='$CXXCPP $CPPFLAGS'
17718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17721
17722 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17723 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17724 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17725 echo $ECHO_N "(cached) $ECHO_C" >&6
17726 else
17727 cat >conftest.$ac_ext <<_ACEOF
17728 /* confdefs.h. */
17729 _ACEOF
17730 cat confdefs.h >>conftest.$ac_ext
17731 cat >>conftest.$ac_ext <<_ACEOF
17732 /* end confdefs.h. */
17733
17734 int
17735 main ()
17736 {
17737
17738 #ifndef __HP_aCC
17739 choke me
17740 #endif
17741
17742 ;
17743 return 0;
17744 }
17745 _ACEOF
17746 rm -f conftest.$ac_objext
17747 if { (ac_try="$ac_compile"
17748 case "(($ac_try" in
17749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17750 *) ac_try_echo=$ac_try;;
17751 esac
17752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17753 (eval "$ac_compile") 2>conftest.er1
17754 ac_status=$?
17755 grep -v '^ *+' conftest.er1 >conftest.err
17756 rm -f conftest.er1
17757 cat conftest.err >&5
17758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17759 (exit $ac_status); } && {
17760 test -z "$ac_cxx_werror_flag" ||
17761 test ! -s conftest.err
17762 } && test -s conftest.$ac_objext; then
17763 bakefile_cv_cxx_compiler___HP_aCC=yes
17764 else
17765 echo "$as_me: failed program was:" >&5
17766 sed 's/^/| /' conftest.$ac_ext >&5
17767
17768 bakefile_cv_cxx_compiler___HP_aCC=no
17769
17770 fi
17771
17772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17773
17774
17775 fi
17776 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17777 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17778 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17779 :; HPCXX=yes
17780 else
17781 :;
17782 fi
17783 ac_ext=c
17784 ac_cpp='$CPP $CPPFLAGS'
17785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17788
17789
17790
17791 ;;
17792
17793 OSF1)
17794
17795
17796 ac_ext=cpp
17797 ac_cpp='$CXXCPP $CPPFLAGS'
17798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17801
17802 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17803 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17804 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17805 echo $ECHO_N "(cached) $ECHO_C" >&6
17806 else
17807 cat >conftest.$ac_ext <<_ACEOF
17808 /* confdefs.h. */
17809 _ACEOF
17810 cat confdefs.h >>conftest.$ac_ext
17811 cat >>conftest.$ac_ext <<_ACEOF
17812 /* end confdefs.h. */
17813
17814 int
17815 main ()
17816 {
17817
17818 #ifndef __DECCXX
17819 choke me
17820 #endif
17821
17822 ;
17823 return 0;
17824 }
17825 _ACEOF
17826 rm -f conftest.$ac_objext
17827 if { (ac_try="$ac_compile"
17828 case "(($ac_try" in
17829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17830 *) ac_try_echo=$ac_try;;
17831 esac
17832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17833 (eval "$ac_compile") 2>conftest.er1
17834 ac_status=$?
17835 grep -v '^ *+' conftest.er1 >conftest.err
17836 rm -f conftest.er1
17837 cat conftest.err >&5
17838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17839 (exit $ac_status); } && {
17840 test -z "$ac_cxx_werror_flag" ||
17841 test ! -s conftest.err
17842 } && test -s conftest.$ac_objext; then
17843 bakefile_cv_cxx_compiler___DECCXX=yes
17844 else
17845 echo "$as_me: failed program was:" >&5
17846 sed 's/^/| /' conftest.$ac_ext >&5
17847
17848 bakefile_cv_cxx_compiler___DECCXX=no
17849
17850 fi
17851
17852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17853
17854
17855 fi
17856 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17857 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17858 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17859 :; COMPAQCXX=yes
17860 else
17861 :;
17862 fi
17863 ac_ext=c
17864 ac_cpp='$CPP $CPPFLAGS'
17865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17868
17869
17870
17871 ;;
17872
17873 SunOS)
17874
17875
17876 ac_ext=cpp
17877 ac_cpp='$CXXCPP $CPPFLAGS'
17878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17881
17882 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17883 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17884 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17885 echo $ECHO_N "(cached) $ECHO_C" >&6
17886 else
17887 cat >conftest.$ac_ext <<_ACEOF
17888 /* confdefs.h. */
17889 _ACEOF
17890 cat confdefs.h >>conftest.$ac_ext
17891 cat >>conftest.$ac_ext <<_ACEOF
17892 /* end confdefs.h. */
17893
17894 int
17895 main ()
17896 {
17897
17898 #ifndef __SUNPRO_CC
17899 choke me
17900 #endif
17901
17902 ;
17903 return 0;
17904 }
17905 _ACEOF
17906 rm -f conftest.$ac_objext
17907 if { (ac_try="$ac_compile"
17908 case "(($ac_try" in
17909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17910 *) ac_try_echo=$ac_try;;
17911 esac
17912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17913 (eval "$ac_compile") 2>conftest.er1
17914 ac_status=$?
17915 grep -v '^ *+' conftest.er1 >conftest.err
17916 rm -f conftest.er1
17917 cat conftest.err >&5
17918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17919 (exit $ac_status); } && {
17920 test -z "$ac_cxx_werror_flag" ||
17921 test ! -s conftest.err
17922 } && test -s conftest.$ac_objext; then
17923 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17924 else
17925 echo "$as_me: failed program was:" >&5
17926 sed 's/^/| /' conftest.$ac_ext >&5
17927
17928 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17929
17930 fi
17931
17932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17933
17934
17935 fi
17936 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17937 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17938 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17939 :; SUNCXX=yes
17940 else
17941 :;
17942 fi
17943 ac_ext=c
17944 ac_cpp='$CPP $CPPFLAGS'
17945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17948
17949
17950
17951 ;;
17952 esac
17953 fi
17954
17955
17956
17957 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17958 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17959 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17960 { (exit 1); exit 1; }; }
17961 fi
17962
17963 if test "x$SUNCXX" != xyes; then
17964 if test -n "$ac_tool_prefix"; then
17965 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17966 set dummy ${ac_tool_prefix}ar; ac_word=$2
17967 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17969 if test "${ac_cv_prog_AR+set}" = set; then
17970 echo $ECHO_N "(cached) $ECHO_C" >&6
17971 else
17972 if test -n "$AR"; then
17973 ac_cv_prog_AR="$AR" # Let the user override the test.
17974 else
17975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17976 for as_dir in $PATH
17977 do
17978 IFS=$as_save_IFS
17979 test -z "$as_dir" && as_dir=.
17980 for ac_exec_ext in '' $ac_executable_extensions; do
17981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17982 ac_cv_prog_AR="${ac_tool_prefix}ar"
17983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17984 break 2
17985 fi
17986 done
17987 done
17988 IFS=$as_save_IFS
17989
17990 fi
17991 fi
17992 AR=$ac_cv_prog_AR
17993 if test -n "$AR"; then
17994 { echo "$as_me:$LINENO: result: $AR" >&5
17995 echo "${ECHO_T}$AR" >&6; }
17996 else
17997 { echo "$as_me:$LINENO: result: no" >&5
17998 echo "${ECHO_T}no" >&6; }
17999 fi
18000
18001
18002 fi
18003 if test -z "$ac_cv_prog_AR"; then
18004 ac_ct_AR=$AR
18005 # Extract the first word of "ar", so it can be a program name with args.
18006 set dummy ar; ac_word=$2
18007 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18009 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18010 echo $ECHO_N "(cached) $ECHO_C" >&6
18011 else
18012 if test -n "$ac_ct_AR"; then
18013 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18014 else
18015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18016 for as_dir in $PATH
18017 do
18018 IFS=$as_save_IFS
18019 test -z "$as_dir" && as_dir=.
18020 for ac_exec_ext in '' $ac_executable_extensions; do
18021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18022 ac_cv_prog_ac_ct_AR="ar"
18023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18024 break 2
18025 fi
18026 done
18027 done
18028 IFS=$as_save_IFS
18029
18030 fi
18031 fi
18032 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18033 if test -n "$ac_ct_AR"; then
18034 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18035 echo "${ECHO_T}$ac_ct_AR" >&6; }
18036 else
18037 { echo "$as_me:$LINENO: result: no" >&5
18038 echo "${ECHO_T}no" >&6; }
18039 fi
18040
18041 if test "x$ac_ct_AR" = x; then
18042 AR=""
18043 else
18044 case $cross_compiling:$ac_tool_warned in
18045 yes:)
18046 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18047 whose name does not start with the host triplet. If you think this
18048 configuration is useful to you, please write to autoconf@gnu.org." >&5
18049 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18050 whose name does not start with the host triplet. If you think this
18051 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18052 ac_tool_warned=yes ;;
18053 esac
18054 AR=$ac_ct_AR
18055 fi
18056 else
18057 AR="$ac_cv_prog_AR"
18058 fi
18059
18060 if test "x$AR" = "x" ; then
18061 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18062 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18063 { (exit 1); exit 1; }; }
18064 fi
18065 fi
18066
18067 retest_macosx_linking=no
18068
18069 #if test "$wxUSE_MAC" = 1; then
18070 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18071 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18072 # Implicitly turn on the new --with-macosx-sdk using the default
18073 # SDK which provides the behavior this option has always had.
18074 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18075 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18076 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18077 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18078 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18079 wxUSE_MACOSX_SDK=yes
18080 fi
18081 else
18082 # Complain to user if he specified an argument to --enable-universal_binary
18083 # and also 1) specified --with-macosx-sdk using the default (yes) or
18084 # 2) specified --with-macosx-sdk using a path or 3) specified
18085 # --without-macosx-sdk (no).
18086 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18087 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18088 See \`config.log' for more details." >&5
18089 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18090 See \`config.log' for more details." >&2;}
18091 { (exit 1); exit 1; }; }
18092 else
18093 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18094 # special-case the empty string because the below test simply
18095 # converts "no" to the empty string anyway.
18096 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18097 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18098 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18099 fi
18100 fi
18101 OSX_UNIV_OPTS="-arch ppc -arch i386"
18102 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18103 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18104 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18105 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18106 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18107 retest_macosx_linking=yes
18108
18109 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18110 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18111 bk_use_pch=no
18112 fi
18113 #fi
18114
18115 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18116 wxUSE_MACOSX_SDK=
18117 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18118 # TODO: Search for most recent SDK and use it.
18119 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18120 fi
18121
18122
18123 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18124 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18125 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18126 if ! test -d "$wxUSE_MACOSX_SDK"; then
18127 { { echo "$as_me:$LINENO: error: not found
18128 See \`config.log' for more details." >&5
18129 echo "$as_me: error: not found
18130 See \`config.log' for more details." >&2;}
18131 { (exit 1); exit 1; }; }
18132 else
18133 { echo "$as_me:$LINENO: result: exists" >&5
18134 echo "${ECHO_T}exists" >&6; }
18135 fi
18136 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18137 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18138 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18139 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18140 retest_macosx_linking=yes
18141 fi
18142
18143 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18144 wxUSE_MACOSX_VERSION_MIN=
18145 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18146 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18147 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18148 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18149
18150 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/'`
18151
18152 # If that failed, try again with the new key
18153 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18154
18155 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/'`
18156
18157 fi
18158
18159 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18160 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18161 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18162 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18163 else
18164 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18165 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18166 wxUSE_MACOSX_VERSION_MIN=
18167 fi
18168 else
18169 wxUSE_MACOSX_VERSION_MIN=
18170 fi
18171 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18172 if test "$wxUSE_MAC" = 1; then
18173 # otherwise configure stops on leopard for universal_binary
18174 wxUSE_MACOSX_VERSION_MIN=10.4
18175 fi
18176 fi
18177
18178 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18179 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18180 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18181 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18182 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18183 retest_macosx_linking=yes
18184 fi
18185
18186 if test "x$retest_macosx_linking" = "xyes"; then
18187 ac_ext=c
18188 ac_cpp='$CPP $CPPFLAGS'
18189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18192
18193 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18194 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18195 cat >conftest.$ac_ext <<_ACEOF
18196 /* confdefs.h. */
18197 _ACEOF
18198 cat confdefs.h >>conftest.$ac_ext
18199 cat >>conftest.$ac_ext <<_ACEOF
18200 /* end confdefs.h. */
18201
18202 int
18203 main ()
18204 {
18205
18206 ;
18207 return 0;
18208 }
18209 _ACEOF
18210 rm -f conftest.$ac_objext conftest$ac_exeext
18211 if { (ac_try="$ac_link"
18212 case "(($ac_try" in
18213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18214 *) ac_try_echo=$ac_try;;
18215 esac
18216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18217 (eval "$ac_link") 2>conftest.er1
18218 ac_status=$?
18219 grep -v '^ *+' conftest.er1 >conftest.err
18220 rm -f conftest.er1
18221 cat conftest.err >&5
18222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223 (exit $ac_status); } && {
18224 test -z "$ac_c_werror_flag" ||
18225 test ! -s conftest.err
18226 } && test -s conftest$ac_exeext &&
18227 $as_test_x conftest$ac_exeext; then
18228 { echo "$as_me:$LINENO: result: yes" >&5
18229 echo "${ECHO_T}yes" >&6; }
18230 else
18231 echo "$as_me: failed program was:" >&5
18232 sed 's/^/| /' conftest.$ac_ext >&5
18233
18234 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18235 See \`config.log' for more details." >&5
18236 echo "$as_me: error: no. Try a different SDK
18237 See \`config.log' for more details." >&2;}
18238 { (exit 1); exit 1; }; }; exit 1
18239 fi
18240
18241 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18242 conftest$ac_exeext conftest.$ac_ext
18243 ac_ext=c
18244 ac_cpp='$CPP $CPPFLAGS'
18245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18248
18249
18250 ac_ext=cpp
18251 ac_cpp='$CXXCPP $CPPFLAGS'
18252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18255
18256 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18257 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18258 cat >conftest.$ac_ext <<_ACEOF
18259 /* confdefs.h. */
18260 _ACEOF
18261 cat confdefs.h >>conftest.$ac_ext
18262 cat >>conftest.$ac_ext <<_ACEOF
18263 /* end confdefs.h. */
18264
18265 int
18266 main ()
18267 {
18268
18269 ;
18270 return 0;
18271 }
18272 _ACEOF
18273 rm -f conftest.$ac_objext conftest$ac_exeext
18274 if { (ac_try="$ac_link"
18275 case "(($ac_try" in
18276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18277 *) ac_try_echo=$ac_try;;
18278 esac
18279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18280 (eval "$ac_link") 2>conftest.er1
18281 ac_status=$?
18282 grep -v '^ *+' conftest.er1 >conftest.err
18283 rm -f conftest.er1
18284 cat conftest.err >&5
18285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286 (exit $ac_status); } && {
18287 test -z "$ac_cxx_werror_flag" ||
18288 test ! -s conftest.err
18289 } && test -s conftest$ac_exeext &&
18290 $as_test_x conftest$ac_exeext; then
18291 { echo "$as_me:$LINENO: result: yes" >&5
18292 echo "${ECHO_T}yes" >&6; }
18293 else
18294 echo "$as_me: failed program was:" >&5
18295 sed 's/^/| /' conftest.$ac_ext >&5
18296
18297 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18298 See \`config.log' for more details." >&5
18299 echo "$as_me: error: no. Try a different SDK
18300 See \`config.log' for more details." >&2;}
18301 { (exit 1); exit 1; }; }; exit 1
18302 fi
18303
18304 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18305 conftest$ac_exeext conftest.$ac_ext
18306 ac_ext=c
18307 ac_cpp='$CPP $CPPFLAGS'
18308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18311
18312 fi
18313
18314
18315 case "${host}" in
18316
18317 *-*-darwin* )
18318 INSTALL_PROGRAM="cp -fp"
18319 INSTALL_DATA="cp -fp"
18320 ;;
18321 *)
18322 ;;
18323 esac
18324
18325
18326 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18327 CXXFLAGS="-qunique $CXXFLAGS"
18328 fi
18329
18330 case "${host}" in
18331 powerpc-*-darwin* )
18332 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18333 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18334 cat >conftest.$ac_ext <<_ACEOF
18335 /* confdefs.h. */
18336 _ACEOF
18337 cat confdefs.h >>conftest.$ac_ext
18338 cat >>conftest.$ac_ext <<_ACEOF
18339 /* end confdefs.h. */
18340
18341 int
18342 main ()
18343 {
18344 #ifndef __POWERPC__
18345 choke me for lack of PowerPC
18346 #endif
18347
18348 ;
18349 return 0;
18350 }
18351 _ACEOF
18352 rm -f conftest.$ac_objext
18353 if { (ac_try="$ac_compile"
18354 case "(($ac_try" in
18355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18356 *) ac_try_echo=$ac_try;;
18357 esac
18358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18359 (eval "$ac_compile") 2>conftest.er1
18360 ac_status=$?
18361 grep -v '^ *+' conftest.er1 >conftest.err
18362 rm -f conftest.er1
18363 cat conftest.err >&5
18364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18365 (exit $ac_status); } && {
18366 test -z "$ac_c_werror_flag" ||
18367 test ! -s conftest.err
18368 } && test -s conftest.$ac_objext; then
18369 { echo "$as_me:$LINENO: result: yes" >&5
18370 echo "${ECHO_T}yes" >&6; }
18371 else
18372 echo "$as_me: failed program was:" >&5
18373 sed 's/^/| /' conftest.$ac_ext >&5
18374
18375 { echo "$as_me:$LINENO: result: no" >&5
18376 echo "${ECHO_T}no" >&6; }
18377 cat >>confdefs.h <<\_ACEOF
18378 #define __POWERPC__ 1
18379 _ACEOF
18380
18381
18382 fi
18383
18384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18385 ;;
18386 esac
18387
18388 case "${host}" in
18389 *-*-darwin* )
18390 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18391 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18392 cat >conftest.$ac_ext <<_ACEOF
18393 /* confdefs.h. */
18394 _ACEOF
18395 cat confdefs.h >>conftest.$ac_ext
18396 cat >>conftest.$ac_ext <<_ACEOF
18397 /* end confdefs.h. */
18398 #include <CoreFoundation/CFBase.h>
18399
18400 int
18401 main ()
18402 {
18403
18404 ;
18405 return 0;
18406 }
18407 _ACEOF
18408 rm -f conftest.$ac_objext
18409 if { (ac_try="$ac_compile"
18410 case "(($ac_try" in
18411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18412 *) ac_try_echo=$ac_try;;
18413 esac
18414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18415 (eval "$ac_compile") 2>conftest.er1
18416 ac_status=$?
18417 grep -v '^ *+' conftest.er1 >conftest.err
18418 rm -f conftest.er1
18419 cat conftest.err >&5
18420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18421 (exit $ac_status); } && {
18422 test -z "$ac_c_werror_flag" ||
18423 test ! -s conftest.err
18424 } && test -s conftest.$ac_objext; then
18425 { echo "$as_me:$LINENO: result: yes" >&5
18426 echo "${ECHO_T}yes" >&6; }
18427 else
18428 echo "$as_me: failed program was:" >&5
18429 sed 's/^/| /' conftest.$ac_ext >&5
18430
18431 { echo "$as_me:$LINENO: result: no" >&5
18432 echo "${ECHO_T}no" >&6; }
18433 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18434 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18435 cat >conftest.$ac_ext <<_ACEOF
18436 /* confdefs.h. */
18437 _ACEOF
18438 cat confdefs.h >>conftest.$ac_ext
18439 cat >>conftest.$ac_ext <<_ACEOF
18440 /* end confdefs.h. */
18441 #define __CF_USE_FRAMEWORK_INCLUDES__
18442 #include <CoreFoundation/CFBase.h>
18443
18444 int
18445 main ()
18446 {
18447
18448 ;
18449 return 0;
18450 }
18451 _ACEOF
18452 rm -f conftest.$ac_objext
18453 if { (ac_try="$ac_compile"
18454 case "(($ac_try" in
18455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18456 *) ac_try_echo=$ac_try;;
18457 esac
18458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18459 (eval "$ac_compile") 2>conftest.er1
18460 ac_status=$?
18461 grep -v '^ *+' conftest.er1 >conftest.err
18462 rm -f conftest.er1
18463 cat conftest.err >&5
18464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18465 (exit $ac_status); } && {
18466 test -z "$ac_c_werror_flag" ||
18467 test ! -s conftest.err
18468 } && test -s conftest.$ac_objext; then
18469 { echo "$as_me:$LINENO: result: yes" >&5
18470 echo "${ECHO_T}yes" >&6; }
18471 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18472 else
18473 echo "$as_me: failed program was:" >&5
18474 sed 's/^/| /' conftest.$ac_ext >&5
18475
18476 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18477 See \`config.log' for more details." >&5
18478 echo "$as_me: error: no. CoreFoundation not available.
18479 See \`config.log' for more details." >&2;}
18480 { (exit 1); exit 1; }; }
18481
18482 fi
18483
18484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18485
18486
18487 fi
18488
18489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18490 ;;
18491 esac
18492
18493 wants_win32=0
18494 doesnt_want_win32=0
18495 case "${host}" in
18496 *-*-cygwin*)
18497 if test "$wxUSE_MSW" = 1 ; then
18498 wants_win32=1
18499 else
18500 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18501 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18502 if test "${wx_cv_nocygwin+set}" = set; then
18503 echo $ECHO_N "(cached) $ECHO_C" >&6
18504 else
18505
18506 cat >conftest.$ac_ext <<_ACEOF
18507 /* confdefs.h. */
18508 _ACEOF
18509 cat confdefs.h >>conftest.$ac_ext
18510 cat >>conftest.$ac_ext <<_ACEOF
18511 /* end confdefs.h. */
18512
18513 int
18514 main ()
18515 {
18516
18517 #ifdef __MINGW32__
18518 choke me
18519 #endif
18520
18521 ;
18522 return 0;
18523 }
18524 _ACEOF
18525 rm -f conftest.$ac_objext
18526 if { (ac_try="$ac_compile"
18527 case "(($ac_try" in
18528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18529 *) ac_try_echo=$ac_try;;
18530 esac
18531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18532 (eval "$ac_compile") 2>conftest.er1
18533 ac_status=$?
18534 grep -v '^ *+' conftest.er1 >conftest.err
18535 rm -f conftest.er1
18536 cat conftest.err >&5
18537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18538 (exit $ac_status); } && {
18539 test -z "$ac_c_werror_flag" ||
18540 test ! -s conftest.err
18541 } && test -s conftest.$ac_objext; then
18542 wx_cv_nocygwin=no
18543 else
18544 echo "$as_me: failed program was:" >&5
18545 sed 's/^/| /' conftest.$ac_ext >&5
18546
18547 wx_cv_nocygwin=yes
18548
18549 fi
18550
18551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18552
18553
18554 fi
18555 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18556 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18557
18558 if test "$wx_cv_nocygwin" = "yes"; then
18559 wants_win32=1
18560 else
18561 doesnt_want_win32=1
18562 fi
18563 fi
18564 if test "$wants_win32" = 1 ; then
18565 BAKEFILE_FORCE_PLATFORM=win32
18566 fi
18567 ;;
18568 *-*-mingw*)
18569 wants_win32=1
18570 ;;
18571 esac
18572
18573 if test "$wxUSE_WINE" = "yes"; then
18574 wants_win32=1
18575 LDFLAGS_GUI="-mwindows"
18576 fi
18577
18578 if test "$wants_win32" = 1 ; then
18579 USE_UNIX=0
18580 USE_WIN32=1
18581 cat >>confdefs.h <<\_ACEOF
18582 #define __WIN32__ 1
18583 _ACEOF
18584
18585 cat >>confdefs.h <<\_ACEOF
18586 #define __WIN95__ 1
18587 _ACEOF
18588
18589 cat >>confdefs.h <<\_ACEOF
18590 #define __WINDOWS__ 1
18591 _ACEOF
18592
18593 cat >>confdefs.h <<\_ACEOF
18594 #define __GNUWIN32__ 1
18595 _ACEOF
18596
18597 cat >>confdefs.h <<\_ACEOF
18598 #define STRICT 1
18599 _ACEOF
18600
18601 fi
18602 if test "$doesnt_want_win32" = 1 ; then
18603 USE_UNIX=1
18604 USE_WIN32=0
18605 fi
18606
18607 if test "$USE_UNIX" = 1 ; then
18608 wxUSE_UNIX=yes
18609 cat >>confdefs.h <<\_ACEOF
18610 #define __UNIX__ 1
18611 _ACEOF
18612
18613 fi
18614
18615 case "${host}" in
18616 *-pc-os2_emx | *-pc-os2-emx )
18617 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18618 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18619 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18620 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18621 echo $ECHO_N "(cached) $ECHO_C" >&6
18622 else
18623 ac_check_lib_save_LIBS=$LIBS
18624 LIBS="-lcExt $LIBS"
18625 cat >conftest.$ac_ext <<_ACEOF
18626 /* confdefs.h. */
18627 _ACEOF
18628 cat confdefs.h >>conftest.$ac_ext
18629 cat >>conftest.$ac_ext <<_ACEOF
18630 /* end confdefs.h. */
18631
18632 /* Override any GCC internal prototype to avoid an error.
18633 Use char because int might match the return type of a GCC
18634 builtin and then its argument prototype would still apply. */
18635 #ifdef __cplusplus
18636 extern "C"
18637 #endif
18638 char drand48 ();
18639 int
18640 main ()
18641 {
18642 return drand48 ();
18643 ;
18644 return 0;
18645 }
18646 _ACEOF
18647 rm -f conftest.$ac_objext conftest$ac_exeext
18648 if { (ac_try="$ac_link"
18649 case "(($ac_try" in
18650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18651 *) ac_try_echo=$ac_try;;
18652 esac
18653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18654 (eval "$ac_link") 2>conftest.er1
18655 ac_status=$?
18656 grep -v '^ *+' conftest.er1 >conftest.err
18657 rm -f conftest.er1
18658 cat conftest.err >&5
18659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18660 (exit $ac_status); } && {
18661 test -z "$ac_c_werror_flag" ||
18662 test ! -s conftest.err
18663 } && test -s conftest$ac_exeext &&
18664 $as_test_x conftest$ac_exeext; then
18665 ac_cv_lib_cExt_drand48=yes
18666 else
18667 echo "$as_me: failed program was:" >&5
18668 sed 's/^/| /' conftest.$ac_ext >&5
18669
18670 ac_cv_lib_cExt_drand48=no
18671 fi
18672
18673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18674 conftest$ac_exeext conftest.$ac_ext
18675 LIBS=$ac_check_lib_save_LIBS
18676 fi
18677 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18678 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18679 if test $ac_cv_lib_cExt_drand48 = yes; then
18680 LIBS="$LIBS -lcExt"
18681 fi
18682
18683 else
18684 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18685 fi
18686 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18687 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18688 if test "${wx_cv_gccversion+set}" = set; then
18689 echo $ECHO_N "(cached) $ECHO_C" >&6
18690 else
18691
18692 if test "$cross_compiling" = yes; then
18693 wx_cv_gccversion="EMX2"
18694
18695 else
18696 cat >conftest.$ac_ext <<_ACEOF
18697 /* confdefs.h. */
18698 _ACEOF
18699 cat confdefs.h >>conftest.$ac_ext
18700 cat >>conftest.$ac_ext <<_ACEOF
18701 /* end confdefs.h. */
18702
18703 #include <stdio.h>
18704
18705 int main()
18706 {
18707 FILE *f=fopen("conftestval", "w");
18708 if (!f) exit(1);
18709 fprintf(f,
18710 #if (__GNUC__ < 3)
18711 "EMX2"
18712 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18713 "EMX3"
18714 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18715 "Innotek5"
18716 #else
18717 "Innotek6"
18718 #endif
18719 );
18720 exit(0);
18721 }
18722
18723 _ACEOF
18724 rm -f conftest$ac_exeext
18725 if { (ac_try="$ac_link"
18726 case "(($ac_try" in
18727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18728 *) ac_try_echo=$ac_try;;
18729 esac
18730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18731 (eval "$ac_link") 2>&5
18732 ac_status=$?
18733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18734 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18735 { (case "(($ac_try" in
18736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18737 *) ac_try_echo=$ac_try;;
18738 esac
18739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18740 (eval "$ac_try") 2>&5
18741 ac_status=$?
18742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18743 (exit $ac_status); }; }; then
18744 wx_cv_gccversion=`cat conftestval`
18745 else
18746 echo "$as_me: program exited with status $ac_status" >&5
18747 echo "$as_me: failed program was:" >&5
18748 sed 's/^/| /' conftest.$ac_ext >&5
18749
18750 ( exit $ac_status )
18751 wx_cv_gccversion="EMX2"
18752 fi
18753 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18754 fi
18755
18756
18757
18758 fi
18759 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18760 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18761 if test "$wx_cv_gccversion" = "EMX2"; then
18762 LIBS="$LIBS -lstdcpp"
18763 LDFLAGS="$LDFLAGS -Zsysv-signals"
18764 else
18765 if test "$wx_cv_gccversion" = "EMX3"; then
18766 LIBS="$LIBS -lstdcxx -lgcc"
18767 LDFLAGS="$LDFLAGS -Zsysv-signals"
18768 else
18769 LIBS="$LIBS -lstdc++"
18770 fi
18771 fi
18772 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18773 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18774 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18775 wxUSE_OMF=yes
18776 enable_omf=yes
18777 fi
18778 ;;
18779 *)
18780
18781 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18782 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18783 if test "${ac_cv_string_strcasecmp+set}" = set; then
18784 echo $ECHO_N "(cached) $ECHO_C" >&6
18785 else
18786
18787 cat >conftest.$ac_ext <<_ACEOF
18788 /* confdefs.h. */
18789 _ACEOF
18790 cat confdefs.h >>conftest.$ac_ext
18791 cat >>conftest.$ac_ext <<_ACEOF
18792 /* end confdefs.h. */
18793
18794 #include <string.h>
18795
18796 int
18797 main ()
18798 {
18799
18800 strcasecmp("foo", "bar");
18801
18802 ;
18803 return 0;
18804 }
18805 _ACEOF
18806 rm -f conftest.$ac_objext conftest$ac_exeext
18807 if { (ac_try="$ac_link"
18808 case "(($ac_try" in
18809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18810 *) ac_try_echo=$ac_try;;
18811 esac
18812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18813 (eval "$ac_link") 2>conftest.er1
18814 ac_status=$?
18815 grep -v '^ *+' conftest.er1 >conftest.err
18816 rm -f conftest.er1
18817 cat conftest.err >&5
18818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18819 (exit $ac_status); } && {
18820 test -z "$ac_c_werror_flag" ||
18821 test ! -s conftest.err
18822 } && test -s conftest$ac_exeext &&
18823 $as_test_x conftest$ac_exeext; then
18824 ac_cv_string_strcasecmp=yes
18825 else
18826 echo "$as_me: failed program was:" >&5
18827 sed 's/^/| /' conftest.$ac_ext >&5
18828
18829 ac_cv_string_strcasecmp=no
18830
18831 fi
18832
18833 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18834 conftest$ac_exeext conftest.$ac_ext
18835
18836 fi
18837 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18838 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18839
18840 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18841 cat >>confdefs.h <<\_ACEOF
18842 #define HAVE_STRCASECMP_IN_STRING_H 1
18843 _ACEOF
18844
18845 else
18846 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18847 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18848 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18849 echo $ECHO_N "(cached) $ECHO_C" >&6
18850 else
18851
18852 cat >conftest.$ac_ext <<_ACEOF
18853 /* confdefs.h. */
18854 _ACEOF
18855 cat confdefs.h >>conftest.$ac_ext
18856 cat >>conftest.$ac_ext <<_ACEOF
18857 /* end confdefs.h. */
18858
18859 #include <strings.h>
18860
18861 int
18862 main ()
18863 {
18864
18865 strcasecmp("foo", "bar");
18866
18867 ;
18868 return 0;
18869 }
18870 _ACEOF
18871 rm -f conftest.$ac_objext conftest$ac_exeext
18872 if { (ac_try="$ac_link"
18873 case "(($ac_try" in
18874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18875 *) ac_try_echo=$ac_try;;
18876 esac
18877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18878 (eval "$ac_link") 2>conftest.er1
18879 ac_status=$?
18880 grep -v '^ *+' conftest.er1 >conftest.err
18881 rm -f conftest.er1
18882 cat conftest.err >&5
18883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18884 (exit $ac_status); } && {
18885 test -z "$ac_c_werror_flag" ||
18886 test ! -s conftest.err
18887 } && test -s conftest$ac_exeext &&
18888 $as_test_x conftest$ac_exeext; then
18889 ac_cv_strings_strcasecmp=yes
18890 else
18891 echo "$as_me: failed program was:" >&5
18892 sed 's/^/| /' conftest.$ac_ext >&5
18893
18894 ac_cv_strings_strcasecmp=no
18895
18896 fi
18897
18898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18899 conftest$ac_exeext conftest.$ac_ext
18900
18901 fi
18902 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18903 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18904
18905 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18906 cat >>confdefs.h <<\_ACEOF
18907 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18908 _ACEOF
18909
18910 else
18911 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18912 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18913 { (exit 1); exit 1; }; }
18914 fi
18915 fi
18916
18917 ;;
18918 esac
18919
18920
18921 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18922 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18923 if test "${ac_cv_header_stdc+set}" = set; then
18924 echo $ECHO_N "(cached) $ECHO_C" >&6
18925 else
18926 cat >conftest.$ac_ext <<_ACEOF
18927 /* confdefs.h. */
18928 _ACEOF
18929 cat confdefs.h >>conftest.$ac_ext
18930 cat >>conftest.$ac_ext <<_ACEOF
18931 /* end confdefs.h. */
18932 #include <stdlib.h>
18933 #include <stdarg.h>
18934 #include <string.h>
18935 #include <float.h>
18936
18937 int
18938 main ()
18939 {
18940
18941 ;
18942 return 0;
18943 }
18944 _ACEOF
18945 rm -f conftest.$ac_objext
18946 if { (ac_try="$ac_compile"
18947 case "(($ac_try" in
18948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18949 *) ac_try_echo=$ac_try;;
18950 esac
18951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18952 (eval "$ac_compile") 2>conftest.er1
18953 ac_status=$?
18954 grep -v '^ *+' conftest.er1 >conftest.err
18955 rm -f conftest.er1
18956 cat conftest.err >&5
18957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18958 (exit $ac_status); } && {
18959 test -z "$ac_c_werror_flag" ||
18960 test ! -s conftest.err
18961 } && test -s conftest.$ac_objext; then
18962 ac_cv_header_stdc=yes
18963 else
18964 echo "$as_me: failed program was:" >&5
18965 sed 's/^/| /' conftest.$ac_ext >&5
18966
18967 ac_cv_header_stdc=no
18968 fi
18969
18970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18971
18972 if test $ac_cv_header_stdc = yes; then
18973 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18974 cat >conftest.$ac_ext <<_ACEOF
18975 /* confdefs.h. */
18976 _ACEOF
18977 cat confdefs.h >>conftest.$ac_ext
18978 cat >>conftest.$ac_ext <<_ACEOF
18979 /* end confdefs.h. */
18980 #include <string.h>
18981
18982 _ACEOF
18983 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18984 $EGREP "memchr" >/dev/null 2>&1; then
18985 :
18986 else
18987 ac_cv_header_stdc=no
18988 fi
18989 rm -f conftest*
18990
18991 fi
18992
18993 if test $ac_cv_header_stdc = yes; then
18994 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18995 cat >conftest.$ac_ext <<_ACEOF
18996 /* confdefs.h. */
18997 _ACEOF
18998 cat confdefs.h >>conftest.$ac_ext
18999 cat >>conftest.$ac_ext <<_ACEOF
19000 /* end confdefs.h. */
19001 #include <stdlib.h>
19002
19003 _ACEOF
19004 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19005 $EGREP "free" >/dev/null 2>&1; then
19006 :
19007 else
19008 ac_cv_header_stdc=no
19009 fi
19010 rm -f conftest*
19011
19012 fi
19013
19014 if test $ac_cv_header_stdc = yes; then
19015 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19016 if test "$cross_compiling" = yes; then
19017 :
19018 else
19019 cat >conftest.$ac_ext <<_ACEOF
19020 /* confdefs.h. */
19021 _ACEOF
19022 cat confdefs.h >>conftest.$ac_ext
19023 cat >>conftest.$ac_ext <<_ACEOF
19024 /* end confdefs.h. */
19025 #include <ctype.h>
19026 #include <stdlib.h>
19027 #if ((' ' & 0x0FF) == 0x020)
19028 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19029 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19030 #else
19031 # define ISLOWER(c) \
19032 (('a' <= (c) && (c) <= 'i') \
19033 || ('j' <= (c) && (c) <= 'r') \
19034 || ('s' <= (c) && (c) <= 'z'))
19035 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19036 #endif
19037
19038 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19039 int
19040 main ()
19041 {
19042 int i;
19043 for (i = 0; i < 256; i++)
19044 if (XOR (islower (i), ISLOWER (i))
19045 || toupper (i) != TOUPPER (i))
19046 return 2;
19047 return 0;
19048 }
19049 _ACEOF
19050 rm -f conftest$ac_exeext
19051 if { (ac_try="$ac_link"
19052 case "(($ac_try" in
19053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19054 *) ac_try_echo=$ac_try;;
19055 esac
19056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19057 (eval "$ac_link") 2>&5
19058 ac_status=$?
19059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19060 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19061 { (case "(($ac_try" in
19062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19063 *) ac_try_echo=$ac_try;;
19064 esac
19065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19066 (eval "$ac_try") 2>&5
19067 ac_status=$?
19068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19069 (exit $ac_status); }; }; then
19070 :
19071 else
19072 echo "$as_me: program exited with status $ac_status" >&5
19073 echo "$as_me: failed program was:" >&5
19074 sed 's/^/| /' conftest.$ac_ext >&5
19075
19076 ( exit $ac_status )
19077 ac_cv_header_stdc=no
19078 fi
19079 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19080 fi
19081
19082
19083 fi
19084 fi
19085 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19086 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19087 if test $ac_cv_header_stdc = yes; then
19088
19089 cat >>confdefs.h <<\_ACEOF
19090 #define STDC_HEADERS 1
19091 _ACEOF
19092
19093 fi
19094
19095 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19096
19097
19098
19099
19100
19101
19102
19103
19104
19105 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19106 inttypes.h stdint.h unistd.h
19107 do
19108 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19109 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19110 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19111 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19112 echo $ECHO_N "(cached) $ECHO_C" >&6
19113 else
19114 cat >conftest.$ac_ext <<_ACEOF
19115 /* confdefs.h. */
19116 _ACEOF
19117 cat confdefs.h >>conftest.$ac_ext
19118 cat >>conftest.$ac_ext <<_ACEOF
19119 /* end confdefs.h. */
19120 $ac_includes_default
19121
19122 #include <$ac_header>
19123 _ACEOF
19124 rm -f conftest.$ac_objext
19125 if { (ac_try="$ac_compile"
19126 case "(($ac_try" in
19127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19128 *) ac_try_echo=$ac_try;;
19129 esac
19130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19131 (eval "$ac_compile") 2>conftest.er1
19132 ac_status=$?
19133 grep -v '^ *+' conftest.er1 >conftest.err
19134 rm -f conftest.er1
19135 cat conftest.err >&5
19136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19137 (exit $ac_status); } && {
19138 test -z "$ac_c_werror_flag" ||
19139 test ! -s conftest.err
19140 } && test -s conftest.$ac_objext; then
19141 eval "$as_ac_Header=yes"
19142 else
19143 echo "$as_me: failed program was:" >&5
19144 sed 's/^/| /' conftest.$ac_ext >&5
19145
19146 eval "$as_ac_Header=no"
19147 fi
19148
19149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19150 fi
19151 ac_res=`eval echo '${'$as_ac_Header'}'`
19152 { echo "$as_me:$LINENO: result: $ac_res" >&5
19153 echo "${ECHO_T}$ac_res" >&6; }
19154 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19155 cat >>confdefs.h <<_ACEOF
19156 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19157 _ACEOF
19158
19159 fi
19160
19161 done
19162
19163
19164
19165
19166 for ac_header in langinfo.h wchar.h
19167 do
19168 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19169 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19170 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19171 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19172 echo $ECHO_N "(cached) $ECHO_C" >&6
19173 else
19174 cat >conftest.$ac_ext <<_ACEOF
19175 /* confdefs.h. */
19176 _ACEOF
19177 cat confdefs.h >>conftest.$ac_ext
19178 cat >>conftest.$ac_ext <<_ACEOF
19179 /* end confdefs.h. */
19180 $ac_includes_default
19181
19182 #include <$ac_header>
19183 _ACEOF
19184 rm -f conftest.$ac_objext
19185 if { (ac_try="$ac_compile"
19186 case "(($ac_try" in
19187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19188 *) ac_try_echo=$ac_try;;
19189 esac
19190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19191 (eval "$ac_compile") 2>conftest.er1
19192 ac_status=$?
19193 grep -v '^ *+' conftest.er1 >conftest.err
19194 rm -f conftest.er1
19195 cat conftest.err >&5
19196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19197 (exit $ac_status); } && {
19198 test -z "$ac_c_werror_flag" ||
19199 test ! -s conftest.err
19200 } && test -s conftest.$ac_objext; then
19201 eval "$as_ac_Header=yes"
19202 else
19203 echo "$as_me: failed program was:" >&5
19204 sed 's/^/| /' conftest.$ac_ext >&5
19205
19206 eval "$as_ac_Header=no"
19207 fi
19208
19209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19210 fi
19211 ac_res=`eval echo '${'$as_ac_Header'}'`
19212 { echo "$as_me:$LINENO: result: $ac_res" >&5
19213 echo "${ECHO_T}$ac_res" >&6; }
19214 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19215 cat >>confdefs.h <<_ACEOF
19216 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19217 _ACEOF
19218
19219 fi
19220
19221 done
19222
19223
19224 if test "$ac_cv_header_wchar_h" != "yes"; then
19225
19226 for ac_header in wcstr.h
19227 do
19228 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19229 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19230 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19231 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19232 echo $ECHO_N "(cached) $ECHO_C" >&6
19233 else
19234 cat >conftest.$ac_ext <<_ACEOF
19235 /* confdefs.h. */
19236 _ACEOF
19237 cat confdefs.h >>conftest.$ac_ext
19238 cat >>conftest.$ac_ext <<_ACEOF
19239 /* end confdefs.h. */
19240 $ac_includes_default
19241
19242 #include <$ac_header>
19243 _ACEOF
19244 rm -f conftest.$ac_objext
19245 if { (ac_try="$ac_compile"
19246 case "(($ac_try" in
19247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19248 *) ac_try_echo=$ac_try;;
19249 esac
19250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19251 (eval "$ac_compile") 2>conftest.er1
19252 ac_status=$?
19253 grep -v '^ *+' conftest.er1 >conftest.err
19254 rm -f conftest.er1
19255 cat conftest.err >&5
19256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19257 (exit $ac_status); } && {
19258 test -z "$ac_c_werror_flag" ||
19259 test ! -s conftest.err
19260 } && test -s conftest.$ac_objext; then
19261 eval "$as_ac_Header=yes"
19262 else
19263 echo "$as_me: failed program was:" >&5
19264 sed 's/^/| /' conftest.$ac_ext >&5
19265
19266 eval "$as_ac_Header=no"
19267 fi
19268
19269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19270 fi
19271 ac_res=`eval echo '${'$as_ac_Header'}'`
19272 { echo "$as_me:$LINENO: result: $ac_res" >&5
19273 echo "${ECHO_T}$ac_res" >&6; }
19274 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19275 cat >>confdefs.h <<_ACEOF
19276 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19277 _ACEOF
19278
19279 fi
19280
19281 done
19282
19283 fi
19284
19285 case "${host}" in
19286 *-pc-os2_emx | *-pc-os2-emx )
19287 if test $ac_cv_header_langinfo_h = "yes" \
19288 -a \( "$wx_cv_gccversion" = "EMX2" \
19289 -o "$wx_cv_gccversion" = "EMX3" \
19290 -o "$wx_cv_gccversion" = "Innotek5" \); then
19291 LIBS="$LIBS -lintl"
19292 fi
19293 ;;
19294 esac
19295
19296 if test "$USE_UNIX" = 1 ; then
19297
19298 for ac_header in sys/select.h
19299 do
19300 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19301 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19302 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19303 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19304 echo $ECHO_N "(cached) $ECHO_C" >&6
19305 else
19306 cat >conftest.$ac_ext <<_ACEOF
19307 /* confdefs.h. */
19308 _ACEOF
19309 cat confdefs.h >>conftest.$ac_ext
19310 cat >>conftest.$ac_ext <<_ACEOF
19311 /* end confdefs.h. */
19312 $ac_includes_default
19313
19314 #include <$ac_header>
19315 _ACEOF
19316 rm -f conftest.$ac_objext
19317 if { (ac_try="$ac_compile"
19318 case "(($ac_try" in
19319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19320 *) ac_try_echo=$ac_try;;
19321 esac
19322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19323 (eval "$ac_compile") 2>conftest.er1
19324 ac_status=$?
19325 grep -v '^ *+' conftest.er1 >conftest.err
19326 rm -f conftest.er1
19327 cat conftest.err >&5
19328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19329 (exit $ac_status); } && {
19330 test -z "$ac_c_werror_flag" ||
19331 test ! -s conftest.err
19332 } && test -s conftest.$ac_objext; then
19333 eval "$as_ac_Header=yes"
19334 else
19335 echo "$as_me: failed program was:" >&5
19336 sed 's/^/| /' conftest.$ac_ext >&5
19337
19338 eval "$as_ac_Header=no"
19339 fi
19340
19341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19342 fi
19343 ac_res=`eval echo '${'$as_ac_Header'}'`
19344 { echo "$as_me:$LINENO: result: $ac_res" >&5
19345 echo "${ECHO_T}$ac_res" >&6; }
19346 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19347 cat >>confdefs.h <<_ACEOF
19348 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19349 _ACEOF
19350
19351 fi
19352
19353 done
19354
19355 fi
19356
19357
19358 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19359 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19360 if test "${ac_cv_c_const+set}" = set; then
19361 echo $ECHO_N "(cached) $ECHO_C" >&6
19362 else
19363 cat >conftest.$ac_ext <<_ACEOF
19364 /* confdefs.h. */
19365 _ACEOF
19366 cat confdefs.h >>conftest.$ac_ext
19367 cat >>conftest.$ac_ext <<_ACEOF
19368 /* end confdefs.h. */
19369
19370 int
19371 main ()
19372 {
19373 /* FIXME: Include the comments suggested by Paul. */
19374 #ifndef __cplusplus
19375 /* Ultrix mips cc rejects this. */
19376 typedef int charset[2];
19377 const charset cs;
19378 /* SunOS 4.1.1 cc rejects this. */
19379 char const *const *pcpcc;
19380 char **ppc;
19381 /* NEC SVR4.0.2 mips cc rejects this. */
19382 struct point {int x, y;};
19383 static struct point const zero = {0,0};
19384 /* AIX XL C 1.02.0.0 rejects this.
19385 It does not let you subtract one const X* pointer from another in
19386 an arm of an if-expression whose if-part is not a constant
19387 expression */
19388 const char *g = "string";
19389 pcpcc = &g + (g ? g-g : 0);
19390 /* HPUX 7.0 cc rejects these. */
19391 ++pcpcc;
19392 ppc = (char**) pcpcc;
19393 pcpcc = (char const *const *) ppc;
19394 { /* SCO 3.2v4 cc rejects this. */
19395 char *t;
19396 char const *s = 0 ? (char *) 0 : (char const *) 0;
19397
19398 *t++ = 0;
19399 if (s) return 0;
19400 }
19401 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19402 int x[] = {25, 17};
19403 const int *foo = &x[0];
19404 ++foo;
19405 }
19406 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19407 typedef const int *iptr;
19408 iptr p = 0;
19409 ++p;
19410 }
19411 { /* AIX XL C 1.02.0.0 rejects this saying
19412 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19413 struct s { int j; const int *ap[3]; };
19414 struct s *b; b->j = 5;
19415 }
19416 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19417 const int foo = 10;
19418 if (!foo) return 0;
19419 }
19420 return !cs[0] && !zero.x;
19421 #endif
19422
19423 ;
19424 return 0;
19425 }
19426 _ACEOF
19427 rm -f conftest.$ac_objext
19428 if { (ac_try="$ac_compile"
19429 case "(($ac_try" in
19430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19431 *) ac_try_echo=$ac_try;;
19432 esac
19433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19434 (eval "$ac_compile") 2>conftest.er1
19435 ac_status=$?
19436 grep -v '^ *+' conftest.er1 >conftest.err
19437 rm -f conftest.er1
19438 cat conftest.err >&5
19439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19440 (exit $ac_status); } && {
19441 test -z "$ac_c_werror_flag" ||
19442 test ! -s conftest.err
19443 } && test -s conftest.$ac_objext; then
19444 ac_cv_c_const=yes
19445 else
19446 echo "$as_me: failed program was:" >&5
19447 sed 's/^/| /' conftest.$ac_ext >&5
19448
19449 ac_cv_c_const=no
19450 fi
19451
19452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19453 fi
19454 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19455 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19456 if test $ac_cv_c_const = no; then
19457
19458 cat >>confdefs.h <<\_ACEOF
19459 #define const
19460 _ACEOF
19461
19462 fi
19463
19464 { echo "$as_me:$LINENO: checking for inline" >&5
19465 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19466 if test "${ac_cv_c_inline+set}" = set; then
19467 echo $ECHO_N "(cached) $ECHO_C" >&6
19468 else
19469 ac_cv_c_inline=no
19470 for ac_kw in inline __inline__ __inline; do
19471 cat >conftest.$ac_ext <<_ACEOF
19472 /* confdefs.h. */
19473 _ACEOF
19474 cat confdefs.h >>conftest.$ac_ext
19475 cat >>conftest.$ac_ext <<_ACEOF
19476 /* end confdefs.h. */
19477 #ifndef __cplusplus
19478 typedef int foo_t;
19479 static $ac_kw foo_t static_foo () {return 0; }
19480 $ac_kw foo_t foo () {return 0; }
19481 #endif
19482
19483 _ACEOF
19484 rm -f conftest.$ac_objext
19485 if { (ac_try="$ac_compile"
19486 case "(($ac_try" in
19487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19488 *) ac_try_echo=$ac_try;;
19489 esac
19490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19491 (eval "$ac_compile") 2>conftest.er1
19492 ac_status=$?
19493 grep -v '^ *+' conftest.er1 >conftest.err
19494 rm -f conftest.er1
19495 cat conftest.err >&5
19496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19497 (exit $ac_status); } && {
19498 test -z "$ac_c_werror_flag" ||
19499 test ! -s conftest.err
19500 } && test -s conftest.$ac_objext; then
19501 ac_cv_c_inline=$ac_kw
19502 else
19503 echo "$as_me: failed program was:" >&5
19504 sed 's/^/| /' conftest.$ac_ext >&5
19505
19506
19507 fi
19508
19509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19510 test "$ac_cv_c_inline" != no && break
19511 done
19512
19513 fi
19514 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19515 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19516
19517
19518 case $ac_cv_c_inline in
19519 inline | yes) ;;
19520 *)
19521 case $ac_cv_c_inline in
19522 no) ac_val=;;
19523 *) ac_val=$ac_cv_c_inline;;
19524 esac
19525 cat >>confdefs.h <<_ACEOF
19526 #ifndef __cplusplus
19527 #define inline $ac_val
19528 #endif
19529 _ACEOF
19530 ;;
19531 esac
19532
19533
19534 { echo "$as_me:$LINENO: checking for short" >&5
19535 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19536 if test "${ac_cv_type_short+set}" = set; then
19537 echo $ECHO_N "(cached) $ECHO_C" >&6
19538 else
19539 cat >conftest.$ac_ext <<_ACEOF
19540 /* confdefs.h. */
19541 _ACEOF
19542 cat confdefs.h >>conftest.$ac_ext
19543 cat >>conftest.$ac_ext <<_ACEOF
19544 /* end confdefs.h. */
19545 $ac_includes_default
19546 typedef short ac__type_new_;
19547 int
19548 main ()
19549 {
19550 if ((ac__type_new_ *) 0)
19551 return 0;
19552 if (sizeof (ac__type_new_))
19553 return 0;
19554 ;
19555 return 0;
19556 }
19557 _ACEOF
19558 rm -f conftest.$ac_objext
19559 if { (ac_try="$ac_compile"
19560 case "(($ac_try" in
19561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19562 *) ac_try_echo=$ac_try;;
19563 esac
19564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19565 (eval "$ac_compile") 2>conftest.er1
19566 ac_status=$?
19567 grep -v '^ *+' conftest.er1 >conftest.err
19568 rm -f conftest.er1
19569 cat conftest.err >&5
19570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19571 (exit $ac_status); } && {
19572 test -z "$ac_c_werror_flag" ||
19573 test ! -s conftest.err
19574 } && test -s conftest.$ac_objext; then
19575 ac_cv_type_short=yes
19576 else
19577 echo "$as_me: failed program was:" >&5
19578 sed 's/^/| /' conftest.$ac_ext >&5
19579
19580 ac_cv_type_short=no
19581 fi
19582
19583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19584 fi
19585 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19586 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19587
19588 # The cast to long int works around a bug in the HP C Compiler
19589 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19590 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19591 # This bug is HP SR number 8606223364.
19592 { echo "$as_me:$LINENO: checking size of short" >&5
19593 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19594 if test "${ac_cv_sizeof_short+set}" = set; then
19595 echo $ECHO_N "(cached) $ECHO_C" >&6
19596 else
19597 if test "$cross_compiling" = yes; then
19598 # Depending upon the size, compute the lo and hi bounds.
19599 cat >conftest.$ac_ext <<_ACEOF
19600 /* confdefs.h. */
19601 _ACEOF
19602 cat confdefs.h >>conftest.$ac_ext
19603 cat >>conftest.$ac_ext <<_ACEOF
19604 /* end confdefs.h. */
19605 $ac_includes_default
19606 typedef short ac__type_sizeof_;
19607 int
19608 main ()
19609 {
19610 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19611 test_array [0] = 0
19612
19613 ;
19614 return 0;
19615 }
19616 _ACEOF
19617 rm -f conftest.$ac_objext
19618 if { (ac_try="$ac_compile"
19619 case "(($ac_try" in
19620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19621 *) ac_try_echo=$ac_try;;
19622 esac
19623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19624 (eval "$ac_compile") 2>conftest.er1
19625 ac_status=$?
19626 grep -v '^ *+' conftest.er1 >conftest.err
19627 rm -f conftest.er1
19628 cat conftest.err >&5
19629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19630 (exit $ac_status); } && {
19631 test -z "$ac_c_werror_flag" ||
19632 test ! -s conftest.err
19633 } && test -s conftest.$ac_objext; then
19634 ac_lo=0 ac_mid=0
19635 while :; do
19636 cat >conftest.$ac_ext <<_ACEOF
19637 /* confdefs.h. */
19638 _ACEOF
19639 cat confdefs.h >>conftest.$ac_ext
19640 cat >>conftest.$ac_ext <<_ACEOF
19641 /* end confdefs.h. */
19642 $ac_includes_default
19643 typedef short ac__type_sizeof_;
19644 int
19645 main ()
19646 {
19647 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19648 test_array [0] = 0
19649
19650 ;
19651 return 0;
19652 }
19653 _ACEOF
19654 rm -f conftest.$ac_objext
19655 if { (ac_try="$ac_compile"
19656 case "(($ac_try" in
19657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19658 *) ac_try_echo=$ac_try;;
19659 esac
19660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19661 (eval "$ac_compile") 2>conftest.er1
19662 ac_status=$?
19663 grep -v '^ *+' conftest.er1 >conftest.err
19664 rm -f conftest.er1
19665 cat conftest.err >&5
19666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19667 (exit $ac_status); } && {
19668 test -z "$ac_c_werror_flag" ||
19669 test ! -s conftest.err
19670 } && test -s conftest.$ac_objext; then
19671 ac_hi=$ac_mid; break
19672 else
19673 echo "$as_me: failed program was:" >&5
19674 sed 's/^/| /' conftest.$ac_ext >&5
19675
19676 ac_lo=`expr $ac_mid + 1`
19677 if test $ac_lo -le $ac_mid; then
19678 ac_lo= ac_hi=
19679 break
19680 fi
19681 ac_mid=`expr 2 '*' $ac_mid + 1`
19682 fi
19683
19684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19685 done
19686 else
19687 echo "$as_me: failed program was:" >&5
19688 sed 's/^/| /' conftest.$ac_ext >&5
19689
19690 cat >conftest.$ac_ext <<_ACEOF
19691 /* confdefs.h. */
19692 _ACEOF
19693 cat confdefs.h >>conftest.$ac_ext
19694 cat >>conftest.$ac_ext <<_ACEOF
19695 /* end confdefs.h. */
19696 $ac_includes_default
19697 typedef short ac__type_sizeof_;
19698 int
19699 main ()
19700 {
19701 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19702 test_array [0] = 0
19703
19704 ;
19705 return 0;
19706 }
19707 _ACEOF
19708 rm -f conftest.$ac_objext
19709 if { (ac_try="$ac_compile"
19710 case "(($ac_try" in
19711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19712 *) ac_try_echo=$ac_try;;
19713 esac
19714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19715 (eval "$ac_compile") 2>conftest.er1
19716 ac_status=$?
19717 grep -v '^ *+' conftest.er1 >conftest.err
19718 rm -f conftest.er1
19719 cat conftest.err >&5
19720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19721 (exit $ac_status); } && {
19722 test -z "$ac_c_werror_flag" ||
19723 test ! -s conftest.err
19724 } && test -s conftest.$ac_objext; then
19725 ac_hi=-1 ac_mid=-1
19726 while :; do
19727 cat >conftest.$ac_ext <<_ACEOF
19728 /* confdefs.h. */
19729 _ACEOF
19730 cat confdefs.h >>conftest.$ac_ext
19731 cat >>conftest.$ac_ext <<_ACEOF
19732 /* end confdefs.h. */
19733 $ac_includes_default
19734 typedef short ac__type_sizeof_;
19735 int
19736 main ()
19737 {
19738 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19739 test_array [0] = 0
19740
19741 ;
19742 return 0;
19743 }
19744 _ACEOF
19745 rm -f conftest.$ac_objext
19746 if { (ac_try="$ac_compile"
19747 case "(($ac_try" in
19748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19749 *) ac_try_echo=$ac_try;;
19750 esac
19751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19752 (eval "$ac_compile") 2>conftest.er1
19753 ac_status=$?
19754 grep -v '^ *+' conftest.er1 >conftest.err
19755 rm -f conftest.er1
19756 cat conftest.err >&5
19757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19758 (exit $ac_status); } && {
19759 test -z "$ac_c_werror_flag" ||
19760 test ! -s conftest.err
19761 } && test -s conftest.$ac_objext; then
19762 ac_lo=$ac_mid; break
19763 else
19764 echo "$as_me: failed program was:" >&5
19765 sed 's/^/| /' conftest.$ac_ext >&5
19766
19767 ac_hi=`expr '(' $ac_mid ')' - 1`
19768 if test $ac_mid -le $ac_hi; then
19769 ac_lo= ac_hi=
19770 break
19771 fi
19772 ac_mid=`expr 2 '*' $ac_mid`
19773 fi
19774
19775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19776 done
19777 else
19778 echo "$as_me: failed program was:" >&5
19779 sed 's/^/| /' conftest.$ac_ext >&5
19780
19781 ac_lo= ac_hi=
19782 fi
19783
19784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19785 fi
19786
19787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19788 # Binary search between lo and hi bounds.
19789 while test "x$ac_lo" != "x$ac_hi"; do
19790 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19791 cat >conftest.$ac_ext <<_ACEOF
19792 /* confdefs.h. */
19793 _ACEOF
19794 cat confdefs.h >>conftest.$ac_ext
19795 cat >>conftest.$ac_ext <<_ACEOF
19796 /* end confdefs.h. */
19797 $ac_includes_default
19798 typedef short ac__type_sizeof_;
19799 int
19800 main ()
19801 {
19802 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19803 test_array [0] = 0
19804
19805 ;
19806 return 0;
19807 }
19808 _ACEOF
19809 rm -f conftest.$ac_objext
19810 if { (ac_try="$ac_compile"
19811 case "(($ac_try" in
19812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19813 *) ac_try_echo=$ac_try;;
19814 esac
19815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19816 (eval "$ac_compile") 2>conftest.er1
19817 ac_status=$?
19818 grep -v '^ *+' conftest.er1 >conftest.err
19819 rm -f conftest.er1
19820 cat conftest.err >&5
19821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19822 (exit $ac_status); } && {
19823 test -z "$ac_c_werror_flag" ||
19824 test ! -s conftest.err
19825 } && test -s conftest.$ac_objext; then
19826 ac_hi=$ac_mid
19827 else
19828 echo "$as_me: failed program was:" >&5
19829 sed 's/^/| /' conftest.$ac_ext >&5
19830
19831 ac_lo=`expr '(' $ac_mid ')' + 1`
19832 fi
19833
19834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19835 done
19836 case $ac_lo in
19837 ?*) ac_cv_sizeof_short=$ac_lo;;
19838 '') if test "$ac_cv_type_short" = yes; then
19839 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19840 See \`config.log' for more details." >&5
19841 echo "$as_me: error: cannot compute sizeof (short)
19842 See \`config.log' for more details." >&2;}
19843 { (exit 77); exit 77; }; }
19844 else
19845 ac_cv_sizeof_short=0
19846 fi ;;
19847 esac
19848 else
19849 cat >conftest.$ac_ext <<_ACEOF
19850 /* confdefs.h. */
19851 _ACEOF
19852 cat confdefs.h >>conftest.$ac_ext
19853 cat >>conftest.$ac_ext <<_ACEOF
19854 /* end confdefs.h. */
19855 $ac_includes_default
19856 typedef short ac__type_sizeof_;
19857 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19858 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19859 #include <stdio.h>
19860 #include <stdlib.h>
19861 int
19862 main ()
19863 {
19864
19865 FILE *f = fopen ("conftest.val", "w");
19866 if (! f)
19867 return 1;
19868 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19869 {
19870 long int i = longval ();
19871 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19872 return 1;
19873 fprintf (f, "%ld\n", i);
19874 }
19875 else
19876 {
19877 unsigned long int i = ulongval ();
19878 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19879 return 1;
19880 fprintf (f, "%lu\n", i);
19881 }
19882 return ferror (f) || fclose (f) != 0;
19883
19884 ;
19885 return 0;
19886 }
19887 _ACEOF
19888 rm -f conftest$ac_exeext
19889 if { (ac_try="$ac_link"
19890 case "(($ac_try" in
19891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19892 *) ac_try_echo=$ac_try;;
19893 esac
19894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19895 (eval "$ac_link") 2>&5
19896 ac_status=$?
19897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19898 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19899 { (case "(($ac_try" in
19900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19901 *) ac_try_echo=$ac_try;;
19902 esac
19903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19904 (eval "$ac_try") 2>&5
19905 ac_status=$?
19906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19907 (exit $ac_status); }; }; then
19908 ac_cv_sizeof_short=`cat conftest.val`
19909 else
19910 echo "$as_me: program exited with status $ac_status" >&5
19911 echo "$as_me: failed program was:" >&5
19912 sed 's/^/| /' conftest.$ac_ext >&5
19913
19914 ( exit $ac_status )
19915 if test "$ac_cv_type_short" = yes; then
19916 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19917 See \`config.log' for more details." >&5
19918 echo "$as_me: error: cannot compute sizeof (short)
19919 See \`config.log' for more details." >&2;}
19920 { (exit 77); exit 77; }; }
19921 else
19922 ac_cv_sizeof_short=0
19923 fi
19924 fi
19925 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19926 fi
19927 rm -f conftest.val
19928 fi
19929 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19930 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19931
19932
19933
19934 cat >>confdefs.h <<_ACEOF
19935 #define SIZEOF_SHORT $ac_cv_sizeof_short
19936 _ACEOF
19937
19938
19939 { echo "$as_me:$LINENO: checking for void *" >&5
19940 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19941 if test "${ac_cv_type_void_p+set}" = set; then
19942 echo $ECHO_N "(cached) $ECHO_C" >&6
19943 else
19944 cat >conftest.$ac_ext <<_ACEOF
19945 /* confdefs.h. */
19946 _ACEOF
19947 cat confdefs.h >>conftest.$ac_ext
19948 cat >>conftest.$ac_ext <<_ACEOF
19949 /* end confdefs.h. */
19950 $ac_includes_default
19951 typedef void * ac__type_new_;
19952 int
19953 main ()
19954 {
19955 if ((ac__type_new_ *) 0)
19956 return 0;
19957 if (sizeof (ac__type_new_))
19958 return 0;
19959 ;
19960 return 0;
19961 }
19962 _ACEOF
19963 rm -f conftest.$ac_objext
19964 if { (ac_try="$ac_compile"
19965 case "(($ac_try" in
19966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19967 *) ac_try_echo=$ac_try;;
19968 esac
19969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19970 (eval "$ac_compile") 2>conftest.er1
19971 ac_status=$?
19972 grep -v '^ *+' conftest.er1 >conftest.err
19973 rm -f conftest.er1
19974 cat conftest.err >&5
19975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19976 (exit $ac_status); } && {
19977 test -z "$ac_c_werror_flag" ||
19978 test ! -s conftest.err
19979 } && test -s conftest.$ac_objext; then
19980 ac_cv_type_void_p=yes
19981 else
19982 echo "$as_me: failed program was:" >&5
19983 sed 's/^/| /' conftest.$ac_ext >&5
19984
19985 ac_cv_type_void_p=no
19986 fi
19987
19988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19989 fi
19990 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19991 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19992
19993 # The cast to long int works around a bug in the HP C Compiler
19994 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19995 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19996 # This bug is HP SR number 8606223364.
19997 { echo "$as_me:$LINENO: checking size of void *" >&5
19998 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19999 if test "${ac_cv_sizeof_void_p+set}" = set; then
20000 echo $ECHO_N "(cached) $ECHO_C" >&6
20001 else
20002 if test "$cross_compiling" = yes; then
20003 # Depending upon the size, compute the lo and hi bounds.
20004 cat >conftest.$ac_ext <<_ACEOF
20005 /* confdefs.h. */
20006 _ACEOF
20007 cat confdefs.h >>conftest.$ac_ext
20008 cat >>conftest.$ac_ext <<_ACEOF
20009 /* end confdefs.h. */
20010 $ac_includes_default
20011 typedef void * ac__type_sizeof_;
20012 int
20013 main ()
20014 {
20015 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20016 test_array [0] = 0
20017
20018 ;
20019 return 0;
20020 }
20021 _ACEOF
20022 rm -f conftest.$ac_objext
20023 if { (ac_try="$ac_compile"
20024 case "(($ac_try" in
20025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20026 *) ac_try_echo=$ac_try;;
20027 esac
20028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20029 (eval "$ac_compile") 2>conftest.er1
20030 ac_status=$?
20031 grep -v '^ *+' conftest.er1 >conftest.err
20032 rm -f conftest.er1
20033 cat conftest.err >&5
20034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20035 (exit $ac_status); } && {
20036 test -z "$ac_c_werror_flag" ||
20037 test ! -s conftest.err
20038 } && test -s conftest.$ac_objext; then
20039 ac_lo=0 ac_mid=0
20040 while :; do
20041 cat >conftest.$ac_ext <<_ACEOF
20042 /* confdefs.h. */
20043 _ACEOF
20044 cat confdefs.h >>conftest.$ac_ext
20045 cat >>conftest.$ac_ext <<_ACEOF
20046 /* end confdefs.h. */
20047 $ac_includes_default
20048 typedef void * ac__type_sizeof_;
20049 int
20050 main ()
20051 {
20052 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20053 test_array [0] = 0
20054
20055 ;
20056 return 0;
20057 }
20058 _ACEOF
20059 rm -f conftest.$ac_objext
20060 if { (ac_try="$ac_compile"
20061 case "(($ac_try" in
20062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20063 *) ac_try_echo=$ac_try;;
20064 esac
20065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20066 (eval "$ac_compile") 2>conftest.er1
20067 ac_status=$?
20068 grep -v '^ *+' conftest.er1 >conftest.err
20069 rm -f conftest.er1
20070 cat conftest.err >&5
20071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20072 (exit $ac_status); } && {
20073 test -z "$ac_c_werror_flag" ||
20074 test ! -s conftest.err
20075 } && test -s conftest.$ac_objext; then
20076 ac_hi=$ac_mid; break
20077 else
20078 echo "$as_me: failed program was:" >&5
20079 sed 's/^/| /' conftest.$ac_ext >&5
20080
20081 ac_lo=`expr $ac_mid + 1`
20082 if test $ac_lo -le $ac_mid; then
20083 ac_lo= ac_hi=
20084 break
20085 fi
20086 ac_mid=`expr 2 '*' $ac_mid + 1`
20087 fi
20088
20089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20090 done
20091 else
20092 echo "$as_me: failed program was:" >&5
20093 sed 's/^/| /' conftest.$ac_ext >&5
20094
20095 cat >conftest.$ac_ext <<_ACEOF
20096 /* confdefs.h. */
20097 _ACEOF
20098 cat confdefs.h >>conftest.$ac_ext
20099 cat >>conftest.$ac_ext <<_ACEOF
20100 /* end confdefs.h. */
20101 $ac_includes_default
20102 typedef void * ac__type_sizeof_;
20103 int
20104 main ()
20105 {
20106 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20107 test_array [0] = 0
20108
20109 ;
20110 return 0;
20111 }
20112 _ACEOF
20113 rm -f conftest.$ac_objext
20114 if { (ac_try="$ac_compile"
20115 case "(($ac_try" in
20116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20117 *) ac_try_echo=$ac_try;;
20118 esac
20119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20120 (eval "$ac_compile") 2>conftest.er1
20121 ac_status=$?
20122 grep -v '^ *+' conftest.er1 >conftest.err
20123 rm -f conftest.er1
20124 cat conftest.err >&5
20125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20126 (exit $ac_status); } && {
20127 test -z "$ac_c_werror_flag" ||
20128 test ! -s conftest.err
20129 } && test -s conftest.$ac_objext; then
20130 ac_hi=-1 ac_mid=-1
20131 while :; do
20132 cat >conftest.$ac_ext <<_ACEOF
20133 /* confdefs.h. */
20134 _ACEOF
20135 cat confdefs.h >>conftest.$ac_ext
20136 cat >>conftest.$ac_ext <<_ACEOF
20137 /* end confdefs.h. */
20138 $ac_includes_default
20139 typedef void * ac__type_sizeof_;
20140 int
20141 main ()
20142 {
20143 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20144 test_array [0] = 0
20145
20146 ;
20147 return 0;
20148 }
20149 _ACEOF
20150 rm -f conftest.$ac_objext
20151 if { (ac_try="$ac_compile"
20152 case "(($ac_try" in
20153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20154 *) ac_try_echo=$ac_try;;
20155 esac
20156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20157 (eval "$ac_compile") 2>conftest.er1
20158 ac_status=$?
20159 grep -v '^ *+' conftest.er1 >conftest.err
20160 rm -f conftest.er1
20161 cat conftest.err >&5
20162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20163 (exit $ac_status); } && {
20164 test -z "$ac_c_werror_flag" ||
20165 test ! -s conftest.err
20166 } && test -s conftest.$ac_objext; then
20167 ac_lo=$ac_mid; break
20168 else
20169 echo "$as_me: failed program was:" >&5
20170 sed 's/^/| /' conftest.$ac_ext >&5
20171
20172 ac_hi=`expr '(' $ac_mid ')' - 1`
20173 if test $ac_mid -le $ac_hi; then
20174 ac_lo= ac_hi=
20175 break
20176 fi
20177 ac_mid=`expr 2 '*' $ac_mid`
20178 fi
20179
20180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20181 done
20182 else
20183 echo "$as_me: failed program was:" >&5
20184 sed 's/^/| /' conftest.$ac_ext >&5
20185
20186 ac_lo= ac_hi=
20187 fi
20188
20189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20190 fi
20191
20192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20193 # Binary search between lo and hi bounds.
20194 while test "x$ac_lo" != "x$ac_hi"; do
20195 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20196 cat >conftest.$ac_ext <<_ACEOF
20197 /* confdefs.h. */
20198 _ACEOF
20199 cat confdefs.h >>conftest.$ac_ext
20200 cat >>conftest.$ac_ext <<_ACEOF
20201 /* end confdefs.h. */
20202 $ac_includes_default
20203 typedef void * ac__type_sizeof_;
20204 int
20205 main ()
20206 {
20207 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20208 test_array [0] = 0
20209
20210 ;
20211 return 0;
20212 }
20213 _ACEOF
20214 rm -f conftest.$ac_objext
20215 if { (ac_try="$ac_compile"
20216 case "(($ac_try" in
20217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20218 *) ac_try_echo=$ac_try;;
20219 esac
20220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20221 (eval "$ac_compile") 2>conftest.er1
20222 ac_status=$?
20223 grep -v '^ *+' conftest.er1 >conftest.err
20224 rm -f conftest.er1
20225 cat conftest.err >&5
20226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20227 (exit $ac_status); } && {
20228 test -z "$ac_c_werror_flag" ||
20229 test ! -s conftest.err
20230 } && test -s conftest.$ac_objext; then
20231 ac_hi=$ac_mid
20232 else
20233 echo "$as_me: failed program was:" >&5
20234 sed 's/^/| /' conftest.$ac_ext >&5
20235
20236 ac_lo=`expr '(' $ac_mid ')' + 1`
20237 fi
20238
20239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20240 done
20241 case $ac_lo in
20242 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20243 '') if test "$ac_cv_type_void_p" = yes; then
20244 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20245 See \`config.log' for more details." >&5
20246 echo "$as_me: error: cannot compute sizeof (void *)
20247 See \`config.log' for more details." >&2;}
20248 { (exit 77); exit 77; }; }
20249 else
20250 ac_cv_sizeof_void_p=0
20251 fi ;;
20252 esac
20253 else
20254 cat >conftest.$ac_ext <<_ACEOF
20255 /* confdefs.h. */
20256 _ACEOF
20257 cat confdefs.h >>conftest.$ac_ext
20258 cat >>conftest.$ac_ext <<_ACEOF
20259 /* end confdefs.h. */
20260 $ac_includes_default
20261 typedef void * ac__type_sizeof_;
20262 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20263 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20264 #include <stdio.h>
20265 #include <stdlib.h>
20266 int
20267 main ()
20268 {
20269
20270 FILE *f = fopen ("conftest.val", "w");
20271 if (! f)
20272 return 1;
20273 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20274 {
20275 long int i = longval ();
20276 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20277 return 1;
20278 fprintf (f, "%ld\n", i);
20279 }
20280 else
20281 {
20282 unsigned long int i = ulongval ();
20283 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20284 return 1;
20285 fprintf (f, "%lu\n", i);
20286 }
20287 return ferror (f) || fclose (f) != 0;
20288
20289 ;
20290 return 0;
20291 }
20292 _ACEOF
20293 rm -f conftest$ac_exeext
20294 if { (ac_try="$ac_link"
20295 case "(($ac_try" in
20296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20297 *) ac_try_echo=$ac_try;;
20298 esac
20299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20300 (eval "$ac_link") 2>&5
20301 ac_status=$?
20302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20303 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20304 { (case "(($ac_try" in
20305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20306 *) ac_try_echo=$ac_try;;
20307 esac
20308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20309 (eval "$ac_try") 2>&5
20310 ac_status=$?
20311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20312 (exit $ac_status); }; }; then
20313 ac_cv_sizeof_void_p=`cat conftest.val`
20314 else
20315 echo "$as_me: program exited with status $ac_status" >&5
20316 echo "$as_me: failed program was:" >&5
20317 sed 's/^/| /' conftest.$ac_ext >&5
20318
20319 ( exit $ac_status )
20320 if test "$ac_cv_type_void_p" = yes; then
20321 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20322 See \`config.log' for more details." >&5
20323 echo "$as_me: error: cannot compute sizeof (void *)
20324 See \`config.log' for more details." >&2;}
20325 { (exit 77); exit 77; }; }
20326 else
20327 ac_cv_sizeof_void_p=0
20328 fi
20329 fi
20330 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20331 fi
20332 rm -f conftest.val
20333 fi
20334 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20335 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20336
20337
20338
20339 cat >>confdefs.h <<_ACEOF
20340 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20341 _ACEOF
20342
20343
20344 { echo "$as_me:$LINENO: checking for int" >&5
20345 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20346 if test "${ac_cv_type_int+set}" = set; then
20347 echo $ECHO_N "(cached) $ECHO_C" >&6
20348 else
20349 cat >conftest.$ac_ext <<_ACEOF
20350 /* confdefs.h. */
20351 _ACEOF
20352 cat confdefs.h >>conftest.$ac_ext
20353 cat >>conftest.$ac_ext <<_ACEOF
20354 /* end confdefs.h. */
20355 $ac_includes_default
20356 typedef int ac__type_new_;
20357 int
20358 main ()
20359 {
20360 if ((ac__type_new_ *) 0)
20361 return 0;
20362 if (sizeof (ac__type_new_))
20363 return 0;
20364 ;
20365 return 0;
20366 }
20367 _ACEOF
20368 rm -f conftest.$ac_objext
20369 if { (ac_try="$ac_compile"
20370 case "(($ac_try" in
20371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20372 *) ac_try_echo=$ac_try;;
20373 esac
20374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20375 (eval "$ac_compile") 2>conftest.er1
20376 ac_status=$?
20377 grep -v '^ *+' conftest.er1 >conftest.err
20378 rm -f conftest.er1
20379 cat conftest.err >&5
20380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20381 (exit $ac_status); } && {
20382 test -z "$ac_c_werror_flag" ||
20383 test ! -s conftest.err
20384 } && test -s conftest.$ac_objext; then
20385 ac_cv_type_int=yes
20386 else
20387 echo "$as_me: failed program was:" >&5
20388 sed 's/^/| /' conftest.$ac_ext >&5
20389
20390 ac_cv_type_int=no
20391 fi
20392
20393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20394 fi
20395 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20396 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20397
20398 # The cast to long int works around a bug in the HP C Compiler
20399 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20400 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20401 # This bug is HP SR number 8606223364.
20402 { echo "$as_me:$LINENO: checking size of int" >&5
20403 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20404 if test "${ac_cv_sizeof_int+set}" = set; then
20405 echo $ECHO_N "(cached) $ECHO_C" >&6
20406 else
20407 if test "$cross_compiling" = yes; then
20408 # Depending upon the size, compute the lo and hi bounds.
20409 cat >conftest.$ac_ext <<_ACEOF
20410 /* confdefs.h. */
20411 _ACEOF
20412 cat confdefs.h >>conftest.$ac_ext
20413 cat >>conftest.$ac_ext <<_ACEOF
20414 /* end confdefs.h. */
20415 $ac_includes_default
20416 typedef int ac__type_sizeof_;
20417 int
20418 main ()
20419 {
20420 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20421 test_array [0] = 0
20422
20423 ;
20424 return 0;
20425 }
20426 _ACEOF
20427 rm -f conftest.$ac_objext
20428 if { (ac_try="$ac_compile"
20429 case "(($ac_try" in
20430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20431 *) ac_try_echo=$ac_try;;
20432 esac
20433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20434 (eval "$ac_compile") 2>conftest.er1
20435 ac_status=$?
20436 grep -v '^ *+' conftest.er1 >conftest.err
20437 rm -f conftest.er1
20438 cat conftest.err >&5
20439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20440 (exit $ac_status); } && {
20441 test -z "$ac_c_werror_flag" ||
20442 test ! -s conftest.err
20443 } && test -s conftest.$ac_objext; then
20444 ac_lo=0 ac_mid=0
20445 while :; do
20446 cat >conftest.$ac_ext <<_ACEOF
20447 /* confdefs.h. */
20448 _ACEOF
20449 cat confdefs.h >>conftest.$ac_ext
20450 cat >>conftest.$ac_ext <<_ACEOF
20451 /* end confdefs.h. */
20452 $ac_includes_default
20453 typedef int ac__type_sizeof_;
20454 int
20455 main ()
20456 {
20457 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20458 test_array [0] = 0
20459
20460 ;
20461 return 0;
20462 }
20463 _ACEOF
20464 rm -f conftest.$ac_objext
20465 if { (ac_try="$ac_compile"
20466 case "(($ac_try" in
20467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20468 *) ac_try_echo=$ac_try;;
20469 esac
20470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20471 (eval "$ac_compile") 2>conftest.er1
20472 ac_status=$?
20473 grep -v '^ *+' conftest.er1 >conftest.err
20474 rm -f conftest.er1
20475 cat conftest.err >&5
20476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20477 (exit $ac_status); } && {
20478 test -z "$ac_c_werror_flag" ||
20479 test ! -s conftest.err
20480 } && test -s conftest.$ac_objext; then
20481 ac_hi=$ac_mid; break
20482 else
20483 echo "$as_me: failed program was:" >&5
20484 sed 's/^/| /' conftest.$ac_ext >&5
20485
20486 ac_lo=`expr $ac_mid + 1`
20487 if test $ac_lo -le $ac_mid; then
20488 ac_lo= ac_hi=
20489 break
20490 fi
20491 ac_mid=`expr 2 '*' $ac_mid + 1`
20492 fi
20493
20494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20495 done
20496 else
20497 echo "$as_me: failed program was:" >&5
20498 sed 's/^/| /' conftest.$ac_ext >&5
20499
20500 cat >conftest.$ac_ext <<_ACEOF
20501 /* confdefs.h. */
20502 _ACEOF
20503 cat confdefs.h >>conftest.$ac_ext
20504 cat >>conftest.$ac_ext <<_ACEOF
20505 /* end confdefs.h. */
20506 $ac_includes_default
20507 typedef int ac__type_sizeof_;
20508 int
20509 main ()
20510 {
20511 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20512 test_array [0] = 0
20513
20514 ;
20515 return 0;
20516 }
20517 _ACEOF
20518 rm -f conftest.$ac_objext
20519 if { (ac_try="$ac_compile"
20520 case "(($ac_try" in
20521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20522 *) ac_try_echo=$ac_try;;
20523 esac
20524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20525 (eval "$ac_compile") 2>conftest.er1
20526 ac_status=$?
20527 grep -v '^ *+' conftest.er1 >conftest.err
20528 rm -f conftest.er1
20529 cat conftest.err >&5
20530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20531 (exit $ac_status); } && {
20532 test -z "$ac_c_werror_flag" ||
20533 test ! -s conftest.err
20534 } && test -s conftest.$ac_objext; then
20535 ac_hi=-1 ac_mid=-1
20536 while :; do
20537 cat >conftest.$ac_ext <<_ACEOF
20538 /* confdefs.h. */
20539 _ACEOF
20540 cat confdefs.h >>conftest.$ac_ext
20541 cat >>conftest.$ac_ext <<_ACEOF
20542 /* end confdefs.h. */
20543 $ac_includes_default
20544 typedef int ac__type_sizeof_;
20545 int
20546 main ()
20547 {
20548 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20549 test_array [0] = 0
20550
20551 ;
20552 return 0;
20553 }
20554 _ACEOF
20555 rm -f conftest.$ac_objext
20556 if { (ac_try="$ac_compile"
20557 case "(($ac_try" in
20558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20559 *) ac_try_echo=$ac_try;;
20560 esac
20561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20562 (eval "$ac_compile") 2>conftest.er1
20563 ac_status=$?
20564 grep -v '^ *+' conftest.er1 >conftest.err
20565 rm -f conftest.er1
20566 cat conftest.err >&5
20567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20568 (exit $ac_status); } && {
20569 test -z "$ac_c_werror_flag" ||
20570 test ! -s conftest.err
20571 } && test -s conftest.$ac_objext; then
20572 ac_lo=$ac_mid; break
20573 else
20574 echo "$as_me: failed program was:" >&5
20575 sed 's/^/| /' conftest.$ac_ext >&5
20576
20577 ac_hi=`expr '(' $ac_mid ')' - 1`
20578 if test $ac_mid -le $ac_hi; then
20579 ac_lo= ac_hi=
20580 break
20581 fi
20582 ac_mid=`expr 2 '*' $ac_mid`
20583 fi
20584
20585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20586 done
20587 else
20588 echo "$as_me: failed program was:" >&5
20589 sed 's/^/| /' conftest.$ac_ext >&5
20590
20591 ac_lo= ac_hi=
20592 fi
20593
20594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20595 fi
20596
20597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20598 # Binary search between lo and hi bounds.
20599 while test "x$ac_lo" != "x$ac_hi"; do
20600 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20601 cat >conftest.$ac_ext <<_ACEOF
20602 /* confdefs.h. */
20603 _ACEOF
20604 cat confdefs.h >>conftest.$ac_ext
20605 cat >>conftest.$ac_ext <<_ACEOF
20606 /* end confdefs.h. */
20607 $ac_includes_default
20608 typedef int ac__type_sizeof_;
20609 int
20610 main ()
20611 {
20612 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20613 test_array [0] = 0
20614
20615 ;
20616 return 0;
20617 }
20618 _ACEOF
20619 rm -f conftest.$ac_objext
20620 if { (ac_try="$ac_compile"
20621 case "(($ac_try" in
20622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20623 *) ac_try_echo=$ac_try;;
20624 esac
20625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20626 (eval "$ac_compile") 2>conftest.er1
20627 ac_status=$?
20628 grep -v '^ *+' conftest.er1 >conftest.err
20629 rm -f conftest.er1
20630 cat conftest.err >&5
20631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20632 (exit $ac_status); } && {
20633 test -z "$ac_c_werror_flag" ||
20634 test ! -s conftest.err
20635 } && test -s conftest.$ac_objext; then
20636 ac_hi=$ac_mid
20637 else
20638 echo "$as_me: failed program was:" >&5
20639 sed 's/^/| /' conftest.$ac_ext >&5
20640
20641 ac_lo=`expr '(' $ac_mid ')' + 1`
20642 fi
20643
20644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20645 done
20646 case $ac_lo in
20647 ?*) ac_cv_sizeof_int=$ac_lo;;
20648 '') if test "$ac_cv_type_int" = yes; then
20649 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20650 See \`config.log' for more details." >&5
20651 echo "$as_me: error: cannot compute sizeof (int)
20652 See \`config.log' for more details." >&2;}
20653 { (exit 77); exit 77; }; }
20654 else
20655 ac_cv_sizeof_int=0
20656 fi ;;
20657 esac
20658 else
20659 cat >conftest.$ac_ext <<_ACEOF
20660 /* confdefs.h. */
20661 _ACEOF
20662 cat confdefs.h >>conftest.$ac_ext
20663 cat >>conftest.$ac_ext <<_ACEOF
20664 /* end confdefs.h. */
20665 $ac_includes_default
20666 typedef int ac__type_sizeof_;
20667 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20668 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20669 #include <stdio.h>
20670 #include <stdlib.h>
20671 int
20672 main ()
20673 {
20674
20675 FILE *f = fopen ("conftest.val", "w");
20676 if (! f)
20677 return 1;
20678 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20679 {
20680 long int i = longval ();
20681 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20682 return 1;
20683 fprintf (f, "%ld\n", i);
20684 }
20685 else
20686 {
20687 unsigned long int i = ulongval ();
20688 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20689 return 1;
20690 fprintf (f, "%lu\n", i);
20691 }
20692 return ferror (f) || fclose (f) != 0;
20693
20694 ;
20695 return 0;
20696 }
20697 _ACEOF
20698 rm -f conftest$ac_exeext
20699 if { (ac_try="$ac_link"
20700 case "(($ac_try" in
20701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20702 *) ac_try_echo=$ac_try;;
20703 esac
20704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20705 (eval "$ac_link") 2>&5
20706 ac_status=$?
20707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20708 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20709 { (case "(($ac_try" in
20710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20711 *) ac_try_echo=$ac_try;;
20712 esac
20713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20714 (eval "$ac_try") 2>&5
20715 ac_status=$?
20716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20717 (exit $ac_status); }; }; then
20718 ac_cv_sizeof_int=`cat conftest.val`
20719 else
20720 echo "$as_me: program exited with status $ac_status" >&5
20721 echo "$as_me: failed program was:" >&5
20722 sed 's/^/| /' conftest.$ac_ext >&5
20723
20724 ( exit $ac_status )
20725 if test "$ac_cv_type_int" = yes; then
20726 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20727 See \`config.log' for more details." >&5
20728 echo "$as_me: error: cannot compute sizeof (int)
20729 See \`config.log' for more details." >&2;}
20730 { (exit 77); exit 77; }; }
20731 else
20732 ac_cv_sizeof_int=0
20733 fi
20734 fi
20735 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20736 fi
20737 rm -f conftest.val
20738 fi
20739 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20740 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20741
20742
20743
20744 cat >>confdefs.h <<_ACEOF
20745 #define SIZEOF_INT $ac_cv_sizeof_int
20746 _ACEOF
20747
20748
20749 { echo "$as_me:$LINENO: checking for long" >&5
20750 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20751 if test "${ac_cv_type_long+set}" = set; then
20752 echo $ECHO_N "(cached) $ECHO_C" >&6
20753 else
20754 cat >conftest.$ac_ext <<_ACEOF
20755 /* confdefs.h. */
20756 _ACEOF
20757 cat confdefs.h >>conftest.$ac_ext
20758 cat >>conftest.$ac_ext <<_ACEOF
20759 /* end confdefs.h. */
20760 $ac_includes_default
20761 typedef long ac__type_new_;
20762 int
20763 main ()
20764 {
20765 if ((ac__type_new_ *) 0)
20766 return 0;
20767 if (sizeof (ac__type_new_))
20768 return 0;
20769 ;
20770 return 0;
20771 }
20772 _ACEOF
20773 rm -f conftest.$ac_objext
20774 if { (ac_try="$ac_compile"
20775 case "(($ac_try" in
20776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20777 *) ac_try_echo=$ac_try;;
20778 esac
20779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20780 (eval "$ac_compile") 2>conftest.er1
20781 ac_status=$?
20782 grep -v '^ *+' conftest.er1 >conftest.err
20783 rm -f conftest.er1
20784 cat conftest.err >&5
20785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20786 (exit $ac_status); } && {
20787 test -z "$ac_c_werror_flag" ||
20788 test ! -s conftest.err
20789 } && test -s conftest.$ac_objext; then
20790 ac_cv_type_long=yes
20791 else
20792 echo "$as_me: failed program was:" >&5
20793 sed 's/^/| /' conftest.$ac_ext >&5
20794
20795 ac_cv_type_long=no
20796 fi
20797
20798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20799 fi
20800 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20801 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20802
20803 # The cast to long int works around a bug in the HP C Compiler
20804 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20805 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20806 # This bug is HP SR number 8606223364.
20807 { echo "$as_me:$LINENO: checking size of long" >&5
20808 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20809 if test "${ac_cv_sizeof_long+set}" = set; then
20810 echo $ECHO_N "(cached) $ECHO_C" >&6
20811 else
20812 if test "$cross_compiling" = yes; then
20813 # Depending upon the size, compute the lo and hi bounds.
20814 cat >conftest.$ac_ext <<_ACEOF
20815 /* confdefs.h. */
20816 _ACEOF
20817 cat confdefs.h >>conftest.$ac_ext
20818 cat >>conftest.$ac_ext <<_ACEOF
20819 /* end confdefs.h. */
20820 $ac_includes_default
20821 typedef long ac__type_sizeof_;
20822 int
20823 main ()
20824 {
20825 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20826 test_array [0] = 0
20827
20828 ;
20829 return 0;
20830 }
20831 _ACEOF
20832 rm -f conftest.$ac_objext
20833 if { (ac_try="$ac_compile"
20834 case "(($ac_try" in
20835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20836 *) ac_try_echo=$ac_try;;
20837 esac
20838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20839 (eval "$ac_compile") 2>conftest.er1
20840 ac_status=$?
20841 grep -v '^ *+' conftest.er1 >conftest.err
20842 rm -f conftest.er1
20843 cat conftest.err >&5
20844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20845 (exit $ac_status); } && {
20846 test -z "$ac_c_werror_flag" ||
20847 test ! -s conftest.err
20848 } && test -s conftest.$ac_objext; then
20849 ac_lo=0 ac_mid=0
20850 while :; do
20851 cat >conftest.$ac_ext <<_ACEOF
20852 /* confdefs.h. */
20853 _ACEOF
20854 cat confdefs.h >>conftest.$ac_ext
20855 cat >>conftest.$ac_ext <<_ACEOF
20856 /* end confdefs.h. */
20857 $ac_includes_default
20858 typedef long ac__type_sizeof_;
20859 int
20860 main ()
20861 {
20862 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20863 test_array [0] = 0
20864
20865 ;
20866 return 0;
20867 }
20868 _ACEOF
20869 rm -f conftest.$ac_objext
20870 if { (ac_try="$ac_compile"
20871 case "(($ac_try" in
20872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20873 *) ac_try_echo=$ac_try;;
20874 esac
20875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20876 (eval "$ac_compile") 2>conftest.er1
20877 ac_status=$?
20878 grep -v '^ *+' conftest.er1 >conftest.err
20879 rm -f conftest.er1
20880 cat conftest.err >&5
20881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20882 (exit $ac_status); } && {
20883 test -z "$ac_c_werror_flag" ||
20884 test ! -s conftest.err
20885 } && test -s conftest.$ac_objext; then
20886 ac_hi=$ac_mid; break
20887 else
20888 echo "$as_me: failed program was:" >&5
20889 sed 's/^/| /' conftest.$ac_ext >&5
20890
20891 ac_lo=`expr $ac_mid + 1`
20892 if test $ac_lo -le $ac_mid; then
20893 ac_lo= ac_hi=
20894 break
20895 fi
20896 ac_mid=`expr 2 '*' $ac_mid + 1`
20897 fi
20898
20899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20900 done
20901 else
20902 echo "$as_me: failed program was:" >&5
20903 sed 's/^/| /' conftest.$ac_ext >&5
20904
20905 cat >conftest.$ac_ext <<_ACEOF
20906 /* confdefs.h. */
20907 _ACEOF
20908 cat confdefs.h >>conftest.$ac_ext
20909 cat >>conftest.$ac_ext <<_ACEOF
20910 /* end confdefs.h. */
20911 $ac_includes_default
20912 typedef long ac__type_sizeof_;
20913 int
20914 main ()
20915 {
20916 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20917 test_array [0] = 0
20918
20919 ;
20920 return 0;
20921 }
20922 _ACEOF
20923 rm -f conftest.$ac_objext
20924 if { (ac_try="$ac_compile"
20925 case "(($ac_try" in
20926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20927 *) ac_try_echo=$ac_try;;
20928 esac
20929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20930 (eval "$ac_compile") 2>conftest.er1
20931 ac_status=$?
20932 grep -v '^ *+' conftest.er1 >conftest.err
20933 rm -f conftest.er1
20934 cat conftest.err >&5
20935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20936 (exit $ac_status); } && {
20937 test -z "$ac_c_werror_flag" ||
20938 test ! -s conftest.err
20939 } && test -s conftest.$ac_objext; then
20940 ac_hi=-1 ac_mid=-1
20941 while :; do
20942 cat >conftest.$ac_ext <<_ACEOF
20943 /* confdefs.h. */
20944 _ACEOF
20945 cat confdefs.h >>conftest.$ac_ext
20946 cat >>conftest.$ac_ext <<_ACEOF
20947 /* end confdefs.h. */
20948 $ac_includes_default
20949 typedef long ac__type_sizeof_;
20950 int
20951 main ()
20952 {
20953 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20954 test_array [0] = 0
20955
20956 ;
20957 return 0;
20958 }
20959 _ACEOF
20960 rm -f conftest.$ac_objext
20961 if { (ac_try="$ac_compile"
20962 case "(($ac_try" in
20963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20964 *) ac_try_echo=$ac_try;;
20965 esac
20966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20967 (eval "$ac_compile") 2>conftest.er1
20968 ac_status=$?
20969 grep -v '^ *+' conftest.er1 >conftest.err
20970 rm -f conftest.er1
20971 cat conftest.err >&5
20972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20973 (exit $ac_status); } && {
20974 test -z "$ac_c_werror_flag" ||
20975 test ! -s conftest.err
20976 } && test -s conftest.$ac_objext; then
20977 ac_lo=$ac_mid; break
20978 else
20979 echo "$as_me: failed program was:" >&5
20980 sed 's/^/| /' conftest.$ac_ext >&5
20981
20982 ac_hi=`expr '(' $ac_mid ')' - 1`
20983 if test $ac_mid -le $ac_hi; then
20984 ac_lo= ac_hi=
20985 break
20986 fi
20987 ac_mid=`expr 2 '*' $ac_mid`
20988 fi
20989
20990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20991 done
20992 else
20993 echo "$as_me: failed program was:" >&5
20994 sed 's/^/| /' conftest.$ac_ext >&5
20995
20996 ac_lo= ac_hi=
20997 fi
20998
20999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21000 fi
21001
21002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21003 # Binary search between lo and hi bounds.
21004 while test "x$ac_lo" != "x$ac_hi"; do
21005 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21006 cat >conftest.$ac_ext <<_ACEOF
21007 /* confdefs.h. */
21008 _ACEOF
21009 cat confdefs.h >>conftest.$ac_ext
21010 cat >>conftest.$ac_ext <<_ACEOF
21011 /* end confdefs.h. */
21012 $ac_includes_default
21013 typedef long ac__type_sizeof_;
21014 int
21015 main ()
21016 {
21017 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21018 test_array [0] = 0
21019
21020 ;
21021 return 0;
21022 }
21023 _ACEOF
21024 rm -f conftest.$ac_objext
21025 if { (ac_try="$ac_compile"
21026 case "(($ac_try" in
21027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21028 *) ac_try_echo=$ac_try;;
21029 esac
21030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21031 (eval "$ac_compile") 2>conftest.er1
21032 ac_status=$?
21033 grep -v '^ *+' conftest.er1 >conftest.err
21034 rm -f conftest.er1
21035 cat conftest.err >&5
21036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21037 (exit $ac_status); } && {
21038 test -z "$ac_c_werror_flag" ||
21039 test ! -s conftest.err
21040 } && test -s conftest.$ac_objext; then
21041 ac_hi=$ac_mid
21042 else
21043 echo "$as_me: failed program was:" >&5
21044 sed 's/^/| /' conftest.$ac_ext >&5
21045
21046 ac_lo=`expr '(' $ac_mid ')' + 1`
21047 fi
21048
21049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21050 done
21051 case $ac_lo in
21052 ?*) ac_cv_sizeof_long=$ac_lo;;
21053 '') if test "$ac_cv_type_long" = yes; then
21054 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21055 See \`config.log' for more details." >&5
21056 echo "$as_me: error: cannot compute sizeof (long)
21057 See \`config.log' for more details." >&2;}
21058 { (exit 77); exit 77; }; }
21059 else
21060 ac_cv_sizeof_long=0
21061 fi ;;
21062 esac
21063 else
21064 cat >conftest.$ac_ext <<_ACEOF
21065 /* confdefs.h. */
21066 _ACEOF
21067 cat confdefs.h >>conftest.$ac_ext
21068 cat >>conftest.$ac_ext <<_ACEOF
21069 /* end confdefs.h. */
21070 $ac_includes_default
21071 typedef long ac__type_sizeof_;
21072 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21073 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21074 #include <stdio.h>
21075 #include <stdlib.h>
21076 int
21077 main ()
21078 {
21079
21080 FILE *f = fopen ("conftest.val", "w");
21081 if (! f)
21082 return 1;
21083 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21084 {
21085 long int i = longval ();
21086 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21087 return 1;
21088 fprintf (f, "%ld\n", i);
21089 }
21090 else
21091 {
21092 unsigned long int i = ulongval ();
21093 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21094 return 1;
21095 fprintf (f, "%lu\n", i);
21096 }
21097 return ferror (f) || fclose (f) != 0;
21098
21099 ;
21100 return 0;
21101 }
21102 _ACEOF
21103 rm -f conftest$ac_exeext
21104 if { (ac_try="$ac_link"
21105 case "(($ac_try" in
21106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21107 *) ac_try_echo=$ac_try;;
21108 esac
21109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21110 (eval "$ac_link") 2>&5
21111 ac_status=$?
21112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21113 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21114 { (case "(($ac_try" in
21115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21116 *) ac_try_echo=$ac_try;;
21117 esac
21118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21119 (eval "$ac_try") 2>&5
21120 ac_status=$?
21121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21122 (exit $ac_status); }; }; then
21123 ac_cv_sizeof_long=`cat conftest.val`
21124 else
21125 echo "$as_me: program exited with status $ac_status" >&5
21126 echo "$as_me: failed program was:" >&5
21127 sed 's/^/| /' conftest.$ac_ext >&5
21128
21129 ( exit $ac_status )
21130 if test "$ac_cv_type_long" = yes; then
21131 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21132 See \`config.log' for more details." >&5
21133 echo "$as_me: error: cannot compute sizeof (long)
21134 See \`config.log' for more details." >&2;}
21135 { (exit 77); exit 77; }; }
21136 else
21137 ac_cv_sizeof_long=0
21138 fi
21139 fi
21140 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21141 fi
21142 rm -f conftest.val
21143 fi
21144 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21145 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21146
21147
21148
21149 cat >>confdefs.h <<_ACEOF
21150 #define SIZEOF_LONG $ac_cv_sizeof_long
21151 _ACEOF
21152
21153
21154 { echo "$as_me:$LINENO: checking for size_t" >&5
21155 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21156 if test "${ac_cv_type_size_t+set}" = set; then
21157 echo $ECHO_N "(cached) $ECHO_C" >&6
21158 else
21159 cat >conftest.$ac_ext <<_ACEOF
21160 /* confdefs.h. */
21161 _ACEOF
21162 cat confdefs.h >>conftest.$ac_ext
21163 cat >>conftest.$ac_ext <<_ACEOF
21164 /* end confdefs.h. */
21165 $ac_includes_default
21166 typedef size_t ac__type_new_;
21167 int
21168 main ()
21169 {
21170 if ((ac__type_new_ *) 0)
21171 return 0;
21172 if (sizeof (ac__type_new_))
21173 return 0;
21174 ;
21175 return 0;
21176 }
21177 _ACEOF
21178 rm -f conftest.$ac_objext
21179 if { (ac_try="$ac_compile"
21180 case "(($ac_try" in
21181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21182 *) ac_try_echo=$ac_try;;
21183 esac
21184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21185 (eval "$ac_compile") 2>conftest.er1
21186 ac_status=$?
21187 grep -v '^ *+' conftest.er1 >conftest.err
21188 rm -f conftest.er1
21189 cat conftest.err >&5
21190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21191 (exit $ac_status); } && {
21192 test -z "$ac_c_werror_flag" ||
21193 test ! -s conftest.err
21194 } && test -s conftest.$ac_objext; then
21195 ac_cv_type_size_t=yes
21196 else
21197 echo "$as_me: failed program was:" >&5
21198 sed 's/^/| /' conftest.$ac_ext >&5
21199
21200 ac_cv_type_size_t=no
21201 fi
21202
21203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21204 fi
21205 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21206 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21207
21208 # The cast to long int works around a bug in the HP C Compiler
21209 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21210 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21211 # This bug is HP SR number 8606223364.
21212 { echo "$as_me:$LINENO: checking size of size_t" >&5
21213 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21214 if test "${ac_cv_sizeof_size_t+set}" = set; then
21215 echo $ECHO_N "(cached) $ECHO_C" >&6
21216 else
21217 if test "$cross_compiling" = yes; then
21218 # Depending upon the size, compute the lo and hi bounds.
21219 cat >conftest.$ac_ext <<_ACEOF
21220 /* confdefs.h. */
21221 _ACEOF
21222 cat confdefs.h >>conftest.$ac_ext
21223 cat >>conftest.$ac_ext <<_ACEOF
21224 /* end confdefs.h. */
21225 $ac_includes_default
21226 typedef size_t ac__type_sizeof_;
21227 int
21228 main ()
21229 {
21230 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21231 test_array [0] = 0
21232
21233 ;
21234 return 0;
21235 }
21236 _ACEOF
21237 rm -f conftest.$ac_objext
21238 if { (ac_try="$ac_compile"
21239 case "(($ac_try" in
21240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21241 *) ac_try_echo=$ac_try;;
21242 esac
21243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21244 (eval "$ac_compile") 2>conftest.er1
21245 ac_status=$?
21246 grep -v '^ *+' conftest.er1 >conftest.err
21247 rm -f conftest.er1
21248 cat conftest.err >&5
21249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21250 (exit $ac_status); } && {
21251 test -z "$ac_c_werror_flag" ||
21252 test ! -s conftest.err
21253 } && test -s conftest.$ac_objext; then
21254 ac_lo=0 ac_mid=0
21255 while :; do
21256 cat >conftest.$ac_ext <<_ACEOF
21257 /* confdefs.h. */
21258 _ACEOF
21259 cat confdefs.h >>conftest.$ac_ext
21260 cat >>conftest.$ac_ext <<_ACEOF
21261 /* end confdefs.h. */
21262 $ac_includes_default
21263 typedef size_t ac__type_sizeof_;
21264 int
21265 main ()
21266 {
21267 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21268 test_array [0] = 0
21269
21270 ;
21271 return 0;
21272 }
21273 _ACEOF
21274 rm -f conftest.$ac_objext
21275 if { (ac_try="$ac_compile"
21276 case "(($ac_try" in
21277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21278 *) ac_try_echo=$ac_try;;
21279 esac
21280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21281 (eval "$ac_compile") 2>conftest.er1
21282 ac_status=$?
21283 grep -v '^ *+' conftest.er1 >conftest.err
21284 rm -f conftest.er1
21285 cat conftest.err >&5
21286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21287 (exit $ac_status); } && {
21288 test -z "$ac_c_werror_flag" ||
21289 test ! -s conftest.err
21290 } && test -s conftest.$ac_objext; then
21291 ac_hi=$ac_mid; break
21292 else
21293 echo "$as_me: failed program was:" >&5
21294 sed 's/^/| /' conftest.$ac_ext >&5
21295
21296 ac_lo=`expr $ac_mid + 1`
21297 if test $ac_lo -le $ac_mid; then
21298 ac_lo= ac_hi=
21299 break
21300 fi
21301 ac_mid=`expr 2 '*' $ac_mid + 1`
21302 fi
21303
21304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21305 done
21306 else
21307 echo "$as_me: failed program was:" >&5
21308 sed 's/^/| /' conftest.$ac_ext >&5
21309
21310 cat >conftest.$ac_ext <<_ACEOF
21311 /* confdefs.h. */
21312 _ACEOF
21313 cat confdefs.h >>conftest.$ac_ext
21314 cat >>conftest.$ac_ext <<_ACEOF
21315 /* end confdefs.h. */
21316 $ac_includes_default
21317 typedef size_t ac__type_sizeof_;
21318 int
21319 main ()
21320 {
21321 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21322 test_array [0] = 0
21323
21324 ;
21325 return 0;
21326 }
21327 _ACEOF
21328 rm -f conftest.$ac_objext
21329 if { (ac_try="$ac_compile"
21330 case "(($ac_try" in
21331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21332 *) ac_try_echo=$ac_try;;
21333 esac
21334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21335 (eval "$ac_compile") 2>conftest.er1
21336 ac_status=$?
21337 grep -v '^ *+' conftest.er1 >conftest.err
21338 rm -f conftest.er1
21339 cat conftest.err >&5
21340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21341 (exit $ac_status); } && {
21342 test -z "$ac_c_werror_flag" ||
21343 test ! -s conftest.err
21344 } && test -s conftest.$ac_objext; then
21345 ac_hi=-1 ac_mid=-1
21346 while :; do
21347 cat >conftest.$ac_ext <<_ACEOF
21348 /* confdefs.h. */
21349 _ACEOF
21350 cat confdefs.h >>conftest.$ac_ext
21351 cat >>conftest.$ac_ext <<_ACEOF
21352 /* end confdefs.h. */
21353 $ac_includes_default
21354 typedef size_t ac__type_sizeof_;
21355 int
21356 main ()
21357 {
21358 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21359 test_array [0] = 0
21360
21361 ;
21362 return 0;
21363 }
21364 _ACEOF
21365 rm -f conftest.$ac_objext
21366 if { (ac_try="$ac_compile"
21367 case "(($ac_try" in
21368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21369 *) ac_try_echo=$ac_try;;
21370 esac
21371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21372 (eval "$ac_compile") 2>conftest.er1
21373 ac_status=$?
21374 grep -v '^ *+' conftest.er1 >conftest.err
21375 rm -f conftest.er1
21376 cat conftest.err >&5
21377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21378 (exit $ac_status); } && {
21379 test -z "$ac_c_werror_flag" ||
21380 test ! -s conftest.err
21381 } && test -s conftest.$ac_objext; then
21382 ac_lo=$ac_mid; break
21383 else
21384 echo "$as_me: failed program was:" >&5
21385 sed 's/^/| /' conftest.$ac_ext >&5
21386
21387 ac_hi=`expr '(' $ac_mid ')' - 1`
21388 if test $ac_mid -le $ac_hi; then
21389 ac_lo= ac_hi=
21390 break
21391 fi
21392 ac_mid=`expr 2 '*' $ac_mid`
21393 fi
21394
21395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21396 done
21397 else
21398 echo "$as_me: failed program was:" >&5
21399 sed 's/^/| /' conftest.$ac_ext >&5
21400
21401 ac_lo= ac_hi=
21402 fi
21403
21404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21405 fi
21406
21407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21408 # Binary search between lo and hi bounds.
21409 while test "x$ac_lo" != "x$ac_hi"; do
21410 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21411 cat >conftest.$ac_ext <<_ACEOF
21412 /* confdefs.h. */
21413 _ACEOF
21414 cat confdefs.h >>conftest.$ac_ext
21415 cat >>conftest.$ac_ext <<_ACEOF
21416 /* end confdefs.h. */
21417 $ac_includes_default
21418 typedef size_t ac__type_sizeof_;
21419 int
21420 main ()
21421 {
21422 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21423 test_array [0] = 0
21424
21425 ;
21426 return 0;
21427 }
21428 _ACEOF
21429 rm -f conftest.$ac_objext
21430 if { (ac_try="$ac_compile"
21431 case "(($ac_try" in
21432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21433 *) ac_try_echo=$ac_try;;
21434 esac
21435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21436 (eval "$ac_compile") 2>conftest.er1
21437 ac_status=$?
21438 grep -v '^ *+' conftest.er1 >conftest.err
21439 rm -f conftest.er1
21440 cat conftest.err >&5
21441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21442 (exit $ac_status); } && {
21443 test -z "$ac_c_werror_flag" ||
21444 test ! -s conftest.err
21445 } && test -s conftest.$ac_objext; then
21446 ac_hi=$ac_mid
21447 else
21448 echo "$as_me: failed program was:" >&5
21449 sed 's/^/| /' conftest.$ac_ext >&5
21450
21451 ac_lo=`expr '(' $ac_mid ')' + 1`
21452 fi
21453
21454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21455 done
21456 case $ac_lo in
21457 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21458 '') if test "$ac_cv_type_size_t" = yes; then
21459 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21460 See \`config.log' for more details." >&5
21461 echo "$as_me: error: cannot compute sizeof (size_t)
21462 See \`config.log' for more details." >&2;}
21463 { (exit 77); exit 77; }; }
21464 else
21465 ac_cv_sizeof_size_t=0
21466 fi ;;
21467 esac
21468 else
21469 cat >conftest.$ac_ext <<_ACEOF
21470 /* confdefs.h. */
21471 _ACEOF
21472 cat confdefs.h >>conftest.$ac_ext
21473 cat >>conftest.$ac_ext <<_ACEOF
21474 /* end confdefs.h. */
21475 $ac_includes_default
21476 typedef size_t ac__type_sizeof_;
21477 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21478 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21479 #include <stdio.h>
21480 #include <stdlib.h>
21481 int
21482 main ()
21483 {
21484
21485 FILE *f = fopen ("conftest.val", "w");
21486 if (! f)
21487 return 1;
21488 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21489 {
21490 long int i = longval ();
21491 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21492 return 1;
21493 fprintf (f, "%ld\n", i);
21494 }
21495 else
21496 {
21497 unsigned long int i = ulongval ();
21498 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21499 return 1;
21500 fprintf (f, "%lu\n", i);
21501 }
21502 return ferror (f) || fclose (f) != 0;
21503
21504 ;
21505 return 0;
21506 }
21507 _ACEOF
21508 rm -f conftest$ac_exeext
21509 if { (ac_try="$ac_link"
21510 case "(($ac_try" in
21511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21512 *) ac_try_echo=$ac_try;;
21513 esac
21514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21515 (eval "$ac_link") 2>&5
21516 ac_status=$?
21517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21518 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21519 { (case "(($ac_try" in
21520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21521 *) ac_try_echo=$ac_try;;
21522 esac
21523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21524 (eval "$ac_try") 2>&5
21525 ac_status=$?
21526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21527 (exit $ac_status); }; }; then
21528 ac_cv_sizeof_size_t=`cat conftest.val`
21529 else
21530 echo "$as_me: program exited with status $ac_status" >&5
21531 echo "$as_me: failed program was:" >&5
21532 sed 's/^/| /' conftest.$ac_ext >&5
21533
21534 ( exit $ac_status )
21535 if test "$ac_cv_type_size_t" = yes; then
21536 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21537 See \`config.log' for more details." >&5
21538 echo "$as_me: error: cannot compute sizeof (size_t)
21539 See \`config.log' for more details." >&2;}
21540 { (exit 77); exit 77; }; }
21541 else
21542 ac_cv_sizeof_size_t=0
21543 fi
21544 fi
21545 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21546 fi
21547 rm -f conftest.val
21548 fi
21549 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21550 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21551
21552
21553
21554 cat >>confdefs.h <<_ACEOF
21555 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21556 _ACEOF
21557
21558
21559
21560 case "${host}" in
21561 arm-*-linux* )
21562 { echo "$as_me:$LINENO: checking for long long" >&5
21563 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21564 if test "${ac_cv_type_long_long+set}" = set; then
21565 echo $ECHO_N "(cached) $ECHO_C" >&6
21566 else
21567 cat >conftest.$ac_ext <<_ACEOF
21568 /* confdefs.h. */
21569 _ACEOF
21570 cat confdefs.h >>conftest.$ac_ext
21571 cat >>conftest.$ac_ext <<_ACEOF
21572 /* end confdefs.h. */
21573 $ac_includes_default
21574 typedef long long ac__type_new_;
21575 int
21576 main ()
21577 {
21578 if ((ac__type_new_ *) 0)
21579 return 0;
21580 if (sizeof (ac__type_new_))
21581 return 0;
21582 ;
21583 return 0;
21584 }
21585 _ACEOF
21586 rm -f conftest.$ac_objext
21587 if { (ac_try="$ac_compile"
21588 case "(($ac_try" in
21589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21590 *) ac_try_echo=$ac_try;;
21591 esac
21592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21593 (eval "$ac_compile") 2>conftest.er1
21594 ac_status=$?
21595 grep -v '^ *+' conftest.er1 >conftest.err
21596 rm -f conftest.er1
21597 cat conftest.err >&5
21598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21599 (exit $ac_status); } && {
21600 test -z "$ac_c_werror_flag" ||
21601 test ! -s conftest.err
21602 } && test -s conftest.$ac_objext; then
21603 ac_cv_type_long_long=yes
21604 else
21605 echo "$as_me: failed program was:" >&5
21606 sed 's/^/| /' conftest.$ac_ext >&5
21607
21608 ac_cv_type_long_long=no
21609 fi
21610
21611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21612 fi
21613 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21614 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21615
21616 # The cast to long int works around a bug in the HP C Compiler
21617 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21618 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21619 # This bug is HP SR number 8606223364.
21620 { echo "$as_me:$LINENO: checking size of long long" >&5
21621 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21622 if test "${ac_cv_sizeof_long_long+set}" = set; then
21623 echo $ECHO_N "(cached) $ECHO_C" >&6
21624 else
21625 if test "$cross_compiling" = yes; then
21626 # Depending upon the size, compute the lo and hi bounds.
21627 cat >conftest.$ac_ext <<_ACEOF
21628 /* confdefs.h. */
21629 _ACEOF
21630 cat confdefs.h >>conftest.$ac_ext
21631 cat >>conftest.$ac_ext <<_ACEOF
21632 /* end confdefs.h. */
21633 $ac_includes_default
21634 typedef long long ac__type_sizeof_;
21635 int
21636 main ()
21637 {
21638 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21639 test_array [0] = 0
21640
21641 ;
21642 return 0;
21643 }
21644 _ACEOF
21645 rm -f conftest.$ac_objext
21646 if { (ac_try="$ac_compile"
21647 case "(($ac_try" in
21648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21649 *) ac_try_echo=$ac_try;;
21650 esac
21651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21652 (eval "$ac_compile") 2>conftest.er1
21653 ac_status=$?
21654 grep -v '^ *+' conftest.er1 >conftest.err
21655 rm -f conftest.er1
21656 cat conftest.err >&5
21657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21658 (exit $ac_status); } && {
21659 test -z "$ac_c_werror_flag" ||
21660 test ! -s conftest.err
21661 } && test -s conftest.$ac_objext; then
21662 ac_lo=0 ac_mid=0
21663 while :; do
21664 cat >conftest.$ac_ext <<_ACEOF
21665 /* confdefs.h. */
21666 _ACEOF
21667 cat confdefs.h >>conftest.$ac_ext
21668 cat >>conftest.$ac_ext <<_ACEOF
21669 /* end confdefs.h. */
21670 $ac_includes_default
21671 typedef long long ac__type_sizeof_;
21672 int
21673 main ()
21674 {
21675 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21676 test_array [0] = 0
21677
21678 ;
21679 return 0;
21680 }
21681 _ACEOF
21682 rm -f conftest.$ac_objext
21683 if { (ac_try="$ac_compile"
21684 case "(($ac_try" in
21685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21686 *) ac_try_echo=$ac_try;;
21687 esac
21688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21689 (eval "$ac_compile") 2>conftest.er1
21690 ac_status=$?
21691 grep -v '^ *+' conftest.er1 >conftest.err
21692 rm -f conftest.er1
21693 cat conftest.err >&5
21694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21695 (exit $ac_status); } && {
21696 test -z "$ac_c_werror_flag" ||
21697 test ! -s conftest.err
21698 } && test -s conftest.$ac_objext; then
21699 ac_hi=$ac_mid; break
21700 else
21701 echo "$as_me: failed program was:" >&5
21702 sed 's/^/| /' conftest.$ac_ext >&5
21703
21704 ac_lo=`expr $ac_mid + 1`
21705 if test $ac_lo -le $ac_mid; then
21706 ac_lo= ac_hi=
21707 break
21708 fi
21709 ac_mid=`expr 2 '*' $ac_mid + 1`
21710 fi
21711
21712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21713 done
21714 else
21715 echo "$as_me: failed program was:" >&5
21716 sed 's/^/| /' conftest.$ac_ext >&5
21717
21718 cat >conftest.$ac_ext <<_ACEOF
21719 /* confdefs.h. */
21720 _ACEOF
21721 cat confdefs.h >>conftest.$ac_ext
21722 cat >>conftest.$ac_ext <<_ACEOF
21723 /* end confdefs.h. */
21724 $ac_includes_default
21725 typedef long long ac__type_sizeof_;
21726 int
21727 main ()
21728 {
21729 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21730 test_array [0] = 0
21731
21732 ;
21733 return 0;
21734 }
21735 _ACEOF
21736 rm -f conftest.$ac_objext
21737 if { (ac_try="$ac_compile"
21738 case "(($ac_try" in
21739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21740 *) ac_try_echo=$ac_try;;
21741 esac
21742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21743 (eval "$ac_compile") 2>conftest.er1
21744 ac_status=$?
21745 grep -v '^ *+' conftest.er1 >conftest.err
21746 rm -f conftest.er1
21747 cat conftest.err >&5
21748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21749 (exit $ac_status); } && {
21750 test -z "$ac_c_werror_flag" ||
21751 test ! -s conftest.err
21752 } && test -s conftest.$ac_objext; then
21753 ac_hi=-1 ac_mid=-1
21754 while :; do
21755 cat >conftest.$ac_ext <<_ACEOF
21756 /* confdefs.h. */
21757 _ACEOF
21758 cat confdefs.h >>conftest.$ac_ext
21759 cat >>conftest.$ac_ext <<_ACEOF
21760 /* end confdefs.h. */
21761 $ac_includes_default
21762 typedef long long ac__type_sizeof_;
21763 int
21764 main ()
21765 {
21766 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21767 test_array [0] = 0
21768
21769 ;
21770 return 0;
21771 }
21772 _ACEOF
21773 rm -f conftest.$ac_objext
21774 if { (ac_try="$ac_compile"
21775 case "(($ac_try" in
21776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21777 *) ac_try_echo=$ac_try;;
21778 esac
21779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21780 (eval "$ac_compile") 2>conftest.er1
21781 ac_status=$?
21782 grep -v '^ *+' conftest.er1 >conftest.err
21783 rm -f conftest.er1
21784 cat conftest.err >&5
21785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21786 (exit $ac_status); } && {
21787 test -z "$ac_c_werror_flag" ||
21788 test ! -s conftest.err
21789 } && test -s conftest.$ac_objext; then
21790 ac_lo=$ac_mid; break
21791 else
21792 echo "$as_me: failed program was:" >&5
21793 sed 's/^/| /' conftest.$ac_ext >&5
21794
21795 ac_hi=`expr '(' $ac_mid ')' - 1`
21796 if test $ac_mid -le $ac_hi; then
21797 ac_lo= ac_hi=
21798 break
21799 fi
21800 ac_mid=`expr 2 '*' $ac_mid`
21801 fi
21802
21803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21804 done
21805 else
21806 echo "$as_me: failed program was:" >&5
21807 sed 's/^/| /' conftest.$ac_ext >&5
21808
21809 ac_lo= ac_hi=
21810 fi
21811
21812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21813 fi
21814
21815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21816 # Binary search between lo and hi bounds.
21817 while test "x$ac_lo" != "x$ac_hi"; do
21818 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21819 cat >conftest.$ac_ext <<_ACEOF
21820 /* confdefs.h. */
21821 _ACEOF
21822 cat confdefs.h >>conftest.$ac_ext
21823 cat >>conftest.$ac_ext <<_ACEOF
21824 /* end confdefs.h. */
21825 $ac_includes_default
21826 typedef long long ac__type_sizeof_;
21827 int
21828 main ()
21829 {
21830 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21831 test_array [0] = 0
21832
21833 ;
21834 return 0;
21835 }
21836 _ACEOF
21837 rm -f conftest.$ac_objext
21838 if { (ac_try="$ac_compile"
21839 case "(($ac_try" in
21840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21841 *) ac_try_echo=$ac_try;;
21842 esac
21843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21844 (eval "$ac_compile") 2>conftest.er1
21845 ac_status=$?
21846 grep -v '^ *+' conftest.er1 >conftest.err
21847 rm -f conftest.er1
21848 cat conftest.err >&5
21849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21850 (exit $ac_status); } && {
21851 test -z "$ac_c_werror_flag" ||
21852 test ! -s conftest.err
21853 } && test -s conftest.$ac_objext; then
21854 ac_hi=$ac_mid
21855 else
21856 echo "$as_me: failed program was:" >&5
21857 sed 's/^/| /' conftest.$ac_ext >&5
21858
21859 ac_lo=`expr '(' $ac_mid ')' + 1`
21860 fi
21861
21862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21863 done
21864 case $ac_lo in
21865 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21866 '') if test "$ac_cv_type_long_long" = yes; then
21867 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21868 See \`config.log' for more details." >&5
21869 echo "$as_me: error: cannot compute sizeof (long long)
21870 See \`config.log' for more details." >&2;}
21871 { (exit 77); exit 77; }; }
21872 else
21873 ac_cv_sizeof_long_long=0
21874 fi ;;
21875 esac
21876 else
21877 cat >conftest.$ac_ext <<_ACEOF
21878 /* confdefs.h. */
21879 _ACEOF
21880 cat confdefs.h >>conftest.$ac_ext
21881 cat >>conftest.$ac_ext <<_ACEOF
21882 /* end confdefs.h. */
21883 $ac_includes_default
21884 typedef long long ac__type_sizeof_;
21885 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21886 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21887 #include <stdio.h>
21888 #include <stdlib.h>
21889 int
21890 main ()
21891 {
21892
21893 FILE *f = fopen ("conftest.val", "w");
21894 if (! f)
21895 return 1;
21896 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21897 {
21898 long int i = longval ();
21899 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21900 return 1;
21901 fprintf (f, "%ld\n", i);
21902 }
21903 else
21904 {
21905 unsigned long int i = ulongval ();
21906 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21907 return 1;
21908 fprintf (f, "%lu\n", i);
21909 }
21910 return ferror (f) || fclose (f) != 0;
21911
21912 ;
21913 return 0;
21914 }
21915 _ACEOF
21916 rm -f conftest$ac_exeext
21917 if { (ac_try="$ac_link"
21918 case "(($ac_try" in
21919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21920 *) ac_try_echo=$ac_try;;
21921 esac
21922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21923 (eval "$ac_link") 2>&5
21924 ac_status=$?
21925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21926 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21927 { (case "(($ac_try" in
21928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21929 *) ac_try_echo=$ac_try;;
21930 esac
21931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21932 (eval "$ac_try") 2>&5
21933 ac_status=$?
21934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21935 (exit $ac_status); }; }; then
21936 ac_cv_sizeof_long_long=`cat conftest.val`
21937 else
21938 echo "$as_me: program exited with status $ac_status" >&5
21939 echo "$as_me: failed program was:" >&5
21940 sed 's/^/| /' conftest.$ac_ext >&5
21941
21942 ( exit $ac_status )
21943 if test "$ac_cv_type_long_long" = yes; then
21944 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21945 See \`config.log' for more details." >&5
21946 echo "$as_me: error: cannot compute sizeof (long long)
21947 See \`config.log' for more details." >&2;}
21948 { (exit 77); exit 77; }; }
21949 else
21950 ac_cv_sizeof_long_long=0
21951 fi
21952 fi
21953 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21954 fi
21955 rm -f conftest.val
21956 fi
21957 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21958 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21959
21960
21961
21962 cat >>confdefs.h <<_ACEOF
21963 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21964 _ACEOF
21965
21966
21967 ;;
21968 *-hp-hpux* )
21969 { echo "$as_me:$LINENO: checking for long long" >&5
21970 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21971 if test "${ac_cv_type_long_long+set}" = set; then
21972 echo $ECHO_N "(cached) $ECHO_C" >&6
21973 else
21974 cat >conftest.$ac_ext <<_ACEOF
21975 /* confdefs.h. */
21976 _ACEOF
21977 cat confdefs.h >>conftest.$ac_ext
21978 cat >>conftest.$ac_ext <<_ACEOF
21979 /* end confdefs.h. */
21980 $ac_includes_default
21981 typedef long long ac__type_new_;
21982 int
21983 main ()
21984 {
21985 if ((ac__type_new_ *) 0)
21986 return 0;
21987 if (sizeof (ac__type_new_))
21988 return 0;
21989 ;
21990 return 0;
21991 }
21992 _ACEOF
21993 rm -f conftest.$ac_objext
21994 if { (ac_try="$ac_compile"
21995 case "(($ac_try" in
21996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21997 *) ac_try_echo=$ac_try;;
21998 esac
21999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22000 (eval "$ac_compile") 2>conftest.er1
22001 ac_status=$?
22002 grep -v '^ *+' conftest.er1 >conftest.err
22003 rm -f conftest.er1
22004 cat conftest.err >&5
22005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22006 (exit $ac_status); } && {
22007 test -z "$ac_c_werror_flag" ||
22008 test ! -s conftest.err
22009 } && test -s conftest.$ac_objext; then
22010 ac_cv_type_long_long=yes
22011 else
22012 echo "$as_me: failed program was:" >&5
22013 sed 's/^/| /' conftest.$ac_ext >&5
22014
22015 ac_cv_type_long_long=no
22016 fi
22017
22018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22019 fi
22020 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22021 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22022
22023 # The cast to long int works around a bug in the HP C Compiler
22024 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22025 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22026 # This bug is HP SR number 8606223364.
22027 { echo "$as_me:$LINENO: checking size of long long" >&5
22028 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22029 if test "${ac_cv_sizeof_long_long+set}" = set; then
22030 echo $ECHO_N "(cached) $ECHO_C" >&6
22031 else
22032 if test "$cross_compiling" = yes; then
22033 # Depending upon the size, compute the lo and hi bounds.
22034 cat >conftest.$ac_ext <<_ACEOF
22035 /* confdefs.h. */
22036 _ACEOF
22037 cat confdefs.h >>conftest.$ac_ext
22038 cat >>conftest.$ac_ext <<_ACEOF
22039 /* end confdefs.h. */
22040 $ac_includes_default
22041 typedef long long ac__type_sizeof_;
22042 int
22043 main ()
22044 {
22045 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22046 test_array [0] = 0
22047
22048 ;
22049 return 0;
22050 }
22051 _ACEOF
22052 rm -f conftest.$ac_objext
22053 if { (ac_try="$ac_compile"
22054 case "(($ac_try" in
22055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22056 *) ac_try_echo=$ac_try;;
22057 esac
22058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22059 (eval "$ac_compile") 2>conftest.er1
22060 ac_status=$?
22061 grep -v '^ *+' conftest.er1 >conftest.err
22062 rm -f conftest.er1
22063 cat conftest.err >&5
22064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22065 (exit $ac_status); } && {
22066 test -z "$ac_c_werror_flag" ||
22067 test ! -s conftest.err
22068 } && test -s conftest.$ac_objext; then
22069 ac_lo=0 ac_mid=0
22070 while :; do
22071 cat >conftest.$ac_ext <<_ACEOF
22072 /* confdefs.h. */
22073 _ACEOF
22074 cat confdefs.h >>conftest.$ac_ext
22075 cat >>conftest.$ac_ext <<_ACEOF
22076 /* end confdefs.h. */
22077 $ac_includes_default
22078 typedef long long ac__type_sizeof_;
22079 int
22080 main ()
22081 {
22082 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22083 test_array [0] = 0
22084
22085 ;
22086 return 0;
22087 }
22088 _ACEOF
22089 rm -f conftest.$ac_objext
22090 if { (ac_try="$ac_compile"
22091 case "(($ac_try" in
22092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22093 *) ac_try_echo=$ac_try;;
22094 esac
22095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22096 (eval "$ac_compile") 2>conftest.er1
22097 ac_status=$?
22098 grep -v '^ *+' conftest.er1 >conftest.err
22099 rm -f conftest.er1
22100 cat conftest.err >&5
22101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22102 (exit $ac_status); } && {
22103 test -z "$ac_c_werror_flag" ||
22104 test ! -s conftest.err
22105 } && test -s conftest.$ac_objext; then
22106 ac_hi=$ac_mid; break
22107 else
22108 echo "$as_me: failed program was:" >&5
22109 sed 's/^/| /' conftest.$ac_ext >&5
22110
22111 ac_lo=`expr $ac_mid + 1`
22112 if test $ac_lo -le $ac_mid; then
22113 ac_lo= ac_hi=
22114 break
22115 fi
22116 ac_mid=`expr 2 '*' $ac_mid + 1`
22117 fi
22118
22119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22120 done
22121 else
22122 echo "$as_me: failed program was:" >&5
22123 sed 's/^/| /' conftest.$ac_ext >&5
22124
22125 cat >conftest.$ac_ext <<_ACEOF
22126 /* confdefs.h. */
22127 _ACEOF
22128 cat confdefs.h >>conftest.$ac_ext
22129 cat >>conftest.$ac_ext <<_ACEOF
22130 /* end confdefs.h. */
22131 $ac_includes_default
22132 typedef long long ac__type_sizeof_;
22133 int
22134 main ()
22135 {
22136 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22137 test_array [0] = 0
22138
22139 ;
22140 return 0;
22141 }
22142 _ACEOF
22143 rm -f conftest.$ac_objext
22144 if { (ac_try="$ac_compile"
22145 case "(($ac_try" in
22146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22147 *) ac_try_echo=$ac_try;;
22148 esac
22149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22150 (eval "$ac_compile") 2>conftest.er1
22151 ac_status=$?
22152 grep -v '^ *+' conftest.er1 >conftest.err
22153 rm -f conftest.er1
22154 cat conftest.err >&5
22155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22156 (exit $ac_status); } && {
22157 test -z "$ac_c_werror_flag" ||
22158 test ! -s conftest.err
22159 } && test -s conftest.$ac_objext; then
22160 ac_hi=-1 ac_mid=-1
22161 while :; do
22162 cat >conftest.$ac_ext <<_ACEOF
22163 /* confdefs.h. */
22164 _ACEOF
22165 cat confdefs.h >>conftest.$ac_ext
22166 cat >>conftest.$ac_ext <<_ACEOF
22167 /* end confdefs.h. */
22168 $ac_includes_default
22169 typedef long long ac__type_sizeof_;
22170 int
22171 main ()
22172 {
22173 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22174 test_array [0] = 0
22175
22176 ;
22177 return 0;
22178 }
22179 _ACEOF
22180 rm -f conftest.$ac_objext
22181 if { (ac_try="$ac_compile"
22182 case "(($ac_try" in
22183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22184 *) ac_try_echo=$ac_try;;
22185 esac
22186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22187 (eval "$ac_compile") 2>conftest.er1
22188 ac_status=$?
22189 grep -v '^ *+' conftest.er1 >conftest.err
22190 rm -f conftest.er1
22191 cat conftest.err >&5
22192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22193 (exit $ac_status); } && {
22194 test -z "$ac_c_werror_flag" ||
22195 test ! -s conftest.err
22196 } && test -s conftest.$ac_objext; then
22197 ac_lo=$ac_mid; break
22198 else
22199 echo "$as_me: failed program was:" >&5
22200 sed 's/^/| /' conftest.$ac_ext >&5
22201
22202 ac_hi=`expr '(' $ac_mid ')' - 1`
22203 if test $ac_mid -le $ac_hi; then
22204 ac_lo= ac_hi=
22205 break
22206 fi
22207 ac_mid=`expr 2 '*' $ac_mid`
22208 fi
22209
22210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22211 done
22212 else
22213 echo "$as_me: failed program was:" >&5
22214 sed 's/^/| /' conftest.$ac_ext >&5
22215
22216 ac_lo= ac_hi=
22217 fi
22218
22219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22220 fi
22221
22222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22223 # Binary search between lo and hi bounds.
22224 while test "x$ac_lo" != "x$ac_hi"; do
22225 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22226 cat >conftest.$ac_ext <<_ACEOF
22227 /* confdefs.h. */
22228 _ACEOF
22229 cat confdefs.h >>conftest.$ac_ext
22230 cat >>conftest.$ac_ext <<_ACEOF
22231 /* end confdefs.h. */
22232 $ac_includes_default
22233 typedef long long ac__type_sizeof_;
22234 int
22235 main ()
22236 {
22237 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22238 test_array [0] = 0
22239
22240 ;
22241 return 0;
22242 }
22243 _ACEOF
22244 rm -f conftest.$ac_objext
22245 if { (ac_try="$ac_compile"
22246 case "(($ac_try" in
22247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22248 *) ac_try_echo=$ac_try;;
22249 esac
22250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22251 (eval "$ac_compile") 2>conftest.er1
22252 ac_status=$?
22253 grep -v '^ *+' conftest.er1 >conftest.err
22254 rm -f conftest.er1
22255 cat conftest.err >&5
22256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22257 (exit $ac_status); } && {
22258 test -z "$ac_c_werror_flag" ||
22259 test ! -s conftest.err
22260 } && test -s conftest.$ac_objext; then
22261 ac_hi=$ac_mid
22262 else
22263 echo "$as_me: failed program was:" >&5
22264 sed 's/^/| /' conftest.$ac_ext >&5
22265
22266 ac_lo=`expr '(' $ac_mid ')' + 1`
22267 fi
22268
22269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22270 done
22271 case $ac_lo in
22272 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22273 '') if test "$ac_cv_type_long_long" = yes; then
22274 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22275 See \`config.log' for more details." >&5
22276 echo "$as_me: error: cannot compute sizeof (long long)
22277 See \`config.log' for more details." >&2;}
22278 { (exit 77); exit 77; }; }
22279 else
22280 ac_cv_sizeof_long_long=0
22281 fi ;;
22282 esac
22283 else
22284 cat >conftest.$ac_ext <<_ACEOF
22285 /* confdefs.h. */
22286 _ACEOF
22287 cat confdefs.h >>conftest.$ac_ext
22288 cat >>conftest.$ac_ext <<_ACEOF
22289 /* end confdefs.h. */
22290 $ac_includes_default
22291 typedef long long ac__type_sizeof_;
22292 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22293 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22294 #include <stdio.h>
22295 #include <stdlib.h>
22296 int
22297 main ()
22298 {
22299
22300 FILE *f = fopen ("conftest.val", "w");
22301 if (! f)
22302 return 1;
22303 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22304 {
22305 long int i = longval ();
22306 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22307 return 1;
22308 fprintf (f, "%ld\n", i);
22309 }
22310 else
22311 {
22312 unsigned long int i = ulongval ();
22313 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22314 return 1;
22315 fprintf (f, "%lu\n", i);
22316 }
22317 return ferror (f) || fclose (f) != 0;
22318
22319 ;
22320 return 0;
22321 }
22322 _ACEOF
22323 rm -f conftest$ac_exeext
22324 if { (ac_try="$ac_link"
22325 case "(($ac_try" in
22326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22327 *) ac_try_echo=$ac_try;;
22328 esac
22329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22330 (eval "$ac_link") 2>&5
22331 ac_status=$?
22332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22333 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22334 { (case "(($ac_try" in
22335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22336 *) ac_try_echo=$ac_try;;
22337 esac
22338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22339 (eval "$ac_try") 2>&5
22340 ac_status=$?
22341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22342 (exit $ac_status); }; }; then
22343 ac_cv_sizeof_long_long=`cat conftest.val`
22344 else
22345 echo "$as_me: program exited with status $ac_status" >&5
22346 echo "$as_me: failed program was:" >&5
22347 sed 's/^/| /' conftest.$ac_ext >&5
22348
22349 ( exit $ac_status )
22350 if test "$ac_cv_type_long_long" = yes; then
22351 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22352 See \`config.log' for more details." >&5
22353 echo "$as_me: error: cannot compute sizeof (long long)
22354 See \`config.log' for more details." >&2;}
22355 { (exit 77); exit 77; }; }
22356 else
22357 ac_cv_sizeof_long_long=0
22358 fi
22359 fi
22360 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22361 fi
22362 rm -f conftest.val
22363 fi
22364 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22365 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22366
22367
22368
22369 cat >>confdefs.h <<_ACEOF
22370 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22371 _ACEOF
22372
22373
22374 if test "$ac_cv_sizeof_long_long" != 0; then
22375 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22376 fi
22377 ;;
22378 * )
22379 { echo "$as_me:$LINENO: checking for long long" >&5
22380 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22381 if test "${ac_cv_type_long_long+set}" = set; then
22382 echo $ECHO_N "(cached) $ECHO_C" >&6
22383 else
22384 cat >conftest.$ac_ext <<_ACEOF
22385 /* confdefs.h. */
22386 _ACEOF
22387 cat confdefs.h >>conftest.$ac_ext
22388 cat >>conftest.$ac_ext <<_ACEOF
22389 /* end confdefs.h. */
22390 $ac_includes_default
22391 typedef long long ac__type_new_;
22392 int
22393 main ()
22394 {
22395 if ((ac__type_new_ *) 0)
22396 return 0;
22397 if (sizeof (ac__type_new_))
22398 return 0;
22399 ;
22400 return 0;
22401 }
22402 _ACEOF
22403 rm -f conftest.$ac_objext
22404 if { (ac_try="$ac_compile"
22405 case "(($ac_try" in
22406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22407 *) ac_try_echo=$ac_try;;
22408 esac
22409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22410 (eval "$ac_compile") 2>conftest.er1
22411 ac_status=$?
22412 grep -v '^ *+' conftest.er1 >conftest.err
22413 rm -f conftest.er1
22414 cat conftest.err >&5
22415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22416 (exit $ac_status); } && {
22417 test -z "$ac_c_werror_flag" ||
22418 test ! -s conftest.err
22419 } && test -s conftest.$ac_objext; then
22420 ac_cv_type_long_long=yes
22421 else
22422 echo "$as_me: failed program was:" >&5
22423 sed 's/^/| /' conftest.$ac_ext >&5
22424
22425 ac_cv_type_long_long=no
22426 fi
22427
22428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22429 fi
22430 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22431 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22432
22433 # The cast to long int works around a bug in the HP C Compiler
22434 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22435 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22436 # This bug is HP SR number 8606223364.
22437 { echo "$as_me:$LINENO: checking size of long long" >&5
22438 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22439 if test "${ac_cv_sizeof_long_long+set}" = set; then
22440 echo $ECHO_N "(cached) $ECHO_C" >&6
22441 else
22442 if test "$cross_compiling" = yes; then
22443 # Depending upon the size, compute the lo and hi bounds.
22444 cat >conftest.$ac_ext <<_ACEOF
22445 /* confdefs.h. */
22446 _ACEOF
22447 cat confdefs.h >>conftest.$ac_ext
22448 cat >>conftest.$ac_ext <<_ACEOF
22449 /* end confdefs.h. */
22450 $ac_includes_default
22451 typedef long long ac__type_sizeof_;
22452 int
22453 main ()
22454 {
22455 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22456 test_array [0] = 0
22457
22458 ;
22459 return 0;
22460 }
22461 _ACEOF
22462 rm -f conftest.$ac_objext
22463 if { (ac_try="$ac_compile"
22464 case "(($ac_try" in
22465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22466 *) ac_try_echo=$ac_try;;
22467 esac
22468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22469 (eval "$ac_compile") 2>conftest.er1
22470 ac_status=$?
22471 grep -v '^ *+' conftest.er1 >conftest.err
22472 rm -f conftest.er1
22473 cat conftest.err >&5
22474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22475 (exit $ac_status); } && {
22476 test -z "$ac_c_werror_flag" ||
22477 test ! -s conftest.err
22478 } && test -s conftest.$ac_objext; then
22479 ac_lo=0 ac_mid=0
22480 while :; do
22481 cat >conftest.$ac_ext <<_ACEOF
22482 /* confdefs.h. */
22483 _ACEOF
22484 cat confdefs.h >>conftest.$ac_ext
22485 cat >>conftest.$ac_ext <<_ACEOF
22486 /* end confdefs.h. */
22487 $ac_includes_default
22488 typedef long long ac__type_sizeof_;
22489 int
22490 main ()
22491 {
22492 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22493 test_array [0] = 0
22494
22495 ;
22496 return 0;
22497 }
22498 _ACEOF
22499 rm -f conftest.$ac_objext
22500 if { (ac_try="$ac_compile"
22501 case "(($ac_try" in
22502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22503 *) ac_try_echo=$ac_try;;
22504 esac
22505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22506 (eval "$ac_compile") 2>conftest.er1
22507 ac_status=$?
22508 grep -v '^ *+' conftest.er1 >conftest.err
22509 rm -f conftest.er1
22510 cat conftest.err >&5
22511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22512 (exit $ac_status); } && {
22513 test -z "$ac_c_werror_flag" ||
22514 test ! -s conftest.err
22515 } && test -s conftest.$ac_objext; then
22516 ac_hi=$ac_mid; break
22517 else
22518 echo "$as_me: failed program was:" >&5
22519 sed 's/^/| /' conftest.$ac_ext >&5
22520
22521 ac_lo=`expr $ac_mid + 1`
22522 if test $ac_lo -le $ac_mid; then
22523 ac_lo= ac_hi=
22524 break
22525 fi
22526 ac_mid=`expr 2 '*' $ac_mid + 1`
22527 fi
22528
22529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22530 done
22531 else
22532 echo "$as_me: failed program was:" >&5
22533 sed 's/^/| /' conftest.$ac_ext >&5
22534
22535 cat >conftest.$ac_ext <<_ACEOF
22536 /* confdefs.h. */
22537 _ACEOF
22538 cat confdefs.h >>conftest.$ac_ext
22539 cat >>conftest.$ac_ext <<_ACEOF
22540 /* end confdefs.h. */
22541 $ac_includes_default
22542 typedef long long ac__type_sizeof_;
22543 int
22544 main ()
22545 {
22546 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22547 test_array [0] = 0
22548
22549 ;
22550 return 0;
22551 }
22552 _ACEOF
22553 rm -f conftest.$ac_objext
22554 if { (ac_try="$ac_compile"
22555 case "(($ac_try" in
22556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22557 *) ac_try_echo=$ac_try;;
22558 esac
22559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22560 (eval "$ac_compile") 2>conftest.er1
22561 ac_status=$?
22562 grep -v '^ *+' conftest.er1 >conftest.err
22563 rm -f conftest.er1
22564 cat conftest.err >&5
22565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22566 (exit $ac_status); } && {
22567 test -z "$ac_c_werror_flag" ||
22568 test ! -s conftest.err
22569 } && test -s conftest.$ac_objext; then
22570 ac_hi=-1 ac_mid=-1
22571 while :; do
22572 cat >conftest.$ac_ext <<_ACEOF
22573 /* confdefs.h. */
22574 _ACEOF
22575 cat confdefs.h >>conftest.$ac_ext
22576 cat >>conftest.$ac_ext <<_ACEOF
22577 /* end confdefs.h. */
22578 $ac_includes_default
22579 typedef long long ac__type_sizeof_;
22580 int
22581 main ()
22582 {
22583 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22584 test_array [0] = 0
22585
22586 ;
22587 return 0;
22588 }
22589 _ACEOF
22590 rm -f conftest.$ac_objext
22591 if { (ac_try="$ac_compile"
22592 case "(($ac_try" in
22593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22594 *) ac_try_echo=$ac_try;;
22595 esac
22596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22597 (eval "$ac_compile") 2>conftest.er1
22598 ac_status=$?
22599 grep -v '^ *+' conftest.er1 >conftest.err
22600 rm -f conftest.er1
22601 cat conftest.err >&5
22602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22603 (exit $ac_status); } && {
22604 test -z "$ac_c_werror_flag" ||
22605 test ! -s conftest.err
22606 } && test -s conftest.$ac_objext; then
22607 ac_lo=$ac_mid; break
22608 else
22609 echo "$as_me: failed program was:" >&5
22610 sed 's/^/| /' conftest.$ac_ext >&5
22611
22612 ac_hi=`expr '(' $ac_mid ')' - 1`
22613 if test $ac_mid -le $ac_hi; then
22614 ac_lo= ac_hi=
22615 break
22616 fi
22617 ac_mid=`expr 2 '*' $ac_mid`
22618 fi
22619
22620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22621 done
22622 else
22623 echo "$as_me: failed program was:" >&5
22624 sed 's/^/| /' conftest.$ac_ext >&5
22625
22626 ac_lo= ac_hi=
22627 fi
22628
22629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22630 fi
22631
22632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22633 # Binary search between lo and hi bounds.
22634 while test "x$ac_lo" != "x$ac_hi"; do
22635 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22636 cat >conftest.$ac_ext <<_ACEOF
22637 /* confdefs.h. */
22638 _ACEOF
22639 cat confdefs.h >>conftest.$ac_ext
22640 cat >>conftest.$ac_ext <<_ACEOF
22641 /* end confdefs.h. */
22642 $ac_includes_default
22643 typedef long long ac__type_sizeof_;
22644 int
22645 main ()
22646 {
22647 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22648 test_array [0] = 0
22649
22650 ;
22651 return 0;
22652 }
22653 _ACEOF
22654 rm -f conftest.$ac_objext
22655 if { (ac_try="$ac_compile"
22656 case "(($ac_try" in
22657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22658 *) ac_try_echo=$ac_try;;
22659 esac
22660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22661 (eval "$ac_compile") 2>conftest.er1
22662 ac_status=$?
22663 grep -v '^ *+' conftest.er1 >conftest.err
22664 rm -f conftest.er1
22665 cat conftest.err >&5
22666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22667 (exit $ac_status); } && {
22668 test -z "$ac_c_werror_flag" ||
22669 test ! -s conftest.err
22670 } && test -s conftest.$ac_objext; then
22671 ac_hi=$ac_mid
22672 else
22673 echo "$as_me: failed program was:" >&5
22674 sed 's/^/| /' conftest.$ac_ext >&5
22675
22676 ac_lo=`expr '(' $ac_mid ')' + 1`
22677 fi
22678
22679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22680 done
22681 case $ac_lo in
22682 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22683 '') if test "$ac_cv_type_long_long" = yes; then
22684 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22685 See \`config.log' for more details." >&5
22686 echo "$as_me: error: cannot compute sizeof (long long)
22687 See \`config.log' for more details." >&2;}
22688 { (exit 77); exit 77; }; }
22689 else
22690 ac_cv_sizeof_long_long=0
22691 fi ;;
22692 esac
22693 else
22694 cat >conftest.$ac_ext <<_ACEOF
22695 /* confdefs.h. */
22696 _ACEOF
22697 cat confdefs.h >>conftest.$ac_ext
22698 cat >>conftest.$ac_ext <<_ACEOF
22699 /* end confdefs.h. */
22700 $ac_includes_default
22701 typedef long long ac__type_sizeof_;
22702 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22703 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22704 #include <stdio.h>
22705 #include <stdlib.h>
22706 int
22707 main ()
22708 {
22709
22710 FILE *f = fopen ("conftest.val", "w");
22711 if (! f)
22712 return 1;
22713 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22714 {
22715 long int i = longval ();
22716 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22717 return 1;
22718 fprintf (f, "%ld\n", i);
22719 }
22720 else
22721 {
22722 unsigned long int i = ulongval ();
22723 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22724 return 1;
22725 fprintf (f, "%lu\n", i);
22726 }
22727 return ferror (f) || fclose (f) != 0;
22728
22729 ;
22730 return 0;
22731 }
22732 _ACEOF
22733 rm -f conftest$ac_exeext
22734 if { (ac_try="$ac_link"
22735 case "(($ac_try" in
22736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22737 *) ac_try_echo=$ac_try;;
22738 esac
22739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22740 (eval "$ac_link") 2>&5
22741 ac_status=$?
22742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22743 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22744 { (case "(($ac_try" in
22745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22746 *) ac_try_echo=$ac_try;;
22747 esac
22748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22749 (eval "$ac_try") 2>&5
22750 ac_status=$?
22751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22752 (exit $ac_status); }; }; then
22753 ac_cv_sizeof_long_long=`cat conftest.val`
22754 else
22755 echo "$as_me: program exited with status $ac_status" >&5
22756 echo "$as_me: failed program was:" >&5
22757 sed 's/^/| /' conftest.$ac_ext >&5
22758
22759 ( exit $ac_status )
22760 if test "$ac_cv_type_long_long" = yes; then
22761 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22762 See \`config.log' for more details." >&5
22763 echo "$as_me: error: cannot compute sizeof (long long)
22764 See \`config.log' for more details." >&2;}
22765 { (exit 77); exit 77; }; }
22766 else
22767 ac_cv_sizeof_long_long=0
22768 fi
22769 fi
22770 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22771 fi
22772 rm -f conftest.val
22773 fi
22774 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22775 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22776
22777
22778
22779 cat >>confdefs.h <<_ACEOF
22780 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22781 _ACEOF
22782
22783
22784 esac
22785
22786 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22787 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22788 if test "${ac_cv_type_wchar_t+set}" = set; then
22789 echo $ECHO_N "(cached) $ECHO_C" >&6
22790 else
22791 cat >conftest.$ac_ext <<_ACEOF
22792 /* confdefs.h. */
22793 _ACEOF
22794 cat confdefs.h >>conftest.$ac_ext
22795 cat >>conftest.$ac_ext <<_ACEOF
22796 /* end confdefs.h. */
22797
22798 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22799 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22800 # error "fake wchar_t"
22801 #endif
22802 #ifdef HAVE_WCHAR_H
22803 # ifdef __CYGWIN__
22804 # include <stddef.h>
22805 # endif
22806 # include <wchar.h>
22807 #endif
22808 #ifdef HAVE_STDLIB_H
22809 # include <stdlib.h>
22810 #endif
22811 #include <stdio.h>
22812
22813
22814
22815 typedef wchar_t ac__type_new_;
22816 int
22817 main ()
22818 {
22819 if ((ac__type_new_ *) 0)
22820 return 0;
22821 if (sizeof (ac__type_new_))
22822 return 0;
22823 ;
22824 return 0;
22825 }
22826 _ACEOF
22827 rm -f conftest.$ac_objext
22828 if { (ac_try="$ac_compile"
22829 case "(($ac_try" in
22830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22831 *) ac_try_echo=$ac_try;;
22832 esac
22833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22834 (eval "$ac_compile") 2>conftest.er1
22835 ac_status=$?
22836 grep -v '^ *+' conftest.er1 >conftest.err
22837 rm -f conftest.er1
22838 cat conftest.err >&5
22839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22840 (exit $ac_status); } && {
22841 test -z "$ac_c_werror_flag" ||
22842 test ! -s conftest.err
22843 } && test -s conftest.$ac_objext; then
22844 ac_cv_type_wchar_t=yes
22845 else
22846 echo "$as_me: failed program was:" >&5
22847 sed 's/^/| /' conftest.$ac_ext >&5
22848
22849 ac_cv_type_wchar_t=no
22850 fi
22851
22852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22853 fi
22854 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22855 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22856
22857 # The cast to long int works around a bug in the HP C Compiler
22858 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22859 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22860 # This bug is HP SR number 8606223364.
22861 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22862 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22863 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22864 echo $ECHO_N "(cached) $ECHO_C" >&6
22865 else
22866 if test "$cross_compiling" = yes; then
22867 # Depending upon the size, compute the lo and hi bounds.
22868 cat >conftest.$ac_ext <<_ACEOF
22869 /* confdefs.h. */
22870 _ACEOF
22871 cat confdefs.h >>conftest.$ac_ext
22872 cat >>conftest.$ac_ext <<_ACEOF
22873 /* end confdefs.h. */
22874
22875 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22876 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22877 # error "fake wchar_t"
22878 #endif
22879 #ifdef HAVE_WCHAR_H
22880 # ifdef __CYGWIN__
22881 # include <stddef.h>
22882 # endif
22883 # include <wchar.h>
22884 #endif
22885 #ifdef HAVE_STDLIB_H
22886 # include <stdlib.h>
22887 #endif
22888 #include <stdio.h>
22889
22890
22891
22892 typedef wchar_t ac__type_sizeof_;
22893 int
22894 main ()
22895 {
22896 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22897 test_array [0] = 0
22898
22899 ;
22900 return 0;
22901 }
22902 _ACEOF
22903 rm -f conftest.$ac_objext
22904 if { (ac_try="$ac_compile"
22905 case "(($ac_try" in
22906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22907 *) ac_try_echo=$ac_try;;
22908 esac
22909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22910 (eval "$ac_compile") 2>conftest.er1
22911 ac_status=$?
22912 grep -v '^ *+' conftest.er1 >conftest.err
22913 rm -f conftest.er1
22914 cat conftest.err >&5
22915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22916 (exit $ac_status); } && {
22917 test -z "$ac_c_werror_flag" ||
22918 test ! -s conftest.err
22919 } && test -s conftest.$ac_objext; then
22920 ac_lo=0 ac_mid=0
22921 while :; do
22922 cat >conftest.$ac_ext <<_ACEOF
22923 /* confdefs.h. */
22924 _ACEOF
22925 cat confdefs.h >>conftest.$ac_ext
22926 cat >>conftest.$ac_ext <<_ACEOF
22927 /* end confdefs.h. */
22928
22929 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22930 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22931 # error "fake wchar_t"
22932 #endif
22933 #ifdef HAVE_WCHAR_H
22934 # ifdef __CYGWIN__
22935 # include <stddef.h>
22936 # endif
22937 # include <wchar.h>
22938 #endif
22939 #ifdef HAVE_STDLIB_H
22940 # include <stdlib.h>
22941 #endif
22942 #include <stdio.h>
22943
22944
22945
22946 typedef wchar_t ac__type_sizeof_;
22947 int
22948 main ()
22949 {
22950 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22951 test_array [0] = 0
22952
22953 ;
22954 return 0;
22955 }
22956 _ACEOF
22957 rm -f conftest.$ac_objext
22958 if { (ac_try="$ac_compile"
22959 case "(($ac_try" in
22960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22961 *) ac_try_echo=$ac_try;;
22962 esac
22963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22964 (eval "$ac_compile") 2>conftest.er1
22965 ac_status=$?
22966 grep -v '^ *+' conftest.er1 >conftest.err
22967 rm -f conftest.er1
22968 cat conftest.err >&5
22969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22970 (exit $ac_status); } && {
22971 test -z "$ac_c_werror_flag" ||
22972 test ! -s conftest.err
22973 } && test -s conftest.$ac_objext; then
22974 ac_hi=$ac_mid; break
22975 else
22976 echo "$as_me: failed program was:" >&5
22977 sed 's/^/| /' conftest.$ac_ext >&5
22978
22979 ac_lo=`expr $ac_mid + 1`
22980 if test $ac_lo -le $ac_mid; then
22981 ac_lo= ac_hi=
22982 break
22983 fi
22984 ac_mid=`expr 2 '*' $ac_mid + 1`
22985 fi
22986
22987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22988 done
22989 else
22990 echo "$as_me: failed program was:" >&5
22991 sed 's/^/| /' conftest.$ac_ext >&5
22992
22993 cat >conftest.$ac_ext <<_ACEOF
22994 /* confdefs.h. */
22995 _ACEOF
22996 cat confdefs.h >>conftest.$ac_ext
22997 cat >>conftest.$ac_ext <<_ACEOF
22998 /* end confdefs.h. */
22999
23000 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23001 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23002 # error "fake wchar_t"
23003 #endif
23004 #ifdef HAVE_WCHAR_H
23005 # ifdef __CYGWIN__
23006 # include <stddef.h>
23007 # endif
23008 # include <wchar.h>
23009 #endif
23010 #ifdef HAVE_STDLIB_H
23011 # include <stdlib.h>
23012 #endif
23013 #include <stdio.h>
23014
23015
23016
23017 typedef wchar_t ac__type_sizeof_;
23018 int
23019 main ()
23020 {
23021 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23022 test_array [0] = 0
23023
23024 ;
23025 return 0;
23026 }
23027 _ACEOF
23028 rm -f conftest.$ac_objext
23029 if { (ac_try="$ac_compile"
23030 case "(($ac_try" in
23031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23032 *) ac_try_echo=$ac_try;;
23033 esac
23034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23035 (eval "$ac_compile") 2>conftest.er1
23036 ac_status=$?
23037 grep -v '^ *+' conftest.er1 >conftest.err
23038 rm -f conftest.er1
23039 cat conftest.err >&5
23040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23041 (exit $ac_status); } && {
23042 test -z "$ac_c_werror_flag" ||
23043 test ! -s conftest.err
23044 } && test -s conftest.$ac_objext; then
23045 ac_hi=-1 ac_mid=-1
23046 while :; do
23047 cat >conftest.$ac_ext <<_ACEOF
23048 /* confdefs.h. */
23049 _ACEOF
23050 cat confdefs.h >>conftest.$ac_ext
23051 cat >>conftest.$ac_ext <<_ACEOF
23052 /* end confdefs.h. */
23053
23054 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23055 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23056 # error "fake wchar_t"
23057 #endif
23058 #ifdef HAVE_WCHAR_H
23059 # ifdef __CYGWIN__
23060 # include <stddef.h>
23061 # endif
23062 # include <wchar.h>
23063 #endif
23064 #ifdef HAVE_STDLIB_H
23065 # include <stdlib.h>
23066 #endif
23067 #include <stdio.h>
23068
23069
23070
23071 typedef wchar_t ac__type_sizeof_;
23072 int
23073 main ()
23074 {
23075 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23076 test_array [0] = 0
23077
23078 ;
23079 return 0;
23080 }
23081 _ACEOF
23082 rm -f conftest.$ac_objext
23083 if { (ac_try="$ac_compile"
23084 case "(($ac_try" in
23085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23086 *) ac_try_echo=$ac_try;;
23087 esac
23088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23089 (eval "$ac_compile") 2>conftest.er1
23090 ac_status=$?
23091 grep -v '^ *+' conftest.er1 >conftest.err
23092 rm -f conftest.er1
23093 cat conftest.err >&5
23094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23095 (exit $ac_status); } && {
23096 test -z "$ac_c_werror_flag" ||
23097 test ! -s conftest.err
23098 } && test -s conftest.$ac_objext; then
23099 ac_lo=$ac_mid; break
23100 else
23101 echo "$as_me: failed program was:" >&5
23102 sed 's/^/| /' conftest.$ac_ext >&5
23103
23104 ac_hi=`expr '(' $ac_mid ')' - 1`
23105 if test $ac_mid -le $ac_hi; then
23106 ac_lo= ac_hi=
23107 break
23108 fi
23109 ac_mid=`expr 2 '*' $ac_mid`
23110 fi
23111
23112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23113 done
23114 else
23115 echo "$as_me: failed program was:" >&5
23116 sed 's/^/| /' conftest.$ac_ext >&5
23117
23118 ac_lo= ac_hi=
23119 fi
23120
23121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23122 fi
23123
23124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23125 # Binary search between lo and hi bounds.
23126 while test "x$ac_lo" != "x$ac_hi"; do
23127 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23128 cat >conftest.$ac_ext <<_ACEOF
23129 /* confdefs.h. */
23130 _ACEOF
23131 cat confdefs.h >>conftest.$ac_ext
23132 cat >>conftest.$ac_ext <<_ACEOF
23133 /* end confdefs.h. */
23134
23135 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23136 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23137 # error "fake wchar_t"
23138 #endif
23139 #ifdef HAVE_WCHAR_H
23140 # ifdef __CYGWIN__
23141 # include <stddef.h>
23142 # endif
23143 # include <wchar.h>
23144 #endif
23145 #ifdef HAVE_STDLIB_H
23146 # include <stdlib.h>
23147 #endif
23148 #include <stdio.h>
23149
23150
23151
23152 typedef wchar_t ac__type_sizeof_;
23153 int
23154 main ()
23155 {
23156 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23157 test_array [0] = 0
23158
23159 ;
23160 return 0;
23161 }
23162 _ACEOF
23163 rm -f conftest.$ac_objext
23164 if { (ac_try="$ac_compile"
23165 case "(($ac_try" in
23166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23167 *) ac_try_echo=$ac_try;;
23168 esac
23169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23170 (eval "$ac_compile") 2>conftest.er1
23171 ac_status=$?
23172 grep -v '^ *+' conftest.er1 >conftest.err
23173 rm -f conftest.er1
23174 cat conftest.err >&5
23175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23176 (exit $ac_status); } && {
23177 test -z "$ac_c_werror_flag" ||
23178 test ! -s conftest.err
23179 } && test -s conftest.$ac_objext; then
23180 ac_hi=$ac_mid
23181 else
23182 echo "$as_me: failed program was:" >&5
23183 sed 's/^/| /' conftest.$ac_ext >&5
23184
23185 ac_lo=`expr '(' $ac_mid ')' + 1`
23186 fi
23187
23188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23189 done
23190 case $ac_lo in
23191 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23192 '') if test "$ac_cv_type_wchar_t" = yes; then
23193 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23194 See \`config.log' for more details." >&5
23195 echo "$as_me: error: cannot compute sizeof (wchar_t)
23196 See \`config.log' for more details." >&2;}
23197 { (exit 77); exit 77; }; }
23198 else
23199 ac_cv_sizeof_wchar_t=0
23200 fi ;;
23201 esac
23202 else
23203 cat >conftest.$ac_ext <<_ACEOF
23204 /* confdefs.h. */
23205 _ACEOF
23206 cat confdefs.h >>conftest.$ac_ext
23207 cat >>conftest.$ac_ext <<_ACEOF
23208 /* end confdefs.h. */
23209
23210 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23211 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23212 # error "fake wchar_t"
23213 #endif
23214 #ifdef HAVE_WCHAR_H
23215 # ifdef __CYGWIN__
23216 # include <stddef.h>
23217 # endif
23218 # include <wchar.h>
23219 #endif
23220 #ifdef HAVE_STDLIB_H
23221 # include <stdlib.h>
23222 #endif
23223 #include <stdio.h>
23224
23225
23226
23227 typedef wchar_t ac__type_sizeof_;
23228 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23229 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23230 #include <stdio.h>
23231 #include <stdlib.h>
23232 int
23233 main ()
23234 {
23235
23236 FILE *f = fopen ("conftest.val", "w");
23237 if (! f)
23238 return 1;
23239 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23240 {
23241 long int i = longval ();
23242 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23243 return 1;
23244 fprintf (f, "%ld\n", i);
23245 }
23246 else
23247 {
23248 unsigned long int i = ulongval ();
23249 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23250 return 1;
23251 fprintf (f, "%lu\n", i);
23252 }
23253 return ferror (f) || fclose (f) != 0;
23254
23255 ;
23256 return 0;
23257 }
23258 _ACEOF
23259 rm -f conftest$ac_exeext
23260 if { (ac_try="$ac_link"
23261 case "(($ac_try" in
23262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23263 *) ac_try_echo=$ac_try;;
23264 esac
23265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23266 (eval "$ac_link") 2>&5
23267 ac_status=$?
23268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23269 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23270 { (case "(($ac_try" in
23271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23272 *) ac_try_echo=$ac_try;;
23273 esac
23274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23275 (eval "$ac_try") 2>&5
23276 ac_status=$?
23277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23278 (exit $ac_status); }; }; then
23279 ac_cv_sizeof_wchar_t=`cat conftest.val`
23280 else
23281 echo "$as_me: program exited with status $ac_status" >&5
23282 echo "$as_me: failed program was:" >&5
23283 sed 's/^/| /' conftest.$ac_ext >&5
23284
23285 ( exit $ac_status )
23286 if test "$ac_cv_type_wchar_t" = yes; then
23287 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23288 See \`config.log' for more details." >&5
23289 echo "$as_me: error: cannot compute sizeof (wchar_t)
23290 See \`config.log' for more details." >&2;}
23291 { (exit 77); exit 77; }; }
23292 else
23293 ac_cv_sizeof_wchar_t=0
23294 fi
23295 fi
23296 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23297 fi
23298 rm -f conftest.val
23299 fi
23300 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23301 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23302
23303
23304
23305 cat >>confdefs.h <<_ACEOF
23306 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23307 _ACEOF
23308
23309
23310 if test "$ac_cv_sizeof_wchar_t" != 0; then
23311 wxUSE_WCHAR_T=yes
23312 else
23313 wxUSE_WCHAR_T=no
23314 fi
23315
23316 { echo "$as_me:$LINENO: checking for va_copy" >&5
23317 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23318 if test "${wx_cv_func_va_copy+set}" = set; then
23319 echo $ECHO_N "(cached) $ECHO_C" >&6
23320 else
23321
23322 ac_ext=cpp
23323 ac_cpp='$CXXCPP $CPPFLAGS'
23324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23327
23328 cat >conftest.$ac_ext <<_ACEOF
23329
23330 #include <stdarg.h>
23331 void foo(char *f, ...)
23332 {
23333 va_list ap1, ap2;
23334 va_start(ap1, f);
23335 va_copy(ap2, ap1);
23336 va_end(ap2);
23337 va_end(ap1);
23338 }
23339 int main()
23340 {
23341 foo("hi", 17);
23342 return 0;
23343 }
23344 _ACEOF
23345 rm -f conftest.$ac_objext conftest$ac_exeext
23346 if { (ac_try="$ac_link"
23347 case "(($ac_try" in
23348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23349 *) ac_try_echo=$ac_try;;
23350 esac
23351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23352 (eval "$ac_link") 2>conftest.er1
23353 ac_status=$?
23354 grep -v '^ *+' conftest.er1 >conftest.err
23355 rm -f conftest.er1
23356 cat conftest.err >&5
23357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23358 (exit $ac_status); } && {
23359 test -z "$ac_cxx_werror_flag" ||
23360 test ! -s conftest.err
23361 } && test -s conftest$ac_exeext &&
23362 $as_test_x conftest$ac_exeext; then
23363 wx_cv_func_va_copy=yes
23364 else
23365 echo "$as_me: failed program was:" >&5
23366 sed 's/^/| /' conftest.$ac_ext >&5
23367
23368 wx_cv_func_va_copy=no
23369
23370 fi
23371
23372 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23373 conftest$ac_exeext conftest.$ac_ext
23374 ac_ext=c
23375 ac_cpp='$CPP $CPPFLAGS'
23376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23379
23380
23381
23382 fi
23383 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23384 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23385
23386 if test $wx_cv_func_va_copy = "yes"; then
23387 cat >>confdefs.h <<\_ACEOF
23388 #define HAVE_VA_COPY 1
23389 _ACEOF
23390
23391 else
23392 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23393 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23394 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23395 echo $ECHO_N "(cached) $ECHO_C" >&6
23396 else
23397
23398 if test "$cross_compiling" = yes; then
23399 wx_cv_type_va_list_lvalue=yes
23400
23401 else
23402 cat >conftest.$ac_ext <<_ACEOF
23403
23404 #include <stdarg.h>
23405 int foo(char *f, ...)
23406 {
23407 va_list ap1, ap2;
23408 va_start(ap1, f);
23409 ap2 = ap1;
23410 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23411 return 1;
23412 va_end(ap2);
23413 va_end(ap1);
23414 return 0;
23415 }
23416 int main()
23417 {
23418 return foo("hi", 17);
23419 }
23420 _ACEOF
23421 rm -f conftest$ac_exeext
23422 if { (ac_try="$ac_link"
23423 case "(($ac_try" in
23424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23425 *) ac_try_echo=$ac_try;;
23426 esac
23427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23428 (eval "$ac_link") 2>&5
23429 ac_status=$?
23430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23431 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23432 { (case "(($ac_try" in
23433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23434 *) ac_try_echo=$ac_try;;
23435 esac
23436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23437 (eval "$ac_try") 2>&5
23438 ac_status=$?
23439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23440 (exit $ac_status); }; }; then
23441 wx_cv_type_va_list_lvalue=yes
23442 else
23443 echo "$as_me: program exited with status $ac_status" >&5
23444 echo "$as_me: failed program was:" >&5
23445 sed 's/^/| /' conftest.$ac_ext >&5
23446
23447 ( exit $ac_status )
23448 wx_cv_type_va_list_lvalue=no
23449 fi
23450 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23451 fi
23452
23453
23454
23455
23456 fi
23457 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23458 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23459
23460 if test $wx_cv_type_va_list_lvalue != "yes"; then
23461 cat >>confdefs.h <<\_ACEOF
23462 #define VA_LIST_IS_ARRAY 1
23463 _ACEOF
23464
23465 fi
23466 fi
23467
23468 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23469
23470 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23471 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23472 if test "${wx_cv_have_variadic_macros+set}" = set; then
23473 echo $ECHO_N "(cached) $ECHO_C" >&6
23474 else
23475
23476 ac_ext=cpp
23477 ac_cpp='$CXXCPP $CPPFLAGS'
23478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23481
23482 cat >conftest.$ac_ext <<_ACEOF
23483 /* confdefs.h. */
23484 _ACEOF
23485 cat confdefs.h >>conftest.$ac_ext
23486 cat >>conftest.$ac_ext <<_ACEOF
23487 /* end confdefs.h. */
23488
23489 #include <stdio.h>
23490 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23491
23492 int
23493 main ()
23494 {
23495
23496 test("%s %d %p", "test", 1, 0);
23497
23498
23499 ;
23500 return 0;
23501 }
23502 _ACEOF
23503 rm -f conftest.$ac_objext
23504 if { (ac_try="$ac_compile"
23505 case "(($ac_try" in
23506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23507 *) ac_try_echo=$ac_try;;
23508 esac
23509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23510 (eval "$ac_compile") 2>conftest.er1
23511 ac_status=$?
23512 grep -v '^ *+' conftest.er1 >conftest.err
23513 rm -f conftest.er1
23514 cat conftest.err >&5
23515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23516 (exit $ac_status); } && {
23517 test -z "$ac_cxx_werror_flag" ||
23518 test ! -s conftest.err
23519 } && test -s conftest.$ac_objext; then
23520 wx_cv_have_variadic_macros=yes
23521 else
23522 echo "$as_me: failed program was:" >&5
23523 sed 's/^/| /' conftest.$ac_ext >&5
23524
23525 wx_cv_have_variadic_macros=no
23526
23527 fi
23528
23529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23530 ac_ext=c
23531 ac_cpp='$CPP $CPPFLAGS'
23532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23535
23536
23537
23538 fi
23539 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23540 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23541
23542 if test $wx_cv_have_variadic_macros = "yes"; then
23543 cat >>confdefs.h <<\_ACEOF
23544 #define HAVE_VARIADIC_MACROS 1
23545 _ACEOF
23546
23547 fi
23548
23549 fi
23550
23551 LARGEFILE_CPPFLAGS=
23552 # Check whether --enable-largefile was given.
23553 if test "${enable_largefile+set}" = set; then
23554 enableval=$enable_largefile;
23555 fi
23556
23557 if test "$enable_largefile" != no; then
23558 wx_largefile=no
23559
23560 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23561 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23562 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23563 echo $ECHO_N "(cached) $ECHO_C" >&6
23564 else
23565
23566 cat >conftest.$ac_ext <<_ACEOF
23567 /* confdefs.h. */
23568 _ACEOF
23569 cat confdefs.h >>conftest.$ac_ext
23570 cat >>conftest.$ac_ext <<_ACEOF
23571 /* end confdefs.h. */
23572 #define _FILE_OFFSET_BITS 64
23573 #include <sys/types.h>
23574 int
23575 main ()
23576 {
23577 typedef struct {
23578 unsigned int field: sizeof(off_t) == 8;
23579 } wxlf;
23580
23581 ;
23582 return 0;
23583 }
23584 _ACEOF
23585 rm -f conftest.$ac_objext
23586 if { (ac_try="$ac_compile"
23587 case "(($ac_try" in
23588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23589 *) ac_try_echo=$ac_try;;
23590 esac
23591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23592 (eval "$ac_compile") 2>conftest.er1
23593 ac_status=$?
23594 grep -v '^ *+' conftest.er1 >conftest.err
23595 rm -f conftest.er1
23596 cat conftest.err >&5
23597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23598 (exit $ac_status); } && {
23599 test -z "$ac_c_werror_flag" ||
23600 test ! -s conftest.err
23601 } && test -s conftest.$ac_objext; then
23602 ac_cv_sys_file_offset_bits=64
23603 else
23604 echo "$as_me: failed program was:" >&5
23605 sed 's/^/| /' conftest.$ac_ext >&5
23606
23607 ac_cv_sys_file_offset_bits=no
23608 fi
23609
23610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23611
23612
23613 fi
23614 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23615 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23616
23617 if test "$ac_cv_sys_file_offset_bits" != no; then
23618 wx_largefile=yes
23619 cat >>confdefs.h <<_ACEOF
23620 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23621 _ACEOF
23622
23623 fi
23624
23625 if test "x$wx_largefile" != "xyes"; then
23626
23627 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23628 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23629 if test "${ac_cv_sys_large_files+set}" = set; then
23630 echo $ECHO_N "(cached) $ECHO_C" >&6
23631 else
23632
23633 cat >conftest.$ac_ext <<_ACEOF
23634 /* confdefs.h. */
23635 _ACEOF
23636 cat confdefs.h >>conftest.$ac_ext
23637 cat >>conftest.$ac_ext <<_ACEOF
23638 /* end confdefs.h. */
23639 #define _LARGE_FILES 1
23640 #include <sys/types.h>
23641 int
23642 main ()
23643 {
23644 typedef struct {
23645 unsigned int field: sizeof(off_t) == 8;
23646 } wxlf;
23647
23648 ;
23649 return 0;
23650 }
23651 _ACEOF
23652 rm -f conftest.$ac_objext
23653 if { (ac_try="$ac_compile"
23654 case "(($ac_try" in
23655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23656 *) ac_try_echo=$ac_try;;
23657 esac
23658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23659 (eval "$ac_compile") 2>conftest.er1
23660 ac_status=$?
23661 grep -v '^ *+' conftest.er1 >conftest.err
23662 rm -f conftest.er1
23663 cat conftest.err >&5
23664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23665 (exit $ac_status); } && {
23666 test -z "$ac_c_werror_flag" ||
23667 test ! -s conftest.err
23668 } && test -s conftest.$ac_objext; then
23669 ac_cv_sys_large_files=1
23670 else
23671 echo "$as_me: failed program was:" >&5
23672 sed 's/^/| /' conftest.$ac_ext >&5
23673
23674 ac_cv_sys_large_files=no
23675 fi
23676
23677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23678
23679
23680 fi
23681 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23682 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23683
23684 if test "$ac_cv_sys_large_files" != no; then
23685 wx_largefile=yes
23686 cat >>confdefs.h <<_ACEOF
23687 #define _LARGE_FILES $ac_cv_sys_large_files
23688 _ACEOF
23689
23690 fi
23691
23692 fi
23693
23694 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23695 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23696 if test "x$wx_largefile" = "xyes"; then
23697 cat >>confdefs.h <<\_ACEOF
23698 #define HAVE_LARGEFILE_SUPPORT 1
23699 _ACEOF
23700
23701 fi
23702 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23703 echo "${ECHO_T}$wx_largefile" >&6; }
23704 fi
23705
23706 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23707 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23708 elif test "$ac_cv_sys_large_files" = 1; then
23709 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23710 fi
23711
23712 if test -n "$LARGEFILE_CPPFLAGS"; then
23713 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23714
23715 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23716 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23717 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23718 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23719 echo $ECHO_N "(cached) $ECHO_C" >&6
23720 else
23721
23722 ac_ext=cpp
23723 ac_cpp='$CXXCPP $CPPFLAGS'
23724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23727
23728 cat >conftest.$ac_ext <<_ACEOF
23729 /* confdefs.h. */
23730 _ACEOF
23731 cat confdefs.h >>conftest.$ac_ext
23732 cat >>conftest.$ac_ext <<_ACEOF
23733 /* end confdefs.h. */
23734
23735 int
23736 main ()
23737 {
23738
23739 #ifndef __STDC_EXT__
23740 choke me
23741 #endif
23742
23743 ;
23744 return 0;
23745 }
23746 _ACEOF
23747 rm -f conftest.$ac_objext
23748 if { (ac_try="$ac_compile"
23749 case "(($ac_try" in
23750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23751 *) ac_try_echo=$ac_try;;
23752 esac
23753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23754 (eval "$ac_compile") 2>conftest.er1
23755 ac_status=$?
23756 grep -v '^ *+' conftest.er1 >conftest.err
23757 rm -f conftest.er1
23758 cat conftest.err >&5
23759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23760 (exit $ac_status); } && {
23761 test -z "$ac_cxx_werror_flag" ||
23762 test ! -s conftest.err
23763 } && test -s conftest.$ac_objext; then
23764 wx_cv_STDC_EXT_required=no
23765 else
23766 echo "$as_me: failed program was:" >&5
23767 sed 's/^/| /' conftest.$ac_ext >&5
23768
23769 wx_cv_STDC_EXT_required=yes
23770
23771 fi
23772
23773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23774 ac_ext=c
23775 ac_cpp='$CPP $CPPFLAGS'
23776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23779
23780
23781
23782 fi
23783 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23784 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23785 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23786 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23787 fi
23788 fi
23789 fi
23790
23791 ac_ext=cpp
23792 ac_cpp='$CXXCPP $CPPFLAGS'
23793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23796
23797 old_CPPFLAGS="$CPPFLAGS"
23798 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
23799 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23800 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23801 if test "${ac_cv_sys_largefile_source+set}" = set; then
23802 echo $ECHO_N "(cached) $ECHO_C" >&6
23803 else
23804 while :; do
23805 cat >conftest.$ac_ext <<_ACEOF
23806 /* confdefs.h. */
23807 _ACEOF
23808 cat confdefs.h >>conftest.$ac_ext
23809 cat >>conftest.$ac_ext <<_ACEOF
23810 /* end confdefs.h. */
23811 #include <sys/types.h> /* for off_t */
23812 #include <stdio.h>
23813 int
23814 main ()
23815 {
23816 int (*fp) (FILE *, off_t, int) = fseeko;
23817 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23818 ;
23819 return 0;
23820 }
23821 _ACEOF
23822 rm -f conftest.$ac_objext conftest$ac_exeext
23823 if { (ac_try="$ac_link"
23824 case "(($ac_try" in
23825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23826 *) ac_try_echo=$ac_try;;
23827 esac
23828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23829 (eval "$ac_link") 2>conftest.er1
23830 ac_status=$?
23831 grep -v '^ *+' conftest.er1 >conftest.err
23832 rm -f conftest.er1
23833 cat conftest.err >&5
23834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23835 (exit $ac_status); } && {
23836 test -z "$ac_cxx_werror_flag" ||
23837 test ! -s conftest.err
23838 } && test -s conftest$ac_exeext &&
23839 $as_test_x conftest$ac_exeext; then
23840 ac_cv_sys_largefile_source=no; break
23841 else
23842 echo "$as_me: failed program was:" >&5
23843 sed 's/^/| /' conftest.$ac_ext >&5
23844
23845
23846 fi
23847
23848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23849 conftest$ac_exeext conftest.$ac_ext
23850 cat >conftest.$ac_ext <<_ACEOF
23851 /* confdefs.h. */
23852 _ACEOF
23853 cat confdefs.h >>conftest.$ac_ext
23854 cat >>conftest.$ac_ext <<_ACEOF
23855 /* end confdefs.h. */
23856 #define _LARGEFILE_SOURCE 1
23857 #include <sys/types.h> /* for off_t */
23858 #include <stdio.h>
23859 int
23860 main ()
23861 {
23862 int (*fp) (FILE *, off_t, int) = fseeko;
23863 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23864 ;
23865 return 0;
23866 }
23867 _ACEOF
23868 rm -f conftest.$ac_objext conftest$ac_exeext
23869 if { (ac_try="$ac_link"
23870 case "(($ac_try" in
23871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23872 *) ac_try_echo=$ac_try;;
23873 esac
23874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23875 (eval "$ac_link") 2>conftest.er1
23876 ac_status=$?
23877 grep -v '^ *+' conftest.er1 >conftest.err
23878 rm -f conftest.er1
23879 cat conftest.err >&5
23880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23881 (exit $ac_status); } && {
23882 test -z "$ac_cxx_werror_flag" ||
23883 test ! -s conftest.err
23884 } && test -s conftest$ac_exeext &&
23885 $as_test_x conftest$ac_exeext; then
23886 ac_cv_sys_largefile_source=1; break
23887 else
23888 echo "$as_me: failed program was:" >&5
23889 sed 's/^/| /' conftest.$ac_ext >&5
23890
23891
23892 fi
23893
23894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23895 conftest$ac_exeext conftest.$ac_ext
23896 ac_cv_sys_largefile_source=unknown
23897 break
23898 done
23899 fi
23900 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23901 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23902 case $ac_cv_sys_largefile_source in #(
23903 no | unknown) ;;
23904 *)
23905 cat >>confdefs.h <<_ACEOF
23906 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23907 _ACEOF
23908 ;;
23909 esac
23910 rm -f conftest*
23911
23912 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23913 # in glibc 2.1.3, but that breaks too many other things.
23914 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23915 if test $ac_cv_sys_largefile_source != unknown; then
23916
23917 cat >>confdefs.h <<\_ACEOF
23918 #define HAVE_FSEEKO 1
23919 _ACEOF
23920
23921 fi
23922
23923 CPPFLAGS="$old_CPPFLAGS"
23924 ac_ext=c
23925 ac_cpp='$CPP $CPPFLAGS'
23926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23929
23930 if test "$ac_cv_sys_largefile_source" != no; then
23931 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23932 fi
23933
23934 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23935 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23936 if test "${ac_cv_c_bigendian+set}" = set; then
23937 echo $ECHO_N "(cached) $ECHO_C" >&6
23938 else
23939 ac_cv_c_bigendian=unknown
23940 # See if sys/param.h defines the BYTE_ORDER macro.
23941 cat >conftest.$ac_ext <<_ACEOF
23942 /* confdefs.h. */
23943 _ACEOF
23944 cat confdefs.h >>conftest.$ac_ext
23945 cat >>conftest.$ac_ext <<_ACEOF
23946 /* end confdefs.h. */
23947 #include <sys/types.h>
23948 #include <sys/param.h>
23949 int
23950 main ()
23951 {
23952
23953 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23954 bogus endian macros
23955 #endif
23956 ;
23957 return 0;
23958 }
23959 _ACEOF
23960 rm -f conftest.$ac_objext
23961 if { (ac_try="$ac_compile"
23962 case "(($ac_try" in
23963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23964 *) ac_try_echo=$ac_try;;
23965 esac
23966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23967 (eval "$ac_compile") 2>conftest.er1
23968 ac_status=$?
23969 grep -v '^ *+' conftest.er1 >conftest.err
23970 rm -f conftest.er1
23971 cat conftest.err >&5
23972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23973 (exit $ac_status); } && {
23974 test -z "$ac_c_werror_flag" ||
23975 test ! -s conftest.err
23976 } && test -s conftest.$ac_objext; then
23977 # It does; now see whether it defined to BIG_ENDIAN or not.
23978 cat >conftest.$ac_ext <<_ACEOF
23979 /* confdefs.h. */
23980 _ACEOF
23981 cat confdefs.h >>conftest.$ac_ext
23982 cat >>conftest.$ac_ext <<_ACEOF
23983 /* end confdefs.h. */
23984 #include <sys/types.h>
23985 #include <sys/param.h>
23986 int
23987 main ()
23988 {
23989
23990 #if BYTE_ORDER != BIG_ENDIAN
23991 not big endian
23992 #endif
23993 ;
23994 return 0;
23995 }
23996 _ACEOF
23997 rm -f conftest.$ac_objext
23998 if { (ac_try="$ac_compile"
23999 case "(($ac_try" in
24000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24001 *) ac_try_echo=$ac_try;;
24002 esac
24003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24004 (eval "$ac_compile") 2>conftest.er1
24005 ac_status=$?
24006 grep -v '^ *+' conftest.er1 >conftest.err
24007 rm -f conftest.er1
24008 cat conftest.err >&5
24009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24010 (exit $ac_status); } && {
24011 test -z "$ac_c_werror_flag" ||
24012 test ! -s conftest.err
24013 } && test -s conftest.$ac_objext; then
24014 ac_cv_c_bigendian=yes
24015 else
24016 echo "$as_me: failed program was:" >&5
24017 sed 's/^/| /' conftest.$ac_ext >&5
24018
24019 ac_cv_c_bigendian=no
24020 fi
24021
24022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24023 else
24024 echo "$as_me: failed program was:" >&5
24025 sed 's/^/| /' conftest.$ac_ext >&5
24026
24027
24028 fi
24029
24030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24031 if test $ac_cv_c_bigendian = unknown; then
24032 if test "$cross_compiling" = yes; then
24033 ac_cv_c_bigendian=unknown
24034 else
24035 cat >conftest.$ac_ext <<_ACEOF
24036 /* confdefs.h. */
24037 _ACEOF
24038 cat confdefs.h >>conftest.$ac_ext
24039 cat >>conftest.$ac_ext <<_ACEOF
24040 /* end confdefs.h. */
24041 main () {
24042 /* Are we little or big endian? From Harbison&Steele. */
24043 union
24044 {
24045 long l;
24046 char c[sizeof (long)];
24047 } u;
24048 u.l = 1;
24049 exit (u.c[sizeof (long) - 1] == 1);
24050 }
24051 _ACEOF
24052 rm -f conftest$ac_exeext
24053 if { (ac_try="$ac_link"
24054 case "(($ac_try" in
24055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24056 *) ac_try_echo=$ac_try;;
24057 esac
24058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24059 (eval "$ac_link") 2>&5
24060 ac_status=$?
24061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24062 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24063 { (case "(($ac_try" in
24064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24065 *) ac_try_echo=$ac_try;;
24066 esac
24067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24068 (eval "$ac_try") 2>&5
24069 ac_status=$?
24070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24071 (exit $ac_status); }; }; then
24072 ac_cv_c_bigendian=no
24073 else
24074 echo "$as_me: program exited with status $ac_status" >&5
24075 echo "$as_me: failed program was:" >&5
24076 sed 's/^/| /' conftest.$ac_ext >&5
24077
24078 ( exit $ac_status )
24079 ac_cv_c_bigendian=yes
24080 fi
24081 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24082 fi
24083
24084
24085 fi
24086 fi
24087 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24088 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24089 if test $ac_cv_c_bigendian = unknown; then
24090 { 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
24091 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;}
24092 fi
24093 if test $ac_cv_c_bigendian = yes; then
24094 cat >>confdefs.h <<\_ACEOF
24095 #define WORDS_BIGENDIAN 1
24096 _ACEOF
24097
24098 fi
24099
24100
24101
24102
24103 ac_ext=cpp
24104 ac_cpp='$CXXCPP $CPPFLAGS'
24105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24108
24109
24110
24111 for ac_header in iostream
24112 do
24113 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24114 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24116 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24117 echo $ECHO_N "(cached) $ECHO_C" >&6
24118 else
24119 cat >conftest.$ac_ext <<_ACEOF
24120 /* confdefs.h. */
24121 _ACEOF
24122 cat confdefs.h >>conftest.$ac_ext
24123 cat >>conftest.$ac_ext <<_ACEOF
24124 /* end confdefs.h. */
24125
24126
24127 #include <$ac_header>
24128 _ACEOF
24129 rm -f conftest.$ac_objext
24130 if { (ac_try="$ac_compile"
24131 case "(($ac_try" in
24132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24133 *) ac_try_echo=$ac_try;;
24134 esac
24135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24136 (eval "$ac_compile") 2>conftest.er1
24137 ac_status=$?
24138 grep -v '^ *+' conftest.er1 >conftest.err
24139 rm -f conftest.er1
24140 cat conftest.err >&5
24141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24142 (exit $ac_status); } && {
24143 test -z "$ac_cxx_werror_flag" ||
24144 test ! -s conftest.err
24145 } && test -s conftest.$ac_objext; then
24146 eval "$as_ac_Header=yes"
24147 else
24148 echo "$as_me: failed program was:" >&5
24149 sed 's/^/| /' conftest.$ac_ext >&5
24150
24151 eval "$as_ac_Header=no"
24152 fi
24153
24154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24155 fi
24156 ac_res=`eval echo '${'$as_ac_Header'}'`
24157 { echo "$as_me:$LINENO: result: $ac_res" >&5
24158 echo "${ECHO_T}$ac_res" >&6; }
24159 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24160 cat >>confdefs.h <<_ACEOF
24161 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24162 _ACEOF
24163
24164 fi
24165
24166 done
24167
24168
24169 if test "$ac_cv_header_iostream" = "yes" ; then
24170 :
24171 else
24172 cat >>confdefs.h <<\_ACEOF
24173 #define wxUSE_IOSTREAMH 1
24174 _ACEOF
24175
24176 fi
24177
24178 ac_ext=c
24179 ac_cpp='$CPP $CPPFLAGS'
24180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24183
24184
24185
24186
24187 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24188 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24189 if test "${wx_cv_explicit+set}" = set; then
24190 echo $ECHO_N "(cached) $ECHO_C" >&6
24191 else
24192
24193
24194 ac_ext=cpp
24195 ac_cpp='$CXXCPP $CPPFLAGS'
24196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24199
24200
24201 cat >conftest.$ac_ext <<_ACEOF
24202 /* confdefs.h. */
24203 _ACEOF
24204 cat confdefs.h >>conftest.$ac_ext
24205 cat >>conftest.$ac_ext <<_ACEOF
24206 /* end confdefs.h. */
24207
24208 class Foo { public: explicit Foo(int) {} };
24209
24210 int
24211 main ()
24212 {
24213
24214 return 0;
24215
24216 ;
24217 return 0;
24218 }
24219 _ACEOF
24220 rm -f conftest.$ac_objext
24221 if { (ac_try="$ac_compile"
24222 case "(($ac_try" in
24223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24224 *) ac_try_echo=$ac_try;;
24225 esac
24226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24227 (eval "$ac_compile") 2>conftest.er1
24228 ac_status=$?
24229 grep -v '^ *+' conftest.er1 >conftest.err
24230 rm -f conftest.er1
24231 cat conftest.err >&5
24232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24233 (exit $ac_status); } && {
24234 test -z "$ac_cxx_werror_flag" ||
24235 test ! -s conftest.err
24236 } && test -s conftest.$ac_objext; then
24237
24238 cat >conftest.$ac_ext <<_ACEOF
24239 /* confdefs.h. */
24240 _ACEOF
24241 cat confdefs.h >>conftest.$ac_ext
24242 cat >>conftest.$ac_ext <<_ACEOF
24243 /* end confdefs.h. */
24244
24245 class Foo { public: explicit Foo(int) {} };
24246 static void TakeFoo(const Foo& foo) { }
24247
24248 int
24249 main ()
24250 {
24251
24252 TakeFoo(17);
24253 return 0;
24254
24255 ;
24256 return 0;
24257 }
24258 _ACEOF
24259 rm -f conftest.$ac_objext
24260 if { (ac_try="$ac_compile"
24261 case "(($ac_try" in
24262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24263 *) ac_try_echo=$ac_try;;
24264 esac
24265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24266 (eval "$ac_compile") 2>conftest.er1
24267 ac_status=$?
24268 grep -v '^ *+' conftest.er1 >conftest.err
24269 rm -f conftest.er1
24270 cat conftest.err >&5
24271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24272 (exit $ac_status); } && {
24273 test -z "$ac_cxx_werror_flag" ||
24274 test ! -s conftest.err
24275 } && test -s conftest.$ac_objext; then
24276 wx_cv_explicit=no
24277 else
24278 echo "$as_me: failed program was:" >&5
24279 sed 's/^/| /' conftest.$ac_ext >&5
24280
24281 wx_cv_explicit=yes
24282
24283 fi
24284
24285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24286
24287 else
24288 echo "$as_me: failed program was:" >&5
24289 sed 's/^/| /' conftest.$ac_ext >&5
24290
24291 wx_cv_explicit=no
24292
24293 fi
24294
24295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24296
24297 ac_ext=c
24298 ac_cpp='$CPP $CPPFLAGS'
24299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24302
24303
24304 fi
24305 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24306 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24307
24308 if test "$wx_cv_explicit" = "yes"; then
24309 cat >>confdefs.h <<\_ACEOF
24310 #define HAVE_EXPLICIT 1
24311 _ACEOF
24312
24313 fi
24314
24315
24316 if test "x$SUNCXX" = xyes; then
24317 CXXFLAGS="-features=tmplife $CXXFLAGS"
24318 fi
24319
24320 if test "x$SUNCC" = xyes; then
24321 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24322 fi
24323
24324 if test "x$SGICC" = "xyes"; then
24325 CFLAGS="-woff 3970 $CFLAGS"
24326 fi
24327 if test "x$SGICXX" = "xyes"; then
24328 CXXFLAGS="-woff 3970 $CXXFLAGS"
24329 fi
24330
24331 if test "x$HPCC" = "xyes"; then
24332 CFLAGS="+W 2011,2450 $CFLAGS"
24333 fi
24334 if test "x$HPCXX" = "xyes"; then
24335 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24336 fi
24337
24338 if test "x$COMPAQCXX" = "xyes"; then
24339 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24340 fi
24341
24342 ac_ext=cpp
24343 ac_cpp='$CXXCPP $CPPFLAGS'
24344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24347
24348
24349 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24350 if test "$wxUSE_UNICODE" = "yes"; then
24351 std_string="std::wstring"
24352 char_type="wchar_t"
24353 else
24354 std_string="std::string"
24355 char_type="char"
24356 fi
24357
24358 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24359 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24360 if test "${wx_cv_class_stdstring+set}" = set; then
24361 echo $ECHO_N "(cached) $ECHO_C" >&6
24362 else
24363
24364 cat >conftest.$ac_ext <<_ACEOF
24365 /* confdefs.h. */
24366 _ACEOF
24367 cat confdefs.h >>conftest.$ac_ext
24368 cat >>conftest.$ac_ext <<_ACEOF
24369 /* end confdefs.h. */
24370 #include <string>
24371 int
24372 main ()
24373 {
24374 $std_string foo;
24375 ;
24376 return 0;
24377 }
24378 _ACEOF
24379 rm -f conftest.$ac_objext
24380 if { (ac_try="$ac_compile"
24381 case "(($ac_try" in
24382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24383 *) ac_try_echo=$ac_try;;
24384 esac
24385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24386 (eval "$ac_compile") 2>conftest.er1
24387 ac_status=$?
24388 grep -v '^ *+' conftest.er1 >conftest.err
24389 rm -f conftest.er1
24390 cat conftest.err >&5
24391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24392 (exit $ac_status); } && {
24393 test -z "$ac_cxx_werror_flag" ||
24394 test ! -s conftest.err
24395 } && test -s conftest.$ac_objext; then
24396 wx_cv_class_stdstring=yes
24397 else
24398 echo "$as_me: failed program was:" >&5
24399 sed 's/^/| /' conftest.$ac_ext >&5
24400
24401 wx_cv_class_stdstring=no
24402
24403 fi
24404
24405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24406
24407
24408 fi
24409 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24410 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24411
24412 if test "$wx_cv_class_stdstring" = yes; then
24413 if test "$wxUSE_UNICODE" = "yes"; then
24414 cat >>confdefs.h <<\_ACEOF
24415 #define HAVE_STD_WSTRING 1
24416 _ACEOF
24417
24418 fi
24419 else
24420 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24421 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24422 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24423 echo $ECHO_N "(cached) $ECHO_C" >&6
24424 else
24425
24426 cat >conftest.$ac_ext <<_ACEOF
24427 /* confdefs.h. */
24428 _ACEOF
24429 cat confdefs.h >>conftest.$ac_ext
24430 cat >>conftest.$ac_ext <<_ACEOF
24431 /* end confdefs.h. */
24432
24433 #ifdef HAVE_WCHAR_H
24434 # ifdef __CYGWIN__
24435 # include <stddef.h>
24436 # endif
24437 # include <wchar.h>
24438 #endif
24439 #ifdef HAVE_STDLIB_H
24440 # include <stdlib.h>
24441 #endif
24442 #include <stdio.h>
24443 #include <string>
24444
24445 int
24446 main ()
24447 {
24448 std::basic_string<$char_type> foo;
24449 const $char_type* dummy = foo.c_str();
24450 ;
24451 return 0;
24452 }
24453 _ACEOF
24454 rm -f conftest.$ac_objext
24455 if { (ac_try="$ac_compile"
24456 case "(($ac_try" in
24457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24458 *) ac_try_echo=$ac_try;;
24459 esac
24460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24461 (eval "$ac_compile") 2>conftest.er1
24462 ac_status=$?
24463 grep -v '^ *+' conftest.er1 >conftest.err
24464 rm -f conftest.er1
24465 cat conftest.err >&5
24466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24467 (exit $ac_status); } && {
24468 test -z "$ac_cxx_werror_flag" ||
24469 test ! -s conftest.err
24470 } && test -s conftest.$ac_objext; then
24471 wx_cv_class_stdbasicstring=yes
24472 else
24473 echo "$as_me: failed program was:" >&5
24474 sed 's/^/| /' conftest.$ac_ext >&5
24475
24476 wx_cv_class_stdbasicstring=no
24477
24478 fi
24479
24480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24481
24482
24483 fi
24484 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24485 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24486
24487 if test "$wx_cv_class_stdbasicstring" != yes; then
24488 if test "$wxUSE_STL" = "yes"; then
24489 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24490 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24491 { (exit 1); exit 1; }; }
24492 elif test "$wxUSE_STD_STRING" = "yes"; then
24493 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24494 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24495 { (exit 1); exit 1; }; }
24496 else
24497 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24498 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24499 wxUSE_STD_STRING=no
24500 fi
24501 fi
24502 fi
24503 fi
24504
24505 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24506 { echo "$as_me:$LINENO: checking for std::istream" >&5
24507 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24508 if test "${ac_cv_type_std__istream+set}" = set; then
24509 echo $ECHO_N "(cached) $ECHO_C" >&6
24510 else
24511 cat >conftest.$ac_ext <<_ACEOF
24512 /* confdefs.h. */
24513 _ACEOF
24514 cat confdefs.h >>conftest.$ac_ext
24515 cat >>conftest.$ac_ext <<_ACEOF
24516 /* end confdefs.h. */
24517 #include <iostream>
24518
24519 typedef std::istream ac__type_new_;
24520 int
24521 main ()
24522 {
24523 if ((ac__type_new_ *) 0)
24524 return 0;
24525 if (sizeof (ac__type_new_))
24526 return 0;
24527 ;
24528 return 0;
24529 }
24530 _ACEOF
24531 rm -f conftest.$ac_objext
24532 if { (ac_try="$ac_compile"
24533 case "(($ac_try" in
24534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24535 *) ac_try_echo=$ac_try;;
24536 esac
24537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24538 (eval "$ac_compile") 2>conftest.er1
24539 ac_status=$?
24540 grep -v '^ *+' conftest.er1 >conftest.err
24541 rm -f conftest.er1
24542 cat conftest.err >&5
24543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24544 (exit $ac_status); } && {
24545 test -z "$ac_cxx_werror_flag" ||
24546 test ! -s conftest.err
24547 } && test -s conftest.$ac_objext; then
24548 ac_cv_type_std__istream=yes
24549 else
24550 echo "$as_me: failed program was:" >&5
24551 sed 's/^/| /' conftest.$ac_ext >&5
24552
24553 ac_cv_type_std__istream=no
24554 fi
24555
24556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24557 fi
24558 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24559 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24560 if test $ac_cv_type_std__istream = yes; then
24561
24562 cat >>confdefs.h <<_ACEOF
24563 #define HAVE_STD__ISTREAM 1
24564 _ACEOF
24565
24566
24567 else
24568 wxUSE_STD_IOSTREAM=no
24569 fi
24570 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24571 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24572 if test "${ac_cv_type_std__ostream+set}" = set; then
24573 echo $ECHO_N "(cached) $ECHO_C" >&6
24574 else
24575 cat >conftest.$ac_ext <<_ACEOF
24576 /* confdefs.h. */
24577 _ACEOF
24578 cat confdefs.h >>conftest.$ac_ext
24579 cat >>conftest.$ac_ext <<_ACEOF
24580 /* end confdefs.h. */
24581 #include <iostream>
24582
24583 typedef std::ostream ac__type_new_;
24584 int
24585 main ()
24586 {
24587 if ((ac__type_new_ *) 0)
24588 return 0;
24589 if (sizeof (ac__type_new_))
24590 return 0;
24591 ;
24592 return 0;
24593 }
24594 _ACEOF
24595 rm -f conftest.$ac_objext
24596 if { (ac_try="$ac_compile"
24597 case "(($ac_try" in
24598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24599 *) ac_try_echo=$ac_try;;
24600 esac
24601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24602 (eval "$ac_compile") 2>conftest.er1
24603 ac_status=$?
24604 grep -v '^ *+' conftest.er1 >conftest.err
24605 rm -f conftest.er1
24606 cat conftest.err >&5
24607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24608 (exit $ac_status); } && {
24609 test -z "$ac_cxx_werror_flag" ||
24610 test ! -s conftest.err
24611 } && test -s conftest.$ac_objext; then
24612 ac_cv_type_std__ostream=yes
24613 else
24614 echo "$as_me: failed program was:" >&5
24615 sed 's/^/| /' conftest.$ac_ext >&5
24616
24617 ac_cv_type_std__ostream=no
24618 fi
24619
24620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24621 fi
24622 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24623 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24624 if test $ac_cv_type_std__ostream = yes; then
24625
24626 cat >>confdefs.h <<_ACEOF
24627 #define HAVE_STD__OSTREAM 1
24628 _ACEOF
24629
24630
24631 else
24632 wxUSE_STD_IOSTREAM=no
24633 fi
24634
24635
24636 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24637 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24638 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24639 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24640 { (exit 1); exit 1; }; }
24641 else
24642 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24643 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24644 fi
24645 fi
24646 fi
24647
24648 if test "$wxUSE_STL" = "yes"; then
24649 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24650 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24651 if test "${wx_cv_lib_stl+set}" = set; then
24652 echo $ECHO_N "(cached) $ECHO_C" >&6
24653 else
24654 cat >conftest.$ac_ext <<_ACEOF
24655 /* confdefs.h. */
24656 _ACEOF
24657 cat confdefs.h >>conftest.$ac_ext
24658 cat >>conftest.$ac_ext <<_ACEOF
24659 /* end confdefs.h. */
24660 #include <string>
24661 #include <functional>
24662 #include <algorithm>
24663 #include <vector>
24664 #include <list>
24665 int
24666 main ()
24667 {
24668 std::vector<int> moo;
24669 std::list<int> foo;
24670 std::vector<int>::iterator it =
24671 std::find_if(moo.begin(), moo.end(),
24672 std::bind2nd(std::less<int>(), 3));
24673 ;
24674 return 0;
24675 }
24676 _ACEOF
24677 rm -f conftest.$ac_objext
24678 if { (ac_try="$ac_compile"
24679 case "(($ac_try" in
24680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24681 *) ac_try_echo=$ac_try;;
24682 esac
24683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24684 (eval "$ac_compile") 2>conftest.er1
24685 ac_status=$?
24686 grep -v '^ *+' conftest.er1 >conftest.err
24687 rm -f conftest.er1
24688 cat conftest.err >&5
24689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24690 (exit $ac_status); } && {
24691 test -z "$ac_cxx_werror_flag" ||
24692 test ! -s conftest.err
24693 } && test -s conftest.$ac_objext; then
24694 wx_cv_lib_stl=yes
24695 else
24696 echo "$as_me: failed program was:" >&5
24697 sed 's/^/| /' conftest.$ac_ext >&5
24698
24699 wx_cv_lib_stl=no
24700
24701 fi
24702
24703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24704
24705 fi
24706 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24707 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24708
24709 if test "$wx_cv_lib_stl" != yes; then
24710 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24711 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24712 { (exit 1); exit 1; }; }
24713 fi
24714
24715 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24716 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24717 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24718 echo $ECHO_N "(cached) $ECHO_C" >&6
24719 else
24720 cat >conftest.$ac_ext <<_ACEOF
24721 /* confdefs.h. */
24722 _ACEOF
24723 cat confdefs.h >>conftest.$ac_ext
24724 cat >>conftest.$ac_ext <<_ACEOF
24725 /* end confdefs.h. */
24726 #include <string>
24727 int
24728 main ()
24729 {
24730 std::string foo, bar;
24731 foo.compare(bar);
24732 foo.compare(1, 1, bar);
24733 foo.compare(1, 1, bar, 1, 1);
24734 foo.compare("");
24735 foo.compare(1, 1, "");
24736 foo.compare(1, 1, "", 2);
24737 ;
24738 return 0;
24739 }
24740 _ACEOF
24741 rm -f conftest.$ac_objext
24742 if { (ac_try="$ac_compile"
24743 case "(($ac_try" in
24744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24745 *) ac_try_echo=$ac_try;;
24746 esac
24747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24748 (eval "$ac_compile") 2>conftest.er1
24749 ac_status=$?
24750 grep -v '^ *+' conftest.er1 >conftest.err
24751 rm -f conftest.er1
24752 cat conftest.err >&5
24753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24754 (exit $ac_status); } && {
24755 test -z "$ac_cxx_werror_flag" ||
24756 test ! -s conftest.err
24757 } && test -s conftest.$ac_objext; then
24758 wx_cv_func_stdstring_compare=yes
24759 else
24760 echo "$as_me: failed program was:" >&5
24761 sed 's/^/| /' conftest.$ac_ext >&5
24762
24763 wx_cv_func_stdstring_compare=no
24764
24765 fi
24766
24767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24768
24769 fi
24770 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24771 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24772
24773 if test "$wx_cv_func_stdstring_compare" = yes; then
24774 cat >>confdefs.h <<\_ACEOF
24775 #define HAVE_STD_STRING_COMPARE 1
24776 _ACEOF
24777
24778 fi
24779
24780 if test "$wx_cv_class_gnuhashmapset" = yes; then
24781 cat >>confdefs.h <<\_ACEOF
24782 #define HAVE_EXT_HASH_MAP 1
24783 _ACEOF
24784
24785 cat >>confdefs.h <<\_ACEOF
24786 #define HAVE_GNU_CXX_HASH_MAP 1
24787 _ACEOF
24788
24789 fi
24790
24791 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24792 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24793 if test "${ac_cv_header_unordered_map+set}" = set; then
24794 echo $ECHO_N "(cached) $ECHO_C" >&6
24795 else
24796 cat >conftest.$ac_ext <<_ACEOF
24797 /* confdefs.h. */
24798 _ACEOF
24799 cat confdefs.h >>conftest.$ac_ext
24800 cat >>conftest.$ac_ext <<_ACEOF
24801 /* end confdefs.h. */
24802
24803
24804
24805 #include <unordered_map>
24806 _ACEOF
24807 rm -f conftest.$ac_objext
24808 if { (ac_try="$ac_compile"
24809 case "(($ac_try" in
24810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24811 *) ac_try_echo=$ac_try;;
24812 esac
24813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24814 (eval "$ac_compile") 2>conftest.er1
24815 ac_status=$?
24816 grep -v '^ *+' conftest.er1 >conftest.err
24817 rm -f conftest.er1
24818 cat conftest.err >&5
24819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24820 (exit $ac_status); } && {
24821 test -z "$ac_cxx_werror_flag" ||
24822 test ! -s conftest.err
24823 } && test -s conftest.$ac_objext; then
24824 ac_cv_header_unordered_map=yes
24825 else
24826 echo "$as_me: failed program was:" >&5
24827 sed 's/^/| /' conftest.$ac_ext >&5
24828
24829 ac_cv_header_unordered_map=no
24830 fi
24831
24832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24833 fi
24834 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24835 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24836 if test $ac_cv_header_unordered_map = yes; then
24837 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24838 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24839 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24840 echo $ECHO_N "(cached) $ECHO_C" >&6
24841 else
24842 cat >conftest.$ac_ext <<_ACEOF
24843 /* confdefs.h. */
24844 _ACEOF
24845 cat confdefs.h >>conftest.$ac_ext
24846 cat >>conftest.$ac_ext <<_ACEOF
24847 /* end confdefs.h. */
24848 #include <unordered_map>
24849 #include <unordered_set>
24850 int
24851 main ()
24852 {
24853 std::unordered_map<double*, char*> test1;
24854 std::unordered_set<char*> test2;
24855 ;
24856 return 0;
24857 }
24858 _ACEOF
24859 rm -f conftest.$ac_objext
24860 if { (ac_try="$ac_compile"
24861 case "(($ac_try" in
24862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24863 *) ac_try_echo=$ac_try;;
24864 esac
24865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24866 (eval "$ac_compile") 2>conftest.er1
24867 ac_status=$?
24868 grep -v '^ *+' conftest.er1 >conftest.err
24869 rm -f conftest.er1
24870 cat conftest.err >&5
24871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24872 (exit $ac_status); } && {
24873 test -z "$ac_cxx_werror_flag" ||
24874 test ! -s conftest.err
24875 } && test -s conftest.$ac_objext; then
24876 wx_cv_class_stdunorderedmapset=yes
24877 else
24878 echo "$as_me: failed program was:" >&5
24879 sed 's/^/| /' conftest.$ac_ext >&5
24880
24881 wx_cv_class_stdunorderedmapset=no
24882 fi
24883
24884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24885
24886
24887 fi
24888 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
24889 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
24890 fi
24891
24892
24893
24894 if test "$wx_cv_class_stdunorderedmapset" = yes; then
24895 cat >>confdefs.h <<\_ACEOF
24896 #define HAVE_STD_UNORDERED_MAP 1
24897 _ACEOF
24898
24899 cat >>confdefs.h <<\_ACEOF
24900 #define HAVE_STD_UNORDERED_SET 1
24901 _ACEOF
24902
24903 else
24904 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
24905 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
24906 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
24907 echo $ECHO_N "(cached) $ECHO_C" >&6
24908 else
24909 cat >conftest.$ac_ext <<_ACEOF
24910 /* confdefs.h. */
24911 _ACEOF
24912 cat confdefs.h >>conftest.$ac_ext
24913 cat >>conftest.$ac_ext <<_ACEOF
24914 /* end confdefs.h. */
24915
24916
24917
24918 #include <tr1/unordered_map>
24919 _ACEOF
24920 rm -f conftest.$ac_objext
24921 if { (ac_try="$ac_compile"
24922 case "(($ac_try" in
24923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24924 *) ac_try_echo=$ac_try;;
24925 esac
24926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24927 (eval "$ac_compile") 2>conftest.er1
24928 ac_status=$?
24929 grep -v '^ *+' conftest.er1 >conftest.err
24930 rm -f conftest.er1
24931 cat conftest.err >&5
24932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24933 (exit $ac_status); } && {
24934 test -z "$ac_cxx_werror_flag" ||
24935 test ! -s conftest.err
24936 } && test -s conftest.$ac_objext; then
24937 ac_cv_header_tr1_unordered_map=yes
24938 else
24939 echo "$as_me: failed program was:" >&5
24940 sed 's/^/| /' conftest.$ac_ext >&5
24941
24942 ac_cv_header_tr1_unordered_map=no
24943 fi
24944
24945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24946 fi
24947 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
24948 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
24949 if test $ac_cv_header_tr1_unordered_map = yes; then
24950 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
24951 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
24952 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
24953 echo $ECHO_N "(cached) $ECHO_C" >&6
24954 else
24955 cat >conftest.$ac_ext <<_ACEOF
24956 /* confdefs.h. */
24957 _ACEOF
24958 cat confdefs.h >>conftest.$ac_ext
24959 cat >>conftest.$ac_ext <<_ACEOF
24960 /* end confdefs.h. */
24961 #include <tr1/unordered_map>
24962 #include <tr1/unordered_set>
24963 int
24964 main ()
24965 {
24966 std::tr1::unordered_map<double*, char*> test1;
24967 std::tr1::unordered_set<char*> test2;
24968 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
24969 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
24970 #endif
24971 ;
24972 return 0;
24973 }
24974 _ACEOF
24975 rm -f conftest.$ac_objext
24976 if { (ac_try="$ac_compile"
24977 case "(($ac_try" in
24978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24979 *) ac_try_echo=$ac_try;;
24980 esac
24981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24982 (eval "$ac_compile") 2>conftest.er1
24983 ac_status=$?
24984 grep -v '^ *+' conftest.er1 >conftest.err
24985 rm -f conftest.er1
24986 cat conftest.err >&5
24987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24988 (exit $ac_status); } && {
24989 test -z "$ac_cxx_werror_flag" ||
24990 test ! -s conftest.err
24991 } && test -s conftest.$ac_objext; then
24992 wx_cv_class_tr1unorderedmapset=yes
24993 else
24994 echo "$as_me: failed program was:" >&5
24995 sed 's/^/| /' conftest.$ac_ext >&5
24996
24997 wx_cv_class_tr1unorderedmapset=no
24998 fi
24999
25000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25001
25002
25003 fi
25004 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25005 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25006 fi
25007
25008
25009
25010 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25011 cat >>confdefs.h <<\_ACEOF
25012 #define HAVE_TR1_UNORDERED_MAP 1
25013 _ACEOF
25014
25015 cat >>confdefs.h <<\_ACEOF
25016 #define HAVE_TR1_UNORDERED_SET 1
25017 _ACEOF
25018
25019 else
25020 { echo "$as_me:$LINENO: checking for hash_map" >&5
25021 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25022 if test "${ac_cv_header_hash_map+set}" = set; then
25023 echo $ECHO_N "(cached) $ECHO_C" >&6
25024 else
25025 cat >conftest.$ac_ext <<_ACEOF
25026 /* confdefs.h. */
25027 _ACEOF
25028 cat confdefs.h >>conftest.$ac_ext
25029 cat >>conftest.$ac_ext <<_ACEOF
25030 /* end confdefs.h. */
25031
25032
25033
25034 #include <hash_map>
25035 _ACEOF
25036 rm -f conftest.$ac_objext
25037 if { (ac_try="$ac_compile"
25038 case "(($ac_try" in
25039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25040 *) ac_try_echo=$ac_try;;
25041 esac
25042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25043 (eval "$ac_compile") 2>conftest.er1
25044 ac_status=$?
25045 grep -v '^ *+' conftest.er1 >conftest.err
25046 rm -f conftest.er1
25047 cat conftest.err >&5
25048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25049 (exit $ac_status); } && {
25050 test -z "$ac_cxx_werror_flag" ||
25051 test ! -s conftest.err
25052 } && test -s conftest.$ac_objext; then
25053 ac_cv_header_hash_map=yes
25054 else
25055 echo "$as_me: failed program was:" >&5
25056 sed 's/^/| /' conftest.$ac_ext >&5
25057
25058 ac_cv_header_hash_map=no
25059 fi
25060
25061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25062 fi
25063 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25064 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25065 if test $ac_cv_header_hash_map = yes; then
25066 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25067 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25068 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25069 echo $ECHO_N "(cached) $ECHO_C" >&6
25070 else
25071 cat >conftest.$ac_ext <<_ACEOF
25072 /* confdefs.h. */
25073 _ACEOF
25074 cat confdefs.h >>conftest.$ac_ext
25075 cat >>conftest.$ac_ext <<_ACEOF
25076 /* end confdefs.h. */
25077 #include <hash_map>
25078 #include <hash_set>
25079 int
25080 main ()
25081 {
25082 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25083 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25084 ;
25085 return 0;
25086 }
25087 _ACEOF
25088 rm -f conftest.$ac_objext
25089 if { (ac_try="$ac_compile"
25090 case "(($ac_try" in
25091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25092 *) ac_try_echo=$ac_try;;
25093 esac
25094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25095 (eval "$ac_compile") 2>conftest.er1
25096 ac_status=$?
25097 grep -v '^ *+' conftest.er1 >conftest.err
25098 rm -f conftest.er1
25099 cat conftest.err >&5
25100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25101 (exit $ac_status); } && {
25102 test -z "$ac_cxx_werror_flag" ||
25103 test ! -s conftest.err
25104 } && test -s conftest.$ac_objext; then
25105 wx_cv_class_stdhashmapset=yes
25106 else
25107 echo "$as_me: failed program was:" >&5
25108 sed 's/^/| /' conftest.$ac_ext >&5
25109
25110 wx_cv_class_stdhashmapset=no
25111 fi
25112
25113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25114
25115
25116 fi
25117 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25118 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25119 fi
25120
25121
25122
25123 if test "$wx_cv_class_stdhashmapset" = yes; then
25124 cat >>confdefs.h <<\_ACEOF
25125 #define HAVE_HASH_MAP 1
25126 _ACEOF
25127
25128 cat >>confdefs.h <<\_ACEOF
25129 #define HAVE_STD_HASH_MAP 1
25130 _ACEOF
25131
25132 fi
25133
25134 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25135 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25136 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25137 echo $ECHO_N "(cached) $ECHO_C" >&6
25138 else
25139 cat >conftest.$ac_ext <<_ACEOF
25140 /* confdefs.h. */
25141 _ACEOF
25142 cat confdefs.h >>conftest.$ac_ext
25143 cat >>conftest.$ac_ext <<_ACEOF
25144 /* end confdefs.h. */
25145
25146
25147
25148 #include <ext/hash_map>
25149 _ACEOF
25150 rm -f conftest.$ac_objext
25151 if { (ac_try="$ac_compile"
25152 case "(($ac_try" in
25153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25154 *) ac_try_echo=$ac_try;;
25155 esac
25156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25157 (eval "$ac_compile") 2>conftest.er1
25158 ac_status=$?
25159 grep -v '^ *+' conftest.er1 >conftest.err
25160 rm -f conftest.er1
25161 cat conftest.err >&5
25162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25163 (exit $ac_status); } && {
25164 test -z "$ac_cxx_werror_flag" ||
25165 test ! -s conftest.err
25166 } && test -s conftest.$ac_objext; then
25167 ac_cv_header_ext_hash_map=yes
25168 else
25169 echo "$as_me: failed program was:" >&5
25170 sed 's/^/| /' conftest.$ac_ext >&5
25171
25172 ac_cv_header_ext_hash_map=no
25173 fi
25174
25175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25176 fi
25177 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25178 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25179 if test $ac_cv_header_ext_hash_map = yes; then
25180 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25181 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25182 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25183 echo $ECHO_N "(cached) $ECHO_C" >&6
25184 else
25185 cat >conftest.$ac_ext <<_ACEOF
25186 /* confdefs.h. */
25187 _ACEOF
25188 cat confdefs.h >>conftest.$ac_ext
25189 cat >>conftest.$ac_ext <<_ACEOF
25190 /* end confdefs.h. */
25191 #include <ext/hash_map>
25192 #include <ext/hash_set>
25193 int
25194 main ()
25195 {
25196 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25197 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25198 ;
25199 return 0;
25200 }
25201 _ACEOF
25202 rm -f conftest.$ac_objext
25203 if { (ac_try="$ac_compile"
25204 case "(($ac_try" in
25205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25206 *) ac_try_echo=$ac_try;;
25207 esac
25208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25209 (eval "$ac_compile") 2>conftest.er1
25210 ac_status=$?
25211 grep -v '^ *+' conftest.er1 >conftest.err
25212 rm -f conftest.er1
25213 cat conftest.err >&5
25214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25215 (exit $ac_status); } && {
25216 test -z "$ac_cxx_werror_flag" ||
25217 test ! -s conftest.err
25218 } && test -s conftest.$ac_objext; then
25219 wx_cv_class_gnuhashmapset=yes
25220 else
25221 echo "$as_me: failed program was:" >&5
25222 sed 's/^/| /' conftest.$ac_ext >&5
25223
25224 wx_cv_class_gnuhashmapset=no
25225 fi
25226
25227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25228
25229
25230 fi
25231 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25232 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25233 fi
25234
25235
25236
25237 fi
25238 fi
25239 fi
25240
25241
25242
25243 if test -n "$GCC"; then
25244 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25245 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25246 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25247 echo $ECHO_N "(cached) $ECHO_C" >&6
25248 else
25249
25250 cat >conftest.$ac_ext <<_ACEOF
25251 /* confdefs.h. */
25252 _ACEOF
25253 cat confdefs.h >>conftest.$ac_ext
25254 cat >>conftest.$ac_ext <<_ACEOF
25255 /* end confdefs.h. */
25256
25257 int
25258 main ()
25259 {
25260
25261 unsigned int value=0;
25262 /* wxAtomicInc doesn't use return value here */
25263 __sync_fetch_and_add(&value, 2);
25264 __sync_sub_and_fetch(&value, 1);
25265 /* but wxAtomicDec does, so mimic that: */
25266 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25267
25268 ;
25269 return 0;
25270 }
25271 _ACEOF
25272 rm -f conftest.$ac_objext conftest$ac_exeext
25273 if { (ac_try="$ac_link"
25274 case "(($ac_try" in
25275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25276 *) ac_try_echo=$ac_try;;
25277 esac
25278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25279 (eval "$ac_link") 2>conftest.er1
25280 ac_status=$?
25281 grep -v '^ *+' conftest.er1 >conftest.err
25282 rm -f conftest.er1
25283 cat conftest.err >&5
25284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25285 (exit $ac_status); } && {
25286 test -z "$ac_cxx_werror_flag" ||
25287 test ! -s conftest.err
25288 } && test -s conftest$ac_exeext &&
25289 $as_test_x conftest$ac_exeext; then
25290 wx_cv_cc_gcc_atomic_builtins=yes
25291 else
25292 echo "$as_me: failed program was:" >&5
25293 sed 's/^/| /' conftest.$ac_ext >&5
25294
25295 wx_cv_cc_gcc_atomic_builtins=no
25296 fi
25297
25298 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25299 conftest$ac_exeext conftest.$ac_ext
25300
25301 fi
25302
25303 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25304 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25305 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25306 cat >>confdefs.h <<\_ACEOF
25307 #define HAVE_GCC_ATOMIC_BUILTINS 1
25308 _ACEOF
25309
25310 fi
25311 fi
25312
25313
25314 ac_ext=c
25315 ac_cpp='$CPP $CPPFLAGS'
25316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25319
25320
25321
25322 SEARCH_INCLUDE="\
25323 /usr/local/include \
25324 /usr/local/X11/include \
25325 /usr/local/include/X11 \
25326 /usr/local/X11R6/include \
25327 /usr/local/include/X11R6 \
25328 \
25329 /usr/Motif-2.1/include \
25330 /usr/Motif-1.2/include \
25331 /usr/include/Motif1.2 \
25332 \
25333 /usr/dt/include \
25334 /usr/openwin/include \
25335 \
25336 /usr/include/Xm \
25337 \
25338 /usr/X11R6/include \
25339 /usr/X11R6.4/include \
25340 \
25341 /usr/include/X11R6 \
25342 \
25343 /usr/X11/include \
25344 /usr/include/X11 \
25345 \
25346 /usr/XFree86/include/X11 \
25347 /usr/pkg/include \
25348 \
25349 /usr/local/X1R5/include \
25350 /usr/local/include/X11R5 \
25351 /usr/X11R5/include \
25352 /usr/include/X11R5 \
25353 \
25354 /usr/local/X11R4/include \
25355 /usr/local/include/X11R4 \
25356 /usr/X11R4/include \
25357 /usr/include/X11R4 \
25358 \
25359 /usr/openwin/share/include"
25360
25361 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25362 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25363
25364 case "${host}" in
25365 *-*-irix6* )
25366 if test "${wx_cv_std_libpath+set}" = set; then
25367 echo $ECHO_N "(cached) $ECHO_C" >&6
25368 else
25369
25370 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25371 for e in a so sl dylib dll.a; do
25372 libc="$d/libc.$e"
25373 if test -f $libc; then
25374 save_LIBS="$LIBS"
25375 LIBS="$libc"
25376 cat >conftest.$ac_ext <<_ACEOF
25377 int main() { return 0; }
25378 _ACEOF
25379 rm -f conftest.$ac_objext conftest$ac_exeext
25380 if { (ac_try="$ac_link"
25381 case "(($ac_try" in
25382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25383 *) ac_try_echo=$ac_try;;
25384 esac
25385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25386 (eval "$ac_link") 2>conftest.er1
25387 ac_status=$?
25388 grep -v '^ *+' conftest.er1 >conftest.err
25389 rm -f conftest.er1
25390 cat conftest.err >&5
25391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25392 (exit $ac_status); } && {
25393 test -z "$ac_c_werror_flag" ||
25394 test ! -s conftest.err
25395 } && test -s conftest$ac_exeext &&
25396 $as_test_x conftest$ac_exeext; then
25397 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25398 else
25399 echo "$as_me: failed program was:" >&5
25400 sed 's/^/| /' conftest.$ac_ext >&5
25401
25402
25403 fi
25404
25405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25406 conftest$ac_exeext conftest.$ac_ext
25407 LIBS="$save_LIBS"
25408 if test "x$wx_cv_std_libpath" != "x"; then
25409 break 2
25410 fi
25411 fi
25412 done
25413 done
25414 if test "x$wx_cv_std_libpath" = "x"; then
25415 wx_cv_std_libpath="lib"
25416 fi
25417
25418
25419 fi
25420
25421 ;;
25422
25423 *-*-solaris2* )
25424 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25425 wx_cv_std_libpath="lib/64"
25426 else
25427 wx_cv_std_libpath="lib"
25428 fi
25429 ;;
25430
25431 *-*-linux* )
25432 if test "$ac_cv_sizeof_void_p" = 8 -a \
25433 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25434 wx_cv_std_libpath="lib64"
25435 else
25436 wx_cv_std_libpath="lib"
25437 fi
25438 ;;
25439
25440 *)
25441 wx_cv_std_libpath="lib";
25442 ;;
25443 esac
25444
25445 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25446 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25447
25448 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25449
25450 if test "$build" != "$host" -a "$GCC" = yes; then
25451 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25452 cross_root=`dirname $cross_root`
25453 cross_root=`dirname $cross_root`
25454
25455 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25456 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25457 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25458
25459 if test -z "$PKG_CONFIG_PATH"; then
25460 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25461 export PKG_CONFIG_PATH
25462 fi
25463
25464 if test -z "$x_includes" -o "$x_includes" = NONE; then
25465
25466 ac_find_includes=
25467 for ac_dir in $SEARCH_INCLUDE /usr/include;
25468 do
25469 if test -f "$ac_dir/X11/Intrinsic.h"; then
25470 ac_find_includes=$ac_dir
25471 break
25472 fi
25473 done
25474
25475 x_includes=$ac_find_includes
25476 fi
25477 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25478
25479 ac_find_libraries=
25480 for ac_dir in $SEARCH_LIB;
25481 do
25482 for ac_extension in a so sl dylib dll.a; do
25483 if test -f "$ac_dir/libXt.$ac_extension"; then
25484 ac_find_libraries=$ac_dir
25485 break 2
25486 fi
25487 done
25488 done
25489
25490 x_libraries=$ac_find_libraries
25491 fi
25492 fi
25493 fi
25494
25495
25496 cat >confcache <<\_ACEOF
25497 # This file is a shell script that caches the results of configure
25498 # tests run on this system so they can be shared between configure
25499 # scripts and configure runs, see configure's option --config-cache.
25500 # It is not useful on other systems. If it contains results you don't
25501 # want to keep, you may remove or edit it.
25502 #
25503 # config.status only pays attention to the cache file if you give it
25504 # the --recheck option to rerun configure.
25505 #
25506 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25507 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25508 # following values.
25509
25510 _ACEOF
25511
25512 # The following way of writing the cache mishandles newlines in values,
25513 # but we know of no workaround that is simple, portable, and efficient.
25514 # So, we kill variables containing newlines.
25515 # Ultrix sh set writes to stderr and can't be redirected directly,
25516 # and sets the high bit in the cache file unless we assign to the vars.
25517 (
25518 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25519 eval ac_val=\$$ac_var
25520 case $ac_val in #(
25521 *${as_nl}*)
25522 case $ac_var in #(
25523 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25524 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25525 esac
25526 case $ac_var in #(
25527 _ | IFS | as_nl) ;; #(
25528 *) $as_unset $ac_var ;;
25529 esac ;;
25530 esac
25531 done
25532
25533 (set) 2>&1 |
25534 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25535 *${as_nl}ac_space=\ *)
25536 # `set' does not quote correctly, so add quotes (double-quote
25537 # substitution turns \\\\ into \\, and sed turns \\ into \).
25538 sed -n \
25539 "s/'/'\\\\''/g;
25540 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25541 ;; #(
25542 *)
25543 # `set' quotes correctly as required by POSIX, so do not add quotes.
25544 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25545 ;;
25546 esac |
25547 sort
25548 ) |
25549 sed '
25550 /^ac_cv_env_/b end
25551 t clear
25552 :clear
25553 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25554 t end
25555 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25556 :end' >>confcache
25557 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25558 if test -w "$cache_file"; then
25559 test "x$cache_file" != "x/dev/null" &&
25560 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25561 echo "$as_me: updating cache $cache_file" >&6;}
25562 cat confcache >$cache_file
25563 else
25564 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25565 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25566 fi
25567 fi
25568 rm -f confcache
25569
25570 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25571 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25572 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25573 if test "${wx_cv_lib_glibc21+set}" = set; then
25574 echo $ECHO_N "(cached) $ECHO_C" >&6
25575 else
25576
25577 cat >conftest.$ac_ext <<_ACEOF
25578 /* confdefs.h. */
25579 _ACEOF
25580 cat confdefs.h >>conftest.$ac_ext
25581 cat >>conftest.$ac_ext <<_ACEOF
25582 /* end confdefs.h. */
25583 #include <features.h>
25584 int
25585 main ()
25586 {
25587
25588 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25589 not glibc 2.1
25590 #endif
25591
25592 ;
25593 return 0;
25594 }
25595 _ACEOF
25596 rm -f conftest.$ac_objext
25597 if { (ac_try="$ac_compile"
25598 case "(($ac_try" in
25599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25600 *) ac_try_echo=$ac_try;;
25601 esac
25602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25603 (eval "$ac_compile") 2>conftest.er1
25604 ac_status=$?
25605 grep -v '^ *+' conftest.er1 >conftest.err
25606 rm -f conftest.er1
25607 cat conftest.err >&5
25608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25609 (exit $ac_status); } && {
25610 test -z "$ac_c_werror_flag" ||
25611 test ! -s conftest.err
25612 } && test -s conftest.$ac_objext; then
25613
25614 wx_cv_lib_glibc21=yes
25615
25616 else
25617 echo "$as_me: failed program was:" >&5
25618 sed 's/^/| /' conftest.$ac_ext >&5
25619
25620
25621 wx_cv_lib_glibc21=no
25622
25623
25624 fi
25625
25626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25627
25628 fi
25629 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25630 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25631 if test "$wx_cv_lib_glibc21" = "yes"; then
25632 cat >>confdefs.h <<\_ACEOF
25633 #define wxHAVE_GLIBC2 1
25634 _ACEOF
25635
25636 fi
25637 fi
25638
25639 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25640 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25641 cat >>confdefs.h <<\_ACEOF
25642 #define _GNU_SOURCE 1
25643 _ACEOF
25644
25645 fi
25646 fi
25647
25648 have_cos=0
25649 have_floor=0
25650
25651 for ac_func in cos
25652 do
25653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25654 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25656 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25657 echo $ECHO_N "(cached) $ECHO_C" >&6
25658 else
25659 cat >conftest.$ac_ext <<_ACEOF
25660 /* confdefs.h. */
25661 _ACEOF
25662 cat confdefs.h >>conftest.$ac_ext
25663 cat >>conftest.$ac_ext <<_ACEOF
25664 /* end confdefs.h. */
25665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25667 #define $ac_func innocuous_$ac_func
25668
25669 /* System header to define __stub macros and hopefully few prototypes,
25670 which can conflict with char $ac_func (); below.
25671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25672 <limits.h> exists even on freestanding compilers. */
25673
25674 #ifdef __STDC__
25675 # include <limits.h>
25676 #else
25677 # include <assert.h>
25678 #endif
25679
25680 #undef $ac_func
25681
25682 /* Override any GCC internal prototype to avoid an error.
25683 Use char because int might match the return type of a GCC
25684 builtin and then its argument prototype would still apply. */
25685 #ifdef __cplusplus
25686 extern "C"
25687 #endif
25688 char $ac_func ();
25689 /* The GNU C library defines this for functions which it implements
25690 to always fail with ENOSYS. Some functions are actually named
25691 something starting with __ and the normal name is an alias. */
25692 #if defined __stub_$ac_func || defined __stub___$ac_func
25693 choke me
25694 #endif
25695
25696 int
25697 main ()
25698 {
25699 return $ac_func ();
25700 ;
25701 return 0;
25702 }
25703 _ACEOF
25704 rm -f conftest.$ac_objext conftest$ac_exeext
25705 if { (ac_try="$ac_link"
25706 case "(($ac_try" in
25707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25708 *) ac_try_echo=$ac_try;;
25709 esac
25710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25711 (eval "$ac_link") 2>conftest.er1
25712 ac_status=$?
25713 grep -v '^ *+' conftest.er1 >conftest.err
25714 rm -f conftest.er1
25715 cat conftest.err >&5
25716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25717 (exit $ac_status); } && {
25718 test -z "$ac_c_werror_flag" ||
25719 test ! -s conftest.err
25720 } && test -s conftest$ac_exeext &&
25721 $as_test_x conftest$ac_exeext; then
25722 eval "$as_ac_var=yes"
25723 else
25724 echo "$as_me: failed program was:" >&5
25725 sed 's/^/| /' conftest.$ac_ext >&5
25726
25727 eval "$as_ac_var=no"
25728 fi
25729
25730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25731 conftest$ac_exeext conftest.$ac_ext
25732 fi
25733 ac_res=`eval echo '${'$as_ac_var'}'`
25734 { echo "$as_me:$LINENO: result: $ac_res" >&5
25735 echo "${ECHO_T}$ac_res" >&6; }
25736 if test `eval echo '${'$as_ac_var'}'` = yes; then
25737 cat >>confdefs.h <<_ACEOF
25738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25739 _ACEOF
25740 have_cos=1
25741 fi
25742 done
25743
25744
25745 for ac_func in floor
25746 do
25747 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25748 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25750 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25751 echo $ECHO_N "(cached) $ECHO_C" >&6
25752 else
25753 cat >conftest.$ac_ext <<_ACEOF
25754 /* confdefs.h. */
25755 _ACEOF
25756 cat confdefs.h >>conftest.$ac_ext
25757 cat >>conftest.$ac_ext <<_ACEOF
25758 /* end confdefs.h. */
25759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25761 #define $ac_func innocuous_$ac_func
25762
25763 /* System header to define __stub macros and hopefully few prototypes,
25764 which can conflict with char $ac_func (); below.
25765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25766 <limits.h> exists even on freestanding compilers. */
25767
25768 #ifdef __STDC__
25769 # include <limits.h>
25770 #else
25771 # include <assert.h>
25772 #endif
25773
25774 #undef $ac_func
25775
25776 /* Override any GCC internal prototype to avoid an error.
25777 Use char because int might match the return type of a GCC
25778 builtin and then its argument prototype would still apply. */
25779 #ifdef __cplusplus
25780 extern "C"
25781 #endif
25782 char $ac_func ();
25783 /* The GNU C library defines this for functions which it implements
25784 to always fail with ENOSYS. Some functions are actually named
25785 something starting with __ and the normal name is an alias. */
25786 #if defined __stub_$ac_func || defined __stub___$ac_func
25787 choke me
25788 #endif
25789
25790 int
25791 main ()
25792 {
25793 return $ac_func ();
25794 ;
25795 return 0;
25796 }
25797 _ACEOF
25798 rm -f conftest.$ac_objext conftest$ac_exeext
25799 if { (ac_try="$ac_link"
25800 case "(($ac_try" in
25801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25802 *) ac_try_echo=$ac_try;;
25803 esac
25804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25805 (eval "$ac_link") 2>conftest.er1
25806 ac_status=$?
25807 grep -v '^ *+' conftest.er1 >conftest.err
25808 rm -f conftest.er1
25809 cat conftest.err >&5
25810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25811 (exit $ac_status); } && {
25812 test -z "$ac_c_werror_flag" ||
25813 test ! -s conftest.err
25814 } && test -s conftest$ac_exeext &&
25815 $as_test_x conftest$ac_exeext; then
25816 eval "$as_ac_var=yes"
25817 else
25818 echo "$as_me: failed program was:" >&5
25819 sed 's/^/| /' conftest.$ac_ext >&5
25820
25821 eval "$as_ac_var=no"
25822 fi
25823
25824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25825 conftest$ac_exeext conftest.$ac_ext
25826 fi
25827 ac_res=`eval echo '${'$as_ac_var'}'`
25828 { echo "$as_me:$LINENO: result: $ac_res" >&5
25829 echo "${ECHO_T}$ac_res" >&6; }
25830 if test `eval echo '${'$as_ac_var'}'` = yes; then
25831 cat >>confdefs.h <<_ACEOF
25832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25833 _ACEOF
25834 have_floor=1
25835 fi
25836 done
25837
25838 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25839 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25840 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25841 { echo "$as_me:$LINENO: result: yes" >&5
25842 echo "${ECHO_T}yes" >&6; }
25843 else
25844 { echo "$as_me:$LINENO: result: no" >&5
25845 echo "${ECHO_T}no" >&6; }
25846 LIBS="$LIBS -lm"
25847 # use different functions to avoid configure caching
25848 have_sin=0
25849 have_ceil=0
25850
25851 for ac_func in sin
25852 do
25853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25854 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25856 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25857 echo $ECHO_N "(cached) $ECHO_C" >&6
25858 else
25859 cat >conftest.$ac_ext <<_ACEOF
25860 /* confdefs.h. */
25861 _ACEOF
25862 cat confdefs.h >>conftest.$ac_ext
25863 cat >>conftest.$ac_ext <<_ACEOF
25864 /* end confdefs.h. */
25865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25867 #define $ac_func innocuous_$ac_func
25868
25869 /* System header to define __stub macros and hopefully few prototypes,
25870 which can conflict with char $ac_func (); below.
25871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25872 <limits.h> exists even on freestanding compilers. */
25873
25874 #ifdef __STDC__
25875 # include <limits.h>
25876 #else
25877 # include <assert.h>
25878 #endif
25879
25880 #undef $ac_func
25881
25882 /* Override any GCC internal prototype to avoid an error.
25883 Use char because int might match the return type of a GCC
25884 builtin and then its argument prototype would still apply. */
25885 #ifdef __cplusplus
25886 extern "C"
25887 #endif
25888 char $ac_func ();
25889 /* The GNU C library defines this for functions which it implements
25890 to always fail with ENOSYS. Some functions are actually named
25891 something starting with __ and the normal name is an alias. */
25892 #if defined __stub_$ac_func || defined __stub___$ac_func
25893 choke me
25894 #endif
25895
25896 int
25897 main ()
25898 {
25899 return $ac_func ();
25900 ;
25901 return 0;
25902 }
25903 _ACEOF
25904 rm -f conftest.$ac_objext conftest$ac_exeext
25905 if { (ac_try="$ac_link"
25906 case "(($ac_try" in
25907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25908 *) ac_try_echo=$ac_try;;
25909 esac
25910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25911 (eval "$ac_link") 2>conftest.er1
25912 ac_status=$?
25913 grep -v '^ *+' conftest.er1 >conftest.err
25914 rm -f conftest.er1
25915 cat conftest.err >&5
25916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25917 (exit $ac_status); } && {
25918 test -z "$ac_c_werror_flag" ||
25919 test ! -s conftest.err
25920 } && test -s conftest$ac_exeext &&
25921 $as_test_x conftest$ac_exeext; then
25922 eval "$as_ac_var=yes"
25923 else
25924 echo "$as_me: failed program was:" >&5
25925 sed 's/^/| /' conftest.$ac_ext >&5
25926
25927 eval "$as_ac_var=no"
25928 fi
25929
25930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25931 conftest$ac_exeext conftest.$ac_ext
25932 fi
25933 ac_res=`eval echo '${'$as_ac_var'}'`
25934 { echo "$as_me:$LINENO: result: $ac_res" >&5
25935 echo "${ECHO_T}$ac_res" >&6; }
25936 if test `eval echo '${'$as_ac_var'}'` = yes; then
25937 cat >>confdefs.h <<_ACEOF
25938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25939 _ACEOF
25940 have_sin=1
25941 fi
25942 done
25943
25944
25945 for ac_func in ceil
25946 do
25947 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25948 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25950 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25951 echo $ECHO_N "(cached) $ECHO_C" >&6
25952 else
25953 cat >conftest.$ac_ext <<_ACEOF
25954 /* confdefs.h. */
25955 _ACEOF
25956 cat confdefs.h >>conftest.$ac_ext
25957 cat >>conftest.$ac_ext <<_ACEOF
25958 /* end confdefs.h. */
25959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25961 #define $ac_func innocuous_$ac_func
25962
25963 /* System header to define __stub macros and hopefully few prototypes,
25964 which can conflict with char $ac_func (); below.
25965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25966 <limits.h> exists even on freestanding compilers. */
25967
25968 #ifdef __STDC__
25969 # include <limits.h>
25970 #else
25971 # include <assert.h>
25972 #endif
25973
25974 #undef $ac_func
25975
25976 /* Override any GCC internal prototype to avoid an error.
25977 Use char because int might match the return type of a GCC
25978 builtin and then its argument prototype would still apply. */
25979 #ifdef __cplusplus
25980 extern "C"
25981 #endif
25982 char $ac_func ();
25983 /* The GNU C library defines this for functions which it implements
25984 to always fail with ENOSYS. Some functions are actually named
25985 something starting with __ and the normal name is an alias. */
25986 #if defined __stub_$ac_func || defined __stub___$ac_func
25987 choke me
25988 #endif
25989
25990 int
25991 main ()
25992 {
25993 return $ac_func ();
25994 ;
25995 return 0;
25996 }
25997 _ACEOF
25998 rm -f conftest.$ac_objext conftest$ac_exeext
25999 if { (ac_try="$ac_link"
26000 case "(($ac_try" in
26001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26002 *) ac_try_echo=$ac_try;;
26003 esac
26004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26005 (eval "$ac_link") 2>conftest.er1
26006 ac_status=$?
26007 grep -v '^ *+' conftest.er1 >conftest.err
26008 rm -f conftest.er1
26009 cat conftest.err >&5
26010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26011 (exit $ac_status); } && {
26012 test -z "$ac_c_werror_flag" ||
26013 test ! -s conftest.err
26014 } && test -s conftest$ac_exeext &&
26015 $as_test_x conftest$ac_exeext; then
26016 eval "$as_ac_var=yes"
26017 else
26018 echo "$as_me: failed program was:" >&5
26019 sed 's/^/| /' conftest.$ac_ext >&5
26020
26021 eval "$as_ac_var=no"
26022 fi
26023
26024 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26025 conftest$ac_exeext conftest.$ac_ext
26026 fi
26027 ac_res=`eval echo '${'$as_ac_var'}'`
26028 { echo "$as_me:$LINENO: result: $ac_res" >&5
26029 echo "${ECHO_T}$ac_res" >&6; }
26030 if test `eval echo '${'$as_ac_var'}'` = yes; then
26031 cat >>confdefs.h <<_ACEOF
26032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26033 _ACEOF
26034 have_ceil=1
26035 fi
26036 done
26037
26038 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26039 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26040 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26041 { echo "$as_me:$LINENO: result: yes" >&5
26042 echo "${ECHO_T}yes" >&6; }
26043 else
26044 { echo "$as_me:$LINENO: result: no" >&5
26045 echo "${ECHO_T}no" >&6; }
26046 # not sure we should warn the user, crash, etc.
26047 fi
26048 fi
26049
26050 ac_ext=cpp
26051 ac_cpp='$CXXCPP $CPPFLAGS'
26052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26055
26056 if test "wxUSE_UNICODE" = "yes"; then
26057
26058 for wx_func in wcstoull
26059 do
26060 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26061 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26062 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26063 echo $ECHO_N "(cached) $ECHO_C" >&6
26064 else
26065
26066 cat >conftest.$ac_ext <<_ACEOF
26067
26068 /* confdefs.h. */
26069 _ACEOF
26070 cat confdefs.h >>conftest.$ac_ext
26071 cat >>conftest.$ac_ext <<_ACEOF
26072 /* end confdefs.h. */
26073
26074
26075 $ac_includes_default
26076
26077 int
26078 main ()
26079 {
26080
26081 #ifndef $wx_func
26082 &$wx_func;
26083 #endif
26084
26085
26086 ;
26087 return 0;
26088 }
26089
26090 _ACEOF
26091 rm -f conftest.$ac_objext conftest$ac_exeext
26092 if { (ac_try="$ac_link"
26093 case "(($ac_try" in
26094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26095 *) ac_try_echo=$ac_try;;
26096 esac
26097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26098 (eval "$ac_link") 2>conftest.er1
26099 ac_status=$?
26100 grep -v '^ *+' conftest.er1 >conftest.err
26101 rm -f conftest.er1
26102 cat conftest.err >&5
26103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26104 (exit $ac_status); } && {
26105 test -z "$ac_cxx_werror_flag" ||
26106 test ! -s conftest.err
26107 } && test -s conftest$ac_exeext &&
26108 $as_test_x conftest$ac_exeext; then
26109 eval wx_cv_func_$wx_func=yes
26110 else
26111 echo "$as_me: failed program was:" >&5
26112 sed 's/^/| /' conftest.$ac_ext >&5
26113
26114 eval wx_cv_func_$wx_func=no
26115 fi
26116
26117 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26118 conftest$ac_exeext conftest.$ac_ext
26119
26120 fi
26121 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26122 { echo "$as_me:$LINENO: result: $ac_res" >&5
26123 echo "${ECHO_T}$ac_res" >&6; }
26124
26125 if eval test \$wx_cv_func_$wx_func = yes
26126 then
26127 cat >>confdefs.h <<_ACEOF
26128 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26129 _ACEOF
26130
26131
26132 else
26133 :
26134
26135 fi
26136 done
26137
26138 else
26139
26140 for wx_func in strtoull
26141 do
26142 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26143 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26144 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26145 echo $ECHO_N "(cached) $ECHO_C" >&6
26146 else
26147
26148 cat >conftest.$ac_ext <<_ACEOF
26149
26150 /* confdefs.h. */
26151 _ACEOF
26152 cat confdefs.h >>conftest.$ac_ext
26153 cat >>conftest.$ac_ext <<_ACEOF
26154 /* end confdefs.h. */
26155
26156
26157 $ac_includes_default
26158
26159 int
26160 main ()
26161 {
26162
26163 #ifndef $wx_func
26164 &$wx_func;
26165 #endif
26166
26167
26168 ;
26169 return 0;
26170 }
26171
26172 _ACEOF
26173 rm -f conftest.$ac_objext conftest$ac_exeext
26174 if { (ac_try="$ac_link"
26175 case "(($ac_try" in
26176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26177 *) ac_try_echo=$ac_try;;
26178 esac
26179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26180 (eval "$ac_link") 2>conftest.er1
26181 ac_status=$?
26182 grep -v '^ *+' conftest.er1 >conftest.err
26183 rm -f conftest.er1
26184 cat conftest.err >&5
26185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26186 (exit $ac_status); } && {
26187 test -z "$ac_cxx_werror_flag" ||
26188 test ! -s conftest.err
26189 } && test -s conftest$ac_exeext &&
26190 $as_test_x conftest$ac_exeext; then
26191 eval wx_cv_func_$wx_func=yes
26192 else
26193 echo "$as_me: failed program was:" >&5
26194 sed 's/^/| /' conftest.$ac_ext >&5
26195
26196 eval wx_cv_func_$wx_func=no
26197 fi
26198
26199 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26200 conftest$ac_exeext conftest.$ac_ext
26201
26202 fi
26203 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26204 { echo "$as_me:$LINENO: result: $ac_res" >&5
26205 echo "${ECHO_T}$ac_res" >&6; }
26206
26207 if eval test \$wx_cv_func_$wx_func = yes
26208 then
26209 cat >>confdefs.h <<_ACEOF
26210 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26211 _ACEOF
26212
26213
26214 else
26215 :
26216
26217 fi
26218 done
26219
26220 fi
26221 ac_ext=c
26222 ac_cpp='$CPP $CPPFLAGS'
26223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26226
26227
26228
26229
26230 if test "$wxUSE_REGEX" != "no"; then
26231 cat >>confdefs.h <<\_ACEOF
26232 #define wxUSE_REGEX 1
26233 _ACEOF
26234
26235
26236 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26237 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26238 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26239 wxUSE_REGEX=builtin
26240 fi
26241
26242 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26243 { echo "$as_me:$LINENO: checking for regex.h" >&5
26244 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26245 if test "${ac_cv_header_regex_h+set}" = set; then
26246 echo $ECHO_N "(cached) $ECHO_C" >&6
26247 else
26248 cat >conftest.$ac_ext <<_ACEOF
26249 /* confdefs.h. */
26250 _ACEOF
26251 cat confdefs.h >>conftest.$ac_ext
26252 cat >>conftest.$ac_ext <<_ACEOF
26253 /* end confdefs.h. */
26254
26255
26256 #include <regex.h>
26257 _ACEOF
26258 rm -f conftest.$ac_objext
26259 if { (ac_try="$ac_compile"
26260 case "(($ac_try" in
26261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26262 *) ac_try_echo=$ac_try;;
26263 esac
26264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26265 (eval "$ac_compile") 2>conftest.er1
26266 ac_status=$?
26267 grep -v '^ *+' conftest.er1 >conftest.err
26268 rm -f conftest.er1
26269 cat conftest.err >&5
26270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26271 (exit $ac_status); } && {
26272 test -z "$ac_c_werror_flag" ||
26273 test ! -s conftest.err
26274 } && test -s conftest.$ac_objext; then
26275 ac_cv_header_regex_h=yes
26276 else
26277 echo "$as_me: failed program was:" >&5
26278 sed 's/^/| /' conftest.$ac_ext >&5
26279
26280 ac_cv_header_regex_h=no
26281 fi
26282
26283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26284 fi
26285 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26286 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26287 if test $ac_cv_header_regex_h = yes; then
26288
26289
26290 for ac_func in regcomp re_search
26291 do
26292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26293 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26295 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26296 echo $ECHO_N "(cached) $ECHO_C" >&6
26297 else
26298 cat >conftest.$ac_ext <<_ACEOF
26299 /* confdefs.h. */
26300 _ACEOF
26301 cat confdefs.h >>conftest.$ac_ext
26302 cat >>conftest.$ac_ext <<_ACEOF
26303 /* end confdefs.h. */
26304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26306 #define $ac_func innocuous_$ac_func
26307
26308 /* System header to define __stub macros and hopefully few prototypes,
26309 which can conflict with char $ac_func (); below.
26310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26311 <limits.h> exists even on freestanding compilers. */
26312
26313 #ifdef __STDC__
26314 # include <limits.h>
26315 #else
26316 # include <assert.h>
26317 #endif
26318
26319 #undef $ac_func
26320
26321 /* Override any GCC internal prototype to avoid an error.
26322 Use char because int might match the return type of a GCC
26323 builtin and then its argument prototype would still apply. */
26324 #ifdef __cplusplus
26325 extern "C"
26326 #endif
26327 char $ac_func ();
26328 /* The GNU C library defines this for functions which it implements
26329 to always fail with ENOSYS. Some functions are actually named
26330 something starting with __ and the normal name is an alias. */
26331 #if defined __stub_$ac_func || defined __stub___$ac_func
26332 choke me
26333 #endif
26334
26335 int
26336 main ()
26337 {
26338 return $ac_func ();
26339 ;
26340 return 0;
26341 }
26342 _ACEOF
26343 rm -f conftest.$ac_objext conftest$ac_exeext
26344 if { (ac_try="$ac_link"
26345 case "(($ac_try" in
26346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26347 *) ac_try_echo=$ac_try;;
26348 esac
26349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26350 (eval "$ac_link") 2>conftest.er1
26351 ac_status=$?
26352 grep -v '^ *+' conftest.er1 >conftest.err
26353 rm -f conftest.er1
26354 cat conftest.err >&5
26355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26356 (exit $ac_status); } && {
26357 test -z "$ac_c_werror_flag" ||
26358 test ! -s conftest.err
26359 } && test -s conftest$ac_exeext &&
26360 $as_test_x conftest$ac_exeext; then
26361 eval "$as_ac_var=yes"
26362 else
26363 echo "$as_me: failed program was:" >&5
26364 sed 's/^/| /' conftest.$ac_ext >&5
26365
26366 eval "$as_ac_var=no"
26367 fi
26368
26369 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26370 conftest$ac_exeext conftest.$ac_ext
26371 fi
26372 ac_res=`eval echo '${'$as_ac_var'}'`
26373 { echo "$as_me:$LINENO: result: $ac_res" >&5
26374 echo "${ECHO_T}$ac_res" >&6; }
26375 if test `eval echo '${'$as_ac_var'}'` = yes; then
26376 cat >>confdefs.h <<_ACEOF
26377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26378 _ACEOF
26379
26380 fi
26381 done
26382
26383 fi
26384
26385
26386
26387 if test "x$ac_cv_func_regcomp" != "xyes"; then
26388 if test "$wxUSE_REGEX" = "sys" ; then
26389 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26390 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26391 { (exit 1); exit 1; }; }
26392 else
26393 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26394 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26395 wxUSE_REGEX=builtin
26396 fi
26397 else
26398 wxUSE_REGEX=sys
26399 cat >>confdefs.h <<\_ACEOF
26400 #define WX_NO_REGEX_ADVANCED 1
26401 _ACEOF
26402
26403 fi
26404 fi
26405 fi
26406
26407
26408 ZLIB_LINK=
26409 if test "$wxUSE_ZLIB" != "no" ; then
26410 cat >>confdefs.h <<\_ACEOF
26411 #define wxUSE_ZLIB 1
26412 _ACEOF
26413
26414
26415 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26416 if test "$USE_DARWIN" = 1; then
26417 system_zlib_h_ok="yes"
26418 else
26419 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26420 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26421 if test "${ac_cv_header_zlib_h+set}" = set; then
26422 echo $ECHO_N "(cached) $ECHO_C" >&6
26423 else
26424 if test "$cross_compiling" = yes; then
26425 unset ac_cv_header_zlib_h
26426
26427 else
26428 cat >conftest.$ac_ext <<_ACEOF
26429 /* confdefs.h. */
26430 _ACEOF
26431 cat confdefs.h >>conftest.$ac_ext
26432 cat >>conftest.$ac_ext <<_ACEOF
26433 /* end confdefs.h. */
26434
26435 #include <zlib.h>
26436 #include <stdio.h>
26437
26438 int main()
26439 {
26440 FILE *f=fopen("conftestval", "w");
26441 if (!f) exit(1);
26442 fprintf(f, "%s",
26443 ZLIB_VERSION[0] == '1' &&
26444 (ZLIB_VERSION[2] > '1' ||
26445 (ZLIB_VERSION[2] == '1' &&
26446 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26447 exit(0);
26448 }
26449
26450 _ACEOF
26451 rm -f conftest$ac_exeext
26452 if { (ac_try="$ac_link"
26453 case "(($ac_try" in
26454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26455 *) ac_try_echo=$ac_try;;
26456 esac
26457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26458 (eval "$ac_link") 2>&5
26459 ac_status=$?
26460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26461 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26462 { (case "(($ac_try" in
26463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26464 *) ac_try_echo=$ac_try;;
26465 esac
26466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26467 (eval "$ac_try") 2>&5
26468 ac_status=$?
26469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26470 (exit $ac_status); }; }; then
26471 ac_cv_header_zlib_h=`cat conftestval`
26472 else
26473 echo "$as_me: program exited with status $ac_status" >&5
26474 echo "$as_me: failed program was:" >&5
26475 sed 's/^/| /' conftest.$ac_ext >&5
26476
26477 ( exit $ac_status )
26478 ac_cv_header_zlib_h=no
26479 fi
26480 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26481 fi
26482
26483
26484
26485 fi
26486 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26487 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26488 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26489 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26490 if test "${ac_cv_header_zlib_h+set}" = set; then
26491 echo $ECHO_N "(cached) $ECHO_C" >&6
26492 else
26493 cat >conftest.$ac_ext <<_ACEOF
26494 /* confdefs.h. */
26495 _ACEOF
26496 cat confdefs.h >>conftest.$ac_ext
26497 cat >>conftest.$ac_ext <<_ACEOF
26498 /* end confdefs.h. */
26499
26500
26501 #include <zlib.h>
26502 _ACEOF
26503 rm -f conftest.$ac_objext
26504 if { (ac_try="$ac_compile"
26505 case "(($ac_try" in
26506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26507 *) ac_try_echo=$ac_try;;
26508 esac
26509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26510 (eval "$ac_compile") 2>conftest.er1
26511 ac_status=$?
26512 grep -v '^ *+' conftest.er1 >conftest.err
26513 rm -f conftest.er1
26514 cat conftest.err >&5
26515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26516 (exit $ac_status); } && {
26517 test -z "$ac_c_werror_flag" ||
26518 test ! -s conftest.err
26519 } && test -s conftest.$ac_objext; then
26520 ac_cv_header_zlib_h=yes
26521 else
26522 echo "$as_me: failed program was:" >&5
26523 sed 's/^/| /' conftest.$ac_ext >&5
26524
26525 ac_cv_header_zlib_h=no
26526 fi
26527
26528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26529 fi
26530 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26531 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26532
26533
26534
26535 system_zlib_h_ok=$ac_cv_header_zlib_h
26536 fi
26537
26538 if test "$system_zlib_h_ok" = "yes"; then
26539 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26540 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26541 if test "${ac_cv_lib_z_deflate+set}" = set; then
26542 echo $ECHO_N "(cached) $ECHO_C" >&6
26543 else
26544 ac_check_lib_save_LIBS=$LIBS
26545 LIBS="-lz $LIBS"
26546 cat >conftest.$ac_ext <<_ACEOF
26547 /* confdefs.h. */
26548 _ACEOF
26549 cat confdefs.h >>conftest.$ac_ext
26550 cat >>conftest.$ac_ext <<_ACEOF
26551 /* end confdefs.h. */
26552
26553 /* Override any GCC internal prototype to avoid an error.
26554 Use char because int might match the return type of a GCC
26555 builtin and then its argument prototype would still apply. */
26556 #ifdef __cplusplus
26557 extern "C"
26558 #endif
26559 char deflate ();
26560 int
26561 main ()
26562 {
26563 return deflate ();
26564 ;
26565 return 0;
26566 }
26567 _ACEOF
26568 rm -f conftest.$ac_objext conftest$ac_exeext
26569 if { (ac_try="$ac_link"
26570 case "(($ac_try" in
26571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26572 *) ac_try_echo=$ac_try;;
26573 esac
26574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26575 (eval "$ac_link") 2>conftest.er1
26576 ac_status=$?
26577 grep -v '^ *+' conftest.er1 >conftest.err
26578 rm -f conftest.er1
26579 cat conftest.err >&5
26580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26581 (exit $ac_status); } && {
26582 test -z "$ac_c_werror_flag" ||
26583 test ! -s conftest.err
26584 } && test -s conftest$ac_exeext &&
26585 $as_test_x conftest$ac_exeext; then
26586 ac_cv_lib_z_deflate=yes
26587 else
26588 echo "$as_me: failed program was:" >&5
26589 sed 's/^/| /' conftest.$ac_ext >&5
26590
26591 ac_cv_lib_z_deflate=no
26592 fi
26593
26594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26595 conftest$ac_exeext conftest.$ac_ext
26596 LIBS=$ac_check_lib_save_LIBS
26597 fi
26598 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26599 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26600 if test $ac_cv_lib_z_deflate = yes; then
26601 ZLIB_LINK=" -lz"
26602 fi
26603
26604 fi
26605
26606 if test "x$ZLIB_LINK" = "x" ; then
26607 if test "$wxUSE_ZLIB" = "sys" ; then
26608 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26609 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26610 { (exit 1); exit 1; }; }
26611 else
26612 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26613 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26614 wxUSE_ZLIB=builtin
26615 fi
26616 else
26617 wxUSE_ZLIB=sys
26618 fi
26619 fi
26620 fi
26621
26622
26623 PNG_LINK=
26624 if test "$wxUSE_LIBPNG" != "no" ; then
26625 cat >>confdefs.h <<\_ACEOF
26626 #define wxUSE_LIBPNG 1
26627 _ACEOF
26628
26629
26630 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26631 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26632 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26633 wxUSE_LIBPNG=sys
26634 fi
26635
26636 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26637 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26638 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26639 wxUSE_LIBPNG=builtin
26640 fi
26641
26642 if test "$wxUSE_MGL" != 1 ; then
26643 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26644 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26645 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26646 if test "${ac_cv_header_png_h+set}" = set; then
26647 echo $ECHO_N "(cached) $ECHO_C" >&6
26648 else
26649 if test "$cross_compiling" = yes; then
26650 unset ac_cv_header_png_h
26651
26652 else
26653 cat >conftest.$ac_ext <<_ACEOF
26654 /* confdefs.h. */
26655 _ACEOF
26656 cat confdefs.h >>conftest.$ac_ext
26657 cat >>conftest.$ac_ext <<_ACEOF
26658 /* end confdefs.h. */
26659
26660 #include <png.h>
26661 #include <stdio.h>
26662
26663 int main()
26664 {
26665 FILE *f=fopen("conftestval", "w");
26666 if (!f) exit(1);
26667 fprintf(f, "%s",
26668 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26669 exit(0);
26670 }
26671
26672 _ACEOF
26673 rm -f conftest$ac_exeext
26674 if { (ac_try="$ac_link"
26675 case "(($ac_try" in
26676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26677 *) ac_try_echo=$ac_try;;
26678 esac
26679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26680 (eval "$ac_link") 2>&5
26681 ac_status=$?
26682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26683 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26684 { (case "(($ac_try" in
26685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26686 *) ac_try_echo=$ac_try;;
26687 esac
26688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26689 (eval "$ac_try") 2>&5
26690 ac_status=$?
26691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26692 (exit $ac_status); }; }; then
26693 ac_cv_header_png_h=`cat conftestval`
26694 else
26695 echo "$as_me: program exited with status $ac_status" >&5
26696 echo "$as_me: failed program was:" >&5
26697 sed 's/^/| /' conftest.$ac_ext >&5
26698
26699 ( exit $ac_status )
26700 ac_cv_header_png_h=no
26701 fi
26702 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26703 fi
26704
26705
26706
26707 fi
26708 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26709 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26710 { echo "$as_me:$LINENO: checking for png.h" >&5
26711 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26712 if test "${ac_cv_header_png_h+set}" = set; then
26713 echo $ECHO_N "(cached) $ECHO_C" >&6
26714 else
26715 cat >conftest.$ac_ext <<_ACEOF
26716 /* confdefs.h. */
26717 _ACEOF
26718 cat confdefs.h >>conftest.$ac_ext
26719 cat >>conftest.$ac_ext <<_ACEOF
26720 /* end confdefs.h. */
26721
26722
26723 #include <png.h>
26724 _ACEOF
26725 rm -f conftest.$ac_objext
26726 if { (ac_try="$ac_compile"
26727 case "(($ac_try" in
26728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26729 *) ac_try_echo=$ac_try;;
26730 esac
26731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26732 (eval "$ac_compile") 2>conftest.er1
26733 ac_status=$?
26734 grep -v '^ *+' conftest.er1 >conftest.err
26735 rm -f conftest.er1
26736 cat conftest.err >&5
26737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26738 (exit $ac_status); } && {
26739 test -z "$ac_c_werror_flag" ||
26740 test ! -s conftest.err
26741 } && test -s conftest.$ac_objext; then
26742 ac_cv_header_png_h=yes
26743 else
26744 echo "$as_me: failed program was:" >&5
26745 sed 's/^/| /' conftest.$ac_ext >&5
26746
26747 ac_cv_header_png_h=no
26748 fi
26749
26750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26751 fi
26752 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26753 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26754
26755
26756
26757 if test "$ac_cv_header_png_h" = "yes"; then
26758 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26759 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26760 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26761 echo $ECHO_N "(cached) $ECHO_C" >&6
26762 else
26763 ac_check_lib_save_LIBS=$LIBS
26764 LIBS="-lpng -lz -lm $LIBS"
26765 cat >conftest.$ac_ext <<_ACEOF
26766 /* confdefs.h. */
26767 _ACEOF
26768 cat confdefs.h >>conftest.$ac_ext
26769 cat >>conftest.$ac_ext <<_ACEOF
26770 /* end confdefs.h. */
26771
26772 /* Override any GCC internal prototype to avoid an error.
26773 Use char because int might match the return type of a GCC
26774 builtin and then its argument prototype would still apply. */
26775 #ifdef __cplusplus
26776 extern "C"
26777 #endif
26778 char png_check_sig ();
26779 int
26780 main ()
26781 {
26782 return png_check_sig ();
26783 ;
26784 return 0;
26785 }
26786 _ACEOF
26787 rm -f conftest.$ac_objext conftest$ac_exeext
26788 if { (ac_try="$ac_link"
26789 case "(($ac_try" in
26790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26791 *) ac_try_echo=$ac_try;;
26792 esac
26793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26794 (eval "$ac_link") 2>conftest.er1
26795 ac_status=$?
26796 grep -v '^ *+' conftest.er1 >conftest.err
26797 rm -f conftest.er1
26798 cat conftest.err >&5
26799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26800 (exit $ac_status); } && {
26801 test -z "$ac_c_werror_flag" ||
26802 test ! -s conftest.err
26803 } && test -s conftest$ac_exeext &&
26804 $as_test_x conftest$ac_exeext; then
26805 ac_cv_lib_png_png_check_sig=yes
26806 else
26807 echo "$as_me: failed program was:" >&5
26808 sed 's/^/| /' conftest.$ac_ext >&5
26809
26810 ac_cv_lib_png_png_check_sig=no
26811 fi
26812
26813 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26814 conftest$ac_exeext conftest.$ac_ext
26815 LIBS=$ac_check_lib_save_LIBS
26816 fi
26817 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26818 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26819 if test $ac_cv_lib_png_png_check_sig = yes; then
26820 PNG_LINK=" -lpng -lz"
26821 fi
26822
26823 fi
26824
26825 if test "x$PNG_LINK" = "x" ; then
26826 if test "$wxUSE_LIBPNG" = "sys" ; then
26827 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26828 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26829 { (exit 1); exit 1; }; }
26830 else
26831 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26832 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26833 wxUSE_LIBPNG=builtin
26834 fi
26835 else
26836 wxUSE_LIBPNG=sys
26837 fi
26838 fi
26839 fi
26840 fi
26841
26842
26843 JPEG_LINK=
26844 if test "$wxUSE_LIBJPEG" != "no" ; then
26845 cat >>confdefs.h <<\_ACEOF
26846 #define wxUSE_LIBJPEG 1
26847 _ACEOF
26848
26849
26850 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26851 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26852 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26853 wxUSE_LIBJPEG=sys
26854 fi
26855
26856 if test "$wxUSE_MGL" != 1 ; then
26857 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26858 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26859 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26860 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26861 echo $ECHO_N "(cached) $ECHO_C" >&6
26862 else
26863 cat >conftest.$ac_ext <<_ACEOF
26864 /* confdefs.h. */
26865 _ACEOF
26866 cat confdefs.h >>conftest.$ac_ext
26867 cat >>conftest.$ac_ext <<_ACEOF
26868 /* end confdefs.h. */
26869
26870 #undef HAVE_STDLIB_H
26871 #include <stdio.h>
26872 #include <jpeglib.h>
26873
26874 int
26875 main ()
26876 {
26877
26878
26879 ;
26880 return 0;
26881 }
26882 _ACEOF
26883 rm -f conftest.$ac_objext
26884 if { (ac_try="$ac_compile"
26885 case "(($ac_try" in
26886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26887 *) ac_try_echo=$ac_try;;
26888 esac
26889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26890 (eval "$ac_compile") 2>conftest.er1
26891 ac_status=$?
26892 grep -v '^ *+' conftest.er1 >conftest.err
26893 rm -f conftest.er1
26894 cat conftest.err >&5
26895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26896 (exit $ac_status); } && {
26897 test -z "$ac_c_werror_flag" ||
26898 test ! -s conftest.err
26899 } && test -s conftest.$ac_objext; then
26900 ac_cv_header_jpeglib_h=yes
26901 else
26902 echo "$as_me: failed program was:" >&5
26903 sed 's/^/| /' conftest.$ac_ext >&5
26904
26905 ac_cv_header_jpeglib_h=no
26906
26907 fi
26908
26909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26910
26911 fi
26912
26913 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26914 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26915
26916 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26917 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26918 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26919 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26920 echo $ECHO_N "(cached) $ECHO_C" >&6
26921 else
26922 ac_check_lib_save_LIBS=$LIBS
26923 LIBS="-ljpeg $LIBS"
26924 cat >conftest.$ac_ext <<_ACEOF
26925 /* confdefs.h. */
26926 _ACEOF
26927 cat confdefs.h >>conftest.$ac_ext
26928 cat >>conftest.$ac_ext <<_ACEOF
26929 /* end confdefs.h. */
26930
26931 /* Override any GCC internal prototype to avoid an error.
26932 Use char because int might match the return type of a GCC
26933 builtin and then its argument prototype would still apply. */
26934 #ifdef __cplusplus
26935 extern "C"
26936 #endif
26937 char jpeg_read_header ();
26938 int
26939 main ()
26940 {
26941 return jpeg_read_header ();
26942 ;
26943 return 0;
26944 }
26945 _ACEOF
26946 rm -f conftest.$ac_objext conftest$ac_exeext
26947 if { (ac_try="$ac_link"
26948 case "(($ac_try" in
26949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26950 *) ac_try_echo=$ac_try;;
26951 esac
26952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26953 (eval "$ac_link") 2>conftest.er1
26954 ac_status=$?
26955 grep -v '^ *+' conftest.er1 >conftest.err
26956 rm -f conftest.er1
26957 cat conftest.err >&5
26958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26959 (exit $ac_status); } && {
26960 test -z "$ac_c_werror_flag" ||
26961 test ! -s conftest.err
26962 } && test -s conftest$ac_exeext &&
26963 $as_test_x conftest$ac_exeext; then
26964 ac_cv_lib_jpeg_jpeg_read_header=yes
26965 else
26966 echo "$as_me: failed program was:" >&5
26967 sed 's/^/| /' conftest.$ac_ext >&5
26968
26969 ac_cv_lib_jpeg_jpeg_read_header=no
26970 fi
26971
26972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26973 conftest$ac_exeext conftest.$ac_ext
26974 LIBS=$ac_check_lib_save_LIBS
26975 fi
26976 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26977 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26978 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26979 JPEG_LINK=" -ljpeg"
26980 fi
26981
26982 fi
26983
26984 if test "x$JPEG_LINK" = "x" ; then
26985 if test "$wxUSE_LIBJPEG" = "sys" ; then
26986 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26987 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26988 { (exit 1); exit 1; }; }
26989 else
26990 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26991 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26992 wxUSE_LIBJPEG=builtin
26993 fi
26994 else
26995 wxUSE_LIBJPEG=sys
26996
26997 if test "$wxUSE_MSW" = 1; then
26998 { echo "$as_me:$LINENO: checking for boolean" >&5
26999 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27000 if test "${ac_cv_type_boolean+set}" = set; then
27001 echo $ECHO_N "(cached) $ECHO_C" >&6
27002 else
27003 cat >conftest.$ac_ext <<_ACEOF
27004 /* confdefs.h. */
27005 _ACEOF
27006 cat confdefs.h >>conftest.$ac_ext
27007 cat >>conftest.$ac_ext <<_ACEOF
27008 /* end confdefs.h. */
27009 #include <windows.h>
27010
27011 typedef boolean ac__type_new_;
27012 int
27013 main ()
27014 {
27015 if ((ac__type_new_ *) 0)
27016 return 0;
27017 if (sizeof (ac__type_new_))
27018 return 0;
27019 ;
27020 return 0;
27021 }
27022 _ACEOF
27023 rm -f conftest.$ac_objext
27024 if { (ac_try="$ac_compile"
27025 case "(($ac_try" in
27026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27027 *) ac_try_echo=$ac_try;;
27028 esac
27029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27030 (eval "$ac_compile") 2>conftest.er1
27031 ac_status=$?
27032 grep -v '^ *+' conftest.er1 >conftest.err
27033 rm -f conftest.er1
27034 cat conftest.err >&5
27035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27036 (exit $ac_status); } && {
27037 test -z "$ac_c_werror_flag" ||
27038 test ! -s conftest.err
27039 } && test -s conftest.$ac_objext; then
27040 ac_cv_type_boolean=yes
27041 else
27042 echo "$as_me: failed program was:" >&5
27043 sed 's/^/| /' conftest.$ac_ext >&5
27044
27045 ac_cv_type_boolean=no
27046 fi
27047
27048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27049 fi
27050 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27051 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27052 if test $ac_cv_type_boolean = yes; then
27053
27054 cat >>confdefs.h <<_ACEOF
27055 #define HAVE_BOOLEAN 1
27056 _ACEOF
27057
27058
27059 { echo "$as_me:$LINENO: checking for boolean" >&5
27060 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27061 if test "${ac_cv_type_boolean+set}" = set; then
27062 echo $ECHO_N "(cached) $ECHO_C" >&6
27063 else
27064 cat >conftest.$ac_ext <<_ACEOF
27065 /* confdefs.h. */
27066 _ACEOF
27067 cat confdefs.h >>conftest.$ac_ext
27068 cat >>conftest.$ac_ext <<_ACEOF
27069 /* end confdefs.h. */
27070
27071 #undef HAVE_BOOLEAN
27072 #include <stdio.h>
27073 #include <jpeglib.h>
27074
27075
27076 typedef boolean ac__type_new_;
27077 int
27078 main ()
27079 {
27080 if ((ac__type_new_ *) 0)
27081 return 0;
27082 if (sizeof (ac__type_new_))
27083 return 0;
27084 ;
27085 return 0;
27086 }
27087 _ACEOF
27088 rm -f conftest.$ac_objext
27089 if { (ac_try="$ac_compile"
27090 case "(($ac_try" in
27091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27092 *) ac_try_echo=$ac_try;;
27093 esac
27094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27095 (eval "$ac_compile") 2>conftest.er1
27096 ac_status=$?
27097 grep -v '^ *+' conftest.er1 >conftest.err
27098 rm -f conftest.er1
27099 cat conftest.err >&5
27100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27101 (exit $ac_status); } && {
27102 test -z "$ac_c_werror_flag" ||
27103 test ! -s conftest.err
27104 } && test -s conftest.$ac_objext; then
27105 ac_cv_type_boolean=yes
27106 else
27107 echo "$as_me: failed program was:" >&5
27108 sed 's/^/| /' conftest.$ac_ext >&5
27109
27110 ac_cv_type_boolean=no
27111 fi
27112
27113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27114 fi
27115 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27116 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27117
27118 # The cast to long int works around a bug in the HP C Compiler
27119 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27120 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27121 # This bug is HP SR number 8606223364.
27122 { echo "$as_me:$LINENO: checking size of boolean" >&5
27123 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27124 if test "${ac_cv_sizeof_boolean+set}" = set; then
27125 echo $ECHO_N "(cached) $ECHO_C" >&6
27126 else
27127 if test "$cross_compiling" = yes; then
27128 # Depending upon the size, compute the lo and hi bounds.
27129 cat >conftest.$ac_ext <<_ACEOF
27130 /* confdefs.h. */
27131 _ACEOF
27132 cat confdefs.h >>conftest.$ac_ext
27133 cat >>conftest.$ac_ext <<_ACEOF
27134 /* end confdefs.h. */
27135
27136 #undef HAVE_BOOLEAN
27137 #include <stdio.h>
27138 #include <jpeglib.h>
27139
27140
27141 typedef boolean ac__type_sizeof_;
27142 int
27143 main ()
27144 {
27145 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27146 test_array [0] = 0
27147
27148 ;
27149 return 0;
27150 }
27151 _ACEOF
27152 rm -f conftest.$ac_objext
27153 if { (ac_try="$ac_compile"
27154 case "(($ac_try" in
27155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27156 *) ac_try_echo=$ac_try;;
27157 esac
27158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27159 (eval "$ac_compile") 2>conftest.er1
27160 ac_status=$?
27161 grep -v '^ *+' conftest.er1 >conftest.err
27162 rm -f conftest.er1
27163 cat conftest.err >&5
27164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27165 (exit $ac_status); } && {
27166 test -z "$ac_c_werror_flag" ||
27167 test ! -s conftest.err
27168 } && test -s conftest.$ac_objext; then
27169 ac_lo=0 ac_mid=0
27170 while :; do
27171 cat >conftest.$ac_ext <<_ACEOF
27172 /* confdefs.h. */
27173 _ACEOF
27174 cat confdefs.h >>conftest.$ac_ext
27175 cat >>conftest.$ac_ext <<_ACEOF
27176 /* end confdefs.h. */
27177
27178 #undef HAVE_BOOLEAN
27179 #include <stdio.h>
27180 #include <jpeglib.h>
27181
27182
27183 typedef boolean ac__type_sizeof_;
27184 int
27185 main ()
27186 {
27187 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27188 test_array [0] = 0
27189
27190 ;
27191 return 0;
27192 }
27193 _ACEOF
27194 rm -f conftest.$ac_objext
27195 if { (ac_try="$ac_compile"
27196 case "(($ac_try" in
27197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27198 *) ac_try_echo=$ac_try;;
27199 esac
27200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27201 (eval "$ac_compile") 2>conftest.er1
27202 ac_status=$?
27203 grep -v '^ *+' conftest.er1 >conftest.err
27204 rm -f conftest.er1
27205 cat conftest.err >&5
27206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27207 (exit $ac_status); } && {
27208 test -z "$ac_c_werror_flag" ||
27209 test ! -s conftest.err
27210 } && test -s conftest.$ac_objext; then
27211 ac_hi=$ac_mid; break
27212 else
27213 echo "$as_me: failed program was:" >&5
27214 sed 's/^/| /' conftest.$ac_ext >&5
27215
27216 ac_lo=`expr $ac_mid + 1`
27217 if test $ac_lo -le $ac_mid; then
27218 ac_lo= ac_hi=
27219 break
27220 fi
27221 ac_mid=`expr 2 '*' $ac_mid + 1`
27222 fi
27223
27224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27225 done
27226 else
27227 echo "$as_me: failed program was:" >&5
27228 sed 's/^/| /' conftest.$ac_ext >&5
27229
27230 cat >conftest.$ac_ext <<_ACEOF
27231 /* confdefs.h. */
27232 _ACEOF
27233 cat confdefs.h >>conftest.$ac_ext
27234 cat >>conftest.$ac_ext <<_ACEOF
27235 /* end confdefs.h. */
27236
27237 #undef HAVE_BOOLEAN
27238 #include <stdio.h>
27239 #include <jpeglib.h>
27240
27241
27242 typedef boolean ac__type_sizeof_;
27243 int
27244 main ()
27245 {
27246 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27247 test_array [0] = 0
27248
27249 ;
27250 return 0;
27251 }
27252 _ACEOF
27253 rm -f conftest.$ac_objext
27254 if { (ac_try="$ac_compile"
27255 case "(($ac_try" in
27256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27257 *) ac_try_echo=$ac_try;;
27258 esac
27259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27260 (eval "$ac_compile") 2>conftest.er1
27261 ac_status=$?
27262 grep -v '^ *+' conftest.er1 >conftest.err
27263 rm -f conftest.er1
27264 cat conftest.err >&5
27265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27266 (exit $ac_status); } && {
27267 test -z "$ac_c_werror_flag" ||
27268 test ! -s conftest.err
27269 } && test -s conftest.$ac_objext; then
27270 ac_hi=-1 ac_mid=-1
27271 while :; do
27272 cat >conftest.$ac_ext <<_ACEOF
27273 /* confdefs.h. */
27274 _ACEOF
27275 cat confdefs.h >>conftest.$ac_ext
27276 cat >>conftest.$ac_ext <<_ACEOF
27277 /* end confdefs.h. */
27278
27279 #undef HAVE_BOOLEAN
27280 #include <stdio.h>
27281 #include <jpeglib.h>
27282
27283
27284 typedef boolean ac__type_sizeof_;
27285 int
27286 main ()
27287 {
27288 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27289 test_array [0] = 0
27290
27291 ;
27292 return 0;
27293 }
27294 _ACEOF
27295 rm -f conftest.$ac_objext
27296 if { (ac_try="$ac_compile"
27297 case "(($ac_try" in
27298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27299 *) ac_try_echo=$ac_try;;
27300 esac
27301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27302 (eval "$ac_compile") 2>conftest.er1
27303 ac_status=$?
27304 grep -v '^ *+' conftest.er1 >conftest.err
27305 rm -f conftest.er1
27306 cat conftest.err >&5
27307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27308 (exit $ac_status); } && {
27309 test -z "$ac_c_werror_flag" ||
27310 test ! -s conftest.err
27311 } && test -s conftest.$ac_objext; then
27312 ac_lo=$ac_mid; break
27313 else
27314 echo "$as_me: failed program was:" >&5
27315 sed 's/^/| /' conftest.$ac_ext >&5
27316
27317 ac_hi=`expr '(' $ac_mid ')' - 1`
27318 if test $ac_mid -le $ac_hi; then
27319 ac_lo= ac_hi=
27320 break
27321 fi
27322 ac_mid=`expr 2 '*' $ac_mid`
27323 fi
27324
27325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27326 done
27327 else
27328 echo "$as_me: failed program was:" >&5
27329 sed 's/^/| /' conftest.$ac_ext >&5
27330
27331 ac_lo= ac_hi=
27332 fi
27333
27334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27335 fi
27336
27337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27338 # Binary search between lo and hi bounds.
27339 while test "x$ac_lo" != "x$ac_hi"; do
27340 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27341 cat >conftest.$ac_ext <<_ACEOF
27342 /* confdefs.h. */
27343 _ACEOF
27344 cat confdefs.h >>conftest.$ac_ext
27345 cat >>conftest.$ac_ext <<_ACEOF
27346 /* end confdefs.h. */
27347
27348 #undef HAVE_BOOLEAN
27349 #include <stdio.h>
27350 #include <jpeglib.h>
27351
27352
27353 typedef boolean ac__type_sizeof_;
27354 int
27355 main ()
27356 {
27357 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27358 test_array [0] = 0
27359
27360 ;
27361 return 0;
27362 }
27363 _ACEOF
27364 rm -f conftest.$ac_objext
27365 if { (ac_try="$ac_compile"
27366 case "(($ac_try" in
27367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27368 *) ac_try_echo=$ac_try;;
27369 esac
27370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27371 (eval "$ac_compile") 2>conftest.er1
27372 ac_status=$?
27373 grep -v '^ *+' conftest.er1 >conftest.err
27374 rm -f conftest.er1
27375 cat conftest.err >&5
27376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27377 (exit $ac_status); } && {
27378 test -z "$ac_c_werror_flag" ||
27379 test ! -s conftest.err
27380 } && test -s conftest.$ac_objext; then
27381 ac_hi=$ac_mid
27382 else
27383 echo "$as_me: failed program was:" >&5
27384 sed 's/^/| /' conftest.$ac_ext >&5
27385
27386 ac_lo=`expr '(' $ac_mid ')' + 1`
27387 fi
27388
27389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27390 done
27391 case $ac_lo in
27392 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27393 '') if test "$ac_cv_type_boolean" = yes; then
27394 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27395 See \`config.log' for more details." >&5
27396 echo "$as_me: error: cannot compute sizeof (boolean)
27397 See \`config.log' for more details." >&2;}
27398 { (exit 77); exit 77; }; }
27399 else
27400 ac_cv_sizeof_boolean=0
27401 fi ;;
27402 esac
27403 else
27404 cat >conftest.$ac_ext <<_ACEOF
27405 /* confdefs.h. */
27406 _ACEOF
27407 cat confdefs.h >>conftest.$ac_ext
27408 cat >>conftest.$ac_ext <<_ACEOF
27409 /* end confdefs.h. */
27410
27411 #undef HAVE_BOOLEAN
27412 #include <stdio.h>
27413 #include <jpeglib.h>
27414
27415
27416 typedef boolean ac__type_sizeof_;
27417 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27418 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27419 #include <stdio.h>
27420 #include <stdlib.h>
27421 int
27422 main ()
27423 {
27424
27425 FILE *f = fopen ("conftest.val", "w");
27426 if (! f)
27427 return 1;
27428 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27429 {
27430 long int i = longval ();
27431 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27432 return 1;
27433 fprintf (f, "%ld\n", i);
27434 }
27435 else
27436 {
27437 unsigned long int i = ulongval ();
27438 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27439 return 1;
27440 fprintf (f, "%lu\n", i);
27441 }
27442 return ferror (f) || fclose (f) != 0;
27443
27444 ;
27445 return 0;
27446 }
27447 _ACEOF
27448 rm -f conftest$ac_exeext
27449 if { (ac_try="$ac_link"
27450 case "(($ac_try" in
27451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27452 *) ac_try_echo=$ac_try;;
27453 esac
27454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27455 (eval "$ac_link") 2>&5
27456 ac_status=$?
27457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27458 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27459 { (case "(($ac_try" in
27460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27461 *) ac_try_echo=$ac_try;;
27462 esac
27463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27464 (eval "$ac_try") 2>&5
27465 ac_status=$?
27466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27467 (exit $ac_status); }; }; then
27468 ac_cv_sizeof_boolean=`cat conftest.val`
27469 else
27470 echo "$as_me: program exited with status $ac_status" >&5
27471 echo "$as_me: failed program was:" >&5
27472 sed 's/^/| /' conftest.$ac_ext >&5
27473
27474 ( exit $ac_status )
27475 if test "$ac_cv_type_boolean" = yes; then
27476 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27477 See \`config.log' for more details." >&5
27478 echo "$as_me: error: cannot compute sizeof (boolean)
27479 See \`config.log' for more details." >&2;}
27480 { (exit 77); exit 77; }; }
27481 else
27482 ac_cv_sizeof_boolean=0
27483 fi
27484 fi
27485 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27486 fi
27487 rm -f conftest.val
27488 fi
27489 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27490 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27491
27492
27493
27494 cat >>confdefs.h <<_ACEOF
27495 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27496 _ACEOF
27497
27498
27499 cat >>confdefs.h <<_ACEOF
27500 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27501 _ACEOF
27502
27503
27504 fi
27505
27506 fi
27507 fi
27508 fi
27509 fi
27510 fi
27511
27512
27513 TIFF_LINK=
27514 TIFF_PREREQ_LINKS=-lm
27515 if test "$wxUSE_LIBTIFF" != "no" ; then
27516 cat >>confdefs.h <<\_ACEOF
27517 #define wxUSE_LIBTIFF 1
27518 _ACEOF
27519
27520
27521 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27522 if test "$wxUSE_LIBJPEG" = "sys"; then
27523 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27524 fi
27525 if test "$wxUSE_ZLIB" = "sys"; then
27526 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27527 fi
27528 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27529 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27530 if test "${ac_cv_header_tiffio_h+set}" = set; then
27531 echo $ECHO_N "(cached) $ECHO_C" >&6
27532 else
27533 cat >conftest.$ac_ext <<_ACEOF
27534 /* confdefs.h. */
27535 _ACEOF
27536 cat confdefs.h >>conftest.$ac_ext
27537 cat >>conftest.$ac_ext <<_ACEOF
27538 /* end confdefs.h. */
27539
27540
27541
27542 #include <tiffio.h>
27543 _ACEOF
27544 rm -f conftest.$ac_objext
27545 if { (ac_try="$ac_compile"
27546 case "(($ac_try" in
27547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27548 *) ac_try_echo=$ac_try;;
27549 esac
27550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27551 (eval "$ac_compile") 2>conftest.er1
27552 ac_status=$?
27553 grep -v '^ *+' conftest.er1 >conftest.err
27554 rm -f conftest.er1
27555 cat conftest.err >&5
27556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27557 (exit $ac_status); } && {
27558 test -z "$ac_c_werror_flag" ||
27559 test ! -s conftest.err
27560 } && test -s conftest.$ac_objext; then
27561 ac_cv_header_tiffio_h=yes
27562 else
27563 echo "$as_me: failed program was:" >&5
27564 sed 's/^/| /' conftest.$ac_ext >&5
27565
27566 ac_cv_header_tiffio_h=no
27567 fi
27568
27569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27570 fi
27571 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27572 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27573 if test $ac_cv_header_tiffio_h = yes; then
27574
27575 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27576 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27577 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27578 echo $ECHO_N "(cached) $ECHO_C" >&6
27579 else
27580 ac_check_lib_save_LIBS=$LIBS
27581 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27582 cat >conftest.$ac_ext <<_ACEOF
27583 /* confdefs.h. */
27584 _ACEOF
27585 cat confdefs.h >>conftest.$ac_ext
27586 cat >>conftest.$ac_ext <<_ACEOF
27587 /* end confdefs.h. */
27588
27589 /* Override any GCC internal prototype to avoid an error.
27590 Use char because int might match the return type of a GCC
27591 builtin and then its argument prototype would still apply. */
27592 #ifdef __cplusplus
27593 extern "C"
27594 #endif
27595 char TIFFError ();
27596 int
27597 main ()
27598 {
27599 return TIFFError ();
27600 ;
27601 return 0;
27602 }
27603 _ACEOF
27604 rm -f conftest.$ac_objext conftest$ac_exeext
27605 if { (ac_try="$ac_link"
27606 case "(($ac_try" in
27607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27608 *) ac_try_echo=$ac_try;;
27609 esac
27610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27611 (eval "$ac_link") 2>conftest.er1
27612 ac_status=$?
27613 grep -v '^ *+' conftest.er1 >conftest.err
27614 rm -f conftest.er1
27615 cat conftest.err >&5
27616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27617 (exit $ac_status); } && {
27618 test -z "$ac_c_werror_flag" ||
27619 test ! -s conftest.err
27620 } && test -s conftest$ac_exeext &&
27621 $as_test_x conftest$ac_exeext; then
27622 ac_cv_lib_tiff_TIFFError=yes
27623 else
27624 echo "$as_me: failed program was:" >&5
27625 sed 's/^/| /' conftest.$ac_ext >&5
27626
27627 ac_cv_lib_tiff_TIFFError=no
27628 fi
27629
27630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27631 conftest$ac_exeext conftest.$ac_ext
27632 LIBS=$ac_check_lib_save_LIBS
27633 fi
27634 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27635 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27636 if test $ac_cv_lib_tiff_TIFFError = yes; then
27637 TIFF_LINK=" -ltiff"
27638 fi
27639
27640
27641 fi
27642
27643
27644
27645 if test "x$TIFF_LINK" = "x" ; then
27646 if test "$wxUSE_LIBTIFF" = "sys" ; then
27647 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27648 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27649 { (exit 1); exit 1; }; }
27650 else
27651 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27652 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27653 wxUSE_LIBTIFF=builtin
27654 fi
27655 else
27656 wxUSE_LIBTIFF=sys
27657 fi
27658 fi
27659 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27660 if test "$wxUSE_LIBJPEG" = "no"; then
27661 ac_configure_args="$ac_configure_args --disable-jpeg"
27662 fi
27663 subdirs="$subdirs src/tiff"
27664
27665 fi
27666 fi
27667
27668
27669 if test "$wxUSE_WCHAR_T" != "yes"; then
27670 if test "$wxUSE_EXPAT" != "no"; then
27671 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27672 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27673 wxUSE_EXPAT=no
27674 fi
27675 if test "$wxUSE_XML" != "no"; then
27676 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27677 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27678 wxUSE_XML=no
27679 fi
27680 fi
27681
27682 if test "$wxUSE_EXPAT" != "no"; then
27683 wxUSE_XML=yes
27684 cat >>confdefs.h <<\_ACEOF
27685 #define wxUSE_EXPAT 1
27686 _ACEOF
27687
27688 cat >>confdefs.h <<\_ACEOF
27689 #define wxUSE_XML 1
27690 _ACEOF
27691
27692
27693 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27694 { echo "$as_me:$LINENO: checking for expat.h" >&5
27695 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27696 if test "${ac_cv_header_expat_h+set}" = set; then
27697 echo $ECHO_N "(cached) $ECHO_C" >&6
27698 else
27699 cat >conftest.$ac_ext <<_ACEOF
27700 /* confdefs.h. */
27701 _ACEOF
27702 cat confdefs.h >>conftest.$ac_ext
27703 cat >>conftest.$ac_ext <<_ACEOF
27704 /* end confdefs.h. */
27705
27706
27707 #include <expat.h>
27708 _ACEOF
27709 rm -f conftest.$ac_objext
27710 if { (ac_try="$ac_compile"
27711 case "(($ac_try" in
27712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27713 *) ac_try_echo=$ac_try;;
27714 esac
27715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27716 (eval "$ac_compile") 2>conftest.er1
27717 ac_status=$?
27718 grep -v '^ *+' conftest.er1 >conftest.err
27719 rm -f conftest.er1
27720 cat conftest.err >&5
27721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27722 (exit $ac_status); } && {
27723 test -z "$ac_c_werror_flag" ||
27724 test ! -s conftest.err
27725 } && test -s conftest.$ac_objext; then
27726 ac_cv_header_expat_h=yes
27727 else
27728 echo "$as_me: failed program was:" >&5
27729 sed 's/^/| /' conftest.$ac_ext >&5
27730
27731 ac_cv_header_expat_h=no
27732 fi
27733
27734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27735 fi
27736 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27737 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27738 if test $ac_cv_header_expat_h = yes; then
27739 found_expat_h=1
27740 fi
27741
27742
27743 if test "x$found_expat_h" = "x1"; then
27744 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27745 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27746 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27747 echo $ECHO_N "(cached) $ECHO_C" >&6
27748 else
27749
27750 ac_ext=cpp
27751 ac_cpp='$CXXCPP $CPPFLAGS'
27752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27755
27756 cat >conftest.$ac_ext <<_ACEOF
27757 /* confdefs.h. */
27758 _ACEOF
27759 cat confdefs.h >>conftest.$ac_ext
27760 cat >>conftest.$ac_ext <<_ACEOF
27761 /* end confdefs.h. */
27762 #include <expat.h>
27763 int
27764 main ()
27765 {
27766
27767 ;
27768 return 0;
27769 }
27770 _ACEOF
27771 rm -f conftest.$ac_objext
27772 if { (ac_try="$ac_compile"
27773 case "(($ac_try" in
27774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27775 *) ac_try_echo=$ac_try;;
27776 esac
27777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27778 (eval "$ac_compile") 2>conftest.er1
27779 ac_status=$?
27780 grep -v '^ *+' conftest.er1 >conftest.err
27781 rm -f conftest.er1
27782 cat conftest.err >&5
27783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27784 (exit $ac_status); } && {
27785 test -z "$ac_cxx_werror_flag" ||
27786 test ! -s conftest.err
27787 } && test -s conftest.$ac_objext; then
27788 wx_cv_expat_is_not_broken=yes
27789 else
27790 echo "$as_me: failed program was:" >&5
27791 sed 's/^/| /' conftest.$ac_ext >&5
27792
27793 wx_cv_expat_is_not_broken=no
27794
27795 fi
27796
27797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27798 ac_ext=c
27799 ac_cpp='$CPP $CPPFLAGS'
27800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27803
27804
27805
27806 fi
27807 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27808 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27809 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27810 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27811 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27812 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27813 echo $ECHO_N "(cached) $ECHO_C" >&6
27814 else
27815 ac_check_lib_save_LIBS=$LIBS
27816 LIBS="-lexpat $LIBS"
27817 cat >conftest.$ac_ext <<_ACEOF
27818 /* confdefs.h. */
27819 _ACEOF
27820 cat confdefs.h >>conftest.$ac_ext
27821 cat >>conftest.$ac_ext <<_ACEOF
27822 /* end confdefs.h. */
27823
27824 /* Override any GCC internal prototype to avoid an error.
27825 Use char because int might match the return type of a GCC
27826 builtin and then its argument prototype would still apply. */
27827 #ifdef __cplusplus
27828 extern "C"
27829 #endif
27830 char XML_ParserCreate ();
27831 int
27832 main ()
27833 {
27834 return XML_ParserCreate ();
27835 ;
27836 return 0;
27837 }
27838 _ACEOF
27839 rm -f conftest.$ac_objext conftest$ac_exeext
27840 if { (ac_try="$ac_link"
27841 case "(($ac_try" in
27842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27843 *) ac_try_echo=$ac_try;;
27844 esac
27845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27846 (eval "$ac_link") 2>conftest.er1
27847 ac_status=$?
27848 grep -v '^ *+' conftest.er1 >conftest.err
27849 rm -f conftest.er1
27850 cat conftest.err >&5
27851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27852 (exit $ac_status); } && {
27853 test -z "$ac_c_werror_flag" ||
27854 test ! -s conftest.err
27855 } && test -s conftest$ac_exeext &&
27856 $as_test_x conftest$ac_exeext; then
27857 ac_cv_lib_expat_XML_ParserCreate=yes
27858 else
27859 echo "$as_me: failed program was:" >&5
27860 sed 's/^/| /' conftest.$ac_ext >&5
27861
27862 ac_cv_lib_expat_XML_ParserCreate=no
27863 fi
27864
27865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27866 conftest$ac_exeext conftest.$ac_ext
27867 LIBS=$ac_check_lib_save_LIBS
27868 fi
27869 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27870 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27871 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27872 EXPAT_LINK=" -lexpat"
27873 fi
27874
27875 fi
27876 fi
27877 if test "x$EXPAT_LINK" = "x" ; then
27878 if test "$wxUSE_EXPAT" = "sys" ; then
27879 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27880 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27881 { (exit 1); exit 1; }; }
27882 else
27883 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27884 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27885 wxUSE_EXPAT=builtin
27886 fi
27887 else
27888 wxUSE_EXPAT=sys
27889 fi
27890 fi
27891 if test "$wxUSE_EXPAT" = "builtin" ; then
27892 subdirs="$subdirs src/expat"
27893
27894 fi
27895 fi
27896
27897
27898
27899 if test "$wxUSE_LIBMSPACK" != "no"; then
27900 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27901 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27902 if test "${ac_cv_header_mspack_h+set}" = set; then
27903 echo $ECHO_N "(cached) $ECHO_C" >&6
27904 else
27905 cat >conftest.$ac_ext <<_ACEOF
27906 /* confdefs.h. */
27907 _ACEOF
27908 cat confdefs.h >>conftest.$ac_ext
27909 cat >>conftest.$ac_ext <<_ACEOF
27910 /* end confdefs.h. */
27911
27912
27913 #include <mspack.h>
27914 _ACEOF
27915 rm -f conftest.$ac_objext
27916 if { (ac_try="$ac_compile"
27917 case "(($ac_try" in
27918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27919 *) ac_try_echo=$ac_try;;
27920 esac
27921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27922 (eval "$ac_compile") 2>conftest.er1
27923 ac_status=$?
27924 grep -v '^ *+' conftest.er1 >conftest.err
27925 rm -f conftest.er1
27926 cat conftest.err >&5
27927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27928 (exit $ac_status); } && {
27929 test -z "$ac_c_werror_flag" ||
27930 test ! -s conftest.err
27931 } && test -s conftest.$ac_objext; then
27932 ac_cv_header_mspack_h=yes
27933 else
27934 echo "$as_me: failed program was:" >&5
27935 sed 's/^/| /' conftest.$ac_ext >&5
27936
27937 ac_cv_header_mspack_h=no
27938 fi
27939
27940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27941 fi
27942 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27943 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27944 if test $ac_cv_header_mspack_h = yes; then
27945 found_mspack_h=1
27946 fi
27947
27948
27949 if test "x$found_mspack_h" = "x1"; then
27950 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27951 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
27952 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27953 echo $ECHO_N "(cached) $ECHO_C" >&6
27954 else
27955 ac_check_lib_save_LIBS=$LIBS
27956 LIBS="-lmspack $LIBS"
27957 cat >conftest.$ac_ext <<_ACEOF
27958 /* confdefs.h. */
27959 _ACEOF
27960 cat confdefs.h >>conftest.$ac_ext
27961 cat >>conftest.$ac_ext <<_ACEOF
27962 /* end confdefs.h. */
27963
27964 /* Override any GCC internal prototype to avoid an error.
27965 Use char because int might match the return type of a GCC
27966 builtin and then its argument prototype would still apply. */
27967 #ifdef __cplusplus
27968 extern "C"
27969 #endif
27970 char mspack_create_chm_decompressor ();
27971 int
27972 main ()
27973 {
27974 return mspack_create_chm_decompressor ();
27975 ;
27976 return 0;
27977 }
27978 _ACEOF
27979 rm -f conftest.$ac_objext conftest$ac_exeext
27980 if { (ac_try="$ac_link"
27981 case "(($ac_try" in
27982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27983 *) ac_try_echo=$ac_try;;
27984 esac
27985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27986 (eval "$ac_link") 2>conftest.er1
27987 ac_status=$?
27988 grep -v '^ *+' conftest.er1 >conftest.err
27989 rm -f conftest.er1
27990 cat conftest.err >&5
27991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27992 (exit $ac_status); } && {
27993 test -z "$ac_c_werror_flag" ||
27994 test ! -s conftest.err
27995 } && test -s conftest$ac_exeext &&
27996 $as_test_x conftest$ac_exeext; then
27997 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27998 else
27999 echo "$as_me: failed program was:" >&5
28000 sed 's/^/| /' conftest.$ac_ext >&5
28001
28002 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28003 fi
28004
28005 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28006 conftest$ac_exeext conftest.$ac_ext
28007 LIBS=$ac_check_lib_save_LIBS
28008 fi
28009 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28010 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28011 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28012 MSPACK_LINK=" -lmspack"
28013 fi
28014
28015 fi
28016 if test "x$MSPACK_LINK" = "x" ; then
28017 wxUSE_LIBMSPACK=no
28018 fi
28019 fi
28020
28021 if test "$wxUSE_LIBMSPACK" != "no"; then
28022 cat >>confdefs.h <<\_ACEOF
28023 #define wxUSE_LIBMSPACK 1
28024 _ACEOF
28025
28026 fi
28027
28028
28029
28030 AFMINSTALL=
28031 WIN32INSTALL=
28032
28033 TOOLKIT=
28034 TOOLKIT_INCLUDE=
28035 WIDGET_SET=
28036
28037 if test "$USE_WIN32" = 1 ; then
28038
28039 for ac_header in w32api.h
28040 do
28041 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28042 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28043 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28044 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28045 echo $ECHO_N "(cached) $ECHO_C" >&6
28046 else
28047 cat >conftest.$ac_ext <<_ACEOF
28048 /* confdefs.h. */
28049 _ACEOF
28050 cat confdefs.h >>conftest.$ac_ext
28051 cat >>conftest.$ac_ext <<_ACEOF
28052 /* end confdefs.h. */
28053
28054
28055 #include <$ac_header>
28056 _ACEOF
28057 rm -f conftest.$ac_objext
28058 if { (ac_try="$ac_compile"
28059 case "(($ac_try" in
28060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28061 *) ac_try_echo=$ac_try;;
28062 esac
28063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28064 (eval "$ac_compile") 2>conftest.er1
28065 ac_status=$?
28066 grep -v '^ *+' conftest.er1 >conftest.err
28067 rm -f conftest.er1
28068 cat conftest.err >&5
28069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28070 (exit $ac_status); } && {
28071 test -z "$ac_c_werror_flag" ||
28072 test ! -s conftest.err
28073 } && test -s conftest.$ac_objext; then
28074 eval "$as_ac_Header=yes"
28075 else
28076 echo "$as_me: failed program was:" >&5
28077 sed 's/^/| /' conftest.$ac_ext >&5
28078
28079 eval "$as_ac_Header=no"
28080 fi
28081
28082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28083 fi
28084 ac_res=`eval echo '${'$as_ac_Header'}'`
28085 { echo "$as_me:$LINENO: result: $ac_res" >&5
28086 echo "${ECHO_T}$ac_res" >&6; }
28087 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28088 cat >>confdefs.h <<_ACEOF
28089 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28090 _ACEOF
28091
28092 fi
28093
28094 done
28095
28096 { echo "$as_me:$LINENO: checking for windows.h" >&5
28097 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
28098 if test "${ac_cv_header_windows_h+set}" = set; then
28099 echo $ECHO_N "(cached) $ECHO_C" >&6
28100 else
28101 cat >conftest.$ac_ext <<_ACEOF
28102 /* confdefs.h. */
28103 _ACEOF
28104 cat confdefs.h >>conftest.$ac_ext
28105 cat >>conftest.$ac_ext <<_ACEOF
28106 /* end confdefs.h. */
28107
28108
28109 #include <windows.h>
28110 _ACEOF
28111 rm -f conftest.$ac_objext
28112 if { (ac_try="$ac_compile"
28113 case "(($ac_try" in
28114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28115 *) ac_try_echo=$ac_try;;
28116 esac
28117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28118 (eval "$ac_compile") 2>conftest.er1
28119 ac_status=$?
28120 grep -v '^ *+' conftest.er1 >conftest.err
28121 rm -f conftest.er1
28122 cat conftest.err >&5
28123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28124 (exit $ac_status); } && {
28125 test -z "$ac_c_werror_flag" ||
28126 test ! -s conftest.err
28127 } && test -s conftest.$ac_objext; then
28128 ac_cv_header_windows_h=yes
28129 else
28130 echo "$as_me: failed program was:" >&5
28131 sed 's/^/| /' conftest.$ac_ext >&5
28132
28133 ac_cv_header_windows_h=no
28134 fi
28135
28136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28137 fi
28138 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28139 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28140 if test $ac_cv_header_windows_h = yes; then
28141 :
28142 else
28143
28144 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28145 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28146 { (exit 1); exit 1; }; }
28147
28148 fi
28149
28150
28151
28152 case "${host}" in
28153 x86_64-*-mingw32* )
28154 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28155 ;;
28156 * )
28157 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28158 ;;
28159 esac
28160 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28161 LIBS="$LIBS -loleacc"
28162 fi
28163
28164 case "${host}" in
28165 *-*-cygwin* )
28166 LIBS="$LIBS -lkernel32 -luser32"
28167 esac
28168
28169 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28170 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28171
28172 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28173
28174 WIN32INSTALL=win32install
28175
28176 { echo "$as_me:$LINENO: checking for pbt.h" >&5
28177 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
28178 if test "${ac_cv_header_pbt_h+set}" = set; then
28179 echo $ECHO_N "(cached) $ECHO_C" >&6
28180 else
28181 cat >conftest.$ac_ext <<_ACEOF
28182 /* confdefs.h. */
28183 _ACEOF
28184 cat confdefs.h >>conftest.$ac_ext
28185 cat >>conftest.$ac_ext <<_ACEOF
28186 /* end confdefs.h. */
28187
28188
28189 #include <pbt.h>
28190 _ACEOF
28191 rm -f conftest.$ac_objext
28192 if { (ac_try="$ac_compile"
28193 case "(($ac_try" in
28194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28195 *) ac_try_echo=$ac_try;;
28196 esac
28197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28198 (eval "$ac_compile") 2>conftest.er1
28199 ac_status=$?
28200 grep -v '^ *+' conftest.er1 >conftest.err
28201 rm -f conftest.er1
28202 cat conftest.err >&5
28203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28204 (exit $ac_status); } && {
28205 test -z "$ac_c_werror_flag" ||
28206 test ! -s conftest.err
28207 } && test -s conftest.$ac_objext; then
28208 ac_cv_header_pbt_h=yes
28209 else
28210 echo "$as_me: failed program was:" >&5
28211 sed 's/^/| /' conftest.$ac_ext >&5
28212
28213 ac_cv_header_pbt_h=no
28214 fi
28215
28216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28217 fi
28218 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
28219 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28220 if test $ac_cv_header_pbt_h = yes; then
28221 :
28222 else
28223 cat >>confdefs.h <<\_ACEOF
28224 #define NEED_PBT_H 1
28225 _ACEOF
28226
28227 fi
28228
28229
28230 fi
28231
28232 if test "$wxUSE_GUI" = "yes"; then
28233 USE_GUI=1
28234
28235 GUI_TK_LIBRARY=
28236
28237 WXGTK12=
28238 WXGTK127=
28239 WXGTK2=
28240 WXGPE=
28241
28242 if test "$wxUSE_COCOA" = 1 ; then
28243 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28244 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28245 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28246 wxUSE_PRINTING_ARCHITECTURE=no
28247 fi
28248 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28249 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28250 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28251 wxUSE_DRAG_AND_DROP=no
28252 fi
28253 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28254 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
28255 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
28256 wxUSE_DRAGIMAGE=no
28257 fi
28258 fi
28259
28260 if test "$wxUSE_MSW" = 1 ; then
28261 TOOLKIT=MSW
28262 GUIDIST=MSW_DIST
28263
28264 case "${host}" in
28265 *-*-mingw32* )
28266 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28267 esac
28268 fi
28269
28270 if test "$wxUSE_GTK" = 1; then
28271 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
28272 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
28273
28274 gtk_version_cached=1
28275 if test "${wx_cv_lib_gtk+set}" = set; then
28276 echo $ECHO_N "(cached) $ECHO_C" >&6
28277 else
28278
28279 gtk_version_cached=0
28280 { echo "$as_me:$LINENO: result: " >&5
28281 echo "${ECHO_T}" >&6; }
28282
28283 GTK_MODULES=
28284 if test "$wxUSE_THREADS" = "yes"; then
28285 GTK_MODULES=gthread
28286 fi
28287
28288 wx_cv_lib_gtk=
28289 if test "x$wxGTK_VERSION" != "x1"
28290 then
28291 case "${host}" in
28292 *-*-solaris2* )
28293 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28294 enable_gtktest=no
28295 fi
28296 esac
28297
28298 # Check whether --enable-gtktest was given.
28299 if test "${enable_gtktest+set}" = set; then
28300 enableval=$enable_gtktest;
28301 else
28302 enable_gtktest=yes
28303 fi
28304
28305
28306 pkg_config_args=gtk+-2.0
28307 for module in . $GTK_MODULES
28308 do
28309 case "$module" in
28310 gthread)
28311 pkg_config_args="$pkg_config_args gthread-2.0"
28312 ;;
28313 esac
28314 done
28315
28316 no_gtk=""
28317
28318 # Extract the first word of "pkg-config", so it can be a program name with args.
28319 set dummy pkg-config; ac_word=$2
28320 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28322 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28323 echo $ECHO_N "(cached) $ECHO_C" >&6
28324 else
28325 case $PKG_CONFIG in
28326 [\\/]* | ?:[\\/]*)
28327 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28328 ;;
28329 *)
28330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28331 for as_dir in $PATH
28332 do
28333 IFS=$as_save_IFS
28334 test -z "$as_dir" && as_dir=.
28335 for ac_exec_ext in '' $ac_executable_extensions; do
28336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28337 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28339 break 2
28340 fi
28341 done
28342 done
28343 IFS=$as_save_IFS
28344
28345 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28346 ;;
28347 esac
28348 fi
28349 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28350 if test -n "$PKG_CONFIG"; then
28351 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28352 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28353 else
28354 { echo "$as_me:$LINENO: result: no" >&5
28355 echo "${ECHO_T}no" >&6; }
28356 fi
28357
28358
28359
28360 if test x$PKG_CONFIG != xno ; then
28361 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28362 :
28363 else
28364 echo "*** pkg-config too old; version 0.7 or better required."
28365 no_gtk=yes
28366 PKG_CONFIG=no
28367 fi
28368 else
28369 no_gtk=yes
28370 fi
28371
28372 min_gtk_version=2.4.0
28373 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28374 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28375
28376 if test x$PKG_CONFIG != xno ; then
28377 ## don't try to run the test against uninstalled libtool libs
28378 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28379 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28380 enable_gtktest=no
28381 fi
28382
28383 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28384 :
28385 else
28386 no_gtk=yes
28387 fi
28388 fi
28389
28390 if test x"$no_gtk" = x ; then
28391 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28392 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28393 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28394 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28395 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28396 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28397 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28398 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28399 if test "x$enable_gtktest" = "xyes" ; then
28400 ac_save_CFLAGS="$CFLAGS"
28401 ac_save_LIBS="$LIBS"
28402 CFLAGS="$CFLAGS $GTK_CFLAGS"
28403 LIBS="$GTK_LIBS $LIBS"
28404 rm -f conf.gtktest
28405 if test "$cross_compiling" = yes; then
28406 echo $ac_n "cross compiling; assumed OK... $ac_c"
28407 else
28408 cat >conftest.$ac_ext <<_ACEOF
28409 /* confdefs.h. */
28410 _ACEOF
28411 cat confdefs.h >>conftest.$ac_ext
28412 cat >>conftest.$ac_ext <<_ACEOF
28413 /* end confdefs.h. */
28414
28415 #include <gtk/gtk.h>
28416 #include <stdio.h>
28417 #include <stdlib.h>
28418
28419 int
28420 main ()
28421 {
28422 int major, minor, micro;
28423 char *tmp_version;
28424
28425 system ("touch conf.gtktest");
28426
28427 /* HP/UX 9 (%@#!) writes to sscanf strings */
28428 tmp_version = g_strdup("$min_gtk_version");
28429 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28430 printf("%s, bad version string\n", "$min_gtk_version");
28431 exit(1);
28432 }
28433
28434 if ((gtk_major_version != $gtk_config_major_version) ||
28435 (gtk_minor_version != $gtk_config_minor_version) ||
28436 (gtk_micro_version != $gtk_config_micro_version))
28437 {
28438 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28439 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28440 gtk_major_version, gtk_minor_version, gtk_micro_version);
28441 printf ("*** was found! If pkg-config was correct, then it is best\n");
28442 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28443 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28444 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28445 printf("*** required on your system.\n");
28446 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28447 printf("*** to point to the correct configuration files\n");
28448 }
28449 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28450 (gtk_minor_version != GTK_MINOR_VERSION) ||
28451 (gtk_micro_version != GTK_MICRO_VERSION))
28452 {
28453 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28454 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28455 printf("*** library (version %d.%d.%d)\n",
28456 gtk_major_version, gtk_minor_version, gtk_micro_version);
28457 }
28458 else
28459 {
28460 if ((gtk_major_version > major) ||
28461 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28462 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28463 {
28464 return 0;
28465 }
28466 else
28467 {
28468 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28469 gtk_major_version, gtk_minor_version, gtk_micro_version);
28470 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28471 major, minor, micro);
28472 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28473 printf("***\n");
28474 printf("*** If you have already installed a sufficiently new version, this error\n");
28475 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28476 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28477 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28478 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28479 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28480 printf("*** so that the correct libraries are found at run-time))\n");
28481 }
28482 }
28483 return 1;
28484 }
28485
28486 _ACEOF
28487 rm -f conftest$ac_exeext
28488 if { (ac_try="$ac_link"
28489 case "(($ac_try" in
28490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28491 *) ac_try_echo=$ac_try;;
28492 esac
28493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28494 (eval "$ac_link") 2>&5
28495 ac_status=$?
28496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28497 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28498 { (case "(($ac_try" in
28499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28500 *) ac_try_echo=$ac_try;;
28501 esac
28502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28503 (eval "$ac_try") 2>&5
28504 ac_status=$?
28505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28506 (exit $ac_status); }; }; then
28507 :
28508 else
28509 echo "$as_me: program exited with status $ac_status" >&5
28510 echo "$as_me: failed program was:" >&5
28511 sed 's/^/| /' conftest.$ac_ext >&5
28512
28513 ( exit $ac_status )
28514 no_gtk=yes
28515 fi
28516 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28517 fi
28518
28519
28520 CFLAGS="$ac_save_CFLAGS"
28521 LIBS="$ac_save_LIBS"
28522 fi
28523 fi
28524 if test "x$no_gtk" = x ; then
28525 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28526 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28527 wx_cv_lib_gtk=2.0
28528 else
28529 { echo "$as_me:$LINENO: result: no" >&5
28530 echo "${ECHO_T}no" >&6; }
28531 if test "$PKG_CONFIG" = "no" ; then
28532 echo "*** A new enough version of pkg-config was not found."
28533 echo "*** See http://pkgconfig.sourceforge.net"
28534 else
28535 if test -f conf.gtktest ; then
28536 :
28537 else
28538 echo "*** Could not run GTK+ test program, checking why..."
28539 ac_save_CFLAGS="$CFLAGS"
28540 ac_save_LIBS="$LIBS"
28541 CFLAGS="$CFLAGS $GTK_CFLAGS"
28542 LIBS="$LIBS $GTK_LIBS"
28543 cat >conftest.$ac_ext <<_ACEOF
28544 /* confdefs.h. */
28545 _ACEOF
28546 cat confdefs.h >>conftest.$ac_ext
28547 cat >>conftest.$ac_ext <<_ACEOF
28548 /* end confdefs.h. */
28549
28550 #include <gtk/gtk.h>
28551 #include <stdio.h>
28552
28553 int
28554 main ()
28555 {
28556 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28557 ;
28558 return 0;
28559 }
28560 _ACEOF
28561 rm -f conftest.$ac_objext conftest$ac_exeext
28562 if { (ac_try="$ac_link"
28563 case "(($ac_try" in
28564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28565 *) ac_try_echo=$ac_try;;
28566 esac
28567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28568 (eval "$ac_link") 2>conftest.er1
28569 ac_status=$?
28570 grep -v '^ *+' conftest.er1 >conftest.err
28571 rm -f conftest.er1
28572 cat conftest.err >&5
28573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28574 (exit $ac_status); } && {
28575 test -z "$ac_c_werror_flag" ||
28576 test ! -s conftest.err
28577 } && test -s conftest$ac_exeext &&
28578 $as_test_x conftest$ac_exeext; then
28579 echo "*** The test program compiled, but did not run. This usually means"
28580 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28581 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28582 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28583 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28584 echo "*** is required on your system"
28585 echo "***"
28586 echo "*** If you have an old version installed, it is best to remove it, although"
28587 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28588 else
28589 echo "$as_me: failed program was:" >&5
28590 sed 's/^/| /' conftest.$ac_ext >&5
28591
28592 echo "*** The test program failed to compile or link. See the file config.log for the"
28593 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28594 fi
28595
28596 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28597 conftest$ac_exeext conftest.$ac_ext
28598 CFLAGS="$ac_save_CFLAGS"
28599 LIBS="$ac_save_LIBS"
28600 fi
28601 fi
28602 GTK_CFLAGS=""
28603 GTK_LIBS=""
28604 :
28605 fi
28606
28607
28608 rm -f conf.gtktest
28609
28610
28611 case "${host}" in
28612 *-*-solaris2* )
28613 if test "$wxUSE_SHARED" != "yes"; then
28614 GTK_LIBS="$GTK_LIBS -lX11"
28615 fi
28616 esac
28617 fi
28618
28619 if test -z "$wx_cv_lib_gtk"; then
28620 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28621
28622 # Check whether --with-gtk-prefix was given.
28623 if test "${with_gtk_prefix+set}" = set; then
28624 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28625 else
28626 gtk_config_prefix=""
28627 fi
28628
28629
28630 # Check whether --with-gtk-exec-prefix was given.
28631 if test "${with_gtk_exec_prefix+set}" = set; then
28632 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28633 else
28634 gtk_config_exec_prefix=""
28635 fi
28636
28637 # Check whether --enable-gtktest was given.
28638 if test "${enable_gtktest+set}" = set; then
28639 enableval=$enable_gtktest;
28640 else
28641 enable_gtktest=yes
28642 fi
28643
28644
28645 for module in . $GTK_MODULES
28646 do
28647 case "$module" in
28648 gthread)
28649 gtk_config_args="$gtk_config_args gthread"
28650 ;;
28651 esac
28652 done
28653
28654 if test x$gtk_config_exec_prefix != x ; then
28655 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28656 if test x${GTK_CONFIG+set} != xset ; then
28657 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28658 fi
28659 fi
28660 if test x$gtk_config_prefix != x ; then
28661 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28662 if test x${GTK_CONFIG+set} != xset ; then
28663 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28664 fi
28665 fi
28666
28667 # Extract the first word of "gtk-config", so it can be a program name with args.
28668 set dummy gtk-config; ac_word=$2
28669 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28671 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28672 echo $ECHO_N "(cached) $ECHO_C" >&6
28673 else
28674 case $GTK_CONFIG in
28675 [\\/]* | ?:[\\/]*)
28676 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28677 ;;
28678 *)
28679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28680 for as_dir in $PATH
28681 do
28682 IFS=$as_save_IFS
28683 test -z "$as_dir" && as_dir=.
28684 for ac_exec_ext in '' $ac_executable_extensions; do
28685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28686 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28687 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28688 break 2
28689 fi
28690 done
28691 done
28692 IFS=$as_save_IFS
28693
28694 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28695 ;;
28696 esac
28697 fi
28698 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28699 if test -n "$GTK_CONFIG"; then
28700 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28701 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28702 else
28703 { echo "$as_me:$LINENO: result: no" >&5
28704 echo "${ECHO_T}no" >&6; }
28705 fi
28706
28707
28708 min_gtk_version=1.2.7
28709 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28710 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28711 no_gtk=""
28712 if test "$GTK_CONFIG" = "no" ; then
28713 no_gtk=yes
28714 else
28715 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28716 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28717 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28718 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28719 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28720 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28721 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28722 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28723 if test "x$enable_gtktest" = "xyes" ; then
28724 ac_save_CFLAGS="$CFLAGS"
28725 ac_save_LIBS="$LIBS"
28726 CFLAGS="$CFLAGS $GTK_CFLAGS"
28727 LIBS="$GTK_LIBS $LIBS"
28728 rm -f conf.gtktest
28729 if test "$cross_compiling" = yes; then
28730 echo $ac_n "cross compiling; assumed OK... $ac_c"
28731 else
28732 cat >conftest.$ac_ext <<_ACEOF
28733 /* confdefs.h. */
28734 _ACEOF
28735 cat confdefs.h >>conftest.$ac_ext
28736 cat >>conftest.$ac_ext <<_ACEOF
28737 /* end confdefs.h. */
28738
28739 #include <gtk/gtk.h>
28740 #include <stdio.h>
28741 #include <stdlib.h>
28742
28743 int
28744 main ()
28745 {
28746 int major, minor, micro;
28747 char *tmp_version;
28748
28749 system ("touch conf.gtktest");
28750
28751 /* HP/UX 9 (%@#!) writes to sscanf strings */
28752 tmp_version = g_strdup("$min_gtk_version");
28753 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28754 printf("%s, bad version string\n", "$min_gtk_version");
28755 exit(1);
28756 }
28757
28758 if ((gtk_major_version != $gtk_config_major_version) ||
28759 (gtk_minor_version != $gtk_config_minor_version) ||
28760 (gtk_micro_version != $gtk_config_micro_version))
28761 {
28762 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28763 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28764 gtk_major_version, gtk_minor_version, gtk_micro_version);
28765 printf ("*** was found! If gtk-config was correct, then it is best\n");
28766 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28767 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28768 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28769 printf("*** required on your system.\n");
28770 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28771 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28772 printf("*** before re-running configure\n");
28773 }
28774 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28775 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28776 (gtk_minor_version != GTK_MINOR_VERSION) ||
28777 (gtk_micro_version != GTK_MICRO_VERSION))
28778 {
28779 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28780 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28781 printf("*** library (version %d.%d.%d)\n",
28782 gtk_major_version, gtk_minor_version, gtk_micro_version);
28783 }
28784 #endif /* defined (GTK_MAJOR_VERSION) ... */
28785 else
28786 {
28787 if ((gtk_major_version > major) ||
28788 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28789 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28790 {
28791 return 0;
28792 }
28793 else
28794 {
28795 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28796 gtk_major_version, gtk_minor_version, gtk_micro_version);
28797 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28798 major, minor, micro);
28799 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28800 printf("***\n");
28801 printf("*** If you have already installed a sufficiently new version, this error\n");
28802 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28803 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28804 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28805 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28806 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28807 printf("*** so that the correct libraries are found at run-time))\n");
28808 }
28809 }
28810 return 1;
28811 }
28812
28813 _ACEOF
28814 rm -f conftest$ac_exeext
28815 if { (ac_try="$ac_link"
28816 case "(($ac_try" in
28817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28818 *) ac_try_echo=$ac_try;;
28819 esac
28820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28821 (eval "$ac_link") 2>&5
28822 ac_status=$?
28823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28824 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28825 { (case "(($ac_try" in
28826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28827 *) ac_try_echo=$ac_try;;
28828 esac
28829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28830 (eval "$ac_try") 2>&5
28831 ac_status=$?
28832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28833 (exit $ac_status); }; }; then
28834 :
28835 else
28836 echo "$as_me: program exited with status $ac_status" >&5
28837 echo "$as_me: failed program was:" >&5
28838 sed 's/^/| /' conftest.$ac_ext >&5
28839
28840 ( exit $ac_status )
28841 no_gtk=yes
28842 fi
28843 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28844 fi
28845
28846
28847 CFLAGS="$ac_save_CFLAGS"
28848 LIBS="$ac_save_LIBS"
28849 fi
28850 fi
28851 if test "x$no_gtk" = x ; then
28852 { echo "$as_me:$LINENO: result: yes" >&5
28853 echo "${ECHO_T}yes" >&6; }
28854 wx_cv_lib_gtk=1.2.7
28855 else
28856 { echo "$as_me:$LINENO: result: no" >&5
28857 echo "${ECHO_T}no" >&6; }
28858 if test "$GTK_CONFIG" = "no" ; then
28859 echo "*** The gtk-config script installed by GTK could not be found"
28860 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28861 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28862 echo "*** full path to gtk-config."
28863 else
28864 if test -f conf.gtktest ; then
28865 :
28866 else
28867 echo "*** Could not run GTK test program, checking why..."
28868 CFLAGS="$CFLAGS $GTK_CFLAGS"
28869 LIBS="$LIBS $GTK_LIBS"
28870 cat >conftest.$ac_ext <<_ACEOF
28871 /* confdefs.h. */
28872 _ACEOF
28873 cat confdefs.h >>conftest.$ac_ext
28874 cat >>conftest.$ac_ext <<_ACEOF
28875 /* end confdefs.h. */
28876
28877 #include <gtk/gtk.h>
28878 #include <stdio.h>
28879
28880 int
28881 main ()
28882 {
28883 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28884 ;
28885 return 0;
28886 }
28887 _ACEOF
28888 rm -f conftest.$ac_objext conftest$ac_exeext
28889 if { (ac_try="$ac_link"
28890 case "(($ac_try" in
28891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28892 *) ac_try_echo=$ac_try;;
28893 esac
28894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28895 (eval "$ac_link") 2>conftest.er1
28896 ac_status=$?
28897 grep -v '^ *+' conftest.er1 >conftest.err
28898 rm -f conftest.er1
28899 cat conftest.err >&5
28900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28901 (exit $ac_status); } && {
28902 test -z "$ac_c_werror_flag" ||
28903 test ! -s conftest.err
28904 } && test -s conftest$ac_exeext &&
28905 $as_test_x conftest$ac_exeext; then
28906 echo "*** The test program compiled, but did not run. This usually means"
28907 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28908 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28909 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28910 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28911 echo "*** is required on your system"
28912 echo "***"
28913 echo "*** If you have an old version installed, it is best to remove it, although"
28914 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28915 echo "***"
28916 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28917 echo "*** came with the system with the command"
28918 echo "***"
28919 echo "*** rpm --erase --nodeps gtk gtk-devel"
28920 else
28921 echo "$as_me: failed program was:" >&5
28922 sed 's/^/| /' conftest.$ac_ext >&5
28923
28924 echo "*** The test program failed to compile or link. See the file config.log for the"
28925 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28926 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28927 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28928 fi
28929
28930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28931 conftest$ac_exeext conftest.$ac_ext
28932 CFLAGS="$ac_save_CFLAGS"
28933 LIBS="$ac_save_LIBS"
28934 fi
28935 fi
28936 GTK_CFLAGS=""
28937 GTK_LIBS=""
28938 :
28939 fi
28940
28941
28942 rm -f conf.gtktest
28943
28944
28945 if test -z "$wx_cv_lib_gtk"; then
28946
28947 # Check whether --with-gtk-prefix was given.
28948 if test "${with_gtk_prefix+set}" = set; then
28949 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28950 else
28951 gtk_config_prefix=""
28952 fi
28953
28954
28955 # Check whether --with-gtk-exec-prefix was given.
28956 if test "${with_gtk_exec_prefix+set}" = set; then
28957 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28958 else
28959 gtk_config_exec_prefix=""
28960 fi
28961
28962 # Check whether --enable-gtktest was given.
28963 if test "${enable_gtktest+set}" = set; then
28964 enableval=$enable_gtktest;
28965 else
28966 enable_gtktest=yes
28967 fi
28968
28969
28970 for module in . $GTK_MODULES
28971 do
28972 case "$module" in
28973 gthread)
28974 gtk_config_args="$gtk_config_args gthread"
28975 ;;
28976 esac
28977 done
28978
28979 if test x$gtk_config_exec_prefix != x ; then
28980 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28981 if test x${GTK_CONFIG+set} != xset ; then
28982 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28983 fi
28984 fi
28985 if test x$gtk_config_prefix != x ; then
28986 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28987 if test x${GTK_CONFIG+set} != xset ; then
28988 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28989 fi
28990 fi
28991
28992 # Extract the first word of "gtk-config", so it can be a program name with args.
28993 set dummy gtk-config; ac_word=$2
28994 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28996 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28997 echo $ECHO_N "(cached) $ECHO_C" >&6
28998 else
28999 case $GTK_CONFIG in
29000 [\\/]* | ?:[\\/]*)
29001 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29002 ;;
29003 *)
29004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29005 for as_dir in $PATH
29006 do
29007 IFS=$as_save_IFS
29008 test -z "$as_dir" && as_dir=.
29009 for ac_exec_ext in '' $ac_executable_extensions; do
29010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29011 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29013 break 2
29014 fi
29015 done
29016 done
29017 IFS=$as_save_IFS
29018
29019 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29020 ;;
29021 esac
29022 fi
29023 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29024 if test -n "$GTK_CONFIG"; then
29025 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29026 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29027 else
29028 { echo "$as_me:$LINENO: result: no" >&5
29029 echo "${ECHO_T}no" >&6; }
29030 fi
29031
29032
29033 min_gtk_version=1.2.3
29034 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29035 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29036 no_gtk=""
29037 if test "$GTK_CONFIG" = "no" ; then
29038 no_gtk=yes
29039 else
29040 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29041 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29042 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29043 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29044 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29045 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29046 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29047 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29048 if test "x$enable_gtktest" = "xyes" ; then
29049 ac_save_CFLAGS="$CFLAGS"
29050 ac_save_LIBS="$LIBS"
29051 CFLAGS="$CFLAGS $GTK_CFLAGS"
29052 LIBS="$GTK_LIBS $LIBS"
29053 rm -f conf.gtktest
29054 if test "$cross_compiling" = yes; then
29055 echo $ac_n "cross compiling; assumed OK... $ac_c"
29056 else
29057 cat >conftest.$ac_ext <<_ACEOF
29058 /* confdefs.h. */
29059 _ACEOF
29060 cat confdefs.h >>conftest.$ac_ext
29061 cat >>conftest.$ac_ext <<_ACEOF
29062 /* end confdefs.h. */
29063
29064 #include <gtk/gtk.h>
29065 #include <stdio.h>
29066 #include <stdlib.h>
29067
29068 int
29069 main ()
29070 {
29071 int major, minor, micro;
29072 char *tmp_version;
29073
29074 system ("touch conf.gtktest");
29075
29076 /* HP/UX 9 (%@#!) writes to sscanf strings */
29077 tmp_version = g_strdup("$min_gtk_version");
29078 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29079 printf("%s, bad version string\n", "$min_gtk_version");
29080 exit(1);
29081 }
29082
29083 if ((gtk_major_version != $gtk_config_major_version) ||
29084 (gtk_minor_version != $gtk_config_minor_version) ||
29085 (gtk_micro_version != $gtk_config_micro_version))
29086 {
29087 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29088 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29089 gtk_major_version, gtk_minor_version, gtk_micro_version);
29090 printf ("*** was found! If gtk-config was correct, then it is best\n");
29091 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29092 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29093 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29094 printf("*** required on your system.\n");
29095 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29096 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29097 printf("*** before re-running configure\n");
29098 }
29099 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29100 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29101 (gtk_minor_version != GTK_MINOR_VERSION) ||
29102 (gtk_micro_version != GTK_MICRO_VERSION))
29103 {
29104 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29105 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29106 printf("*** library (version %d.%d.%d)\n",
29107 gtk_major_version, gtk_minor_version, gtk_micro_version);
29108 }
29109 #endif /* defined (GTK_MAJOR_VERSION) ... */
29110 else
29111 {
29112 if ((gtk_major_version > major) ||
29113 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29114 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29115 {
29116 return 0;
29117 }
29118 else
29119 {
29120 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29121 gtk_major_version, gtk_minor_version, gtk_micro_version);
29122 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29123 major, minor, micro);
29124 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29125 printf("***\n");
29126 printf("*** If you have already installed a sufficiently new version, this error\n");
29127 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29128 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29129 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29130 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29131 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29132 printf("*** so that the correct libraries are found at run-time))\n");
29133 }
29134 }
29135 return 1;
29136 }
29137
29138 _ACEOF
29139 rm -f conftest$ac_exeext
29140 if { (ac_try="$ac_link"
29141 case "(($ac_try" in
29142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29143 *) ac_try_echo=$ac_try;;
29144 esac
29145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29146 (eval "$ac_link") 2>&5
29147 ac_status=$?
29148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29149 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29150 { (case "(($ac_try" in
29151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29152 *) ac_try_echo=$ac_try;;
29153 esac
29154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29155 (eval "$ac_try") 2>&5
29156 ac_status=$?
29157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29158 (exit $ac_status); }; }; then
29159 :
29160 else
29161 echo "$as_me: program exited with status $ac_status" >&5
29162 echo "$as_me: failed program was:" >&5
29163 sed 's/^/| /' conftest.$ac_ext >&5
29164
29165 ( exit $ac_status )
29166 no_gtk=yes
29167 fi
29168 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29169 fi
29170
29171
29172 CFLAGS="$ac_save_CFLAGS"
29173 LIBS="$ac_save_LIBS"
29174 fi
29175 fi
29176 if test "x$no_gtk" = x ; then
29177 { echo "$as_me:$LINENO: result: yes" >&5
29178 echo "${ECHO_T}yes" >&6; }
29179 wx_cv_lib_gtk=1.2.3
29180 else
29181 { echo "$as_me:$LINENO: result: no" >&5
29182 echo "${ECHO_T}no" >&6; }
29183 if test "$GTK_CONFIG" = "no" ; then
29184 echo "*** The gtk-config script installed by GTK could not be found"
29185 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29186 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29187 echo "*** full path to gtk-config."
29188 else
29189 if test -f conf.gtktest ; then
29190 :
29191 else
29192 echo "*** Could not run GTK test program, checking why..."
29193 CFLAGS="$CFLAGS $GTK_CFLAGS"
29194 LIBS="$LIBS $GTK_LIBS"
29195 cat >conftest.$ac_ext <<_ACEOF
29196 /* confdefs.h. */
29197 _ACEOF
29198 cat confdefs.h >>conftest.$ac_ext
29199 cat >>conftest.$ac_ext <<_ACEOF
29200 /* end confdefs.h. */
29201
29202 #include <gtk/gtk.h>
29203 #include <stdio.h>
29204
29205 int
29206 main ()
29207 {
29208 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29209 ;
29210 return 0;
29211 }
29212 _ACEOF
29213 rm -f conftest.$ac_objext conftest$ac_exeext
29214 if { (ac_try="$ac_link"
29215 case "(($ac_try" in
29216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29217 *) ac_try_echo=$ac_try;;
29218 esac
29219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29220 (eval "$ac_link") 2>conftest.er1
29221 ac_status=$?
29222 grep -v '^ *+' conftest.er1 >conftest.err
29223 rm -f conftest.er1
29224 cat conftest.err >&5
29225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29226 (exit $ac_status); } && {
29227 test -z "$ac_c_werror_flag" ||
29228 test ! -s conftest.err
29229 } && test -s conftest$ac_exeext &&
29230 $as_test_x conftest$ac_exeext; then
29231 echo "*** The test program compiled, but did not run. This usually means"
29232 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29233 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29234 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29235 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29236 echo "*** is required on your system"
29237 echo "***"
29238 echo "*** If you have an old version installed, it is best to remove it, although"
29239 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29240 echo "***"
29241 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29242 echo "*** came with the system with the command"
29243 echo "***"
29244 echo "*** rpm --erase --nodeps gtk gtk-devel"
29245 else
29246 echo "$as_me: failed program was:" >&5
29247 sed 's/^/| /' conftest.$ac_ext >&5
29248
29249 echo "*** The test program failed to compile or link. See the file config.log for the"
29250 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29251 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29252 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29253 fi
29254
29255 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29256 conftest$ac_exeext conftest.$ac_ext
29257 CFLAGS="$ac_save_CFLAGS"
29258 LIBS="$ac_save_LIBS"
29259 fi
29260 fi
29261 GTK_CFLAGS=""
29262 GTK_LIBS=""
29263 :
29264 fi
29265
29266
29267 rm -f conf.gtktest
29268
29269 fi
29270 fi
29271 fi
29272
29273 if test -z "$wx_cv_lib_gtk"; then
29274 wx_cv_lib_gtk=none
29275 else
29276 wx_cv_cflags_gtk=$GTK_CFLAGS
29277 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29278 fi
29279
29280
29281 fi
29282
29283
29284 if test "$gtk_version_cached" = 1; then
29285 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29286 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29287 fi
29288
29289 case "$wx_cv_lib_gtk" in
29290 2.0) WXGTK2=1
29291 TOOLKIT_VERSION=2
29292 ;;
29293 1.2.7) WXGTK127=1
29294 WXGTK12=1
29295 ;;
29296 1.2.3) WXGTK12=1
29297 ;;
29298 *) { { echo "$as_me:$LINENO: error:
29299 The development files for GTK+ were not found. For GTK+ 2, please
29300 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29301 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29302 and that the version is 1.2.3 or above. Also check that the
29303 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29304 --libs' are in the LD_LIBRARY_PATH or equivalent.
29305 " >&5
29306 echo "$as_me: error:
29307 The development files for GTK+ were not found. For GTK+ 2, please
29308 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29309 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29310 and that the version is 1.2.3 or above. Also check that the
29311 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29312 --libs' are in the LD_LIBRARY_PATH or equivalent.
29313 " >&2;}
29314 { (exit 1); exit 1; }; }
29315 ;;
29316 esac
29317
29318 if test "$WXGTK2" = 1; then
29319 save_CFLAGS="$CFLAGS"
29320 save_LIBS="$LIBS"
29321 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29322 LIBS="$LIBS $wx_cv_libs_gtk"
29323
29324 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29325 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29326 cat >conftest.$ac_ext <<_ACEOF
29327 /* confdefs.h. */
29328 _ACEOF
29329 cat confdefs.h >>conftest.$ac_ext
29330 cat >>conftest.$ac_ext <<_ACEOF
29331 /* end confdefs.h. */
29332
29333 #include <gtk/gtk.h>
29334
29335 int
29336 main ()
29337 {
29338
29339 #if !GTK_CHECK_VERSION(2,10,0)
29340 Not GTK+ 2.10
29341 #endif
29342
29343 ;
29344 return 0;
29345 }
29346 _ACEOF
29347 rm -f conftest.$ac_objext
29348 if { (ac_try="$ac_compile"
29349 case "(($ac_try" in
29350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29351 *) ac_try_echo=$ac_try;;
29352 esac
29353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29354 (eval "$ac_compile") 2>conftest.er1
29355 ac_status=$?
29356 grep -v '^ *+' conftest.er1 >conftest.err
29357 rm -f conftest.er1
29358 cat conftest.err >&5
29359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29360 (exit $ac_status); } && {
29361 test -z "$ac_c_werror_flag" ||
29362 test ! -s conftest.err
29363 } && test -s conftest.$ac_objext; then
29364
29365 cat >>confdefs.h <<\_ACEOF
29366 #define __WXGTK210__ 1
29367 _ACEOF
29368
29369 cat >>confdefs.h <<\_ACEOF
29370 #define __WXGTK26__ 1
29371 _ACEOF
29372
29373 { echo "$as_me:$LINENO: result: yes" >&5
29374 echo "${ECHO_T}yes" >&6; }
29375 ac_wxgtk210=1
29376
29377 else
29378 echo "$as_me: failed program was:" >&5
29379 sed 's/^/| /' conftest.$ac_ext >&5
29380
29381
29382 { echo "$as_me:$LINENO: result: no" >&5
29383 echo "${ECHO_T}no" >&6; }
29384 ac_wxgtk210=0
29385
29386 fi
29387
29388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29389
29390 if test "$ac_wxgtk210" = 0; then
29391 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29392 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29393 cat >conftest.$ac_ext <<_ACEOF
29394 /* confdefs.h. */
29395 _ACEOF
29396 cat confdefs.h >>conftest.$ac_ext
29397 cat >>conftest.$ac_ext <<_ACEOF
29398 /* end confdefs.h. */
29399
29400 #include <gtk/gtk.h>
29401
29402 int
29403 main ()
29404 {
29405
29406 #if !GTK_CHECK_VERSION(2,6,0)
29407 Not GTK+ 2.6
29408 #endif
29409
29410 ;
29411 return 0;
29412 }
29413 _ACEOF
29414 rm -f conftest.$ac_objext
29415 if { (ac_try="$ac_compile"
29416 case "(($ac_try" in
29417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29418 *) ac_try_echo=$ac_try;;
29419 esac
29420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29421 (eval "$ac_compile") 2>conftest.er1
29422 ac_status=$?
29423 grep -v '^ *+' conftest.er1 >conftest.err
29424 rm -f conftest.er1
29425 cat conftest.err >&5
29426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29427 (exit $ac_status); } && {
29428 test -z "$ac_c_werror_flag" ||
29429 test ! -s conftest.err
29430 } && test -s conftest.$ac_objext; then
29431
29432 cat >>confdefs.h <<\_ACEOF
29433 #define __WXGTK26__ 1
29434 _ACEOF
29435
29436 { echo "$as_me:$LINENO: result: yes" >&5
29437 echo "${ECHO_T}yes" >&6; }
29438 ac_wxgtk26=1
29439
29440 else
29441 echo "$as_me: failed program was:" >&5
29442 sed 's/^/| /' conftest.$ac_ext >&5
29443
29444
29445 { echo "$as_me:$LINENO: result: no" >&5
29446 echo "${ECHO_T}no" >&6; }
29447 ac_wxgtk26=0
29448
29449 fi
29450
29451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29452 fi
29453
29454 CFLAGS="$save_CFLAGS"
29455 LIBS="$save_LIBS"
29456 else
29457 if test "$wxUSE_UNICODE" = "yes"; then
29458 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29459 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29460 wxUSE_UNICODE=no
29461 fi
29462
29463 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29464 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29465 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29466 echo $ECHO_N "(cached) $ECHO_C" >&6
29467 else
29468 ac_check_lib_save_LIBS=$LIBS
29469 LIBS="-lgdk $LIBS"
29470 cat >conftest.$ac_ext <<_ACEOF
29471 /* confdefs.h. */
29472 _ACEOF
29473 cat confdefs.h >>conftest.$ac_ext
29474 cat >>conftest.$ac_ext <<_ACEOF
29475 /* end confdefs.h. */
29476
29477 /* Override any GCC internal prototype to avoid an error.
29478 Use char because int might match the return type of a GCC
29479 builtin and then its argument prototype would still apply. */
29480 #ifdef __cplusplus
29481 extern "C"
29482 #endif
29483 char gdk_im_open ();
29484 int
29485 main ()
29486 {
29487 return gdk_im_open ();
29488 ;
29489 return 0;
29490 }
29491 _ACEOF
29492 rm -f conftest.$ac_objext conftest$ac_exeext
29493 if { (ac_try="$ac_link"
29494 case "(($ac_try" in
29495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29496 *) ac_try_echo=$ac_try;;
29497 esac
29498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29499 (eval "$ac_link") 2>conftest.er1
29500 ac_status=$?
29501 grep -v '^ *+' conftest.er1 >conftest.err
29502 rm -f conftest.er1
29503 cat conftest.err >&5
29504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29505 (exit $ac_status); } && {
29506 test -z "$ac_c_werror_flag" ||
29507 test ! -s conftest.err
29508 } && test -s conftest$ac_exeext &&
29509 $as_test_x conftest$ac_exeext; then
29510 ac_cv_lib_gdk_gdk_im_open=yes
29511 else
29512 echo "$as_me: failed program was:" >&5
29513 sed 's/^/| /' conftest.$ac_ext >&5
29514
29515 ac_cv_lib_gdk_gdk_im_open=no
29516 fi
29517
29518 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29519 conftest$ac_exeext conftest.$ac_ext
29520 LIBS=$ac_check_lib_save_LIBS
29521 fi
29522 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29523 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29524 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29525 cat >>confdefs.h <<\_ACEOF
29526 #define HAVE_XIM 1
29527 _ACEOF
29528
29529 fi
29530
29531
29532 if test "$USE_DARWIN" != 1; then
29533
29534 for ac_func in poll
29535 do
29536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29537 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29539 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29540 echo $ECHO_N "(cached) $ECHO_C" >&6
29541 else
29542 cat >conftest.$ac_ext <<_ACEOF
29543 /* confdefs.h. */
29544 _ACEOF
29545 cat confdefs.h >>conftest.$ac_ext
29546 cat >>conftest.$ac_ext <<_ACEOF
29547 /* end confdefs.h. */
29548 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29549 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29550 #define $ac_func innocuous_$ac_func
29551
29552 /* System header to define __stub macros and hopefully few prototypes,
29553 which can conflict with char $ac_func (); below.
29554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29555 <limits.h> exists even on freestanding compilers. */
29556
29557 #ifdef __STDC__
29558 # include <limits.h>
29559 #else
29560 # include <assert.h>
29561 #endif
29562
29563 #undef $ac_func
29564
29565 /* Override any GCC internal prototype to avoid an error.
29566 Use char because int might match the return type of a GCC
29567 builtin and then its argument prototype would still apply. */
29568 #ifdef __cplusplus
29569 extern "C"
29570 #endif
29571 char $ac_func ();
29572 /* The GNU C library defines this for functions which it implements
29573 to always fail with ENOSYS. Some functions are actually named
29574 something starting with __ and the normal name is an alias. */
29575 #if defined __stub_$ac_func || defined __stub___$ac_func
29576 choke me
29577 #endif
29578
29579 int
29580 main ()
29581 {
29582 return $ac_func ();
29583 ;
29584 return 0;
29585 }
29586 _ACEOF
29587 rm -f conftest.$ac_objext conftest$ac_exeext
29588 if { (ac_try="$ac_link"
29589 case "(($ac_try" in
29590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29591 *) ac_try_echo=$ac_try;;
29592 esac
29593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29594 (eval "$ac_link") 2>conftest.er1
29595 ac_status=$?
29596 grep -v '^ *+' conftest.er1 >conftest.err
29597 rm -f conftest.er1
29598 cat conftest.err >&5
29599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29600 (exit $ac_status); } && {
29601 test -z "$ac_c_werror_flag" ||
29602 test ! -s conftest.err
29603 } && test -s conftest$ac_exeext &&
29604 $as_test_x conftest$ac_exeext; then
29605 eval "$as_ac_var=yes"
29606 else
29607 echo "$as_me: failed program was:" >&5
29608 sed 's/^/| /' conftest.$ac_ext >&5
29609
29610 eval "$as_ac_var=no"
29611 fi
29612
29613 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29614 conftest$ac_exeext conftest.$ac_ext
29615 fi
29616 ac_res=`eval echo '${'$as_ac_var'}'`
29617 { echo "$as_me:$LINENO: result: $ac_res" >&5
29618 echo "${ECHO_T}$ac_res" >&6; }
29619 if test `eval echo '${'$as_ac_var'}'` = yes; then
29620 cat >>confdefs.h <<_ACEOF
29621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29622 _ACEOF
29623
29624 fi
29625 done
29626
29627 fi
29628 fi
29629
29630 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29631 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29632
29633 AFMINSTALL=afminstall
29634 TOOLKIT=GTK
29635 GUIDIST=GTK_DIST
29636
29637 if test "$wxUSE_GPE" = "yes"; then
29638 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29639 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29640
29641 ac_find_libraries=
29642 for ac_dir in $SEARCH_LIB;
29643 do
29644 for ac_extension in a so sl dylib dll.a; do
29645 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29646 ac_find_libraries=$ac_dir
29647 break 2
29648 fi
29649 done
29650 done
29651
29652 if test "$ac_find_libraries" != "" ; then
29653
29654 if test "$ac_find_libraries" = "default location"; then
29655 ac_path_to_link=""
29656 else
29657 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29658 result=$?
29659 if test $result = 0; then
29660 ac_path_to_link=""
29661 else
29662 ac_path_to_link=" -L$ac_find_libraries"
29663 fi
29664 fi
29665
29666 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29667 WXGPE=1
29668 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29669 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29670 else
29671 { echo "$as_me:$LINENO: result: not found" >&5
29672 echo "${ECHO_T}not found" >&6; }
29673 fi
29674
29675 fi
29676 fi
29677
29678 if test "$wxUSE_MGL" = 1; then
29679 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29680 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29681 if test "x$MGL_ROOT" = x ; then
29682 { echo "$as_me:$LINENO: result: not found" >&5
29683 echo "${ECHO_T}not found" >&6; }
29684 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29685 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29686 { (exit 1); exit 1; }; }
29687 else
29688 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29689 echo "${ECHO_T}$MGL_ROOT" >&6; }
29690 fi
29691
29692 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29693 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29694 case "${host}" in
29695 *-*-linux* )
29696 if test "x$wxUSE_SHARED" = xyes ; then
29697 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29698 else
29699 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29700 fi
29701 ;;
29702 *-pc-msdosdjgpp )
29703 mgl_os_candidates="dos32/dj2"
29704 ;;
29705 *)
29706 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29707 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29708 { (exit 1); exit 1; }; }
29709 esac
29710
29711 mgl_lib_type=""
29712 mgl_os=""
29713
29714 for mgl_os_i in $mgl_os_candidates ; do
29715 if test "x$mgl_os" = x ; then
29716 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29717 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29718 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29719 mgl_lib_type=debug
29720 mgl_os=$mgl_os_i
29721 fi
29722 fi
29723 if test "x$mgl_lib_type" = x ; then
29724 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29725 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29726 mgl_lib_type=release
29727 mgl_os=$mgl_os_i
29728 fi
29729 fi
29730 fi
29731 done
29732
29733 if test "x$mgl_os" = x ; then
29734 { echo "$as_me:$LINENO: result: not found" >&5
29735 echo "${ECHO_T}not found" >&6; }
29736 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29737 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29738 { (exit 1); exit 1; }; }
29739 fi
29740 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29741 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29742
29743 wxUSE_UNIVERSAL="yes"
29744
29745 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29746 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29747
29748 AFMINSTALL=afminstall
29749 TOOLKIT=MGL
29750 GUIDIST=MGL_DIST
29751 fi
29752
29753 if test "$wxUSE_DFB" = 1; then
29754
29755
29756 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29757 if test -n "$ac_tool_prefix"; then
29758 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29759 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29760 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29762 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29763 echo $ECHO_N "(cached) $ECHO_C" >&6
29764 else
29765 case $PKG_CONFIG in
29766 [\\/]* | ?:[\\/]*)
29767 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29768 ;;
29769 *)
29770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29771 for as_dir in $PATH
29772 do
29773 IFS=$as_save_IFS
29774 test -z "$as_dir" && as_dir=.
29775 for ac_exec_ext in '' $ac_executable_extensions; do
29776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29777 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29778 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29779 break 2
29780 fi
29781 done
29782 done
29783 IFS=$as_save_IFS
29784
29785 ;;
29786 esac
29787 fi
29788 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29789 if test -n "$PKG_CONFIG"; then
29790 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29791 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29792 else
29793 { echo "$as_me:$LINENO: result: no" >&5
29794 echo "${ECHO_T}no" >&6; }
29795 fi
29796
29797
29798 fi
29799 if test -z "$ac_cv_path_PKG_CONFIG"; then
29800 ac_pt_PKG_CONFIG=$PKG_CONFIG
29801 # Extract the first word of "pkg-config", so it can be a program name with args.
29802 set dummy pkg-config; ac_word=$2
29803 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29805 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29806 echo $ECHO_N "(cached) $ECHO_C" >&6
29807 else
29808 case $ac_pt_PKG_CONFIG in
29809 [\\/]* | ?:[\\/]*)
29810 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29811 ;;
29812 *)
29813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29814 for as_dir in $PATH
29815 do
29816 IFS=$as_save_IFS
29817 test -z "$as_dir" && as_dir=.
29818 for ac_exec_ext in '' $ac_executable_extensions; do
29819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29820 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29822 break 2
29823 fi
29824 done
29825 done
29826 IFS=$as_save_IFS
29827
29828 ;;
29829 esac
29830 fi
29831 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29832 if test -n "$ac_pt_PKG_CONFIG"; then
29833 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29834 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29835 else
29836 { echo "$as_me:$LINENO: result: no" >&5
29837 echo "${ECHO_T}no" >&6; }
29838 fi
29839
29840 if test "x$ac_pt_PKG_CONFIG" = x; then
29841 PKG_CONFIG=""
29842 else
29843 case $cross_compiling:$ac_tool_warned in
29844 yes:)
29845 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29846 whose name does not start with the host triplet. If you think this
29847 configuration is useful to you, please write to autoconf@gnu.org." >&5
29848 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29849 whose name does not start with the host triplet. If you think this
29850 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29851 ac_tool_warned=yes ;;
29852 esac
29853 PKG_CONFIG=$ac_pt_PKG_CONFIG
29854 fi
29855 else
29856 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29857 fi
29858
29859 fi
29860 if test -n "$PKG_CONFIG"; then
29861 _pkg_min_version=0.9.0
29862 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29863 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29864 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29865 { echo "$as_me:$LINENO: result: yes" >&5
29866 echo "${ECHO_T}yes" >&6; }
29867 else
29868 { echo "$as_me:$LINENO: result: no" >&5
29869 echo "${ECHO_T}no" >&6; }
29870 PKG_CONFIG=""
29871 fi
29872
29873 fi
29874
29875
29876 pkg_failed=no
29877 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29878 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29879
29880 if test -n "$PKG_CONFIG"; then
29881 if test -n "$DIRECTFB_CFLAGS"; then
29882 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29883 else
29884 if test -n "$PKG_CONFIG" && \
29885 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29886 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29887 ac_status=$?
29888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29889 (exit $ac_status); }; then
29890 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29891 else
29892 pkg_failed=yes
29893 fi
29894 fi
29895 else
29896 pkg_failed=untried
29897 fi
29898 if test -n "$PKG_CONFIG"; then
29899 if test -n "$DIRECTFB_LIBS"; then
29900 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29901 else
29902 if test -n "$PKG_CONFIG" && \
29903 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29904 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29905 ac_status=$?
29906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29907 (exit $ac_status); }; then
29908 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29909 else
29910 pkg_failed=yes
29911 fi
29912 fi
29913 else
29914 pkg_failed=untried
29915 fi
29916
29917
29918
29919 if test $pkg_failed = yes; then
29920
29921 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29922 _pkg_short_errors_supported=yes
29923 else
29924 _pkg_short_errors_supported=no
29925 fi
29926 if test $_pkg_short_errors_supported = yes; then
29927 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29928 else
29929 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29930 fi
29931 # Put the nasty error message in config.log where it belongs
29932 echo "$DIRECTFB_PKG_ERRORS" >&5
29933
29934
29935 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29936 echo "$as_me: error: DirectFB not found." >&2;}
29937 { (exit 1); exit 1; }; }
29938
29939
29940 elif test $pkg_failed = untried; then
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 else
29948 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29949 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29950 { echo "$as_me:$LINENO: result: yes" >&5
29951 echo "${ECHO_T}yes" >&6; }
29952
29953 wxUSE_UNIVERSAL="yes"
29954 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29955 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29956 TOOLKIT=DFB
29957 GUIDIST=DFB_DIST
29958
29959 fi
29960 fi
29961
29962 if test "$wxUSE_MICROWIN" = 1; then
29963 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29964 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29965 if test "x$MICROWINDOWS" = x ; then
29966 { echo "$as_me:$LINENO: result: not found" >&5
29967 echo "${ECHO_T}not found" >&6; }
29968 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29969 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29970 { (exit 1); exit 1; }; }
29971 else
29972 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29973 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29974 fi
29975
29976 if test -f $MICROWINDOWS/lib/libmwin.a; then
29977 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29978 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
29979 else
29980 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29981 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29982 { (exit 1); exit 1; }; }
29983 fi
29984
29985 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29986 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29987
29988 wxUSE_UNIVERSAL="yes"
29989
29990 AFMINSTALL=afminstall
29991 TOOLKIT=MICROWIN
29992 GUIDIST=MICROWIN_DIST
29993
29994 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29995 fi
29996
29997 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29998 { echo "$as_me:$LINENO: checking for X" >&5
29999 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30000
30001
30002 # Check whether --with-x was given.
30003 if test "${with_x+set}" = set; then
30004 withval=$with_x;
30005 fi
30006
30007 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
30008 if test "x$with_x" = xno; then
30009 # The user explicitly disabled X.
30010 have_x=disabled
30011 else
30012 case $x_includes,$x_libraries in #(
30013 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30014 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
30015 { (exit 1); exit 1; }; };; #(
30016 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30017 echo $ECHO_N "(cached) $ECHO_C" >&6
30018 else
30019 # One or both of the vars are not set, and there is no cached value.
30020 ac_x_includes=no ac_x_libraries=no
30021 rm -f -r conftest.dir
30022 if mkdir conftest.dir; then
30023 cd conftest.dir
30024 cat >Imakefile <<'_ACEOF'
30025 incroot:
30026 @echo incroot='${INCROOT}'
30027 usrlibdir:
30028 @echo usrlibdir='${USRLIBDIR}'
30029 libdir:
30030 @echo libdir='${LIBDIR}'
30031 _ACEOF
30032 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30033 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30034 for ac_var in incroot usrlibdir libdir; do
30035 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
30036 done
30037 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30038 for ac_extension in a so sl; do
30039 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30040 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30041 ac_im_usrlibdir=$ac_im_libdir; break
30042 fi
30043 done
30044 # Screen out bogus values from the imake configuration. They are
30045 # bogus both because they are the default anyway, and because
30046 # using them would break gcc on systems where it needs fixed includes.
30047 case $ac_im_incroot in
30048 /usr/include) ac_x_includes= ;;
30049 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30050 esac
30051 case $ac_im_usrlibdir in
30052 /usr/lib | /lib) ;;
30053 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30054 esac
30055 fi
30056 cd ..
30057 rm -f -r conftest.dir
30058 fi
30059
30060 # Standard set of common directories for X headers.
30061 # Check X11 before X11Rn because it is often a symlink to the current release.
30062 ac_x_header_dirs='
30063 /usr/X11/include
30064 /usr/X11R6/include
30065 /usr/X11R5/include
30066 /usr/X11R4/include
30067
30068 /usr/include/X11
30069 /usr/include/X11R6
30070 /usr/include/X11R5
30071 /usr/include/X11R4
30072
30073 /usr/local/X11/include
30074 /usr/local/X11R6/include
30075 /usr/local/X11R5/include
30076 /usr/local/X11R4/include
30077
30078 /usr/local/include/X11
30079 /usr/local/include/X11R6
30080 /usr/local/include/X11R5
30081 /usr/local/include/X11R4
30082
30083 /usr/X386/include
30084 /usr/x386/include
30085 /usr/XFree86/include/X11
30086
30087 /usr/include
30088 /usr/local/include
30089 /usr/unsupported/include
30090 /usr/athena/include
30091 /usr/local/x11r5/include
30092 /usr/lpp/Xamples/include
30093
30094 /usr/openwin/include
30095 /usr/openwin/share/include'
30096
30097 if test "$ac_x_includes" = no; then
30098 # Guess where to find include files, by looking for Xlib.h.
30099 # First, try using that file with no special directory specified.
30100 cat >conftest.$ac_ext <<_ACEOF
30101 /* confdefs.h. */
30102 _ACEOF
30103 cat confdefs.h >>conftest.$ac_ext
30104 cat >>conftest.$ac_ext <<_ACEOF
30105 /* end confdefs.h. */
30106 #include <X11/Xlib.h>
30107 _ACEOF
30108 if { (ac_try="$ac_cpp conftest.$ac_ext"
30109 case "(($ac_try" in
30110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30111 *) ac_try_echo=$ac_try;;
30112 esac
30113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30114 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30115 ac_status=$?
30116 grep -v '^ *+' conftest.er1 >conftest.err
30117 rm -f conftest.er1
30118 cat conftest.err >&5
30119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30120 (exit $ac_status); } >/dev/null && {
30121 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30122 test ! -s conftest.err
30123 }; then
30124 # We can compile using X headers with no special include directory.
30125 ac_x_includes=
30126 else
30127 echo "$as_me: failed program was:" >&5
30128 sed 's/^/| /' conftest.$ac_ext >&5
30129
30130 for ac_dir in $ac_x_header_dirs; do
30131 if test -r "$ac_dir/X11/Xlib.h"; then
30132 ac_x_includes=$ac_dir
30133 break
30134 fi
30135 done
30136 fi
30137
30138 rm -f conftest.err conftest.$ac_ext
30139 fi # $ac_x_includes = no
30140
30141 if test "$ac_x_libraries" = no; then
30142 # Check for the libraries.
30143 # See if we find them without any special options.
30144 # Don't add to $LIBS permanently.
30145 ac_save_LIBS=$LIBS
30146 LIBS="-lX11 $LIBS"
30147 cat >conftest.$ac_ext <<_ACEOF
30148 /* confdefs.h. */
30149 _ACEOF
30150 cat confdefs.h >>conftest.$ac_ext
30151 cat >>conftest.$ac_ext <<_ACEOF
30152 /* end confdefs.h. */
30153 #include <X11/Xlib.h>
30154 int
30155 main ()
30156 {
30157 XrmInitialize ()
30158 ;
30159 return 0;
30160 }
30161 _ACEOF
30162 rm -f conftest.$ac_objext conftest$ac_exeext
30163 if { (ac_try="$ac_link"
30164 case "(($ac_try" in
30165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30166 *) ac_try_echo=$ac_try;;
30167 esac
30168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30169 (eval "$ac_link") 2>conftest.er1
30170 ac_status=$?
30171 grep -v '^ *+' conftest.er1 >conftest.err
30172 rm -f conftest.er1
30173 cat conftest.err >&5
30174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30175 (exit $ac_status); } && {
30176 test -z "$ac_c_werror_flag" ||
30177 test ! -s conftest.err
30178 } && test -s conftest$ac_exeext &&
30179 $as_test_x conftest$ac_exeext; then
30180 LIBS=$ac_save_LIBS
30181 # We can link X programs with no special library path.
30182 ac_x_libraries=
30183 else
30184 echo "$as_me: failed program was:" >&5
30185 sed 's/^/| /' conftest.$ac_ext >&5
30186
30187 LIBS=$ac_save_LIBS
30188 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30189 do
30190 # Don't even attempt the hair of trying to link an X program!
30191 for ac_extension in a so sl; do
30192 if test -r "$ac_dir/libX11.$ac_extension"; then
30193 ac_x_libraries=$ac_dir
30194 break 2
30195 fi
30196 done
30197 done
30198 fi
30199
30200 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30201 conftest$ac_exeext conftest.$ac_ext
30202 fi # $ac_x_libraries = no
30203
30204 case $ac_x_includes,$ac_x_libraries in #(
30205 no,* | *,no | *\'*)
30206 # Didn't find X, or a directory has "'" in its name.
30207 ac_cv_have_x="have_x=no";; #(
30208 *)
30209 # Record where we found X for the cache.
30210 ac_cv_have_x="have_x=yes\
30211 ac_x_includes='$ac_x_includes'\
30212 ac_x_libraries='$ac_x_libraries'"
30213 esac
30214 fi
30215 ;; #(
30216 *) have_x=yes;;
30217 esac
30218 eval "$ac_cv_have_x"
30219 fi # $with_x != no
30220
30221 if test "$have_x" != yes; then
30222 { echo "$as_me:$LINENO: result: $have_x" >&5
30223 echo "${ECHO_T}$have_x" >&6; }
30224 no_x=yes
30225 else
30226 # If each of the values was on the command line, it overrides each guess.
30227 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30228 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30229 # Update the cache value to reflect the command line values.
30230 ac_cv_have_x="have_x=yes\
30231 ac_x_includes='$x_includes'\
30232 ac_x_libraries='$x_libraries'"
30233 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30234 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30235 fi
30236
30237 if test "$no_x" = yes; then
30238 # Not all programs may use this symbol, but it does not hurt to define it.
30239
30240 cat >>confdefs.h <<\_ACEOF
30241 #define X_DISPLAY_MISSING 1
30242 _ACEOF
30243
30244 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30245 else
30246 if test -n "$x_includes"; then
30247 X_CFLAGS="$X_CFLAGS -I$x_includes"
30248 fi
30249
30250 # It would also be nice to do this for all -L options, not just this one.
30251 if test -n "$x_libraries"; then
30252 X_LIBS="$X_LIBS -L$x_libraries"
30253 # For Solaris; some versions of Sun CC require a space after -R and
30254 # others require no space. Words are not sufficient . . . .
30255 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30256 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30257 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30258 ac_xsave_c_werror_flag=$ac_c_werror_flag
30259 ac_c_werror_flag=yes
30260 cat >conftest.$ac_ext <<_ACEOF
30261 /* confdefs.h. */
30262 _ACEOF
30263 cat confdefs.h >>conftest.$ac_ext
30264 cat >>conftest.$ac_ext <<_ACEOF
30265 /* end confdefs.h. */
30266
30267 int
30268 main ()
30269 {
30270
30271 ;
30272 return 0;
30273 }
30274 _ACEOF
30275 rm -f conftest.$ac_objext conftest$ac_exeext
30276 if { (ac_try="$ac_link"
30277 case "(($ac_try" in
30278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30279 *) ac_try_echo=$ac_try;;
30280 esac
30281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30282 (eval "$ac_link") 2>conftest.er1
30283 ac_status=$?
30284 grep -v '^ *+' conftest.er1 >conftest.err
30285 rm -f conftest.er1
30286 cat conftest.err >&5
30287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30288 (exit $ac_status); } && {
30289 test -z "$ac_c_werror_flag" ||
30290 test ! -s conftest.err
30291 } && test -s conftest$ac_exeext &&
30292 $as_test_x conftest$ac_exeext; then
30293 { echo "$as_me:$LINENO: result: no" >&5
30294 echo "${ECHO_T}no" >&6; }
30295 X_LIBS="$X_LIBS -R$x_libraries"
30296 else
30297 echo "$as_me: failed program was:" >&5
30298 sed 's/^/| /' conftest.$ac_ext >&5
30299
30300 LIBS="$ac_xsave_LIBS -R $x_libraries"
30301 cat >conftest.$ac_ext <<_ACEOF
30302 /* confdefs.h. */
30303 _ACEOF
30304 cat confdefs.h >>conftest.$ac_ext
30305 cat >>conftest.$ac_ext <<_ACEOF
30306 /* end confdefs.h. */
30307
30308 int
30309 main ()
30310 {
30311
30312 ;
30313 return 0;
30314 }
30315 _ACEOF
30316 rm -f conftest.$ac_objext conftest$ac_exeext
30317 if { (ac_try="$ac_link"
30318 case "(($ac_try" in
30319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30320 *) ac_try_echo=$ac_try;;
30321 esac
30322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30323 (eval "$ac_link") 2>conftest.er1
30324 ac_status=$?
30325 grep -v '^ *+' conftest.er1 >conftest.err
30326 rm -f conftest.er1
30327 cat conftest.err >&5
30328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30329 (exit $ac_status); } && {
30330 test -z "$ac_c_werror_flag" ||
30331 test ! -s conftest.err
30332 } && test -s conftest$ac_exeext &&
30333 $as_test_x conftest$ac_exeext; then
30334 { echo "$as_me:$LINENO: result: yes" >&5
30335 echo "${ECHO_T}yes" >&6; }
30336 X_LIBS="$X_LIBS -R $x_libraries"
30337 else
30338 echo "$as_me: failed program was:" >&5
30339 sed 's/^/| /' conftest.$ac_ext >&5
30340
30341 { echo "$as_me:$LINENO: result: neither works" >&5
30342 echo "${ECHO_T}neither works" >&6; }
30343 fi
30344
30345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30346 conftest$ac_exeext conftest.$ac_ext
30347 fi
30348
30349 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30350 conftest$ac_exeext conftest.$ac_ext
30351 ac_c_werror_flag=$ac_xsave_c_werror_flag
30352 LIBS=$ac_xsave_LIBS
30353 fi
30354
30355 # Check for system-dependent libraries X programs must link with.
30356 # Do this before checking for the system-independent R6 libraries
30357 # (-lICE), since we may need -lsocket or whatever for X linking.
30358
30359 if test "$ISC" = yes; then
30360 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30361 else
30362 # Martyn Johnson says this is needed for Ultrix, if the X
30363 # libraries were built with DECnet support. And Karl Berry says
30364 # the Alpha needs dnet_stub (dnet does not exist).
30365 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30366 cat >conftest.$ac_ext <<_ACEOF
30367 /* confdefs.h. */
30368 _ACEOF
30369 cat confdefs.h >>conftest.$ac_ext
30370 cat >>conftest.$ac_ext <<_ACEOF
30371 /* end confdefs.h. */
30372
30373 /* Override any GCC internal prototype to avoid an error.
30374 Use char because int might match the return type of a GCC
30375 builtin and then its argument prototype would still apply. */
30376 #ifdef __cplusplus
30377 extern "C"
30378 #endif
30379 char XOpenDisplay ();
30380 int
30381 main ()
30382 {
30383 return XOpenDisplay ();
30384 ;
30385 return 0;
30386 }
30387 _ACEOF
30388 rm -f conftest.$ac_objext conftest$ac_exeext
30389 if { (ac_try="$ac_link"
30390 case "(($ac_try" in
30391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30392 *) ac_try_echo=$ac_try;;
30393 esac
30394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30395 (eval "$ac_link") 2>conftest.er1
30396 ac_status=$?
30397 grep -v '^ *+' conftest.er1 >conftest.err
30398 rm -f conftest.er1
30399 cat conftest.err >&5
30400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30401 (exit $ac_status); } && {
30402 test -z "$ac_c_werror_flag" ||
30403 test ! -s conftest.err
30404 } && test -s conftest$ac_exeext &&
30405 $as_test_x conftest$ac_exeext; then
30406 :
30407 else
30408 echo "$as_me: failed program was:" >&5
30409 sed 's/^/| /' conftest.$ac_ext >&5
30410
30411 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30412 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30413 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30414 echo $ECHO_N "(cached) $ECHO_C" >&6
30415 else
30416 ac_check_lib_save_LIBS=$LIBS
30417 LIBS="-ldnet $LIBS"
30418 cat >conftest.$ac_ext <<_ACEOF
30419 /* confdefs.h. */
30420 _ACEOF
30421 cat confdefs.h >>conftest.$ac_ext
30422 cat >>conftest.$ac_ext <<_ACEOF
30423 /* end confdefs.h. */
30424
30425 /* Override any GCC internal prototype to avoid an error.
30426 Use char because int might match the return type of a GCC
30427 builtin and then its argument prototype would still apply. */
30428 #ifdef __cplusplus
30429 extern "C"
30430 #endif
30431 char dnet_ntoa ();
30432 int
30433 main ()
30434 {
30435 return dnet_ntoa ();
30436 ;
30437 return 0;
30438 }
30439 _ACEOF
30440 rm -f conftest.$ac_objext conftest$ac_exeext
30441 if { (ac_try="$ac_link"
30442 case "(($ac_try" in
30443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30444 *) ac_try_echo=$ac_try;;
30445 esac
30446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30447 (eval "$ac_link") 2>conftest.er1
30448 ac_status=$?
30449 grep -v '^ *+' conftest.er1 >conftest.err
30450 rm -f conftest.er1
30451 cat conftest.err >&5
30452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30453 (exit $ac_status); } && {
30454 test -z "$ac_c_werror_flag" ||
30455 test ! -s conftest.err
30456 } && test -s conftest$ac_exeext &&
30457 $as_test_x conftest$ac_exeext; then
30458 ac_cv_lib_dnet_dnet_ntoa=yes
30459 else
30460 echo "$as_me: failed program was:" >&5
30461 sed 's/^/| /' conftest.$ac_ext >&5
30462
30463 ac_cv_lib_dnet_dnet_ntoa=no
30464 fi
30465
30466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30467 conftest$ac_exeext conftest.$ac_ext
30468 LIBS=$ac_check_lib_save_LIBS
30469 fi
30470 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30471 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30472 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30473 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30474 fi
30475
30476 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30477 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30478 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30479 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30480 echo $ECHO_N "(cached) $ECHO_C" >&6
30481 else
30482 ac_check_lib_save_LIBS=$LIBS
30483 LIBS="-ldnet_stub $LIBS"
30484 cat >conftest.$ac_ext <<_ACEOF
30485 /* confdefs.h. */
30486 _ACEOF
30487 cat confdefs.h >>conftest.$ac_ext
30488 cat >>conftest.$ac_ext <<_ACEOF
30489 /* end confdefs.h. */
30490
30491 /* Override any GCC internal prototype to avoid an error.
30492 Use char because int might match the return type of a GCC
30493 builtin and then its argument prototype would still apply. */
30494 #ifdef __cplusplus
30495 extern "C"
30496 #endif
30497 char dnet_ntoa ();
30498 int
30499 main ()
30500 {
30501 return dnet_ntoa ();
30502 ;
30503 return 0;
30504 }
30505 _ACEOF
30506 rm -f conftest.$ac_objext conftest$ac_exeext
30507 if { (ac_try="$ac_link"
30508 case "(($ac_try" in
30509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30510 *) ac_try_echo=$ac_try;;
30511 esac
30512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30513 (eval "$ac_link") 2>conftest.er1
30514 ac_status=$?
30515 grep -v '^ *+' conftest.er1 >conftest.err
30516 rm -f conftest.er1
30517 cat conftest.err >&5
30518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30519 (exit $ac_status); } && {
30520 test -z "$ac_c_werror_flag" ||
30521 test ! -s conftest.err
30522 } && test -s conftest$ac_exeext &&
30523 $as_test_x conftest$ac_exeext; then
30524 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30525 else
30526 echo "$as_me: failed program was:" >&5
30527 sed 's/^/| /' conftest.$ac_ext >&5
30528
30529 ac_cv_lib_dnet_stub_dnet_ntoa=no
30530 fi
30531
30532 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30533 conftest$ac_exeext conftest.$ac_ext
30534 LIBS=$ac_check_lib_save_LIBS
30535 fi
30536 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30537 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30538 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30539 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30540 fi
30541
30542 fi
30543 fi
30544
30545 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30546 conftest$ac_exeext conftest.$ac_ext
30547 LIBS="$ac_xsave_LIBS"
30548
30549 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30550 # to get the SysV transport functions.
30551 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30552 # needs -lnsl.
30553 # The nsl library prevents programs from opening the X display
30554 # on Irix 5.2, according to T.E. Dickey.
30555 # The functions gethostbyname, getservbyname, and inet_addr are
30556 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30557 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30558 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30559 if test "${ac_cv_func_gethostbyname+set}" = set; then
30560 echo $ECHO_N "(cached) $ECHO_C" >&6
30561 else
30562 cat >conftest.$ac_ext <<_ACEOF
30563 /* confdefs.h. */
30564 _ACEOF
30565 cat confdefs.h >>conftest.$ac_ext
30566 cat >>conftest.$ac_ext <<_ACEOF
30567 /* end confdefs.h. */
30568 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30570 #define gethostbyname innocuous_gethostbyname
30571
30572 /* System header to define __stub macros and hopefully few prototypes,
30573 which can conflict with char gethostbyname (); below.
30574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30575 <limits.h> exists even on freestanding compilers. */
30576
30577 #ifdef __STDC__
30578 # include <limits.h>
30579 #else
30580 # include <assert.h>
30581 #endif
30582
30583 #undef gethostbyname
30584
30585 /* Override any GCC internal prototype to avoid an error.
30586 Use char because int might match the return type of a GCC
30587 builtin and then its argument prototype would still apply. */
30588 #ifdef __cplusplus
30589 extern "C"
30590 #endif
30591 char gethostbyname ();
30592 /* The GNU C library defines this for functions which it implements
30593 to always fail with ENOSYS. Some functions are actually named
30594 something starting with __ and the normal name is an alias. */
30595 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30596 choke me
30597 #endif
30598
30599 int
30600 main ()
30601 {
30602 return gethostbyname ();
30603 ;
30604 return 0;
30605 }
30606 _ACEOF
30607 rm -f conftest.$ac_objext conftest$ac_exeext
30608 if { (ac_try="$ac_link"
30609 case "(($ac_try" in
30610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30611 *) ac_try_echo=$ac_try;;
30612 esac
30613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30614 (eval "$ac_link") 2>conftest.er1
30615 ac_status=$?
30616 grep -v '^ *+' conftest.er1 >conftest.err
30617 rm -f conftest.er1
30618 cat conftest.err >&5
30619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30620 (exit $ac_status); } && {
30621 test -z "$ac_c_werror_flag" ||
30622 test ! -s conftest.err
30623 } && test -s conftest$ac_exeext &&
30624 $as_test_x conftest$ac_exeext; then
30625 ac_cv_func_gethostbyname=yes
30626 else
30627 echo "$as_me: failed program was:" >&5
30628 sed 's/^/| /' conftest.$ac_ext >&5
30629
30630 ac_cv_func_gethostbyname=no
30631 fi
30632
30633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30634 conftest$ac_exeext conftest.$ac_ext
30635 fi
30636 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30637 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30638
30639 if test $ac_cv_func_gethostbyname = no; then
30640 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30641 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30642 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30643 echo $ECHO_N "(cached) $ECHO_C" >&6
30644 else
30645 ac_check_lib_save_LIBS=$LIBS
30646 LIBS="-lnsl $LIBS"
30647 cat >conftest.$ac_ext <<_ACEOF
30648 /* confdefs.h. */
30649 _ACEOF
30650 cat confdefs.h >>conftest.$ac_ext
30651 cat >>conftest.$ac_ext <<_ACEOF
30652 /* end confdefs.h. */
30653
30654 /* Override any GCC internal prototype to avoid an error.
30655 Use char because int might match the return type of a GCC
30656 builtin and then its argument prototype would still apply. */
30657 #ifdef __cplusplus
30658 extern "C"
30659 #endif
30660 char gethostbyname ();
30661 int
30662 main ()
30663 {
30664 return gethostbyname ();
30665 ;
30666 return 0;
30667 }
30668 _ACEOF
30669 rm -f conftest.$ac_objext conftest$ac_exeext
30670 if { (ac_try="$ac_link"
30671 case "(($ac_try" in
30672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30673 *) ac_try_echo=$ac_try;;
30674 esac
30675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30676 (eval "$ac_link") 2>conftest.er1
30677 ac_status=$?
30678 grep -v '^ *+' conftest.er1 >conftest.err
30679 rm -f conftest.er1
30680 cat conftest.err >&5
30681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30682 (exit $ac_status); } && {
30683 test -z "$ac_c_werror_flag" ||
30684 test ! -s conftest.err
30685 } && test -s conftest$ac_exeext &&
30686 $as_test_x conftest$ac_exeext; then
30687 ac_cv_lib_nsl_gethostbyname=yes
30688 else
30689 echo "$as_me: failed program was:" >&5
30690 sed 's/^/| /' conftest.$ac_ext >&5
30691
30692 ac_cv_lib_nsl_gethostbyname=no
30693 fi
30694
30695 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30696 conftest$ac_exeext conftest.$ac_ext
30697 LIBS=$ac_check_lib_save_LIBS
30698 fi
30699 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30700 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30701 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30702 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30703 fi
30704
30705 if test $ac_cv_lib_nsl_gethostbyname = no; then
30706 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30707 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30708 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30709 echo $ECHO_N "(cached) $ECHO_C" >&6
30710 else
30711 ac_check_lib_save_LIBS=$LIBS
30712 LIBS="-lbsd $LIBS"
30713 cat >conftest.$ac_ext <<_ACEOF
30714 /* confdefs.h. */
30715 _ACEOF
30716 cat confdefs.h >>conftest.$ac_ext
30717 cat >>conftest.$ac_ext <<_ACEOF
30718 /* end confdefs.h. */
30719
30720 /* Override any GCC internal prototype to avoid an error.
30721 Use char because int might match the return type of a GCC
30722 builtin and then its argument prototype would still apply. */
30723 #ifdef __cplusplus
30724 extern "C"
30725 #endif
30726 char gethostbyname ();
30727 int
30728 main ()
30729 {
30730 return gethostbyname ();
30731 ;
30732 return 0;
30733 }
30734 _ACEOF
30735 rm -f conftest.$ac_objext conftest$ac_exeext
30736 if { (ac_try="$ac_link"
30737 case "(($ac_try" in
30738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30739 *) ac_try_echo=$ac_try;;
30740 esac
30741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30742 (eval "$ac_link") 2>conftest.er1
30743 ac_status=$?
30744 grep -v '^ *+' conftest.er1 >conftest.err
30745 rm -f conftest.er1
30746 cat conftest.err >&5
30747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30748 (exit $ac_status); } && {
30749 test -z "$ac_c_werror_flag" ||
30750 test ! -s conftest.err
30751 } && test -s conftest$ac_exeext &&
30752 $as_test_x conftest$ac_exeext; then
30753 ac_cv_lib_bsd_gethostbyname=yes
30754 else
30755 echo "$as_me: failed program was:" >&5
30756 sed 's/^/| /' conftest.$ac_ext >&5
30757
30758 ac_cv_lib_bsd_gethostbyname=no
30759 fi
30760
30761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30762 conftest$ac_exeext conftest.$ac_ext
30763 LIBS=$ac_check_lib_save_LIBS
30764 fi
30765 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30766 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30767 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30768 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30769 fi
30770
30771 fi
30772 fi
30773
30774 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30775 # socket/setsockopt and other routines are undefined under SCO ODT
30776 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30777 # on later versions), says Simon Leinen: it contains gethostby*
30778 # variants that don't use the name server (or something). -lsocket
30779 # must be given before -lnsl if both are needed. We assume that
30780 # if connect needs -lnsl, so does gethostbyname.
30781 { echo "$as_me:$LINENO: checking for connect" >&5
30782 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30783 if test "${ac_cv_func_connect+set}" = set; then
30784 echo $ECHO_N "(cached) $ECHO_C" >&6
30785 else
30786 cat >conftest.$ac_ext <<_ACEOF
30787 /* confdefs.h. */
30788 _ACEOF
30789 cat confdefs.h >>conftest.$ac_ext
30790 cat >>conftest.$ac_ext <<_ACEOF
30791 /* end confdefs.h. */
30792 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30793 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30794 #define connect innocuous_connect
30795
30796 /* System header to define __stub macros and hopefully few prototypes,
30797 which can conflict with char connect (); below.
30798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30799 <limits.h> exists even on freestanding compilers. */
30800
30801 #ifdef __STDC__
30802 # include <limits.h>
30803 #else
30804 # include <assert.h>
30805 #endif
30806
30807 #undef connect
30808
30809 /* Override any GCC internal prototype to avoid an error.
30810 Use char because int might match the return type of a GCC
30811 builtin and then its argument prototype would still apply. */
30812 #ifdef __cplusplus
30813 extern "C"
30814 #endif
30815 char connect ();
30816 /* The GNU C library defines this for functions which it implements
30817 to always fail with ENOSYS. Some functions are actually named
30818 something starting with __ and the normal name is an alias. */
30819 #if defined __stub_connect || defined __stub___connect
30820 choke me
30821 #endif
30822
30823 int
30824 main ()
30825 {
30826 return connect ();
30827 ;
30828 return 0;
30829 }
30830 _ACEOF
30831 rm -f conftest.$ac_objext conftest$ac_exeext
30832 if { (ac_try="$ac_link"
30833 case "(($ac_try" in
30834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30835 *) ac_try_echo=$ac_try;;
30836 esac
30837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30838 (eval "$ac_link") 2>conftest.er1
30839 ac_status=$?
30840 grep -v '^ *+' conftest.er1 >conftest.err
30841 rm -f conftest.er1
30842 cat conftest.err >&5
30843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30844 (exit $ac_status); } && {
30845 test -z "$ac_c_werror_flag" ||
30846 test ! -s conftest.err
30847 } && test -s conftest$ac_exeext &&
30848 $as_test_x conftest$ac_exeext; then
30849 ac_cv_func_connect=yes
30850 else
30851 echo "$as_me: failed program was:" >&5
30852 sed 's/^/| /' conftest.$ac_ext >&5
30853
30854 ac_cv_func_connect=no
30855 fi
30856
30857 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30858 conftest$ac_exeext conftest.$ac_ext
30859 fi
30860 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30861 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30862
30863 if test $ac_cv_func_connect = no; then
30864 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30865 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30866 if test "${ac_cv_lib_socket_connect+set}" = set; then
30867 echo $ECHO_N "(cached) $ECHO_C" >&6
30868 else
30869 ac_check_lib_save_LIBS=$LIBS
30870 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30871 cat >conftest.$ac_ext <<_ACEOF
30872 /* confdefs.h. */
30873 _ACEOF
30874 cat confdefs.h >>conftest.$ac_ext
30875 cat >>conftest.$ac_ext <<_ACEOF
30876 /* end confdefs.h. */
30877
30878 /* Override any GCC internal prototype to avoid an error.
30879 Use char because int might match the return type of a GCC
30880 builtin and then its argument prototype would still apply. */
30881 #ifdef __cplusplus
30882 extern "C"
30883 #endif
30884 char connect ();
30885 int
30886 main ()
30887 {
30888 return connect ();
30889 ;
30890 return 0;
30891 }
30892 _ACEOF
30893 rm -f conftest.$ac_objext conftest$ac_exeext
30894 if { (ac_try="$ac_link"
30895 case "(($ac_try" in
30896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30897 *) ac_try_echo=$ac_try;;
30898 esac
30899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30900 (eval "$ac_link") 2>conftest.er1
30901 ac_status=$?
30902 grep -v '^ *+' conftest.er1 >conftest.err
30903 rm -f conftest.er1
30904 cat conftest.err >&5
30905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30906 (exit $ac_status); } && {
30907 test -z "$ac_c_werror_flag" ||
30908 test ! -s conftest.err
30909 } && test -s conftest$ac_exeext &&
30910 $as_test_x conftest$ac_exeext; then
30911 ac_cv_lib_socket_connect=yes
30912 else
30913 echo "$as_me: failed program was:" >&5
30914 sed 's/^/| /' conftest.$ac_ext >&5
30915
30916 ac_cv_lib_socket_connect=no
30917 fi
30918
30919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30920 conftest$ac_exeext conftest.$ac_ext
30921 LIBS=$ac_check_lib_save_LIBS
30922 fi
30923 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30924 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30925 if test $ac_cv_lib_socket_connect = yes; then
30926 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30927 fi
30928
30929 fi
30930
30931 # Guillermo Gomez says -lposix is necessary on A/UX.
30932 { echo "$as_me:$LINENO: checking for remove" >&5
30933 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30934 if test "${ac_cv_func_remove+set}" = set; then
30935 echo $ECHO_N "(cached) $ECHO_C" >&6
30936 else
30937 cat >conftest.$ac_ext <<_ACEOF
30938 /* confdefs.h. */
30939 _ACEOF
30940 cat confdefs.h >>conftest.$ac_ext
30941 cat >>conftest.$ac_ext <<_ACEOF
30942 /* end confdefs.h. */
30943 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30945 #define remove innocuous_remove
30946
30947 /* System header to define __stub macros and hopefully few prototypes,
30948 which can conflict with char remove (); below.
30949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30950 <limits.h> exists even on freestanding compilers. */
30951
30952 #ifdef __STDC__
30953 # include <limits.h>
30954 #else
30955 # include <assert.h>
30956 #endif
30957
30958 #undef remove
30959
30960 /* Override any GCC internal prototype to avoid an error.
30961 Use char because int might match the return type of a GCC
30962 builtin and then its argument prototype would still apply. */
30963 #ifdef __cplusplus
30964 extern "C"
30965 #endif
30966 char remove ();
30967 /* The GNU C library defines this for functions which it implements
30968 to always fail with ENOSYS. Some functions are actually named
30969 something starting with __ and the normal name is an alias. */
30970 #if defined __stub_remove || defined __stub___remove
30971 choke me
30972 #endif
30973
30974 int
30975 main ()
30976 {
30977 return remove ();
30978 ;
30979 return 0;
30980 }
30981 _ACEOF
30982 rm -f conftest.$ac_objext conftest$ac_exeext
30983 if { (ac_try="$ac_link"
30984 case "(($ac_try" in
30985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30986 *) ac_try_echo=$ac_try;;
30987 esac
30988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30989 (eval "$ac_link") 2>conftest.er1
30990 ac_status=$?
30991 grep -v '^ *+' conftest.er1 >conftest.err
30992 rm -f conftest.er1
30993 cat conftest.err >&5
30994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30995 (exit $ac_status); } && {
30996 test -z "$ac_c_werror_flag" ||
30997 test ! -s conftest.err
30998 } && test -s conftest$ac_exeext &&
30999 $as_test_x conftest$ac_exeext; then
31000 ac_cv_func_remove=yes
31001 else
31002 echo "$as_me: failed program was:" >&5
31003 sed 's/^/| /' conftest.$ac_ext >&5
31004
31005 ac_cv_func_remove=no
31006 fi
31007
31008 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31009 conftest$ac_exeext conftest.$ac_ext
31010 fi
31011 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31012 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31013
31014 if test $ac_cv_func_remove = no; then
31015 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31016 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31017 if test "${ac_cv_lib_posix_remove+set}" = set; then
31018 echo $ECHO_N "(cached) $ECHO_C" >&6
31019 else
31020 ac_check_lib_save_LIBS=$LIBS
31021 LIBS="-lposix $LIBS"
31022 cat >conftest.$ac_ext <<_ACEOF
31023 /* confdefs.h. */
31024 _ACEOF
31025 cat confdefs.h >>conftest.$ac_ext
31026 cat >>conftest.$ac_ext <<_ACEOF
31027 /* end confdefs.h. */
31028
31029 /* Override any GCC internal prototype to avoid an error.
31030 Use char because int might match the return type of a GCC
31031 builtin and then its argument prototype would still apply. */
31032 #ifdef __cplusplus
31033 extern "C"
31034 #endif
31035 char remove ();
31036 int
31037 main ()
31038 {
31039 return remove ();
31040 ;
31041 return 0;
31042 }
31043 _ACEOF
31044 rm -f conftest.$ac_objext conftest$ac_exeext
31045 if { (ac_try="$ac_link"
31046 case "(($ac_try" in
31047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31048 *) ac_try_echo=$ac_try;;
31049 esac
31050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31051 (eval "$ac_link") 2>conftest.er1
31052 ac_status=$?
31053 grep -v '^ *+' conftest.er1 >conftest.err
31054 rm -f conftest.er1
31055 cat conftest.err >&5
31056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31057 (exit $ac_status); } && {
31058 test -z "$ac_c_werror_flag" ||
31059 test ! -s conftest.err
31060 } && test -s conftest$ac_exeext &&
31061 $as_test_x conftest$ac_exeext; then
31062 ac_cv_lib_posix_remove=yes
31063 else
31064 echo "$as_me: failed program was:" >&5
31065 sed 's/^/| /' conftest.$ac_ext >&5
31066
31067 ac_cv_lib_posix_remove=no
31068 fi
31069
31070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31071 conftest$ac_exeext conftest.$ac_ext
31072 LIBS=$ac_check_lib_save_LIBS
31073 fi
31074 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31075 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31076 if test $ac_cv_lib_posix_remove = yes; then
31077 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31078 fi
31079
31080 fi
31081
31082 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31083 { echo "$as_me:$LINENO: checking for shmat" >&5
31084 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31085 if test "${ac_cv_func_shmat+set}" = set; then
31086 echo $ECHO_N "(cached) $ECHO_C" >&6
31087 else
31088 cat >conftest.$ac_ext <<_ACEOF
31089 /* confdefs.h. */
31090 _ACEOF
31091 cat confdefs.h >>conftest.$ac_ext
31092 cat >>conftest.$ac_ext <<_ACEOF
31093 /* end confdefs.h. */
31094 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31096 #define shmat innocuous_shmat
31097
31098 /* System header to define __stub macros and hopefully few prototypes,
31099 which can conflict with char shmat (); below.
31100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31101 <limits.h> exists even on freestanding compilers. */
31102
31103 #ifdef __STDC__
31104 # include <limits.h>
31105 #else
31106 # include <assert.h>
31107 #endif
31108
31109 #undef shmat
31110
31111 /* Override any GCC internal prototype to avoid an error.
31112 Use char because int might match the return type of a GCC
31113 builtin and then its argument prototype would still apply. */
31114 #ifdef __cplusplus
31115 extern "C"
31116 #endif
31117 char shmat ();
31118 /* The GNU C library defines this for functions which it implements
31119 to always fail with ENOSYS. Some functions are actually named
31120 something starting with __ and the normal name is an alias. */
31121 #if defined __stub_shmat || defined __stub___shmat
31122 choke me
31123 #endif
31124
31125 int
31126 main ()
31127 {
31128 return shmat ();
31129 ;
31130 return 0;
31131 }
31132 _ACEOF
31133 rm -f conftest.$ac_objext conftest$ac_exeext
31134 if { (ac_try="$ac_link"
31135 case "(($ac_try" in
31136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31137 *) ac_try_echo=$ac_try;;
31138 esac
31139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31140 (eval "$ac_link") 2>conftest.er1
31141 ac_status=$?
31142 grep -v '^ *+' conftest.er1 >conftest.err
31143 rm -f conftest.er1
31144 cat conftest.err >&5
31145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31146 (exit $ac_status); } && {
31147 test -z "$ac_c_werror_flag" ||
31148 test ! -s conftest.err
31149 } && test -s conftest$ac_exeext &&
31150 $as_test_x conftest$ac_exeext; then
31151 ac_cv_func_shmat=yes
31152 else
31153 echo "$as_me: failed program was:" >&5
31154 sed 's/^/| /' conftest.$ac_ext >&5
31155
31156 ac_cv_func_shmat=no
31157 fi
31158
31159 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31160 conftest$ac_exeext conftest.$ac_ext
31161 fi
31162 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31163 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31164
31165 if test $ac_cv_func_shmat = no; then
31166 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31167 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31168 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31169 echo $ECHO_N "(cached) $ECHO_C" >&6
31170 else
31171 ac_check_lib_save_LIBS=$LIBS
31172 LIBS="-lipc $LIBS"
31173 cat >conftest.$ac_ext <<_ACEOF
31174 /* confdefs.h. */
31175 _ACEOF
31176 cat confdefs.h >>conftest.$ac_ext
31177 cat >>conftest.$ac_ext <<_ACEOF
31178 /* end confdefs.h. */
31179
31180 /* Override any GCC internal prototype to avoid an error.
31181 Use char because int might match the return type of a GCC
31182 builtin and then its argument prototype would still apply. */
31183 #ifdef __cplusplus
31184 extern "C"
31185 #endif
31186 char shmat ();
31187 int
31188 main ()
31189 {
31190 return shmat ();
31191 ;
31192 return 0;
31193 }
31194 _ACEOF
31195 rm -f conftest.$ac_objext conftest$ac_exeext
31196 if { (ac_try="$ac_link"
31197 case "(($ac_try" in
31198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31199 *) ac_try_echo=$ac_try;;
31200 esac
31201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31202 (eval "$ac_link") 2>conftest.er1
31203 ac_status=$?
31204 grep -v '^ *+' conftest.er1 >conftest.err
31205 rm -f conftest.er1
31206 cat conftest.err >&5
31207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31208 (exit $ac_status); } && {
31209 test -z "$ac_c_werror_flag" ||
31210 test ! -s conftest.err
31211 } && test -s conftest$ac_exeext &&
31212 $as_test_x conftest$ac_exeext; then
31213 ac_cv_lib_ipc_shmat=yes
31214 else
31215 echo "$as_me: failed program was:" >&5
31216 sed 's/^/| /' conftest.$ac_ext >&5
31217
31218 ac_cv_lib_ipc_shmat=no
31219 fi
31220
31221 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31222 conftest$ac_exeext conftest.$ac_ext
31223 LIBS=$ac_check_lib_save_LIBS
31224 fi
31225 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31226 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31227 if test $ac_cv_lib_ipc_shmat = yes; then
31228 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31229 fi
31230
31231 fi
31232 fi
31233
31234 # Check for libraries that X11R6 Xt/Xaw programs need.
31235 ac_save_LDFLAGS=$LDFLAGS
31236 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31237 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31238 # check for ICE first), but we must link in the order -lSM -lICE or
31239 # we get undefined symbols. So assume we have SM if we have ICE.
31240 # These have to be linked with before -lX11, unlike the other
31241 # libraries we check for below, so use a different variable.
31242 # John Interrante, Karl Berry
31243 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31244 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31245 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31246 echo $ECHO_N "(cached) $ECHO_C" >&6
31247 else
31248 ac_check_lib_save_LIBS=$LIBS
31249 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31250 cat >conftest.$ac_ext <<_ACEOF
31251 /* confdefs.h. */
31252 _ACEOF
31253 cat confdefs.h >>conftest.$ac_ext
31254 cat >>conftest.$ac_ext <<_ACEOF
31255 /* end confdefs.h. */
31256
31257 /* Override any GCC internal prototype to avoid an error.
31258 Use char because int might match the return type of a GCC
31259 builtin and then its argument prototype would still apply. */
31260 #ifdef __cplusplus
31261 extern "C"
31262 #endif
31263 char IceConnectionNumber ();
31264 int
31265 main ()
31266 {
31267 return IceConnectionNumber ();
31268 ;
31269 return 0;
31270 }
31271 _ACEOF
31272 rm -f conftest.$ac_objext conftest$ac_exeext
31273 if { (ac_try="$ac_link"
31274 case "(($ac_try" in
31275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31276 *) ac_try_echo=$ac_try;;
31277 esac
31278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31279 (eval "$ac_link") 2>conftest.er1
31280 ac_status=$?
31281 grep -v '^ *+' conftest.er1 >conftest.err
31282 rm -f conftest.er1
31283 cat conftest.err >&5
31284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31285 (exit $ac_status); } && {
31286 test -z "$ac_c_werror_flag" ||
31287 test ! -s conftest.err
31288 } && test -s conftest$ac_exeext &&
31289 $as_test_x conftest$ac_exeext; then
31290 ac_cv_lib_ICE_IceConnectionNumber=yes
31291 else
31292 echo "$as_me: failed program was:" >&5
31293 sed 's/^/| /' conftest.$ac_ext >&5
31294
31295 ac_cv_lib_ICE_IceConnectionNumber=no
31296 fi
31297
31298 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31299 conftest$ac_exeext conftest.$ac_ext
31300 LIBS=$ac_check_lib_save_LIBS
31301 fi
31302 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31303 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31304 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31305 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31306 fi
31307
31308 LDFLAGS=$ac_save_LDFLAGS
31309
31310 fi
31311
31312
31313 if test "$no_x" = "yes"; then
31314 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31315 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31316 { (exit 1); exit 1; }; }
31317 fi
31318
31319 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31320 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31321 AFMINSTALL=afminstall
31322 COMPILED_X_PROGRAM=0
31323
31324 fi
31325
31326 if test "$wxUSE_X11" = 1; then
31327 if test "$wxUSE_NANOX" = "yes"; then
31328 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31329 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31330 if test "x$MICROWIN" = x ; then
31331 { echo "$as_me:$LINENO: result: not found" >&5
31332 echo "${ECHO_T}not found" >&6; }
31333 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31334 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31335 { (exit 1); exit 1; }; }
31336 else
31337 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31338 echo "${ECHO_T}$MICROWIN" >&6; }
31339 cat >>confdefs.h <<\_ACEOF
31340 #define wxUSE_NANOX 1
31341 _ACEOF
31342
31343 fi
31344 fi
31345
31346 if test "$wxUSE_UNICODE" = "yes"; then
31347
31348
31349 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31350 if test -n "$ac_tool_prefix"; then
31351 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31352 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31353 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31355 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31356 echo $ECHO_N "(cached) $ECHO_C" >&6
31357 else
31358 case $PKG_CONFIG in
31359 [\\/]* | ?:[\\/]*)
31360 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31361 ;;
31362 *)
31363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31364 for as_dir in $PATH
31365 do
31366 IFS=$as_save_IFS
31367 test -z "$as_dir" && as_dir=.
31368 for ac_exec_ext in '' $ac_executable_extensions; do
31369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31370 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31371 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31372 break 2
31373 fi
31374 done
31375 done
31376 IFS=$as_save_IFS
31377
31378 ;;
31379 esac
31380 fi
31381 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31382 if test -n "$PKG_CONFIG"; then
31383 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31384 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31385 else
31386 { echo "$as_me:$LINENO: result: no" >&5
31387 echo "${ECHO_T}no" >&6; }
31388 fi
31389
31390
31391 fi
31392 if test -z "$ac_cv_path_PKG_CONFIG"; then
31393 ac_pt_PKG_CONFIG=$PKG_CONFIG
31394 # Extract the first word of "pkg-config", so it can be a program name with args.
31395 set dummy pkg-config; ac_word=$2
31396 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31398 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31399 echo $ECHO_N "(cached) $ECHO_C" >&6
31400 else
31401 case $ac_pt_PKG_CONFIG in
31402 [\\/]* | ?:[\\/]*)
31403 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31404 ;;
31405 *)
31406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31407 for as_dir in $PATH
31408 do
31409 IFS=$as_save_IFS
31410 test -z "$as_dir" && as_dir=.
31411 for ac_exec_ext in '' $ac_executable_extensions; do
31412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31413 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31415 break 2
31416 fi
31417 done
31418 done
31419 IFS=$as_save_IFS
31420
31421 ;;
31422 esac
31423 fi
31424 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31425 if test -n "$ac_pt_PKG_CONFIG"; then
31426 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31427 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31428 else
31429 { echo "$as_me:$LINENO: result: no" >&5
31430 echo "${ECHO_T}no" >&6; }
31431 fi
31432
31433 if test "x$ac_pt_PKG_CONFIG" = x; then
31434 PKG_CONFIG=""
31435 else
31436 case $cross_compiling:$ac_tool_warned in
31437 yes:)
31438 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31439 whose name does not start with the host triplet. If you think this
31440 configuration is useful to you, please write to autoconf@gnu.org." >&5
31441 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31442 whose name does not start with the host triplet. If you think this
31443 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31444 ac_tool_warned=yes ;;
31445 esac
31446 PKG_CONFIG=$ac_pt_PKG_CONFIG
31447 fi
31448 else
31449 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31450 fi
31451
31452 fi
31453 if test -n "$PKG_CONFIG"; then
31454 _pkg_min_version=0.9.0
31455 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31456 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31457 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31458 { echo "$as_me:$LINENO: result: yes" >&5
31459 echo "${ECHO_T}yes" >&6; }
31460 else
31461 { echo "$as_me:$LINENO: result: no" >&5
31462 echo "${ECHO_T}no" >&6; }
31463 PKG_CONFIG=""
31464 fi
31465
31466 fi
31467
31468
31469 pkg_failed=no
31470 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31471 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31472
31473 if test -n "$PKG_CONFIG"; then
31474 if test -n "$PANGOX_CFLAGS"; then
31475 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31476 else
31477 if test -n "$PKG_CONFIG" && \
31478 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31479 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31480 ac_status=$?
31481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31482 (exit $ac_status); }; then
31483 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31484 else
31485 pkg_failed=yes
31486 fi
31487 fi
31488 else
31489 pkg_failed=untried
31490 fi
31491 if test -n "$PKG_CONFIG"; then
31492 if test -n "$PANGOX_LIBS"; then
31493 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31494 else
31495 if test -n "$PKG_CONFIG" && \
31496 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31497 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31498 ac_status=$?
31499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31500 (exit $ac_status); }; then
31501 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31502 else
31503 pkg_failed=yes
31504 fi
31505 fi
31506 else
31507 pkg_failed=untried
31508 fi
31509
31510
31511
31512 if test $pkg_failed = yes; then
31513
31514 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31515 _pkg_short_errors_supported=yes
31516 else
31517 _pkg_short_errors_supported=no
31518 fi
31519 if test $_pkg_short_errors_supported = yes; then
31520 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31521 else
31522 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31523 fi
31524 # Put the nasty error message in config.log where it belongs
31525 echo "$PANGOX_PKG_ERRORS" >&5
31526
31527
31528 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31529 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31530 { (exit 1); exit 1; }; }
31531
31532
31533 elif test $pkg_failed = untried; then
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 else
31541 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31542 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31543 { echo "$as_me:$LINENO: result: yes" >&5
31544 echo "${ECHO_T}yes" >&6; }
31545
31546 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31547 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31548 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31549
31550 fi
31551
31552 pkg_failed=no
31553 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31554 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31555
31556 if test -n "$PKG_CONFIG"; then
31557 if test -n "$PANGOFT2_CFLAGS"; then
31558 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31559 else
31560 if test -n "$PKG_CONFIG" && \
31561 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31562 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31563 ac_status=$?
31564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31565 (exit $ac_status); }; then
31566 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31567 else
31568 pkg_failed=yes
31569 fi
31570 fi
31571 else
31572 pkg_failed=untried
31573 fi
31574 if test -n "$PKG_CONFIG"; then
31575 if test -n "$PANGOFT2_LIBS"; then
31576 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31577 else
31578 if test -n "$PKG_CONFIG" && \
31579 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31580 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31581 ac_status=$?
31582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31583 (exit $ac_status); }; then
31584 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31585 else
31586 pkg_failed=yes
31587 fi
31588 fi
31589 else
31590 pkg_failed=untried
31591 fi
31592
31593
31594
31595 if test $pkg_failed = yes; then
31596
31597 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31598 _pkg_short_errors_supported=yes
31599 else
31600 _pkg_short_errors_supported=no
31601 fi
31602 if test $_pkg_short_errors_supported = yes; then
31603 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31604 else
31605 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31606 fi
31607 # Put the nasty error message in config.log where it belongs
31608 echo "$PANGOFT2_PKG_ERRORS" >&5
31609
31610
31611 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31612 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31613 wxUSE_PRINTING_ARCHITECTURE="no"
31614
31615
31616 elif test $pkg_failed = untried; then
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 else
31624 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31625 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31626 { echo "$as_me:$LINENO: result: yes" >&5
31627 echo "${ECHO_T}yes" >&6; }
31628
31629 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31630 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31631 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31632
31633 fi
31634
31635 pkg_failed=no
31636 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31637 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31638
31639 if test -n "$PKG_CONFIG"; then
31640 if test -n "$PANGOXFT_CFLAGS"; then
31641 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31642 else
31643 if test -n "$PKG_CONFIG" && \
31644 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31645 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31646 ac_status=$?
31647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31648 (exit $ac_status); }; then
31649 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31650 else
31651 pkg_failed=yes
31652 fi
31653 fi
31654 else
31655 pkg_failed=untried
31656 fi
31657 if test -n "$PKG_CONFIG"; then
31658 if test -n "$PANGOXFT_LIBS"; then
31659 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31660 else
31661 if test -n "$PKG_CONFIG" && \
31662 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31663 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31664 ac_status=$?
31665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31666 (exit $ac_status); }; then
31667 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31668 else
31669 pkg_failed=yes
31670 fi
31671 fi
31672 else
31673 pkg_failed=untried
31674 fi
31675
31676
31677
31678 if test $pkg_failed = yes; then
31679
31680 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31681 _pkg_short_errors_supported=yes
31682 else
31683 _pkg_short_errors_supported=no
31684 fi
31685 if test $_pkg_short_errors_supported = yes; then
31686 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31687 else
31688 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31689 fi
31690 # Put the nasty error message in config.log where it belongs
31691 echo "$PANGOXFT_PKG_ERRORS" >&5
31692
31693
31694 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31695 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31696
31697
31698 elif test $pkg_failed = untried; then
31699
31700 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31701 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31702
31703
31704 else
31705 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31706 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31707 { echo "$as_me:$LINENO: result: yes" >&5
31708 echo "${ECHO_T}yes" >&6; }
31709
31710 cat >>confdefs.h <<\_ACEOF
31711 #define HAVE_PANGO_XFT 1
31712 _ACEOF
31713
31714 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31715 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31716 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31717
31718 fi
31719 save_LIBS="$LIBS"
31720 LIBS="$LIBS $PANGOX_LIBS"
31721
31722 for ac_func in pango_font_family_is_monospace
31723 do
31724 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31725 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31727 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31728 echo $ECHO_N "(cached) $ECHO_C" >&6
31729 else
31730 cat >conftest.$ac_ext <<_ACEOF
31731 /* confdefs.h. */
31732 _ACEOF
31733 cat confdefs.h >>conftest.$ac_ext
31734 cat >>conftest.$ac_ext <<_ACEOF
31735 /* end confdefs.h. */
31736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31738 #define $ac_func innocuous_$ac_func
31739
31740 /* System header to define __stub macros and hopefully few prototypes,
31741 which can conflict with char $ac_func (); below.
31742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31743 <limits.h> exists even on freestanding compilers. */
31744
31745 #ifdef __STDC__
31746 # include <limits.h>
31747 #else
31748 # include <assert.h>
31749 #endif
31750
31751 #undef $ac_func
31752
31753 /* Override any GCC internal prototype to avoid an error.
31754 Use char because int might match the return type of a GCC
31755 builtin and then its argument prototype would still apply. */
31756 #ifdef __cplusplus
31757 extern "C"
31758 #endif
31759 char $ac_func ();
31760 /* The GNU C library defines this for functions which it implements
31761 to always fail with ENOSYS. Some functions are actually named
31762 something starting with __ and the normal name is an alias. */
31763 #if defined __stub_$ac_func || defined __stub___$ac_func
31764 choke me
31765 #endif
31766
31767 int
31768 main ()
31769 {
31770 return $ac_func ();
31771 ;
31772 return 0;
31773 }
31774 _ACEOF
31775 rm -f conftest.$ac_objext conftest$ac_exeext
31776 if { (ac_try="$ac_link"
31777 case "(($ac_try" in
31778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31779 *) ac_try_echo=$ac_try;;
31780 esac
31781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31782 (eval "$ac_link") 2>conftest.er1
31783 ac_status=$?
31784 grep -v '^ *+' conftest.er1 >conftest.err
31785 rm -f conftest.er1
31786 cat conftest.err >&5
31787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31788 (exit $ac_status); } && {
31789 test -z "$ac_c_werror_flag" ||
31790 test ! -s conftest.err
31791 } && test -s conftest$ac_exeext &&
31792 $as_test_x conftest$ac_exeext; then
31793 eval "$as_ac_var=yes"
31794 else
31795 echo "$as_me: failed program was:" >&5
31796 sed 's/^/| /' conftest.$ac_ext >&5
31797
31798 eval "$as_ac_var=no"
31799 fi
31800
31801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31802 conftest$ac_exeext conftest.$ac_ext
31803 fi
31804 ac_res=`eval echo '${'$as_ac_var'}'`
31805 { echo "$as_me:$LINENO: result: $ac_res" >&5
31806 echo "${ECHO_T}$ac_res" >&6; }
31807 if test `eval echo '${'$as_ac_var'}'` = yes; then
31808 cat >>confdefs.h <<_ACEOF
31809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31810 _ACEOF
31811
31812 fi
31813 done
31814
31815 LIBS="$save_LIBS"
31816 fi
31817
31818 wxUSE_UNIVERSAL="yes"
31819
31820 if test "$wxUSE_NANOX" = "yes"; then
31821 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31822 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"
31823 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31824 else
31825 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31826 fi
31827
31828 TOOLKIT=X11
31829 GUIDIST=X11_DIST
31830 fi
31831
31832 if test "$wxUSE_MOTIF" = 1; then
31833 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31834 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31835
31836 ac_find_includes=
31837 for ac_dir in $SEARCH_INCLUDE /usr/include;
31838 do
31839 if test -f "$ac_dir/Xm/Xm.h"; then
31840 ac_find_includes=$ac_dir
31841 break
31842 fi
31843 done
31844
31845 if test "$ac_find_includes" != "" ; then
31846 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31847 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31848
31849 if test "x$ac_find_includes" = "x/usr/include"; then
31850 ac_path_to_include=""
31851 else
31852 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31853 result=$?
31854 if test $result = 0; then
31855 ac_path_to_include=""
31856 else
31857 ac_path_to_include=" -I$ac_find_includes"
31858 fi
31859 fi
31860
31861 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31862 else
31863 save_CFLAGS=$CFLAGS
31864 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31865
31866 cat >conftest.$ac_ext <<_ACEOF
31867 /* confdefs.h. */
31868 _ACEOF
31869 cat confdefs.h >>conftest.$ac_ext
31870 cat >>conftest.$ac_ext <<_ACEOF
31871 /* end confdefs.h. */
31872
31873 #include <Xm/Xm.h>
31874
31875 int
31876 main ()
31877 {
31878
31879 int version;
31880 version = xmUseVersion;
31881
31882 ;
31883 return 0;
31884 }
31885 _ACEOF
31886 rm -f conftest.$ac_objext
31887 if { (ac_try="$ac_compile"
31888 case "(($ac_try" in
31889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31890 *) ac_try_echo=$ac_try;;
31891 esac
31892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31893 (eval "$ac_compile") 2>conftest.er1
31894 ac_status=$?
31895 grep -v '^ *+' conftest.er1 >conftest.err
31896 rm -f conftest.er1
31897 cat conftest.err >&5
31898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31899 (exit $ac_status); } && {
31900 test -z "$ac_c_werror_flag" ||
31901 test ! -s conftest.err
31902 } && test -s conftest.$ac_objext; then
31903
31904 { echo "$as_me:$LINENO: result: found in default search path" >&5
31905 echo "${ECHO_T}found in default search path" >&6; }
31906 COMPILED_X_PROGRAM=1
31907
31908 else
31909 echo "$as_me: failed program was:" >&5
31910 sed 's/^/| /' conftest.$ac_ext >&5
31911
31912
31913 { echo "$as_me:$LINENO: result: no" >&5
31914 echo "${ECHO_T}no" >&6; }
31915 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31916 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31917 { (exit 1); exit 1; }; }
31918
31919
31920 fi
31921
31922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31923
31924 CFLAGS=$save_CFLAGS
31925 fi
31926
31927
31928 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31929 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31930
31931 ac_find_libraries=
31932 for ac_dir in $SEARCH_LIB;
31933 do
31934 for ac_extension in a so sl dylib dll.a; do
31935 if test -f "$ac_dir/libXm.$ac_extension"; then
31936 ac_find_libraries=$ac_dir
31937 break 2
31938 fi
31939 done
31940 done
31941
31942
31943 if test "x$ac_find_libraries" != "x" ; then
31944 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31945 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31946
31947
31948 if test "$ac_find_libraries" = "default location"; then
31949 ac_path_to_link=""
31950 else
31951 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31952 result=$?
31953 if test $result = 0; then
31954 ac_path_to_link=""
31955 else
31956 ac_path_to_link=" -L$ac_find_libraries"
31957 fi
31958 fi
31959
31960 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31961 else
31962 save_CFLAGS=$CFLAGS
31963 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31964 save_LIBS="$LIBS"
31965 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31966
31967 cat >conftest.$ac_ext <<_ACEOF
31968 /* confdefs.h. */
31969 _ACEOF
31970 cat confdefs.h >>conftest.$ac_ext
31971 cat >>conftest.$ac_ext <<_ACEOF
31972 /* end confdefs.h. */
31973
31974 #include <Xm/Xm.h>
31975
31976 int
31977 main ()
31978 {
31979
31980 int version;
31981 version = xmUseVersion;
31982
31983 ;
31984 return 0;
31985 }
31986 _ACEOF
31987 rm -f conftest.$ac_objext conftest$ac_exeext
31988 if { (ac_try="$ac_link"
31989 case "(($ac_try" in
31990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31991 *) ac_try_echo=$ac_try;;
31992 esac
31993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31994 (eval "$ac_link") 2>conftest.er1
31995 ac_status=$?
31996 grep -v '^ *+' conftest.er1 >conftest.err
31997 rm -f conftest.er1
31998 cat conftest.err >&5
31999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32000 (exit $ac_status); } && {
32001 test -z "$ac_c_werror_flag" ||
32002 test ! -s conftest.err
32003 } && test -s conftest$ac_exeext &&
32004 $as_test_x conftest$ac_exeext; then
32005
32006 { echo "$as_me:$LINENO: result: found in default search path" >&5
32007 echo "${ECHO_T}found in default search path" >&6; }
32008 COMPILED_X_PROGRAM=1
32009
32010 else
32011 echo "$as_me: failed program was:" >&5
32012 sed 's/^/| /' conftest.$ac_ext >&5
32013
32014
32015 { echo "$as_me:$LINENO: result: no" >&5
32016 echo "${ECHO_T}no" >&6; }
32017 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32018 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32019 { (exit 1); exit 1; }; }
32020
32021
32022 fi
32023
32024 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32025 conftest$ac_exeext conftest.$ac_ext
32026
32027 CFLAGS=$save_CFLAGS
32028 LIBS="$save_LIBS"
32029 fi
32030
32031 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32032 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32033 libp_link=""
32034 libsm_ice_link=""
32035 libs_found=0
32036 for libp in "" " -lXp"; do
32037 if test "$libs_found" = 0; then
32038 for libsm_ice in "" " -lSM -lICE"; do
32039 if test "$libs_found" = 0; then
32040 save_LIBS="$LIBS"
32041 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32042 save_CFLAGS=$CFLAGS
32043 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32044
32045 cat >conftest.$ac_ext <<_ACEOF
32046 /* confdefs.h. */
32047 _ACEOF
32048 cat confdefs.h >>conftest.$ac_ext
32049 cat >>conftest.$ac_ext <<_ACEOF
32050 /* end confdefs.h. */
32051
32052 #include <Xm/Xm.h>
32053 #include <Xm/List.h>
32054
32055 int
32056 main ()
32057 {
32058
32059 XmString string = NULL;
32060 Widget w = NULL;
32061 int position = 0;
32062 XmListAddItem(w, string, position);
32063
32064 ;
32065 return 0;
32066 }
32067 _ACEOF
32068 rm -f conftest.$ac_objext conftest$ac_exeext
32069 if { (ac_try="$ac_link"
32070 case "(($ac_try" in
32071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32072 *) ac_try_echo=$ac_try;;
32073 esac
32074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32075 (eval "$ac_link") 2>conftest.er1
32076 ac_status=$?
32077 grep -v '^ *+' conftest.er1 >conftest.err
32078 rm -f conftest.er1
32079 cat conftest.err >&5
32080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32081 (exit $ac_status); } && {
32082 test -z "$ac_c_werror_flag" ||
32083 test ! -s conftest.err
32084 } && test -s conftest$ac_exeext &&
32085 $as_test_x conftest$ac_exeext; then
32086
32087 libp_link="$libp"
32088 libsm_ice_link="$libsm_ice"
32089 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32090 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32091 libs_found=1
32092
32093 else
32094 echo "$as_me: failed program was:" >&5
32095 sed 's/^/| /' conftest.$ac_ext >&5
32096
32097
32098
32099 fi
32100
32101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32102 conftest$ac_exeext conftest.$ac_ext
32103
32104 LIBS="$save_LIBS"
32105 CFLAGS=$save_CFLAGS
32106 fi
32107 done
32108 fi
32109 done
32110
32111 if test "$libs_found" = 0; then
32112 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32113 echo "${ECHO_T}can't find the right libraries" >&6; }
32114 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32115 echo "$as_me: error: can't link a simple motif program" >&2;}
32116 { (exit 1); exit 1; }; }
32117 fi
32118
32119 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32120 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32121 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32122 echo $ECHO_N "(cached) $ECHO_C" >&6
32123 else
32124 ac_check_lib_save_LIBS=$LIBS
32125 LIBS="-lSgm $LIBS"
32126 cat >conftest.$ac_ext <<_ACEOF
32127 /* confdefs.h. */
32128 _ACEOF
32129 cat confdefs.h >>conftest.$ac_ext
32130 cat >>conftest.$ac_ext <<_ACEOF
32131 /* end confdefs.h. */
32132
32133 /* Override any GCC internal prototype to avoid an error.
32134 Use char because int might match the return type of a GCC
32135 builtin and then its argument prototype would still apply. */
32136 #ifdef __cplusplus
32137 extern "C"
32138 #endif
32139 char SgCreateList ();
32140 int
32141 main ()
32142 {
32143 return SgCreateList ();
32144 ;
32145 return 0;
32146 }
32147 _ACEOF
32148 rm -f conftest.$ac_objext conftest$ac_exeext
32149 if { (ac_try="$ac_link"
32150 case "(($ac_try" in
32151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32152 *) ac_try_echo=$ac_try;;
32153 esac
32154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32155 (eval "$ac_link") 2>conftest.er1
32156 ac_status=$?
32157 grep -v '^ *+' conftest.er1 >conftest.err
32158 rm -f conftest.er1
32159 cat conftest.err >&5
32160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32161 (exit $ac_status); } && {
32162 test -z "$ac_c_werror_flag" ||
32163 test ! -s conftest.err
32164 } && test -s conftest$ac_exeext &&
32165 $as_test_x conftest$ac_exeext; then
32166 ac_cv_lib_Sgm_SgCreateList=yes
32167 else
32168 echo "$as_me: failed program was:" >&5
32169 sed 's/^/| /' conftest.$ac_ext >&5
32170
32171 ac_cv_lib_Sgm_SgCreateList=no
32172 fi
32173
32174 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32175 conftest$ac_exeext conftest.$ac_ext
32176 LIBS=$ac_check_lib_save_LIBS
32177 fi
32178 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32179 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32180 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32181 libsgm_link=" -lSgm"
32182 fi
32183
32184
32185 save_CFLAGS=$CFLAGS
32186 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32187
32188 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32189 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32190 if test "${wx_cv_lib_motif2+set}" = set; then
32191 echo $ECHO_N "(cached) $ECHO_C" >&6
32192 else
32193 cat >conftest.$ac_ext <<_ACEOF
32194 /* confdefs.h. */
32195 _ACEOF
32196 cat confdefs.h >>conftest.$ac_ext
32197 cat >>conftest.$ac_ext <<_ACEOF
32198 /* end confdefs.h. */
32199
32200 #include <Xm/Xm.h>
32201
32202 int
32203 main ()
32204 {
32205
32206 #if XmVersion < 2000
32207 Not Motif 2
32208 #endif
32209
32210 ;
32211 return 0;
32212 }
32213 _ACEOF
32214 rm -f conftest.$ac_objext
32215 if { (ac_try="$ac_compile"
32216 case "(($ac_try" in
32217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32218 *) ac_try_echo=$ac_try;;
32219 esac
32220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32221 (eval "$ac_compile") 2>conftest.er1
32222 ac_status=$?
32223 grep -v '^ *+' conftest.er1 >conftest.err
32224 rm -f conftest.er1
32225 cat conftest.err >&5
32226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32227 (exit $ac_status); } && {
32228 test -z "$ac_c_werror_flag" ||
32229 test ! -s conftest.err
32230 } && test -s conftest.$ac_objext; then
32231 wx_cv_lib_motif2="yes"
32232 else
32233 echo "$as_me: failed program was:" >&5
32234 sed 's/^/| /' conftest.$ac_ext >&5
32235
32236 wx_cv_lib_motif2="no"
32237 fi
32238
32239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32240 fi
32241 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32242 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32243 if test "$wx_cv_lib_motif2" = "yes"; then
32244 cat >>confdefs.h <<\_ACEOF
32245 #define __WXMOTIF20__ 1
32246 _ACEOF
32247
32248 else
32249 cat >>confdefs.h <<\_ACEOF
32250 #define __WXMOTIF20__ 0
32251 _ACEOF
32252
32253 fi
32254
32255 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32256 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32257 if test "${wx_cv_lib_lesstif+set}" = set; then
32258 echo $ECHO_N "(cached) $ECHO_C" >&6
32259 else
32260 cat >conftest.$ac_ext <<_ACEOF
32261 /* confdefs.h. */
32262 _ACEOF
32263 cat confdefs.h >>conftest.$ac_ext
32264 cat >>conftest.$ac_ext <<_ACEOF
32265 /* end confdefs.h. */
32266
32267 #include <Xm/Xm.h>
32268
32269 int
32270 main ()
32271 {
32272
32273 #if !defined(LesstifVersion) || LesstifVersion <= 0
32274 Not Lesstif
32275 #endif
32276
32277 ;
32278 return 0;
32279 }
32280 _ACEOF
32281 rm -f conftest.$ac_objext
32282 if { (ac_try="$ac_compile"
32283 case "(($ac_try" in
32284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32285 *) ac_try_echo=$ac_try;;
32286 esac
32287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32288 (eval "$ac_compile") 2>conftest.er1
32289 ac_status=$?
32290 grep -v '^ *+' conftest.er1 >conftest.err
32291 rm -f conftest.er1
32292 cat conftest.err >&5
32293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32294 (exit $ac_status); } && {
32295 test -z "$ac_c_werror_flag" ||
32296 test ! -s conftest.err
32297 } && test -s conftest.$ac_objext; then
32298 wx_cv_lib_lesstif="yes"
32299 else
32300 echo "$as_me: failed program was:" >&5
32301 sed 's/^/| /' conftest.$ac_ext >&5
32302
32303 wx_cv_lib_lesstif="no"
32304 fi
32305
32306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32307
32308 fi
32309 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32310 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32311 if test "$wx_cv_lib_lesstif" = "yes"; then
32312 cat >>confdefs.h <<\_ACEOF
32313 #define __WXLESSTIF__ 1
32314 _ACEOF
32315
32316 else
32317 cat >>confdefs.h <<\_ACEOF
32318 #define __WXLESSTIF__ 0
32319 _ACEOF
32320
32321 fi
32322
32323 CFLAGS=$save_CFLAGS
32324
32325 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32326 TOOLKIT=MOTIF
32327 GUIDIST=MOTIF_DIST
32328 fi
32329
32330 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32331 if test "$wxUSE_LIBXPM" = "sys"; then
32332 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32333 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32334
32335 ac_find_libraries=
32336 for ac_dir in $SEARCH_LIB;
32337 do
32338 for ac_extension in a so sl dylib dll.a; do
32339 if test -f "$ac_dir/libXpm.$ac_extension"; then
32340 ac_find_libraries=$ac_dir
32341 break 2
32342 fi
32343 done
32344 done
32345
32346 if test "$ac_find_libraries" != "" ; then
32347
32348 if test "$ac_find_libraries" = "default location"; then
32349 ac_path_to_link=""
32350 else
32351 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32352 result=$?
32353 if test $result = 0; then
32354 ac_path_to_link=""
32355 else
32356 ac_path_to_link=" -L$ac_find_libraries"
32357 fi
32358 fi
32359
32360 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32361 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32362 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32363
32364 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32365 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32366 if test "${wx_cv_x11_xpm_h+set}" = set; then
32367 echo $ECHO_N "(cached) $ECHO_C" >&6
32368 else
32369
32370 save_CFLAGS=$CFLAGS
32371 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32372
32373 cat >conftest.$ac_ext <<_ACEOF
32374 /* confdefs.h. */
32375 _ACEOF
32376 cat confdefs.h >>conftest.$ac_ext
32377 cat >>conftest.$ac_ext <<_ACEOF
32378 /* end confdefs.h. */
32379
32380 #include <X11/xpm.h>
32381
32382 int
32383 main ()
32384 {
32385
32386 int version;
32387 version = XpmLibraryVersion();
32388
32389 ;
32390 return 0;
32391 }
32392 _ACEOF
32393 rm -f conftest.$ac_objext
32394 if { (ac_try="$ac_compile"
32395 case "(($ac_try" in
32396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32397 *) ac_try_echo=$ac_try;;
32398 esac
32399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32400 (eval "$ac_compile") 2>conftest.er1
32401 ac_status=$?
32402 grep -v '^ *+' conftest.er1 >conftest.err
32403 rm -f conftest.er1
32404 cat conftest.err >&5
32405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32406 (exit $ac_status); } && {
32407 test -z "$ac_c_werror_flag" ||
32408 test ! -s conftest.err
32409 } && test -s conftest.$ac_objext; then
32410 wx_cv_x11_xpm_h=yes
32411 else
32412 echo "$as_me: failed program was:" >&5
32413 sed 's/^/| /' conftest.$ac_ext >&5
32414
32415 wx_cv_x11_xpm_h=no
32416
32417 fi
32418
32419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32420
32421 CFLAGS=$save_CFLAGS
32422
32423
32424 fi
32425 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32426 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32427
32428 if test $wx_cv_x11_xpm_h = "yes"; then
32429 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32430 cat >>confdefs.h <<\_ACEOF
32431 #define wxHAVE_LIB_XPM 1
32432 _ACEOF
32433
32434 else
32435 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32436 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32437 fi
32438 fi
32439
32440 fi
32441
32442 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32443 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32444 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32445 echo $ECHO_N "(cached) $ECHO_C" >&6
32446 else
32447 ac_check_lib_save_LIBS=$LIBS
32448 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32449 cat >conftest.$ac_ext <<_ACEOF
32450 /* confdefs.h. */
32451 _ACEOF
32452 cat confdefs.h >>conftest.$ac_ext
32453 cat >>conftest.$ac_ext <<_ACEOF
32454 /* end confdefs.h. */
32455
32456 /* Override any GCC internal prototype to avoid an error.
32457 Use char because int might match the return type of a GCC
32458 builtin and then its argument prototype would still apply. */
32459 #ifdef __cplusplus
32460 extern "C"
32461 #endif
32462 char XShapeQueryExtension ();
32463 int
32464 main ()
32465 {
32466 return XShapeQueryExtension ();
32467 ;
32468 return 0;
32469 }
32470 _ACEOF
32471 rm -f conftest.$ac_objext conftest$ac_exeext
32472 if { (ac_try="$ac_link"
32473 case "(($ac_try" in
32474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32475 *) ac_try_echo=$ac_try;;
32476 esac
32477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32478 (eval "$ac_link") 2>conftest.er1
32479 ac_status=$?
32480 grep -v '^ *+' conftest.er1 >conftest.err
32481 rm -f conftest.er1
32482 cat conftest.err >&5
32483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32484 (exit $ac_status); } && {
32485 test -z "$ac_c_werror_flag" ||
32486 test ! -s conftest.err
32487 } && test -s conftest$ac_exeext &&
32488 $as_test_x conftest$ac_exeext; then
32489 ac_cv_lib_Xext_XShapeQueryExtension=yes
32490 else
32491 echo "$as_me: failed program was:" >&5
32492 sed 's/^/| /' conftest.$ac_ext >&5
32493
32494 ac_cv_lib_Xext_XShapeQueryExtension=no
32495 fi
32496
32497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32498 conftest$ac_exeext conftest.$ac_ext
32499 LIBS=$ac_check_lib_save_LIBS
32500 fi
32501 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32502 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32503 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32504
32505 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32506 wxHAVE_XEXT_LIB=1
32507
32508 fi
32509
32510
32511 if test "$wxHAVE_XEXT_LIB" = 1; then
32512 save_CFLAGS="$CFLAGS"
32513 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32514
32515 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32516 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32517 cat >conftest.$ac_ext <<_ACEOF
32518 /* confdefs.h. */
32519 _ACEOF
32520 cat confdefs.h >>conftest.$ac_ext
32521 cat >>conftest.$ac_ext <<_ACEOF
32522 /* end confdefs.h. */
32523
32524 #include <X11/Xlib.h>
32525 #include <X11/extensions/shape.h>
32526
32527 int
32528 main ()
32529 {
32530
32531 int dummy1, dummy2;
32532 XShapeQueryExtension((Display*)NULL,
32533 (int*)NULL, (int*)NULL);
32534
32535 ;
32536 return 0;
32537 }
32538 _ACEOF
32539 rm -f conftest.$ac_objext
32540 if { (ac_try="$ac_compile"
32541 case "(($ac_try" in
32542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32543 *) ac_try_echo=$ac_try;;
32544 esac
32545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32546 (eval "$ac_compile") 2>conftest.er1
32547 ac_status=$?
32548 grep -v '^ *+' conftest.er1 >conftest.err
32549 rm -f conftest.er1
32550 cat conftest.err >&5
32551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32552 (exit $ac_status); } && {
32553 test -z "$ac_c_werror_flag" ||
32554 test ! -s conftest.err
32555 } && test -s conftest.$ac_objext; then
32556
32557 cat >>confdefs.h <<\_ACEOF
32558 #define HAVE_XSHAPE 1
32559 _ACEOF
32560
32561 { echo "$as_me:$LINENO: result: found" >&5
32562 echo "${ECHO_T}found" >&6; }
32563
32564 else
32565 echo "$as_me: failed program was:" >&5
32566 sed 's/^/| /' conftest.$ac_ext >&5
32567
32568
32569 { echo "$as_me:$LINENO: result: not found" >&5
32570 echo "${ECHO_T}not found" >&6; }
32571
32572 fi
32573
32574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32575 CFLAGS="$save_CFLAGS"
32576
32577 fi
32578 fi
32579
32580 if test "$wxUSE_OSX_CARBON" = 1; then
32581 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32582 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32583 if test "$GCC" = yes; then
32584 { echo "$as_me:$LINENO: result: gcc" >&5
32585 echo "${ECHO_T}gcc" >&6; }
32586 CPPFLAGS_PASCAL="-fpascal-strings"
32587 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32588 { echo "$as_me:$LINENO: result: xlc" >&5
32589 echo "${ECHO_T}xlc" >&6; }
32590 CPPFLAGS_PASCAL="-qmacpstr"
32591 else
32592 { echo "$as_me:$LINENO: result: none" >&5
32593 echo "${ECHO_T}none" >&6; }
32594 fi
32595
32596 if test "x$wxUSE_UNIX" = "xyes"; then
32597 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32598 else
32599 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32600 fi
32601
32602 TOOLKIT=OSX_CARBON
32603 GUIDIST=OSX_CARBON_DIST
32604 WXBASEPORT="_carbon"
32605 fi
32606
32607 if test "$wxUSE_OSX_COCOA" = 1; then
32608 TOOLKIT=OSX_COCOA
32609 GUIDIST=OSX_COCOA_DIST
32610 fi
32611
32612 if test "$wxUSE_COCOA" = 1; then
32613 TOOLKIT=COCOA
32614 GUIDIST=COCOA_DIST
32615 fi
32616
32617 if test "$wxUSE_PM" = 1; then
32618 TOOLKIT=PM
32619 GUIDIST=PM_DIST
32620 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32621 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32622 if test "${wx_cv_spbcdata+set}" = set; then
32623 echo $ECHO_N "(cached) $ECHO_C" >&6
32624 else
32625
32626 cat >conftest.$ac_ext <<_ACEOF
32627 /* confdefs.h. */
32628 _ACEOF
32629 cat confdefs.h >>conftest.$ac_ext
32630 cat >>conftest.$ac_ext <<_ACEOF
32631 /* end confdefs.h. */
32632
32633 #define INCL_PM
32634 #include <os2.h>
32635
32636 int
32637 main ()
32638 {
32639
32640 SPBCDATA test;
32641
32642 ;
32643 return 0;
32644 }
32645 _ACEOF
32646 rm -f conftest.$ac_objext
32647 if { (ac_try="$ac_compile"
32648 case "(($ac_try" in
32649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32650 *) ac_try_echo=$ac_try;;
32651 esac
32652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32653 (eval "$ac_compile") 2>conftest.er1
32654 ac_status=$?
32655 grep -v '^ *+' conftest.er1 >conftest.err
32656 rm -f conftest.er1
32657 cat conftest.err >&5
32658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32659 (exit $ac_status); } && {
32660 test -z "$ac_c_werror_flag" ||
32661 test ! -s conftest.err
32662 } && test -s conftest.$ac_objext; then
32663 wx_cv_spbcdata=yes
32664 else
32665 echo "$as_me: failed program was:" >&5
32666 sed 's/^/| /' conftest.$ac_ext >&5
32667
32668 wx_cv_spbcdata=no
32669
32670 fi
32671
32672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32673
32674
32675 fi
32676 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32677 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32678
32679 if test $wx_cv_spbcdata = "yes"; then
32680 cat >>confdefs.h <<\_ACEOF
32681 #define HAVE_SPBCDATA 1
32682 _ACEOF
32683
32684 fi
32685 fi
32686
32687 if test "$TOOLKIT" = "PM" ; then
32688 TOOLKIT_DIR="os2"
32689 else
32690 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32691 fi
32692
32693 if test "$wxUSE_UNIVERSAL" = "yes"; then
32694 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32695 WIDGET_SET=univ
32696 fi
32697
32698 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32699 DISTDIR="wx\$(TOOLKIT)"
32700 else
32701 USE_GUI=0
32702
32703 TOOLKIT_DIR="base"
32704
32705 if test "$USE_WIN32" = 1 ; then
32706 TOOLKIT="MSW"
32707 fi
32708
32709 GUIDIST="BASE_DIST"
32710 DISTDIR="wxBase"
32711 fi
32712
32713
32714
32715 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32716 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32717 wxUSE_UNICODE_UTF8=yes
32718 elif test "$USE_OS2" = 1 ; then
32719 wxUSE_UNICODE_UTF8=yes
32720 else
32721 wxUSE_UNICODE_UTF8=no
32722 fi
32723 fi
32724
32725
32726 if test "$wxUSE_GUI" = "yes"; then
32727 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32728
32729 for ac_header in X11/Xlib.h
32730 do
32731 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32732 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32734 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32735 echo $ECHO_N "(cached) $ECHO_C" >&6
32736 else
32737 cat >conftest.$ac_ext <<_ACEOF
32738 /* confdefs.h. */
32739 _ACEOF
32740 cat confdefs.h >>conftest.$ac_ext
32741 cat >>conftest.$ac_ext <<_ACEOF
32742 /* end confdefs.h. */
32743
32744
32745 #include <$ac_header>
32746 _ACEOF
32747 rm -f conftest.$ac_objext
32748 if { (ac_try="$ac_compile"
32749 case "(($ac_try" in
32750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32751 *) ac_try_echo=$ac_try;;
32752 esac
32753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32754 (eval "$ac_compile") 2>conftest.er1
32755 ac_status=$?
32756 grep -v '^ *+' conftest.er1 >conftest.err
32757 rm -f conftest.er1
32758 cat conftest.err >&5
32759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32760 (exit $ac_status); } && {
32761 test -z "$ac_c_werror_flag" ||
32762 test ! -s conftest.err
32763 } && test -s conftest.$ac_objext; then
32764 eval "$as_ac_Header=yes"
32765 else
32766 echo "$as_me: failed program was:" >&5
32767 sed 's/^/| /' conftest.$ac_ext >&5
32768
32769 eval "$as_ac_Header=no"
32770 fi
32771
32772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32773 fi
32774 ac_res=`eval echo '${'$as_ac_Header'}'`
32775 { echo "$as_me:$LINENO: result: $ac_res" >&5
32776 echo "${ECHO_T}$ac_res" >&6; }
32777 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32778 cat >>confdefs.h <<_ACEOF
32779 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32780 _ACEOF
32781
32782 fi
32783
32784 done
32785
32786
32787 for ac_header in X11/XKBlib.h
32788 do
32789 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32790 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32791 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32792 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32793 echo $ECHO_N "(cached) $ECHO_C" >&6
32794 else
32795 cat >conftest.$ac_ext <<_ACEOF
32796 /* confdefs.h. */
32797 _ACEOF
32798 cat confdefs.h >>conftest.$ac_ext
32799 cat >>conftest.$ac_ext <<_ACEOF
32800 /* end confdefs.h. */
32801
32802 #if HAVE_X11_XLIB_H
32803 #include <X11/Xlib.h>
32804 #endif
32805
32806
32807 #include <$ac_header>
32808 _ACEOF
32809 rm -f conftest.$ac_objext
32810 if { (ac_try="$ac_compile"
32811 case "(($ac_try" in
32812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32813 *) ac_try_echo=$ac_try;;
32814 esac
32815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32816 (eval "$ac_compile") 2>conftest.er1
32817 ac_status=$?
32818 grep -v '^ *+' conftest.er1 >conftest.err
32819 rm -f conftest.er1
32820 cat conftest.err >&5
32821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32822 (exit $ac_status); } && {
32823 test -z "$ac_c_werror_flag" ||
32824 test ! -s conftest.err
32825 } && test -s conftest.$ac_objext; then
32826 eval "$as_ac_Header=yes"
32827 else
32828 echo "$as_me: failed program was:" >&5
32829 sed 's/^/| /' conftest.$ac_ext >&5
32830
32831 eval "$as_ac_Header=no"
32832 fi
32833
32834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32835 fi
32836 ac_res=`eval echo '${'$as_ac_Header'}'`
32837 { echo "$as_me:$LINENO: result: $ac_res" >&5
32838 echo "${ECHO_T}$ac_res" >&6; }
32839 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32840 cat >>confdefs.h <<_ACEOF
32841 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32842 _ACEOF
32843
32844 fi
32845
32846 done
32847
32848 fi
32849 fi
32850
32851
32852
32853 if test "$wxUSE_DISPLAY" = "yes"; then
32854 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32855 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32856 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32857
32858 ac_find_libraries=
32859 for ac_dir in $SEARCH_LIB;
32860 do
32861 for ac_extension in a so sl dylib dll.a; do
32862 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32863 ac_find_libraries=$ac_dir
32864 break 2
32865 fi
32866 done
32867 done
32868
32869 if test "$ac_find_libraries" != "" ; then
32870
32871 if test "$ac_find_libraries" = "default location"; then
32872 ac_path_to_link=""
32873 else
32874 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32875 result=$?
32876 if test $result = 0; then
32877 ac_path_to_link=""
32878 else
32879 ac_path_to_link=" -L$ac_find_libraries"
32880 fi
32881 fi
32882
32883 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32884 LDFLAGS="$LDFLAGS $ac_path_to_link"
32885 fi
32886 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32887 { echo "$as_me:$LINENO: result: yes" >&5
32888 echo "${ECHO_T}yes" >&6; }
32889
32890 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32891 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32892
32893 ac_find_libraries=
32894 for ac_dir in $SEARCH_LIB;
32895 do
32896 for ac_extension in a so sl dylib dll.a; do
32897 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32898 ac_find_libraries=$ac_dir
32899 break 2
32900 fi
32901 done
32902 done
32903
32904 if test "$ac_find_libraries" != "" ; then
32905 { echo "$as_me:$LINENO: result: yes" >&5
32906 echo "${ECHO_T}yes" >&6; }
32907
32908 for ac_header in X11/extensions/xf86vmode.h
32909 do
32910 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32911 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32912 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32913 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32914 echo $ECHO_N "(cached) $ECHO_C" >&6
32915 else
32916 cat >conftest.$ac_ext <<_ACEOF
32917 /* confdefs.h. */
32918 _ACEOF
32919 cat confdefs.h >>conftest.$ac_ext
32920 cat >>conftest.$ac_ext <<_ACEOF
32921 /* end confdefs.h. */
32922
32923 #if HAVE_X11_XLIB_H
32924 #include <X11/Xlib.h>
32925 #endif
32926
32927
32928 #include <$ac_header>
32929 _ACEOF
32930 rm -f conftest.$ac_objext
32931 if { (ac_try="$ac_compile"
32932 case "(($ac_try" in
32933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32934 *) ac_try_echo=$ac_try;;
32935 esac
32936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32937 (eval "$ac_compile") 2>conftest.er1
32938 ac_status=$?
32939 grep -v '^ *+' conftest.er1 >conftest.err
32940 rm -f conftest.er1
32941 cat conftest.err >&5
32942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32943 (exit $ac_status); } && {
32944 test -z "$ac_c_werror_flag" ||
32945 test ! -s conftest.err
32946 } && test -s conftest.$ac_objext; then
32947 eval "$as_ac_Header=yes"
32948 else
32949 echo "$as_me: failed program was:" >&5
32950 sed 's/^/| /' conftest.$ac_ext >&5
32951
32952 eval "$as_ac_Header=no"
32953 fi
32954
32955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32956 fi
32957 ac_res=`eval echo '${'$as_ac_Header'}'`
32958 { echo "$as_me:$LINENO: result: $ac_res" >&5
32959 echo "${ECHO_T}$ac_res" >&6; }
32960 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32961 cat >>confdefs.h <<_ACEOF
32962 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32963 _ACEOF
32964
32965 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32966
32967 fi
32968
32969 done
32970
32971 else
32972 { echo "$as_me:$LINENO: result: no" >&5
32973 echo "${ECHO_T}no" >&6; }
32974 fi
32975
32976 else
32977 { echo "$as_me:$LINENO: result: no" >&5
32978 echo "${ECHO_T}no" >&6; }
32979 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32980 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32981 wxUSE_DISPLAY="no"
32982 fi
32983 elif test "$wxUSE_MSW" = 1; then
32984 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32985 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32986 if test "${ac_cv_header_ddraw_h+set}" = set; then
32987 echo $ECHO_N "(cached) $ECHO_C" >&6
32988 else
32989 cat >conftest.$ac_ext <<_ACEOF
32990 /* confdefs.h. */
32991 _ACEOF
32992 cat confdefs.h >>conftest.$ac_ext
32993 cat >>conftest.$ac_ext <<_ACEOF
32994 /* end confdefs.h. */
32995 #include <windows.h>
32996
32997 #include <ddraw.h>
32998 _ACEOF
32999 rm -f conftest.$ac_objext
33000 if { (ac_try="$ac_compile"
33001 case "(($ac_try" in
33002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33003 *) ac_try_echo=$ac_try;;
33004 esac
33005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33006 (eval "$ac_compile") 2>conftest.er1
33007 ac_status=$?
33008 grep -v '^ *+' conftest.er1 >conftest.err
33009 rm -f conftest.er1
33010 cat conftest.err >&5
33011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33012 (exit $ac_status); } && {
33013 test -z "$ac_c_werror_flag" ||
33014 test ! -s conftest.err
33015 } && test -s conftest.$ac_objext; then
33016 ac_cv_header_ddraw_h=yes
33017 else
33018 echo "$as_me: failed program was:" >&5
33019 sed 's/^/| /' conftest.$ac_ext >&5
33020
33021 ac_cv_header_ddraw_h=no
33022 fi
33023
33024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33025 fi
33026 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33027 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33028
33029
33030 fi
33031 fi
33032
33033 if test "$wxUSE_DETECT_SM" = "yes"; then
33034 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33035 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33036 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33037
33038 ac_find_libraries=
33039 for ac_dir in $SEARCH_LIB;
33040 do
33041 for ac_extension in a so sl dylib dll.a; do
33042 if test -f "$ac_dir/libSM.$ac_extension"; then
33043 ac_find_libraries=$ac_dir
33044 break 2
33045 fi
33046 done
33047 done
33048
33049 if test "$ac_find_libraries" != "" ; then
33050
33051 if test "$ac_find_libraries" = "default location"; then
33052 ac_path_to_link=""
33053 else
33054 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33055 result=$?
33056 if test $result = 0; then
33057 ac_path_to_link=""
33058 else
33059 ac_path_to_link=" -L$ac_find_libraries"
33060 fi
33061 fi
33062
33063 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33064 LDFLAGS="$LDFLAGS $ac_path_to_link"
33065 fi
33066 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33067 { echo "$as_me:$LINENO: result: yes" >&5
33068 echo "${ECHO_T}yes" >&6; }
33069 else
33070 { echo "$as_me:$LINENO: result: no" >&5
33071 echo "${ECHO_T}no" >&6; }
33072 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33073 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33074 wxUSE_DETECT_SM="no"
33075 fi
33076 else
33077 wxUSE_DETECT_SM="no"
33078 fi
33079 fi
33080
33081
33082
33083 USE_OPENGL=0
33084 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33085
33086
33087 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33088 OPENGL_LIBS="-framework OpenGL -framework AGL"
33089 elif test "$wxUSE_MSW" = 1; then
33090 OPENGL_LIBS="-lopengl32 -lglu32"
33091 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33092
33093 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33094 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33095
33096 ac_find_includes=
33097 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33098 do
33099 if test -f "$ac_dir/GL/gl.h"; then
33100 ac_find_includes=$ac_dir
33101 break
33102 fi
33103 done
33104
33105 if test "$ac_find_includes" != "" ; then
33106 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33107 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33108
33109 if test "x$ac_find_includes" = "x/usr/include"; then
33110 ac_path_to_include=""
33111 else
33112 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33113 result=$?
33114 if test $result = 0; then
33115 ac_path_to_include=""
33116 else
33117 ac_path_to_include=" -I$ac_find_includes"
33118 fi
33119 fi
33120
33121 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33122 else
33123 { echo "$as_me:$LINENO: result: not found" >&5
33124 echo "${ECHO_T}not found" >&6; }
33125 fi
33126
33127 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33128 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33129 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33130 echo $ECHO_N "(cached) $ECHO_C" >&6
33131 else
33132 cat >conftest.$ac_ext <<_ACEOF
33133 /* confdefs.h. */
33134 _ACEOF
33135 cat confdefs.h >>conftest.$ac_ext
33136 cat >>conftest.$ac_ext <<_ACEOF
33137 /* end confdefs.h. */
33138
33139
33140 #include <GL/gl.h>
33141 _ACEOF
33142 rm -f conftest.$ac_objext
33143 if { (ac_try="$ac_compile"
33144 case "(($ac_try" in
33145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33146 *) ac_try_echo=$ac_try;;
33147 esac
33148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33149 (eval "$ac_compile") 2>conftest.er1
33150 ac_status=$?
33151 grep -v '^ *+' conftest.er1 >conftest.err
33152 rm -f conftest.er1
33153 cat conftest.err >&5
33154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33155 (exit $ac_status); } && {
33156 test -z "$ac_c_werror_flag" ||
33157 test ! -s conftest.err
33158 } && test -s conftest.$ac_objext; then
33159 ac_cv_header_GL_gl_h=yes
33160 else
33161 echo "$as_me: failed program was:" >&5
33162 sed 's/^/| /' conftest.$ac_ext >&5
33163
33164 ac_cv_header_GL_gl_h=no
33165 fi
33166
33167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33168 fi
33169 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33170 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33171 if test $ac_cv_header_GL_gl_h = yes; then
33172
33173 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33174 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33175 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33176 echo $ECHO_N "(cached) $ECHO_C" >&6
33177 else
33178 cat >conftest.$ac_ext <<_ACEOF
33179 /* confdefs.h. */
33180 _ACEOF
33181 cat confdefs.h >>conftest.$ac_ext
33182 cat >>conftest.$ac_ext <<_ACEOF
33183 /* end confdefs.h. */
33184
33185
33186 #include <GL/glu.h>
33187 _ACEOF
33188 rm -f conftest.$ac_objext
33189 if { (ac_try="$ac_compile"
33190 case "(($ac_try" in
33191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33192 *) ac_try_echo=$ac_try;;
33193 esac
33194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33195 (eval "$ac_compile") 2>conftest.er1
33196 ac_status=$?
33197 grep -v '^ *+' conftest.er1 >conftest.err
33198 rm -f conftest.er1
33199 cat conftest.err >&5
33200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33201 (exit $ac_status); } && {
33202 test -z "$ac_c_werror_flag" ||
33203 test ! -s conftest.err
33204 } && test -s conftest.$ac_objext; then
33205 ac_cv_header_GL_glu_h=yes
33206 else
33207 echo "$as_me: failed program was:" >&5
33208 sed 's/^/| /' conftest.$ac_ext >&5
33209
33210 ac_cv_header_GL_glu_h=no
33211 fi
33212
33213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33214 fi
33215 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33216 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33217 if test $ac_cv_header_GL_glu_h = yes; then
33218
33219 found_gl=0
33220
33221 { echo "$as_me:$LINENO: checking for -lGL" >&5
33222 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33223
33224 ac_find_libraries=
33225 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33226 do
33227 for ac_extension in a so sl dylib dll.a; do
33228 if test -f "$ac_dir/libGL.$ac_extension"; then
33229 ac_find_libraries=$ac_dir
33230 break 2
33231 fi
33232 done
33233 done
33234
33235 if test "$ac_find_libraries" != "" ; then
33236 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33237 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33238
33239
33240 if test "$ac_find_libraries" = "default location"; then
33241 ac_path_to_link=""
33242 else
33243 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33244 result=$?
33245 if test $result = 0; then
33246 ac_path_to_link=""
33247 else
33248 ac_path_to_link=" -L$ac_find_libraries"
33249 fi
33250 fi
33251
33252 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33253 LDFLAGS_GL="$ac_path_to_link"
33254 fi
33255
33256 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33257 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33258
33259 ac_find_libraries=
33260 for ac_dir in $SEARCH_LIB;
33261 do
33262 for ac_extension in a so sl dylib dll.a; do
33263 if test -f "$ac_dir/libGLU.$ac_extension"; then
33264 ac_find_libraries=$ac_dir
33265 break 2
33266 fi
33267 done
33268 done
33269
33270 if test "$ac_find_libraries" != "" ; then
33271
33272 if test "$ac_find_libraries" = "default location"; then
33273 ac_path_to_link=""
33274 else
33275 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33276 result=$?
33277 if test $result = 0; then
33278 ac_path_to_link=""
33279 else
33280 ac_path_to_link=" -L$ac_find_libraries"
33281 fi
33282 fi
33283
33284 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33285 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33286 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33287 fi
33288
33289 found_gl=1
33290 OPENGL_LIBS="-lGL -lGLU"
33291 { echo "$as_me:$LINENO: result: yes" >&5
33292 echo "${ECHO_T}yes" >&6; }
33293 else
33294 { echo "$as_me:$LINENO: result: no" >&5
33295 echo "${ECHO_T}no" >&6; }
33296 fi
33297 else
33298 { echo "$as_me:$LINENO: result: no" >&5
33299 echo "${ECHO_T}no" >&6; }
33300 fi
33301
33302 if test "$found_gl" != 1; then
33303 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33304 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33305
33306 ac_find_libraries=
33307 for ac_dir in $SEARCH_LIB;
33308 do
33309 for ac_extension in a so sl dylib dll.a; do
33310 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33311 ac_find_libraries=$ac_dir
33312 break 2
33313 fi
33314 done
33315 done
33316
33317 if test "$ac_find_libraries" != "" ; then
33318
33319 if test "$ac_find_libraries" = "default location"; then
33320 ac_path_to_link=""
33321 else
33322 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33323 result=$?
33324 if test $result = 0; then
33325 ac_path_to_link=""
33326 else
33327 ac_path_to_link=" -L$ac_find_libraries"
33328 fi
33329 fi
33330
33331 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33332 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33333 { echo "$as_me:$LINENO: result: yes" >&5
33334 echo "${ECHO_T}yes" >&6; }
33335 else
33336 { echo "$as_me:$LINENO: result: no" >&5
33337 echo "${ECHO_T}no" >&6; }
33338 fi
33339 fi
33340
33341 fi
33342
33343
33344
33345 fi
33346
33347
33348
33349 if test "x$OPENGL_LIBS" = "x"; then
33350 if test "$wxUSE_OPENGL" = "yes"; then
33351 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33352 echo "$as_me: error: OpenGL libraries not available" >&2;}
33353 { (exit 1); exit 1; }; }
33354 else
33355 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33356 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33357 wxUSE_OPENGL=no
33358 USE_OPENGL=0
33359 fi
33360 else
33361 wxUSE_OPENGL=yes
33362 fi
33363 else
33364 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33365 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33366 wxUSE_OPENGL="no"
33367 fi
33368
33369 if test "$wxUSE_OPENGL" = "yes"; then
33370 USE_OPENGL=1
33371 cat >>confdefs.h <<\_ACEOF
33372 #define wxUSE_OPENGL 1
33373 _ACEOF
33374
33375 cat >>confdefs.h <<\_ACEOF
33376 #define wxUSE_GLCANVAS 1
33377 _ACEOF
33378
33379 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33380 fi
33381 fi
33382
33383
33384 if test -n "$TOOLKIT" ; then
33385 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33386 fi
33387
33388
33389
33390 if test "$wxUSE_SHARED" = "yes"; then
33391 case "${host}" in
33392 *-pc-msdosdjgpp )
33393 wxUSE_SHARED=no
33394 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33395 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33396 ;;
33397 esac
33398 fi
33399
33400 if test "$wxUSE_SHARED" = "yes"; then
33401
33402
33403 case "${host}" in
33404 *-*-cygwin* | *-*-mingw* )
33405 wx_cv_version_script=no
33406 ;;
33407
33408 *)
33409 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33410 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33411 if test "${wx_cv_version_script+set}" = set; then
33412 echo $ECHO_N "(cached) $ECHO_C" >&6
33413 else
33414
33415 echo "VER_1 { *; };" >conftest.sym
33416 echo "int main() { return 0; }" >conftest.cpp
33417
33418 if { ac_try='
33419 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33420 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33422 (eval $ac_try) 2>&5
33423 ac_status=$?
33424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33425 (exit $ac_status); }; } ; then
33426 if test -s conftest.stderr ; then
33427 wx_cv_version_script=no
33428 else
33429 wx_cv_version_script=yes
33430 fi
33431 else
33432 wx_cv_version_script=no
33433 fi
33434
33435 if test $wx_cv_version_script = yes
33436 then
33437 echo "struct B { virtual ~B() { } }; \
33438 struct D : public B { }; \
33439 void F() { D d; }" > conftest.cpp
33440
33441 if { ac_try='
33442 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33443 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33445 (eval $ac_try) 2>&5
33446 ac_status=$?
33447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33448 (exit $ac_status); }; } &&
33449 { ac_try='
33450 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33451 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33453 (eval $ac_try) 2>&5
33454 ac_status=$?
33455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33456 (exit $ac_status); }; }
33457 then
33458 if { ac_try='
33459 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33460 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33462 (eval $ac_try) 2>&5
33463 ac_status=$?
33464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33465 (exit $ac_status); }; }
33466 then
33467 wx_cv_version_script=yes
33468 else
33469 wx_cv_version_script=no
33470 fi
33471 fi
33472 fi
33473
33474 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33475 rm -f conftest1.output conftest2.output conftest3.output
33476
33477 fi
33478 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33479 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33480
33481 if test $wx_cv_version_script = yes ; then
33482 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33483 fi
33484 ;;
33485 esac
33486
33487
33488 if test "$wxUSE_VISIBILITY" != "no"; then
33489
33490
33491 if test -n "$GCC"; then
33492 CFLAGS_VISIBILITY="-fvisibility=hidden"
33493 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33494 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33495 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33496 if test "${wx_cv_cc_visibility+set}" = set; then
33497 echo $ECHO_N "(cached) $ECHO_C" >&6
33498 else
33499
33500 wx_save_CXXFLAGS="$CXXFLAGS"
33501 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33502 ac_ext=cpp
33503 ac_cpp='$CXXCPP $CPPFLAGS'
33504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33507
33508 cat >conftest.$ac_ext <<_ACEOF
33509 /* confdefs.h. */
33510 _ACEOF
33511 cat confdefs.h >>conftest.$ac_ext
33512 cat >>conftest.$ac_ext <<_ACEOF
33513 /* end confdefs.h. */
33514
33515 /* we need gcc >= 4.0, older versions with visibility support
33516 didn't have class visibility: */
33517 #if defined(__GNUC__) && __GNUC__ < 4
33518 error this gcc is too old;
33519 #endif
33520
33521 /* visibility only makes sense for ELF shared libs: */
33522 #if !defined(__ELF__) && !defined(__APPLE__)
33523 error this platform has no visibility;
33524 #endif
33525
33526 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33527 extern __attribute__((__visibility__("default"))) int exportedvar;
33528 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33529 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33530 class __attribute__((__visibility__("default"))) Foo {
33531 Foo() {}
33532 };
33533
33534 int
33535 main ()
33536 {
33537
33538 ;
33539 return 0;
33540 }
33541 _ACEOF
33542 rm -f conftest.$ac_objext
33543 if { (ac_try="$ac_compile"
33544 case "(($ac_try" in
33545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33546 *) ac_try_echo=$ac_try;;
33547 esac
33548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33549 (eval "$ac_compile") 2>conftest.er1
33550 ac_status=$?
33551 grep -v '^ *+' conftest.er1 >conftest.err
33552 rm -f conftest.er1
33553 cat conftest.err >&5
33554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33555 (exit $ac_status); } && {
33556 test -z "$ac_cxx_werror_flag" ||
33557 test ! -s conftest.err
33558 } && test -s conftest.$ac_objext; then
33559 wx_cv_cc_visibility=yes
33560 else
33561 echo "$as_me: failed program was:" >&5
33562 sed 's/^/| /' conftest.$ac_ext >&5
33563
33564 wx_cv_cc_visibility=no
33565 fi
33566
33567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33568 ac_ext=c
33569 ac_cpp='$CPP $CPPFLAGS'
33570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33573
33574 CXXFLAGS="$wx_save_CXXFLAGS"
33575 fi
33576
33577 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33578 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33579 if test $wx_cv_cc_visibility = yes; then
33580 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33581 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33582 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33583 echo $ECHO_N "(cached) $ECHO_C" >&6
33584 else
33585
33586 wx_save_CXXFLAGS="$CXXFLAGS"
33587 wx_save_LDFLAGS="$LDFLAGS"
33588 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33589 LDFLAGS="$LDFLAGS -shared -fPIC"
33590 ac_ext=cpp
33591 ac_cpp='$CXXCPP $CPPFLAGS'
33592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33595
33596 cat >conftest.$ac_ext <<_ACEOF
33597 /* confdefs.h. */
33598 _ACEOF
33599 cat confdefs.h >>conftest.$ac_ext
33600 cat >>conftest.$ac_ext <<_ACEOF
33601 /* end confdefs.h. */
33602
33603 #include <string>
33604
33605 int
33606 main ()
33607 {
33608
33609 std::string s("hello");
33610 return s.length();
33611
33612 ;
33613 return 0;
33614 }
33615 _ACEOF
33616 rm -f conftest.$ac_objext conftest$ac_exeext
33617 if { (ac_try="$ac_link"
33618 case "(($ac_try" in
33619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33620 *) ac_try_echo=$ac_try;;
33621 esac
33622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33623 (eval "$ac_link") 2>conftest.er1
33624 ac_status=$?
33625 grep -v '^ *+' conftest.er1 >conftest.err
33626 rm -f conftest.er1
33627 cat conftest.err >&5
33628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33629 (exit $ac_status); } && {
33630 test -z "$ac_cxx_werror_flag" ||
33631 test ! -s conftest.err
33632 } && test -s conftest$ac_exeext &&
33633 $as_test_x conftest$ac_exeext; then
33634 wx_cv_cc_broken_libstdcxx_visibility=no
33635 else
33636 echo "$as_me: failed program was:" >&5
33637 sed 's/^/| /' conftest.$ac_ext >&5
33638
33639 wx_cv_cc_broken_libstdcxx_visibility=yes
33640 fi
33641
33642 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33643 conftest$ac_exeext conftest.$ac_ext
33644 ac_ext=c
33645 ac_cpp='$CPP $CPPFLAGS'
33646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33649
33650 CXXFLAGS="$wx_save_CXXFLAGS"
33651 LDFLAGS="$wx_save_LDFLAGS"
33652 fi
33653
33654 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33655 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33656
33657 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33658 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33659 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33660 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33661 echo $ECHO_N "(cached) $ECHO_C" >&6
33662 else
33663
33664 ac_ext=cpp
33665 ac_cpp='$CXXCPP $CPPFLAGS'
33666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33669
33670 cat >conftest.$ac_ext <<_ACEOF
33671 /* confdefs.h. */
33672 _ACEOF
33673 cat confdefs.h >>conftest.$ac_ext
33674 cat >>conftest.$ac_ext <<_ACEOF
33675 /* end confdefs.h. */
33676
33677 #pragma GCC visibility push(default)
33678 #include <string>
33679 #pragma GCC visibility pop
33680
33681 int
33682 main ()
33683 {
33684
33685 std::string s("hello");
33686 return s.length();
33687
33688 ;
33689 return 0;
33690 }
33691 _ACEOF
33692 rm -f conftest.$ac_objext conftest$ac_exeext
33693 if { (ac_try="$ac_link"
33694 case "(($ac_try" in
33695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33696 *) ac_try_echo=$ac_try;;
33697 esac
33698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33699 (eval "$ac_link") 2>conftest.er1
33700 ac_status=$?
33701 grep -v '^ *+' conftest.er1 >conftest.err
33702 rm -f conftest.er1
33703 cat conftest.err >&5
33704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33705 (exit $ac_status); } && {
33706 test -z "$ac_cxx_werror_flag" ||
33707 test ! -s conftest.err
33708 } && test -s conftest$ac_exeext &&
33709 $as_test_x conftest$ac_exeext; then
33710 wx_cv_cc_visibility_workaround=no
33711 else
33712 echo "$as_me: failed program was:" >&5
33713 sed 's/^/| /' conftest.$ac_ext >&5
33714
33715 wx_cv_cc_visibility_workaround=yes
33716 fi
33717
33718 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33719 conftest$ac_exeext conftest.$ac_ext
33720 ac_ext=c
33721 ac_cpp='$CPP $CPPFLAGS'
33722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33725
33726
33727 fi
33728
33729 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33730 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33731
33732 if test $wx_cv_cc_visibility_workaround = no; then
33733 wx_cv_cc_visibility=no
33734 fi
33735 fi
33736 fi
33737
33738 if test $wx_cv_cc_visibility = yes; then
33739 cat >>confdefs.h <<\_ACEOF
33740 #define HAVE_VISIBILITY 1
33741 _ACEOF
33742
33743 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33744 cat >>confdefs.h <<\_ACEOF
33745 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33746 _ACEOF
33747
33748 fi
33749 else
33750 CFLAGS_VISIBILITY=""
33751 CXXFLAGS_VISIBILITY=""
33752 fi
33753
33754
33755 fi
33756
33757 fi
33758
33759 if test "x$SUNCXX" = xyes; then
33760 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33761 WXCONFIG_RPATH="-R\$libdir"
33762 else
33763 case "${host}" in
33764 *-*-linux* | *-*-gnu* )
33765 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33766 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33767 ;;
33768
33769 *-*-solaris2* )
33770
33771 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33772
33773 saveLdflags="$LDFLAGS"
33774 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33775 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33776 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33777 cat >conftest.$ac_ext <<_ACEOF
33778 /* confdefs.h. */
33779 _ACEOF
33780 cat confdefs.h >>conftest.$ac_ext
33781 cat >>conftest.$ac_ext <<_ACEOF
33782 /* end confdefs.h. */
33783
33784 int
33785 main ()
33786 {
33787
33788 ;
33789 return 0;
33790 }
33791 _ACEOF
33792 rm -f conftest.$ac_objext conftest$ac_exeext
33793 if { (ac_try="$ac_link"
33794 case "(($ac_try" in
33795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33796 *) ac_try_echo=$ac_try;;
33797 esac
33798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33799 (eval "$ac_link") 2>conftest.er1
33800 ac_status=$?
33801 grep -v '^ *+' conftest.er1 >conftest.err
33802 rm -f conftest.er1
33803 cat conftest.err >&5
33804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33805 (exit $ac_status); } && {
33806 test -z "$ac_c_werror_flag" ||
33807 test ! -s conftest.err
33808 } && test -s conftest$ac_exeext &&
33809 $as_test_x conftest$ac_exeext; then
33810
33811 { echo "$as_me:$LINENO: result: yes" >&5
33812 echo "${ECHO_T}yes" >&6; }
33813 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33814 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33815
33816 else
33817 echo "$as_me: failed program was:" >&5
33818 sed 's/^/| /' conftest.$ac_ext >&5
33819
33820
33821 { echo "$as_me:$LINENO: result: no" >&5
33822 echo "${ECHO_T}no" >&6; }
33823 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33824 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33825 LDFLAGS="$saveLdflags -Wl,-R,/"
33826 cat >conftest.$ac_ext <<_ACEOF
33827 /* confdefs.h. */
33828 _ACEOF
33829 cat confdefs.h >>conftest.$ac_ext
33830 cat >>conftest.$ac_ext <<_ACEOF
33831 /* end confdefs.h. */
33832
33833 int
33834 main ()
33835 {
33836
33837 ;
33838 return 0;
33839 }
33840 _ACEOF
33841 rm -f conftest.$ac_objext conftest$ac_exeext
33842 if { (ac_try="$ac_link"
33843 case "(($ac_try" in
33844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33845 *) ac_try_echo=$ac_try;;
33846 esac
33847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33848 (eval "$ac_link") 2>conftest.er1
33849 ac_status=$?
33850 grep -v '^ *+' conftest.er1 >conftest.err
33851 rm -f conftest.er1
33852 cat conftest.err >&5
33853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33854 (exit $ac_status); } && {
33855 test -z "$ac_c_werror_flag" ||
33856 test ! -s conftest.err
33857 } && test -s conftest$ac_exeext &&
33858 $as_test_x conftest$ac_exeext; then
33859
33860 { echo "$as_me:$LINENO: result: yes" >&5
33861 echo "${ECHO_T}yes" >&6; }
33862 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33863 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33864
33865 else
33866 echo "$as_me: failed program was:" >&5
33867 sed 's/^/| /' conftest.$ac_ext >&5
33868
33869
33870 { echo "$as_me:$LINENO: result: no" >&5
33871 echo "${ECHO_T}no" >&6; }
33872
33873 fi
33874
33875 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33876 conftest$ac_exeext conftest.$ac_ext
33877
33878 fi
33879
33880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33881 conftest$ac_exeext conftest.$ac_ext
33882 LDFLAGS="$saveLdflags"
33883 ;;
33884
33885 *-*-darwin* )
33886 install_name_tool=`which install_name_tool`
33887 if test "$install_name_tool" -a -x "$install_name_tool"; then
33888 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33889 cat <<EOF >change-install-names
33890 #!/bin/sh
33891 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33892 inst_cmd="install_name_tool "
33893 for i in \${libnames} ; do
33894 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33895 done
33896 \${inst_cmd} \${3}
33897 EOF
33898 chmod +x change-install-names
33899 fi
33900
33901 HEADER_PAD_OPTION="-headerpad_max_install_names"
33902 ;;
33903
33904 *-*-cygwin* | *-*-mingw32* )
33905 ;;
33906
33907 *-*-hpux* )
33908 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33909 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33910 ;;
33911
33912 esac
33913 fi
33914
33915 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33916
33917 if test $wxUSE_RPATH = "no"; then
33918 SAMPLES_RPATH_FLAG=''
33919 SAMPLES_RPATH_POSTLINK=''
33920 WXCONFIG_RPATH=''
33921 fi
33922
33923 SHARED=1
33924
33925 else
33926
33927 config_linkage_component="-static"
33928 SHARED=0
33929
33930 fi
33931
33932
33933 UNICODE=0
33934 lib_unicode_suffix=
33935 WX_CHARTYPE="ansi"
33936 if test "$wxUSE_UNICODE" = "yes"; then
33937 lib_unicode_suffix=u
33938 WX_CHARTYPE="unicode"
33939 UNICODE=1
33940 fi
33941
33942 lib_debug_suffix=
33943 WX_DEBUGTYPE="release"
33944 DEBUG_FLAG=0
33945 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33946 lib_debug_suffix=d
33947 WX_DEBUGTYPE="debug"
33948 DEBUG_FLAG=1
33949 fi
33950
33951 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33952 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33953
33954 DEBUG_INFO=0
33955 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33956 DEBUG_INFO=1
33957 fi
33958
33959 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33960
33961 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33962
33963 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33964
33965 if test "$cross_compiling" = "yes"; then
33966 HOST_SUFFIX="-$host_alias"
33967 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33968 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33969 fi
33970
33971
33972 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33973 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33974 else
33975 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33976 fi
33977 if test "${TOOLKIT_DIR}" = "os2"; then
33978 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33979 else
33980 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33981 fi
33982
33983
33984
33985 if test "$wxUSE_COCOA" = 1; then
33986
33987 ac_ext=c
33988 ac_cpp='$CPP $CPPFLAGS'
33989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33992
33993 ac_ext=m
33994
33995 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33996 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33997 cat >conftest.$ac_ext <<_ACEOF
33998 /* confdefs.h. */
33999 _ACEOF
34000 cat confdefs.h >>conftest.$ac_ext
34001 cat >>conftest.$ac_ext <<_ACEOF
34002 /* end confdefs.h. */
34003 #include <AppKit/NSEvent.h>
34004 #include <CoreFoundation/CoreFoundation.h>
34005
34006 int
34007 main ()
34008 {
34009
34010 ;
34011 return 0;
34012 }
34013 _ACEOF
34014 rm -f conftest.$ac_objext
34015 if { (ac_try="$ac_compile"
34016 case "(($ac_try" in
34017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34018 *) ac_try_echo=$ac_try;;
34019 esac
34020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34021 (eval "$ac_compile") 2>conftest.er1
34022 ac_status=$?
34023 grep -v '^ *+' conftest.er1 >conftest.err
34024 rm -f conftest.er1
34025 cat conftest.err >&5
34026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34027 (exit $ac_status); } && {
34028 test -z "$ac_c_werror_flag" ||
34029 test ! -s conftest.err
34030 } && test -s conftest.$ac_objext; then
34031 { echo "$as_me:$LINENO: result: no" >&5
34032 echo "${ECHO_T}no" >&6; }
34033 else
34034 echo "$as_me: failed program was:" >&5
34035 sed 's/^/| /' conftest.$ac_ext >&5
34036
34037 { echo "$as_me:$LINENO: result: yes" >&5
34038 echo "${ECHO_T}yes" >&6; }
34039 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34040 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34041 cat >conftest.$ac_ext <<_ACEOF
34042 /* confdefs.h. */
34043 _ACEOF
34044 cat confdefs.h >>conftest.$ac_ext
34045 cat >>conftest.$ac_ext <<_ACEOF
34046 /* end confdefs.h. */
34047 #define __Point__ 1
34048 #include <AppKit/NSEvent.h>
34049 #include <CoreFoundation/CoreFoundation.h>
34050
34051 int
34052 main ()
34053 {
34054
34055 ;
34056 return 0;
34057 }
34058 _ACEOF
34059 rm -f conftest.$ac_objext
34060 if { (ac_try="$ac_compile"
34061 case "(($ac_try" in
34062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34063 *) ac_try_echo=$ac_try;;
34064 esac
34065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34066 (eval "$ac_compile") 2>conftest.er1
34067 ac_status=$?
34068 grep -v '^ *+' conftest.er1 >conftest.err
34069 rm -f conftest.er1
34070 cat conftest.err >&5
34071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34072 (exit $ac_status); } && {
34073 test -z "$ac_c_werror_flag" ||
34074 test ! -s conftest.err
34075 } && test -s conftest.$ac_objext; then
34076 { echo "$as_me:$LINENO: result: yes" >&5
34077 echo "${ECHO_T}yes" >&6; }
34078 cat >>confdefs.h <<\_ACEOF
34079 #define __Point__ 1
34080 _ACEOF
34081
34082
34083 else
34084 echo "$as_me: failed program was:" >&5
34085 sed 's/^/| /' conftest.$ac_ext >&5
34086
34087 { { echo "$as_me:$LINENO: error: no
34088 See \`config.log' for more details." >&5
34089 echo "$as_me: error: no
34090 See \`config.log' for more details." >&2;}
34091 { (exit 1); exit 1; }; }
34092
34093 fi
34094
34095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34096
34097 fi
34098
34099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34100 ac_ext=c
34101 ac_cpp='$CPP $CPPFLAGS'
34102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34105
34106 fi
34107
34108
34109 { echo "$as_me:$LINENO: checking for mode_t" >&5
34110 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34111 if test "${ac_cv_type_mode_t+set}" = set; then
34112 echo $ECHO_N "(cached) $ECHO_C" >&6
34113 else
34114 cat >conftest.$ac_ext <<_ACEOF
34115 /* confdefs.h. */
34116 _ACEOF
34117 cat confdefs.h >>conftest.$ac_ext
34118 cat >>conftest.$ac_ext <<_ACEOF
34119 /* end confdefs.h. */
34120 $ac_includes_default
34121 typedef mode_t ac__type_new_;
34122 int
34123 main ()
34124 {
34125 if ((ac__type_new_ *) 0)
34126 return 0;
34127 if (sizeof (ac__type_new_))
34128 return 0;
34129 ;
34130 return 0;
34131 }
34132 _ACEOF
34133 rm -f conftest.$ac_objext
34134 if { (ac_try="$ac_compile"
34135 case "(($ac_try" in
34136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34137 *) ac_try_echo=$ac_try;;
34138 esac
34139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34140 (eval "$ac_compile") 2>conftest.er1
34141 ac_status=$?
34142 grep -v '^ *+' conftest.er1 >conftest.err
34143 rm -f conftest.er1
34144 cat conftest.err >&5
34145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34146 (exit $ac_status); } && {
34147 test -z "$ac_c_werror_flag" ||
34148 test ! -s conftest.err
34149 } && test -s conftest.$ac_objext; then
34150 ac_cv_type_mode_t=yes
34151 else
34152 echo "$as_me: failed program was:" >&5
34153 sed 's/^/| /' conftest.$ac_ext >&5
34154
34155 ac_cv_type_mode_t=no
34156 fi
34157
34158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34159 fi
34160 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34161 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34162 if test $ac_cv_type_mode_t = yes; then
34163 :
34164 else
34165
34166 cat >>confdefs.h <<_ACEOF
34167 #define mode_t int
34168 _ACEOF
34169
34170 fi
34171
34172 { echo "$as_me:$LINENO: checking for off_t" >&5
34173 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34174 if test "${ac_cv_type_off_t+set}" = set; then
34175 echo $ECHO_N "(cached) $ECHO_C" >&6
34176 else
34177 cat >conftest.$ac_ext <<_ACEOF
34178 /* confdefs.h. */
34179 _ACEOF
34180 cat confdefs.h >>conftest.$ac_ext
34181 cat >>conftest.$ac_ext <<_ACEOF
34182 /* end confdefs.h. */
34183 $ac_includes_default
34184 typedef off_t ac__type_new_;
34185 int
34186 main ()
34187 {
34188 if ((ac__type_new_ *) 0)
34189 return 0;
34190 if (sizeof (ac__type_new_))
34191 return 0;
34192 ;
34193 return 0;
34194 }
34195 _ACEOF
34196 rm -f conftest.$ac_objext
34197 if { (ac_try="$ac_compile"
34198 case "(($ac_try" in
34199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34200 *) ac_try_echo=$ac_try;;
34201 esac
34202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34203 (eval "$ac_compile") 2>conftest.er1
34204 ac_status=$?
34205 grep -v '^ *+' conftest.er1 >conftest.err
34206 rm -f conftest.er1
34207 cat conftest.err >&5
34208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34209 (exit $ac_status); } && {
34210 test -z "$ac_c_werror_flag" ||
34211 test ! -s conftest.err
34212 } && test -s conftest.$ac_objext; then
34213 ac_cv_type_off_t=yes
34214 else
34215 echo "$as_me: failed program was:" >&5
34216 sed 's/^/| /' conftest.$ac_ext >&5
34217
34218 ac_cv_type_off_t=no
34219 fi
34220
34221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34222 fi
34223 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34224 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34225 if test $ac_cv_type_off_t = yes; then
34226 :
34227 else
34228
34229 cat >>confdefs.h <<_ACEOF
34230 #define off_t long int
34231 _ACEOF
34232
34233 fi
34234
34235 { echo "$as_me:$LINENO: checking for pid_t" >&5
34236 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34237 if test "${ac_cv_type_pid_t+set}" = set; then
34238 echo $ECHO_N "(cached) $ECHO_C" >&6
34239 else
34240 cat >conftest.$ac_ext <<_ACEOF
34241 /* confdefs.h. */
34242 _ACEOF
34243 cat confdefs.h >>conftest.$ac_ext
34244 cat >>conftest.$ac_ext <<_ACEOF
34245 /* end confdefs.h. */
34246 $ac_includes_default
34247 typedef pid_t ac__type_new_;
34248 int
34249 main ()
34250 {
34251 if ((ac__type_new_ *) 0)
34252 return 0;
34253 if (sizeof (ac__type_new_))
34254 return 0;
34255 ;
34256 return 0;
34257 }
34258 _ACEOF
34259 rm -f conftest.$ac_objext
34260 if { (ac_try="$ac_compile"
34261 case "(($ac_try" in
34262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34263 *) ac_try_echo=$ac_try;;
34264 esac
34265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34266 (eval "$ac_compile") 2>conftest.er1
34267 ac_status=$?
34268 grep -v '^ *+' conftest.er1 >conftest.err
34269 rm -f conftest.er1
34270 cat conftest.err >&5
34271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34272 (exit $ac_status); } && {
34273 test -z "$ac_c_werror_flag" ||
34274 test ! -s conftest.err
34275 } && test -s conftest.$ac_objext; then
34276 ac_cv_type_pid_t=yes
34277 else
34278 echo "$as_me: failed program was:" >&5
34279 sed 's/^/| /' conftest.$ac_ext >&5
34280
34281 ac_cv_type_pid_t=no
34282 fi
34283
34284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34285 fi
34286 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34287 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34288 if test $ac_cv_type_pid_t = yes; then
34289 :
34290 else
34291
34292 cat >>confdefs.h <<_ACEOF
34293 #define pid_t int
34294 _ACEOF
34295
34296 fi
34297
34298 { echo "$as_me:$LINENO: checking for size_t" >&5
34299 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34300 if test "${ac_cv_type_size_t+set}" = set; then
34301 echo $ECHO_N "(cached) $ECHO_C" >&6
34302 else
34303 cat >conftest.$ac_ext <<_ACEOF
34304 /* confdefs.h. */
34305 _ACEOF
34306 cat confdefs.h >>conftest.$ac_ext
34307 cat >>conftest.$ac_ext <<_ACEOF
34308 /* end confdefs.h. */
34309 $ac_includes_default
34310 typedef size_t ac__type_new_;
34311 int
34312 main ()
34313 {
34314 if ((ac__type_new_ *) 0)
34315 return 0;
34316 if (sizeof (ac__type_new_))
34317 return 0;
34318 ;
34319 return 0;
34320 }
34321 _ACEOF
34322 rm -f conftest.$ac_objext
34323 if { (ac_try="$ac_compile"
34324 case "(($ac_try" in
34325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34326 *) ac_try_echo=$ac_try;;
34327 esac
34328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34329 (eval "$ac_compile") 2>conftest.er1
34330 ac_status=$?
34331 grep -v '^ *+' conftest.er1 >conftest.err
34332 rm -f conftest.er1
34333 cat conftest.err >&5
34334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34335 (exit $ac_status); } && {
34336 test -z "$ac_c_werror_flag" ||
34337 test ! -s conftest.err
34338 } && test -s conftest.$ac_objext; then
34339 ac_cv_type_size_t=yes
34340 else
34341 echo "$as_me: failed program was:" >&5
34342 sed 's/^/| /' conftest.$ac_ext >&5
34343
34344 ac_cv_type_size_t=no
34345 fi
34346
34347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34348 fi
34349 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34350 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34351 if test $ac_cv_type_size_t = yes; then
34352 :
34353 else
34354
34355 cat >>confdefs.h <<_ACEOF
34356 #define size_t unsigned int
34357 _ACEOF
34358
34359 fi
34360
34361
34362 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34363 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34364 if test "${ac_cv_type_ssize_t+set}" = set; then
34365 echo $ECHO_N "(cached) $ECHO_C" >&6
34366 else
34367 cat >conftest.$ac_ext <<_ACEOF
34368 /* confdefs.h. */
34369 _ACEOF
34370 cat confdefs.h >>conftest.$ac_ext
34371 cat >>conftest.$ac_ext <<_ACEOF
34372 /* end confdefs.h. */
34373 $ac_includes_default
34374 typedef ssize_t ac__type_new_;
34375 int
34376 main ()
34377 {
34378 if ((ac__type_new_ *) 0)
34379 return 0;
34380 if (sizeof (ac__type_new_))
34381 return 0;
34382 ;
34383 return 0;
34384 }
34385 _ACEOF
34386 rm -f conftest.$ac_objext
34387 if { (ac_try="$ac_compile"
34388 case "(($ac_try" in
34389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34390 *) ac_try_echo=$ac_try;;
34391 esac
34392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34393 (eval "$ac_compile") 2>conftest.er1
34394 ac_status=$?
34395 grep -v '^ *+' conftest.er1 >conftest.err
34396 rm -f conftest.er1
34397 cat conftest.err >&5
34398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34399 (exit $ac_status); } && {
34400 test -z "$ac_c_werror_flag" ||
34401 test ! -s conftest.err
34402 } && test -s conftest.$ac_objext; then
34403 ac_cv_type_ssize_t=yes
34404 else
34405 echo "$as_me: failed program was:" >&5
34406 sed 's/^/| /' conftest.$ac_ext >&5
34407
34408 ac_cv_type_ssize_t=no
34409 fi
34410
34411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34412 fi
34413 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34414 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34415 if test $ac_cv_type_ssize_t = yes; then
34416
34417 cat >>confdefs.h <<_ACEOF
34418 #define HAVE_SSIZE_T 1
34419 _ACEOF
34420
34421
34422 fi
34423
34424
34425 ac_ext=cpp
34426 ac_cpp='$CXXCPP $CPPFLAGS'
34427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34430 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34431 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34432 if test "${wx_cv_size_t_is_uint+set}" = set; then
34433 echo $ECHO_N "(cached) $ECHO_C" >&6
34434 else
34435
34436 cat >conftest.$ac_ext <<_ACEOF
34437 /* confdefs.h. */
34438 _ACEOF
34439 cat confdefs.h >>conftest.$ac_ext
34440 cat >>conftest.$ac_ext <<_ACEOF
34441 /* end confdefs.h. */
34442 #include <stddef.h>
34443 int
34444 main ()
34445 {
34446
34447 return 0; }
34448
34449 struct Foo { void foo(size_t); void foo(unsigned int); };
34450
34451 int bar() {
34452
34453 ;
34454 return 0;
34455 }
34456 _ACEOF
34457 rm -f conftest.$ac_objext
34458 if { (ac_try="$ac_compile"
34459 case "(($ac_try" in
34460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34461 *) ac_try_echo=$ac_try;;
34462 esac
34463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34464 (eval "$ac_compile") 2>conftest.er1
34465 ac_status=$?
34466 grep -v '^ *+' conftest.er1 >conftest.err
34467 rm -f conftest.er1
34468 cat conftest.err >&5
34469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34470 (exit $ac_status); } && {
34471 test -z "$ac_cxx_werror_flag" ||
34472 test ! -s conftest.err
34473 } && test -s conftest.$ac_objext; then
34474 wx_cv_size_t_is_uint=no
34475 else
34476 echo "$as_me: failed program was:" >&5
34477 sed 's/^/| /' conftest.$ac_ext >&5
34478
34479 wx_cv_size_t_is_uint=yes
34480
34481 fi
34482
34483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34484
34485
34486 fi
34487 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34488 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34489
34490 if test "$wx_cv_size_t_is_uint" = "yes"; then
34491 cat >>confdefs.h <<\_ACEOF
34492 #define wxSIZE_T_IS_UINT 1
34493 _ACEOF
34494
34495 else
34496 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34497 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34498 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34499 echo $ECHO_N "(cached) $ECHO_C" >&6
34500 else
34501 cat >conftest.$ac_ext <<_ACEOF
34502 /* confdefs.h. */
34503 _ACEOF
34504 cat confdefs.h >>conftest.$ac_ext
34505 cat >>conftest.$ac_ext <<_ACEOF
34506 /* end confdefs.h. */
34507 #include <stddef.h>
34508 int
34509 main ()
34510 {
34511
34512 return 0; }
34513
34514 struct Foo { void foo(size_t); void foo(unsigned long); };
34515
34516 int bar() {
34517
34518 ;
34519 return 0;
34520 }
34521 _ACEOF
34522 rm -f conftest.$ac_objext
34523 if { (ac_try="$ac_compile"
34524 case "(($ac_try" in
34525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34526 *) ac_try_echo=$ac_try;;
34527 esac
34528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34529 (eval "$ac_compile") 2>conftest.er1
34530 ac_status=$?
34531 grep -v '^ *+' conftest.er1 >conftest.err
34532 rm -f conftest.er1
34533 cat conftest.err >&5
34534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34535 (exit $ac_status); } && {
34536 test -z "$ac_cxx_werror_flag" ||
34537 test ! -s conftest.err
34538 } && test -s conftest.$ac_objext; then
34539 wx_cv_size_t_is_ulong=no
34540 else
34541 echo "$as_me: failed program was:" >&5
34542 sed 's/^/| /' conftest.$ac_ext >&5
34543
34544 wx_cv_size_t_is_ulong=yes
34545
34546 fi
34547
34548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34549
34550 fi
34551 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34552 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34553
34554 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34555 cat >>confdefs.h <<\_ACEOF
34556 #define wxSIZE_T_IS_ULONG 1
34557 _ACEOF
34558
34559 fi
34560 fi
34561
34562 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34563 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34564 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34565 echo $ECHO_N "(cached) $ECHO_C" >&6
34566 else
34567 cat >conftest.$ac_ext <<_ACEOF
34568 /* confdefs.h. */
34569 _ACEOF
34570 cat confdefs.h >>conftest.$ac_ext
34571 cat >>conftest.$ac_ext <<_ACEOF
34572 /* end confdefs.h. */
34573 #include <wchar.h>
34574 int
34575 main ()
34576 {
34577
34578 return 0; }
34579
34580 struct Foo { void foo(wchar_t);
34581 void foo(unsigned short);
34582 void foo(unsigned int);
34583 void foo(unsigned long); };
34584
34585 int bar() {
34586
34587 ;
34588 return 0;
34589 }
34590 _ACEOF
34591 rm -f conftest.$ac_objext
34592 if { (ac_try="$ac_compile"
34593 case "(($ac_try" in
34594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34595 *) ac_try_echo=$ac_try;;
34596 esac
34597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34598 (eval "$ac_compile") 2>conftest.er1
34599 ac_status=$?
34600 grep -v '^ *+' conftest.er1 >conftest.err
34601 rm -f conftest.er1
34602 cat conftest.err >&5
34603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34604 (exit $ac_status); } && {
34605 test -z "$ac_cxx_werror_flag" ||
34606 test ! -s conftest.err
34607 } && test -s conftest.$ac_objext; then
34608 wx_cv_wchar_t_is_separate_type=yes
34609 else
34610 echo "$as_me: failed program was:" >&5
34611 sed 's/^/| /' conftest.$ac_ext >&5
34612
34613 wx_cv_wchar_t_is_separate_type=no
34614
34615 fi
34616
34617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34618
34619 fi
34620 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34621 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34622
34623 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34624 cat >>confdefs.h <<\_ACEOF
34625 #define wxWCHAR_T_IS_REAL_TYPE 1
34626 _ACEOF
34627
34628 else
34629 cat >>confdefs.h <<\_ACEOF
34630 #define wxWCHAR_T_IS_REAL_TYPE 0
34631 _ACEOF
34632
34633 fi
34634
34635 ac_ext=c
34636 ac_cpp='$CPP $CPPFLAGS'
34637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34640
34641
34642 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34643 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34644 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34645 echo $ECHO_N "(cached) $ECHO_C" >&6
34646 else
34647
34648 cat >conftest.$ac_ext <<_ACEOF
34649 /* confdefs.h. */
34650 _ACEOF
34651 cat confdefs.h >>conftest.$ac_ext
34652 cat >>conftest.$ac_ext <<_ACEOF
34653 /* end confdefs.h. */
34654 #include <pwd.h>
34655 int
34656 main ()
34657 {
34658
34659 char *p;
34660 struct passwd *pw;
34661 p = pw->pw_gecos;
34662
34663 ;
34664 return 0;
34665 }
34666 _ACEOF
34667 rm -f conftest.$ac_objext
34668 if { (ac_try="$ac_compile"
34669 case "(($ac_try" in
34670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34671 *) ac_try_echo=$ac_try;;
34672 esac
34673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34674 (eval "$ac_compile") 2>conftest.er1
34675 ac_status=$?
34676 grep -v '^ *+' conftest.er1 >conftest.err
34677 rm -f conftest.er1
34678 cat conftest.err >&5
34679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34680 (exit $ac_status); } && {
34681 test -z "$ac_c_werror_flag" ||
34682 test ! -s conftest.err
34683 } && test -s conftest.$ac_objext; then
34684
34685 wx_cv_struct_pw_gecos=yes
34686
34687 else
34688 echo "$as_me: failed program was:" >&5
34689 sed 's/^/| /' conftest.$ac_ext >&5
34690
34691
34692 wx_cv_struct_pw_gecos=no
34693
34694
34695 fi
34696
34697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34698
34699
34700 fi
34701 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34702 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34703
34704 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34705 cat >>confdefs.h <<\_ACEOF
34706 #define HAVE_PW_GECOS 1
34707 _ACEOF
34708
34709 fi
34710
34711
34712 if test "$wxUSE_WCHAR_T" = "yes"; then
34713 cat >>confdefs.h <<\_ACEOF
34714 #define wxUSE_WCHAR_T 1
34715 _ACEOF
34716
34717
34718 WCSLEN_FOUND=0
34719 WCHAR_LINK=
34720
34721 for ac_func in wcslen
34722 do
34723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34724 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34726 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34727 echo $ECHO_N "(cached) $ECHO_C" >&6
34728 else
34729 cat >conftest.$ac_ext <<_ACEOF
34730 /* confdefs.h. */
34731 _ACEOF
34732 cat confdefs.h >>conftest.$ac_ext
34733 cat >>conftest.$ac_ext <<_ACEOF
34734 /* end confdefs.h. */
34735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34737 #define $ac_func innocuous_$ac_func
34738
34739 /* System header to define __stub macros and hopefully few prototypes,
34740 which can conflict with char $ac_func (); below.
34741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34742 <limits.h> exists even on freestanding compilers. */
34743
34744 #ifdef __STDC__
34745 # include <limits.h>
34746 #else
34747 # include <assert.h>
34748 #endif
34749
34750 #undef $ac_func
34751
34752 /* Override any GCC internal prototype to avoid an error.
34753 Use char because int might match the return type of a GCC
34754 builtin and then its argument prototype would still apply. */
34755 #ifdef __cplusplus
34756 extern "C"
34757 #endif
34758 char $ac_func ();
34759 /* The GNU C library defines this for functions which it implements
34760 to always fail with ENOSYS. Some functions are actually named
34761 something starting with __ and the normal name is an alias. */
34762 #if defined __stub_$ac_func || defined __stub___$ac_func
34763 choke me
34764 #endif
34765
34766 int
34767 main ()
34768 {
34769 return $ac_func ();
34770 ;
34771 return 0;
34772 }
34773 _ACEOF
34774 rm -f conftest.$ac_objext conftest$ac_exeext
34775 if { (ac_try="$ac_link"
34776 case "(($ac_try" in
34777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34778 *) ac_try_echo=$ac_try;;
34779 esac
34780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34781 (eval "$ac_link") 2>conftest.er1
34782 ac_status=$?
34783 grep -v '^ *+' conftest.er1 >conftest.err
34784 rm -f conftest.er1
34785 cat conftest.err >&5
34786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34787 (exit $ac_status); } && {
34788 test -z "$ac_c_werror_flag" ||
34789 test ! -s conftest.err
34790 } && test -s conftest$ac_exeext &&
34791 $as_test_x conftest$ac_exeext; then
34792 eval "$as_ac_var=yes"
34793 else
34794 echo "$as_me: failed program was:" >&5
34795 sed 's/^/| /' conftest.$ac_ext >&5
34796
34797 eval "$as_ac_var=no"
34798 fi
34799
34800 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34801 conftest$ac_exeext conftest.$ac_ext
34802 fi
34803 ac_res=`eval echo '${'$as_ac_var'}'`
34804 { echo "$as_me:$LINENO: result: $ac_res" >&5
34805 echo "${ECHO_T}$ac_res" >&6; }
34806 if test `eval echo '${'$as_ac_var'}'` = yes; then
34807 cat >>confdefs.h <<_ACEOF
34808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34809 _ACEOF
34810 WCSLEN_FOUND=1
34811 fi
34812 done
34813
34814
34815 if test "$WCSLEN_FOUND" = 0; then
34816 if test "$TOOLKIT" = "MSW"; then
34817 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34818 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34819 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34820 echo $ECHO_N "(cached) $ECHO_C" >&6
34821 else
34822 ac_check_lib_save_LIBS=$LIBS
34823 LIBS="-lmsvcrt $LIBS"
34824 cat >conftest.$ac_ext <<_ACEOF
34825 /* confdefs.h. */
34826 _ACEOF
34827 cat confdefs.h >>conftest.$ac_ext
34828 cat >>conftest.$ac_ext <<_ACEOF
34829 /* end confdefs.h. */
34830
34831 /* Override any GCC internal prototype to avoid an error.
34832 Use char because int might match the return type of a GCC
34833 builtin and then its argument prototype would still apply. */
34834 #ifdef __cplusplus
34835 extern "C"
34836 #endif
34837 char wcslen ();
34838 int
34839 main ()
34840 {
34841 return wcslen ();
34842 ;
34843 return 0;
34844 }
34845 _ACEOF
34846 rm -f conftest.$ac_objext conftest$ac_exeext
34847 if { (ac_try="$ac_link"
34848 case "(($ac_try" in
34849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34850 *) ac_try_echo=$ac_try;;
34851 esac
34852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34853 (eval "$ac_link") 2>conftest.er1
34854 ac_status=$?
34855 grep -v '^ *+' conftest.er1 >conftest.err
34856 rm -f conftest.er1
34857 cat conftest.err >&5
34858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34859 (exit $ac_status); } && {
34860 test -z "$ac_c_werror_flag" ||
34861 test ! -s conftest.err
34862 } && test -s conftest$ac_exeext &&
34863 $as_test_x conftest$ac_exeext; then
34864 ac_cv_lib_msvcrt_wcslen=yes
34865 else
34866 echo "$as_me: failed program was:" >&5
34867 sed 's/^/| /' conftest.$ac_ext >&5
34868
34869 ac_cv_lib_msvcrt_wcslen=no
34870 fi
34871
34872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34873 conftest$ac_exeext conftest.$ac_ext
34874 LIBS=$ac_check_lib_save_LIBS
34875 fi
34876 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34877 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34878 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34879 WCHAR_OK=1
34880 fi
34881
34882 else
34883 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34884 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34885 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34886 echo $ECHO_N "(cached) $ECHO_C" >&6
34887 else
34888 ac_check_lib_save_LIBS=$LIBS
34889 LIBS="-lw $LIBS"
34890 cat >conftest.$ac_ext <<_ACEOF
34891 /* confdefs.h. */
34892 _ACEOF
34893 cat confdefs.h >>conftest.$ac_ext
34894 cat >>conftest.$ac_ext <<_ACEOF
34895 /* end confdefs.h. */
34896
34897 /* Override any GCC internal prototype to avoid an error.
34898 Use char because int might match the return type of a GCC
34899 builtin and then its argument prototype would still apply. */
34900 #ifdef __cplusplus
34901 extern "C"
34902 #endif
34903 char wcslen ();
34904 int
34905 main ()
34906 {
34907 return wcslen ();
34908 ;
34909 return 0;
34910 }
34911 _ACEOF
34912 rm -f conftest.$ac_objext conftest$ac_exeext
34913 if { (ac_try="$ac_link"
34914 case "(($ac_try" in
34915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34916 *) ac_try_echo=$ac_try;;
34917 esac
34918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34919 (eval "$ac_link") 2>conftest.er1
34920 ac_status=$?
34921 grep -v '^ *+' conftest.er1 >conftest.err
34922 rm -f conftest.er1
34923 cat conftest.err >&5
34924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34925 (exit $ac_status); } && {
34926 test -z "$ac_c_werror_flag" ||
34927 test ! -s conftest.err
34928 } && test -s conftest$ac_exeext &&
34929 $as_test_x conftest$ac_exeext; then
34930 ac_cv_lib_w_wcslen=yes
34931 else
34932 echo "$as_me: failed program was:" >&5
34933 sed 's/^/| /' conftest.$ac_ext >&5
34934
34935 ac_cv_lib_w_wcslen=no
34936 fi
34937
34938 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34939 conftest$ac_exeext conftest.$ac_ext
34940 LIBS=$ac_check_lib_save_LIBS
34941 fi
34942 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34943 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34944 if test $ac_cv_lib_w_wcslen = yes; then
34945
34946 WCHAR_LINK=" -lw"
34947 WCSLEN_FOUND=1
34948
34949 fi
34950
34951 fi
34952 fi
34953
34954 if test "$WCSLEN_FOUND" = 1; then
34955 cat >>confdefs.h <<\_ACEOF
34956 #define HAVE_WCSLEN 1
34957 _ACEOF
34958
34959 fi
34960
34961
34962
34963
34964
34965
34966 for ac_func in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
34967 do
34968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34969 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34971 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34972 echo $ECHO_N "(cached) $ECHO_C" >&6
34973 else
34974 cat >conftest.$ac_ext <<_ACEOF
34975 /* confdefs.h. */
34976 _ACEOF
34977 cat confdefs.h >>conftest.$ac_ext
34978 cat >>conftest.$ac_ext <<_ACEOF
34979 /* end confdefs.h. */
34980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34982 #define $ac_func innocuous_$ac_func
34983
34984 /* System header to define __stub macros and hopefully few prototypes,
34985 which can conflict with char $ac_func (); below.
34986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34987 <limits.h> exists even on freestanding compilers. */
34988
34989 #ifdef __STDC__
34990 # include <limits.h>
34991 #else
34992 # include <assert.h>
34993 #endif
34994
34995 #undef $ac_func
34996
34997 /* Override any GCC internal prototype to avoid an error.
34998 Use char because int might match the return type of a GCC
34999 builtin and then its argument prototype would still apply. */
35000 #ifdef __cplusplus
35001 extern "C"
35002 #endif
35003 char $ac_func ();
35004 /* The GNU C library defines this for functions which it implements
35005 to always fail with ENOSYS. Some functions are actually named
35006 something starting with __ and the normal name is an alias. */
35007 #if defined __stub_$ac_func || defined __stub___$ac_func
35008 choke me
35009 #endif
35010
35011 int
35012 main ()
35013 {
35014 return $ac_func ();
35015 ;
35016 return 0;
35017 }
35018 _ACEOF
35019 rm -f conftest.$ac_objext conftest$ac_exeext
35020 if { (ac_try="$ac_link"
35021 case "(($ac_try" in
35022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35023 *) ac_try_echo=$ac_try;;
35024 esac
35025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35026 (eval "$ac_link") 2>conftest.er1
35027 ac_status=$?
35028 grep -v '^ *+' conftest.er1 >conftest.err
35029 rm -f conftest.er1
35030 cat conftest.err >&5
35031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35032 (exit $ac_status); } && {
35033 test -z "$ac_c_werror_flag" ||
35034 test ! -s conftest.err
35035 } && test -s conftest$ac_exeext &&
35036 $as_test_x conftest$ac_exeext; then
35037 eval "$as_ac_var=yes"
35038 else
35039 echo "$as_me: failed program was:" >&5
35040 sed 's/^/| /' conftest.$ac_ext >&5
35041
35042 eval "$as_ac_var=no"
35043 fi
35044
35045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35046 conftest$ac_exeext conftest.$ac_ext
35047 fi
35048 ac_res=`eval echo '${'$as_ac_var'}'`
35049 { echo "$as_me:$LINENO: result: $ac_res" >&5
35050 echo "${ECHO_T}$ac_res" >&6; }
35051 if test `eval echo '${'$as_ac_var'}'` = yes; then
35052 cat >>confdefs.h <<_ACEOF
35053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35054 _ACEOF
35055
35056 fi
35057 done
35058
35059
35060 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35061 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35062 fi
35063
35064 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35065 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35066 if test "${ac_cv_type_mbstate_t+set}" = set; then
35067 echo $ECHO_N "(cached) $ECHO_C" >&6
35068 else
35069 cat >conftest.$ac_ext <<_ACEOF
35070 /* confdefs.h. */
35071 _ACEOF
35072 cat confdefs.h >>conftest.$ac_ext
35073 cat >>conftest.$ac_ext <<_ACEOF
35074 /* end confdefs.h. */
35075 #include <wchar.h>
35076
35077 typedef mbstate_t ac__type_new_;
35078 int
35079 main ()
35080 {
35081 if ((ac__type_new_ *) 0)
35082 return 0;
35083 if (sizeof (ac__type_new_))
35084 return 0;
35085 ;
35086 return 0;
35087 }
35088 _ACEOF
35089 rm -f conftest.$ac_objext
35090 if { (ac_try="$ac_compile"
35091 case "(($ac_try" in
35092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35093 *) ac_try_echo=$ac_try;;
35094 esac
35095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35096 (eval "$ac_compile") 2>conftest.er1
35097 ac_status=$?
35098 grep -v '^ *+' conftest.er1 >conftest.err
35099 rm -f conftest.er1
35100 cat conftest.err >&5
35101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35102 (exit $ac_status); } && {
35103 test -z "$ac_c_werror_flag" ||
35104 test ! -s conftest.err
35105 } && test -s conftest.$ac_objext; then
35106 ac_cv_type_mbstate_t=yes
35107 else
35108 echo "$as_me: failed program was:" >&5
35109 sed 's/^/| /' conftest.$ac_ext >&5
35110
35111 ac_cv_type_mbstate_t=no
35112 fi
35113
35114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35115 fi
35116 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35117 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35118 if test $ac_cv_type_mbstate_t = yes; then
35119
35120 cat >>confdefs.h <<_ACEOF
35121 #define HAVE_MBSTATE_T 1
35122 _ACEOF
35123
35124
35125 for ac_func in wcsrtombs
35126 do
35127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35128 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35130 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35131 echo $ECHO_N "(cached) $ECHO_C" >&6
35132 else
35133 cat >conftest.$ac_ext <<_ACEOF
35134 /* confdefs.h. */
35135 _ACEOF
35136 cat confdefs.h >>conftest.$ac_ext
35137 cat >>conftest.$ac_ext <<_ACEOF
35138 /* end confdefs.h. */
35139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35141 #define $ac_func innocuous_$ac_func
35142
35143 /* System header to define __stub macros and hopefully few prototypes,
35144 which can conflict with char $ac_func (); below.
35145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35146 <limits.h> exists even on freestanding compilers. */
35147
35148 #ifdef __STDC__
35149 # include <limits.h>
35150 #else
35151 # include <assert.h>
35152 #endif
35153
35154 #undef $ac_func
35155
35156 /* Override any GCC internal prototype to avoid an error.
35157 Use char because int might match the return type of a GCC
35158 builtin and then its argument prototype would still apply. */
35159 #ifdef __cplusplus
35160 extern "C"
35161 #endif
35162 char $ac_func ();
35163 /* The GNU C library defines this for functions which it implements
35164 to always fail with ENOSYS. Some functions are actually named
35165 something starting with __ and the normal name is an alias. */
35166 #if defined __stub_$ac_func || defined __stub___$ac_func
35167 choke me
35168 #endif
35169
35170 int
35171 main ()
35172 {
35173 return $ac_func ();
35174 ;
35175 return 0;
35176 }
35177 _ACEOF
35178 rm -f conftest.$ac_objext conftest$ac_exeext
35179 if { (ac_try="$ac_link"
35180 case "(($ac_try" in
35181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35182 *) ac_try_echo=$ac_try;;
35183 esac
35184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35185 (eval "$ac_link") 2>conftest.er1
35186 ac_status=$?
35187 grep -v '^ *+' conftest.er1 >conftest.err
35188 rm -f conftest.er1
35189 cat conftest.err >&5
35190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35191 (exit $ac_status); } && {
35192 test -z "$ac_c_werror_flag" ||
35193 test ! -s conftest.err
35194 } && test -s conftest$ac_exeext &&
35195 $as_test_x conftest$ac_exeext; then
35196 eval "$as_ac_var=yes"
35197 else
35198 echo "$as_me: failed program was:" >&5
35199 sed 's/^/| /' conftest.$ac_ext >&5
35200
35201 eval "$as_ac_var=no"
35202 fi
35203
35204 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35205 conftest$ac_exeext conftest.$ac_ext
35206 fi
35207 ac_res=`eval echo '${'$as_ac_var'}'`
35208 { echo "$as_me:$LINENO: result: $ac_res" >&5
35209 echo "${ECHO_T}$ac_res" >&6; }
35210 if test `eval echo '${'$as_ac_var'}'` = yes; then
35211 cat >>confdefs.h <<_ACEOF
35212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35213 _ACEOF
35214
35215 fi
35216 done
35217
35218 fi
35219
35220 else
35221 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35222 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35223 fi
35224
35225
35226
35227
35228 for ac_func in snprintf vsnprintf vsscanf
35229 do
35230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35231 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35233 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35234 echo $ECHO_N "(cached) $ECHO_C" >&6
35235 else
35236 cat >conftest.$ac_ext <<_ACEOF
35237 /* confdefs.h. */
35238 _ACEOF
35239 cat confdefs.h >>conftest.$ac_ext
35240 cat >>conftest.$ac_ext <<_ACEOF
35241 /* end confdefs.h. */
35242 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35243 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35244 #define $ac_func innocuous_$ac_func
35245
35246 /* System header to define __stub macros and hopefully few prototypes,
35247 which can conflict with char $ac_func (); below.
35248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35249 <limits.h> exists even on freestanding compilers. */
35250
35251 #ifdef __STDC__
35252 # include <limits.h>
35253 #else
35254 # include <assert.h>
35255 #endif
35256
35257 #undef $ac_func
35258
35259 /* Override any GCC internal prototype to avoid an error.
35260 Use char because int might match the return type of a GCC
35261 builtin and then its argument prototype would still apply. */
35262 #ifdef __cplusplus
35263 extern "C"
35264 #endif
35265 char $ac_func ();
35266 /* The GNU C library defines this for functions which it implements
35267 to always fail with ENOSYS. Some functions are actually named
35268 something starting with __ and the normal name is an alias. */
35269 #if defined __stub_$ac_func || defined __stub___$ac_func
35270 choke me
35271 #endif
35272
35273 int
35274 main ()
35275 {
35276 return $ac_func ();
35277 ;
35278 return 0;
35279 }
35280 _ACEOF
35281 rm -f conftest.$ac_objext conftest$ac_exeext
35282 if { (ac_try="$ac_link"
35283 case "(($ac_try" in
35284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35285 *) ac_try_echo=$ac_try;;
35286 esac
35287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35288 (eval "$ac_link") 2>conftest.er1
35289 ac_status=$?
35290 grep -v '^ *+' conftest.er1 >conftest.err
35291 rm -f conftest.er1
35292 cat conftest.err >&5
35293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35294 (exit $ac_status); } && {
35295 test -z "$ac_c_werror_flag" ||
35296 test ! -s conftest.err
35297 } && test -s conftest$ac_exeext &&
35298 $as_test_x conftest$ac_exeext; then
35299 eval "$as_ac_var=yes"
35300 else
35301 echo "$as_me: failed program was:" >&5
35302 sed 's/^/| /' conftest.$ac_ext >&5
35303
35304 eval "$as_ac_var=no"
35305 fi
35306
35307 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35308 conftest$ac_exeext conftest.$ac_ext
35309 fi
35310 ac_res=`eval echo '${'$as_ac_var'}'`
35311 { echo "$as_me:$LINENO: result: $ac_res" >&5
35312 echo "${ECHO_T}$ac_res" >&6; }
35313 if test `eval echo '${'$as_ac_var'}'` = yes; then
35314 cat >>confdefs.h <<_ACEOF
35315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35316 _ACEOF
35317
35318 fi
35319 done
35320
35321
35322 ac_ext=cpp
35323 ac_cpp='$CXXCPP $CPPFLAGS'
35324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35327
35328 if test "$ac_cv_func_vsnprintf" = "yes"; then
35329 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35330 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35331 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35332 echo $ECHO_N "(cached) $ECHO_C" >&6
35333 else
35334
35335 cat >conftest.$ac_ext <<_ACEOF
35336 /* confdefs.h. */
35337 _ACEOF
35338 cat confdefs.h >>conftest.$ac_ext
35339 cat >>conftest.$ac_ext <<_ACEOF
35340 /* end confdefs.h. */
35341
35342 #include <stdio.h>
35343 #include <stdarg.h>
35344 #ifdef __MSL__
35345 #if __MSL__ >= 0x6000
35346 namespace std {}
35347 using namespace std;
35348 #endif
35349 #endif
35350
35351 int
35352 main ()
35353 {
35354
35355 char *buf;
35356 va_list ap;
35357 vsnprintf(buf, 10u, "%s", ap);
35358
35359 ;
35360 return 0;
35361 }
35362 _ACEOF
35363 rm -f conftest.$ac_objext
35364 if { (ac_try="$ac_compile"
35365 case "(($ac_try" in
35366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35367 *) ac_try_echo=$ac_try;;
35368 esac
35369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35370 (eval "$ac_compile") 2>conftest.er1
35371 ac_status=$?
35372 grep -v '^ *+' conftest.er1 >conftest.err
35373 rm -f conftest.er1
35374 cat conftest.err >&5
35375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35376 (exit $ac_status); } && {
35377 test -z "$ac_cxx_werror_flag" ||
35378 test ! -s conftest.err
35379 } && test -s conftest.$ac_objext; then
35380 wx_cv_func_vsnprintf_decl=yes
35381 else
35382 echo "$as_me: failed program was:" >&5
35383 sed 's/^/| /' conftest.$ac_ext >&5
35384
35385 wx_cv_func_vsnprintf_decl=no
35386
35387 fi
35388
35389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35390
35391
35392 fi
35393 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35394 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35395
35396 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35397 cat >>confdefs.h <<\_ACEOF
35398 #define HAVE_VSNPRINTF_DECL 1
35399 _ACEOF
35400
35401
35402 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35403 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35404 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35405 echo $ECHO_N "(cached) $ECHO_C" >&6
35406 else
35407
35408 cat >conftest.$ac_ext <<_ACEOF
35409 /* confdefs.h. */
35410 _ACEOF
35411 cat confdefs.h >>conftest.$ac_ext
35412 cat >>conftest.$ac_ext <<_ACEOF
35413 /* end confdefs.h. */
35414
35415 #include <stdio.h>
35416 #include <stdarg.h>
35417 #ifdef __MSL__
35418 #if __MSL__ >= 0x6000
35419 namespace std {}
35420 using namespace std;
35421 #endif
35422 #endif
35423
35424 int
35425 main ()
35426 {
35427
35428 char *buf;
35429 va_list ap;
35430 const char *fmt = "%s";
35431 vsnprintf(buf, 10u, fmt, ap);
35432
35433 ;
35434 return 0;
35435 }
35436 _ACEOF
35437 rm -f conftest.$ac_objext
35438 if { (ac_try="$ac_compile"
35439 case "(($ac_try" in
35440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35441 *) ac_try_echo=$ac_try;;
35442 esac
35443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35444 (eval "$ac_compile") 2>conftest.er1
35445 ac_status=$?
35446 grep -v '^ *+' conftest.er1 >conftest.err
35447 rm -f conftest.er1
35448 cat conftest.err >&5
35449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35450 (exit $ac_status); } && {
35451 test -z "$ac_cxx_werror_flag" ||
35452 test ! -s conftest.err
35453 } && test -s conftest.$ac_objext; then
35454 wx_cv_func_broken_vsnprintf_decl=no
35455 else
35456 echo "$as_me: failed program was:" >&5
35457 sed 's/^/| /' conftest.$ac_ext >&5
35458
35459 wx_cv_func_broken_vsnprintf_decl=yes
35460
35461 fi
35462
35463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35464
35465
35466 fi
35467 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35468 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35469
35470 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35471 cat >>confdefs.h <<\_ACEOF
35472 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35473 _ACEOF
35474
35475 fi
35476 fi
35477 fi
35478
35479 if test "$ac_cv_func_snprintf" = "yes"; then
35480 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35481 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35482 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35483 echo $ECHO_N "(cached) $ECHO_C" >&6
35484 else
35485
35486 cat >conftest.$ac_ext <<_ACEOF
35487 /* confdefs.h. */
35488 _ACEOF
35489 cat confdefs.h >>conftest.$ac_ext
35490 cat >>conftest.$ac_ext <<_ACEOF
35491 /* end confdefs.h. */
35492
35493 #include <stdio.h>
35494 #include <stdarg.h>
35495 #ifdef __MSL__
35496 #if __MSL__ >= 0x6000
35497 namespace std {}
35498 using namespace std;
35499 #endif
35500 #endif
35501
35502 int
35503 main ()
35504 {
35505
35506 char *buf;
35507 snprintf(buf, 10u, "%s", "wx");
35508
35509 ;
35510 return 0;
35511 }
35512 _ACEOF
35513 rm -f conftest.$ac_objext
35514 if { (ac_try="$ac_compile"
35515 case "(($ac_try" in
35516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35517 *) ac_try_echo=$ac_try;;
35518 esac
35519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35520 (eval "$ac_compile") 2>conftest.er1
35521 ac_status=$?
35522 grep -v '^ *+' conftest.er1 >conftest.err
35523 rm -f conftest.er1
35524 cat conftest.err >&5
35525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35526 (exit $ac_status); } && {
35527 test -z "$ac_cxx_werror_flag" ||
35528 test ! -s conftest.err
35529 } && test -s conftest.$ac_objext; then
35530 wx_cv_func_snprintf_decl=yes
35531 else
35532 echo "$as_me: failed program was:" >&5
35533 sed 's/^/| /' conftest.$ac_ext >&5
35534
35535 wx_cv_func_snprintf_decl=no
35536
35537 fi
35538
35539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35540
35541
35542 fi
35543 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35544 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35545
35546 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35547 cat >>confdefs.h <<\_ACEOF
35548 #define HAVE_SNPRINTF_DECL 1
35549 _ACEOF
35550
35551 fi
35552
35553 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35554
35555 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35556 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35557 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35558 echo $ECHO_N "(cached) $ECHO_C" >&6
35559 else
35560
35561 if test "$cross_compiling" = yes; then
35562
35563 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35564 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35565 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35566 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35567 wx_cv_func_snprintf_pos_params=no
35568
35569
35570 else
35571 cat >conftest.$ac_ext <<_ACEOF
35572 /* confdefs.h. */
35573 _ACEOF
35574 cat confdefs.h >>conftest.$ac_ext
35575 cat >>conftest.$ac_ext <<_ACEOF
35576 /* end confdefs.h. */
35577
35578 #include <stdio.h>
35579
35580 int main (void)
35581 {
35582 char buffer[128];
35583 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35584 if (strcmp ("2 3 1", buffer) == 0)
35585 exit (0);
35586 exit (1);
35587 }
35588
35589 _ACEOF
35590 rm -f conftest$ac_exeext
35591 if { (ac_try="$ac_link"
35592 case "(($ac_try" in
35593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35594 *) ac_try_echo=$ac_try;;
35595 esac
35596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35597 (eval "$ac_link") 2>&5
35598 ac_status=$?
35599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35600 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35601 { (case "(($ac_try" in
35602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35603 *) ac_try_echo=$ac_try;;
35604 esac
35605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35606 (eval "$ac_try") 2>&5
35607 ac_status=$?
35608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35609 (exit $ac_status); }; }; then
35610 wx_cv_func_snprintf_pos_params=no
35611 else
35612 echo "$as_me: program exited with status $ac_status" >&5
35613 echo "$as_me: failed program was:" >&5
35614 sed 's/^/| /' conftest.$ac_ext >&5
35615
35616 ( exit $ac_status )
35617 wx_cv_func_snprintf_pos_params=yes
35618 fi
35619 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35620 fi
35621
35622
35623
35624
35625 fi
35626 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35627 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35628
35629 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35630 cat >>confdefs.h <<\_ACEOF
35631 #define HAVE_UNIX98_PRINTF 1
35632 _ACEOF
35633
35634 fi
35635 fi
35636 fi
35637
35638 if test "$ac_cv_func_vsscanf" = "yes"; then
35639 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35640 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35641 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35642 echo $ECHO_N "(cached) $ECHO_C" >&6
35643 else
35644
35645 cat >conftest.$ac_ext <<_ACEOF
35646 /* confdefs.h. */
35647 _ACEOF
35648 cat confdefs.h >>conftest.$ac_ext
35649 cat >>conftest.$ac_ext <<_ACEOF
35650 /* end confdefs.h. */
35651
35652 #include <stdio.h>
35653 #include <stdarg.h>
35654 #ifdef __MSL__
35655 #if __MSL__ >= 0x6000
35656 namespace std {}
35657 using namespace std;
35658 #endif
35659 #endif
35660
35661 int
35662 main ()
35663 {
35664
35665 char *buf;
35666 va_list args;
35667 vsscanf(buf, "%s", args);
35668
35669 ;
35670 return 0;
35671 }
35672 _ACEOF
35673 rm -f conftest.$ac_objext
35674 if { (ac_try="$ac_compile"
35675 case "(($ac_try" in
35676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35677 *) ac_try_echo=$ac_try;;
35678 esac
35679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35680 (eval "$ac_compile") 2>conftest.er1
35681 ac_status=$?
35682 grep -v '^ *+' conftest.er1 >conftest.err
35683 rm -f conftest.er1
35684 cat conftest.err >&5
35685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35686 (exit $ac_status); } && {
35687 test -z "$ac_cxx_werror_flag" ||
35688 test ! -s conftest.err
35689 } && test -s conftest.$ac_objext; then
35690 wx_cv_func_vsscanf_decl=yes
35691 else
35692 echo "$as_me: failed program was:" >&5
35693 sed 's/^/| /' conftest.$ac_ext >&5
35694
35695 wx_cv_func_vsscanf_decl=no
35696
35697 fi
35698
35699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35700
35701
35702 fi
35703 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35704 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35705
35706 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35707 cat >>confdefs.h <<\_ACEOF
35708 #define HAVE_VSSCANF_DECL 1
35709 _ACEOF
35710
35711 fi
35712 fi
35713 ac_ext=c
35714 ac_cpp='$CPP $CPPFLAGS'
35715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35718
35719
35720 if test "$wxUSE_UNICODE" = yes; then
35721
35722 wchar_headers="#include <stdio.h>
35723 #include <wchar.h>"
35724 case "${host}" in
35725 *-*-solaris2* )
35726
35727 for ac_header in widec.h
35728 do
35729 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35730 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35731 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35732 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35733 echo $ECHO_N "(cached) $ECHO_C" >&6
35734 else
35735 cat >conftest.$ac_ext <<_ACEOF
35736 /* confdefs.h. */
35737 _ACEOF
35738 cat confdefs.h >>conftest.$ac_ext
35739 cat >>conftest.$ac_ext <<_ACEOF
35740 /* end confdefs.h. */
35741 $ac_includes_default
35742
35743 #include <$ac_header>
35744 _ACEOF
35745 rm -f conftest.$ac_objext
35746 if { (ac_try="$ac_compile"
35747 case "(($ac_try" in
35748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35749 *) ac_try_echo=$ac_try;;
35750 esac
35751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35752 (eval "$ac_compile") 2>conftest.er1
35753 ac_status=$?
35754 grep -v '^ *+' conftest.er1 >conftest.err
35755 rm -f conftest.er1
35756 cat conftest.err >&5
35757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35758 (exit $ac_status); } && {
35759 test -z "$ac_c_werror_flag" ||
35760 test ! -s conftest.err
35761 } && test -s conftest.$ac_objext; then
35762 eval "$as_ac_Header=yes"
35763 else
35764 echo "$as_me: failed program was:" >&5
35765 sed 's/^/| /' conftest.$ac_ext >&5
35766
35767 eval "$as_ac_Header=no"
35768 fi
35769
35770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35771 fi
35772 ac_res=`eval echo '${'$as_ac_Header'}'`
35773 { echo "$as_me:$LINENO: result: $ac_res" >&5
35774 echo "${ECHO_T}$ac_res" >&6; }
35775 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35776 cat >>confdefs.h <<_ACEOF
35777 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35778 _ACEOF
35779
35780 fi
35781
35782 done
35783
35784 if test "$ac_cv_header_widec_h" = "yes"; then
35785 wchar_headers="$wchar_headers
35786 #include <widec.h>"
35787 fi
35788 esac
35789
35790
35791 for wx_func in putws fputws wprintf vswprintf vswscanf
35792 do
35793 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35794 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35795 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35796 echo $ECHO_N "(cached) $ECHO_C" >&6
35797 else
35798
35799 cat >conftest.$ac_ext <<_ACEOF
35800
35801 /* confdefs.h. */
35802 _ACEOF
35803 cat confdefs.h >>conftest.$ac_ext
35804 cat >>conftest.$ac_ext <<_ACEOF
35805 /* end confdefs.h. */
35806
35807 $wchar_headers
35808 $ac_includes_default
35809
35810 int
35811 main ()
35812 {
35813
35814 #ifndef $wx_func
35815 &$wx_func;
35816 #endif
35817
35818
35819 ;
35820 return 0;
35821 }
35822
35823 _ACEOF
35824 rm -f conftest.$ac_objext conftest$ac_exeext
35825 if { (ac_try="$ac_link"
35826 case "(($ac_try" in
35827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35828 *) ac_try_echo=$ac_try;;
35829 esac
35830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35831 (eval "$ac_link") 2>conftest.er1
35832 ac_status=$?
35833 grep -v '^ *+' conftest.er1 >conftest.err
35834 rm -f conftest.er1
35835 cat conftest.err >&5
35836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35837 (exit $ac_status); } && {
35838 test -z "$ac_c_werror_flag" ||
35839 test ! -s conftest.err
35840 } && test -s conftest$ac_exeext &&
35841 $as_test_x conftest$ac_exeext; then
35842 eval wx_cv_func_$wx_func=yes
35843 else
35844 echo "$as_me: failed program was:" >&5
35845 sed 's/^/| /' conftest.$ac_ext >&5
35846
35847 eval wx_cv_func_$wx_func=no
35848 fi
35849
35850 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35851 conftest$ac_exeext conftest.$ac_ext
35852
35853 fi
35854 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35855 { echo "$as_me:$LINENO: result: $ac_res" >&5
35856 echo "${ECHO_T}$ac_res" >&6; }
35857
35858 if eval test \$wx_cv_func_$wx_func = yes
35859 then
35860 cat >>confdefs.h <<_ACEOF
35861 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35862 _ACEOF
35863
35864
35865 else
35866 :
35867
35868 fi
35869 done
35870
35871
35872 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35873 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35874 cat >conftest.$ac_ext <<_ACEOF
35875 /* confdefs.h. */
35876 _ACEOF
35877 cat confdefs.h >>conftest.$ac_ext
35878 cat >>conftest.$ac_ext <<_ACEOF
35879 /* end confdefs.h. */
35880 #include <wchar.h>
35881 int
35882 main ()
35883 {
35884 &_vsnwprintf;
35885 ;
35886 return 0;
35887 }
35888 _ACEOF
35889 rm -f conftest.$ac_objext
35890 if { (ac_try="$ac_compile"
35891 case "(($ac_try" in
35892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35893 *) ac_try_echo=$ac_try;;
35894 esac
35895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35896 (eval "$ac_compile") 2>conftest.er1
35897 ac_status=$?
35898 grep -v '^ *+' conftest.er1 >conftest.err
35899 rm -f conftest.er1
35900 cat conftest.err >&5
35901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35902 (exit $ac_status); } && {
35903 test -z "$ac_c_werror_flag" ||
35904 test ! -s conftest.err
35905 } && test -s conftest.$ac_objext; then
35906 { echo "$as_me:$LINENO: result: yes" >&5
35907 echo "${ECHO_T}yes" >&6; }
35908 cat >>confdefs.h <<\_ACEOF
35909 #define HAVE__VSNWPRINTF 1
35910 _ACEOF
35911
35912 else
35913 echo "$as_me: failed program was:" >&5
35914 sed 's/^/| /' conftest.$ac_ext >&5
35915
35916 { echo "$as_me:$LINENO: result: no" >&5
35917 echo "${ECHO_T}no" >&6; }
35918 fi
35919
35920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35921 fi
35922
35923 if test "$wxUSE_FILE" = "yes"; then
35924
35925 for wx_func in fsync
35926 do
35927 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35928 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35929 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35930 echo $ECHO_N "(cached) $ECHO_C" >&6
35931 else
35932
35933 cat >conftest.$ac_ext <<_ACEOF
35934
35935 /* confdefs.h. */
35936 _ACEOF
35937 cat confdefs.h >>conftest.$ac_ext
35938 cat >>conftest.$ac_ext <<_ACEOF
35939 /* end confdefs.h. */
35940
35941
35942 $ac_includes_default
35943
35944 int
35945 main ()
35946 {
35947
35948 #ifndef $wx_func
35949 &$wx_func;
35950 #endif
35951
35952
35953 ;
35954 return 0;
35955 }
35956
35957 _ACEOF
35958 rm -f conftest.$ac_objext conftest$ac_exeext
35959 if { (ac_try="$ac_link"
35960 case "(($ac_try" in
35961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35962 *) ac_try_echo=$ac_try;;
35963 esac
35964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35965 (eval "$ac_link") 2>conftest.er1
35966 ac_status=$?
35967 grep -v '^ *+' conftest.er1 >conftest.err
35968 rm -f conftest.er1
35969 cat conftest.err >&5
35970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35971 (exit $ac_status); } && {
35972 test -z "$ac_c_werror_flag" ||
35973 test ! -s conftest.err
35974 } && test -s conftest$ac_exeext &&
35975 $as_test_x conftest$ac_exeext; then
35976 eval wx_cv_func_$wx_func=yes
35977 else
35978 echo "$as_me: failed program was:" >&5
35979 sed 's/^/| /' conftest.$ac_ext >&5
35980
35981 eval wx_cv_func_$wx_func=no
35982 fi
35983
35984 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35985 conftest$ac_exeext conftest.$ac_ext
35986
35987 fi
35988 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35989 { echo "$as_me:$LINENO: result: $ac_res" >&5
35990 echo "${ECHO_T}$ac_res" >&6; }
35991
35992 if eval test \$wx_cv_func_$wx_func = yes
35993 then
35994 cat >>confdefs.h <<_ACEOF
35995 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35996 _ACEOF
35997
35998
35999 else
36000 :
36001
36002 fi
36003 done
36004
36005 fi
36006
36007 ac_ext=cpp
36008 ac_cpp='$CXXCPP $CPPFLAGS'
36009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36012
36013
36014 for wx_func in round
36015 do
36016 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36017 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36018 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36019 echo $ECHO_N "(cached) $ECHO_C" >&6
36020 else
36021
36022 cat >conftest.$ac_ext <<_ACEOF
36023
36024 /* confdefs.h. */
36025 _ACEOF
36026 cat confdefs.h >>conftest.$ac_ext
36027 cat >>conftest.$ac_ext <<_ACEOF
36028 /* end confdefs.h. */
36029
36030 #include <math.h>
36031 $ac_includes_default
36032
36033 int
36034 main ()
36035 {
36036
36037 #ifndef $wx_func
36038 &$wx_func;
36039 #endif
36040
36041
36042 ;
36043 return 0;
36044 }
36045
36046 _ACEOF
36047 rm -f conftest.$ac_objext conftest$ac_exeext
36048 if { (ac_try="$ac_link"
36049 case "(($ac_try" in
36050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36051 *) ac_try_echo=$ac_try;;
36052 esac
36053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36054 (eval "$ac_link") 2>conftest.er1
36055 ac_status=$?
36056 grep -v '^ *+' conftest.er1 >conftest.err
36057 rm -f conftest.er1
36058 cat conftest.err >&5
36059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36060 (exit $ac_status); } && {
36061 test -z "$ac_cxx_werror_flag" ||
36062 test ! -s conftest.err
36063 } && test -s conftest$ac_exeext &&
36064 $as_test_x conftest$ac_exeext; then
36065 eval wx_cv_func_$wx_func=yes
36066 else
36067 echo "$as_me: failed program was:" >&5
36068 sed 's/^/| /' conftest.$ac_ext >&5
36069
36070 eval wx_cv_func_$wx_func=no
36071 fi
36072
36073 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36074 conftest$ac_exeext conftest.$ac_ext
36075
36076 fi
36077 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36078 { echo "$as_me:$LINENO: result: $ac_res" >&5
36079 echo "${ECHO_T}$ac_res" >&6; }
36080
36081 if eval test \$wx_cv_func_$wx_func = yes
36082 then
36083 cat >>confdefs.h <<_ACEOF
36084 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36085 _ACEOF
36086
36087
36088 else
36089 :
36090
36091 fi
36092 done
36093
36094 ac_ext=c
36095 ac_cpp='$CPP $CPPFLAGS'
36096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36099
36100
36101 if test "$TOOLKIT" != "MSW"; then
36102
36103 if test "$wxUSE_LIBICONV" != "no" ; then
36104
36105
36106
36107 # Check whether --with-libiconv-prefix was given.
36108 if test "${with_libiconv_prefix+set}" = set; then
36109 withval=$with_libiconv_prefix;
36110 for dir in `echo "$withval" | tr : ' '`; do
36111 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36112 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36113 done
36114
36115 fi
36116
36117
36118 { echo "$as_me:$LINENO: checking for iconv" >&5
36119 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36120 if test "${am_cv_func_iconv+set}" = set; then
36121 echo $ECHO_N "(cached) $ECHO_C" >&6
36122 else
36123
36124 am_cv_func_iconv="no, consider installing GNU libiconv"
36125 am_cv_lib_iconv=no
36126 cat >conftest.$ac_ext <<_ACEOF
36127 /* confdefs.h. */
36128 _ACEOF
36129 cat confdefs.h >>conftest.$ac_ext
36130 cat >>conftest.$ac_ext <<_ACEOF
36131 /* end confdefs.h. */
36132 #include <stdlib.h>
36133 #include <iconv.h>
36134 int
36135 main ()
36136 {
36137 iconv_t cd = iconv_open("","");
36138 iconv(cd,NULL,NULL,NULL,NULL);
36139 iconv_close(cd);
36140 ;
36141 return 0;
36142 }
36143 _ACEOF
36144 rm -f conftest.$ac_objext conftest$ac_exeext
36145 if { (ac_try="$ac_link"
36146 case "(($ac_try" in
36147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36148 *) ac_try_echo=$ac_try;;
36149 esac
36150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36151 (eval "$ac_link") 2>conftest.er1
36152 ac_status=$?
36153 grep -v '^ *+' conftest.er1 >conftest.err
36154 rm -f conftest.er1
36155 cat conftest.err >&5
36156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36157 (exit $ac_status); } && {
36158 test -z "$ac_c_werror_flag" ||
36159 test ! -s conftest.err
36160 } && test -s conftest$ac_exeext &&
36161 $as_test_x conftest$ac_exeext; then
36162 am_cv_func_iconv=yes
36163 else
36164 echo "$as_me: failed program was:" >&5
36165 sed 's/^/| /' conftest.$ac_ext >&5
36166
36167
36168 fi
36169
36170 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36171 conftest$ac_exeext conftest.$ac_ext
36172 if test "$am_cv_func_iconv" != yes; then
36173 am_save_LIBS="$LIBS"
36174 LIBS="$LIBS -liconv"
36175 cat >conftest.$ac_ext <<_ACEOF
36176 /* confdefs.h. */
36177 _ACEOF
36178 cat confdefs.h >>conftest.$ac_ext
36179 cat >>conftest.$ac_ext <<_ACEOF
36180 /* end confdefs.h. */
36181 #include <stdlib.h>
36182 #include <iconv.h>
36183 int
36184 main ()
36185 {
36186 iconv_t cd = iconv_open("","");
36187 iconv(cd,NULL,NULL,NULL,NULL);
36188 iconv_close(cd);
36189 ;
36190 return 0;
36191 }
36192 _ACEOF
36193 rm -f conftest.$ac_objext conftest$ac_exeext
36194 if { (ac_try="$ac_link"
36195 case "(($ac_try" in
36196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36197 *) ac_try_echo=$ac_try;;
36198 esac
36199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36200 (eval "$ac_link") 2>conftest.er1
36201 ac_status=$?
36202 grep -v '^ *+' conftest.er1 >conftest.err
36203 rm -f conftest.er1
36204 cat conftest.err >&5
36205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36206 (exit $ac_status); } && {
36207 test -z "$ac_c_werror_flag" ||
36208 test ! -s conftest.err
36209 } && test -s conftest$ac_exeext &&
36210 $as_test_x conftest$ac_exeext; then
36211 am_cv_lib_iconv=yes
36212 am_cv_func_iconv=yes
36213 else
36214 echo "$as_me: failed program was:" >&5
36215 sed 's/^/| /' conftest.$ac_ext >&5
36216
36217
36218 fi
36219
36220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36221 conftest$ac_exeext conftest.$ac_ext
36222 LIBS="$am_save_LIBS"
36223 fi
36224
36225 fi
36226 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36227 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36228 if test "$am_cv_func_iconv" = yes; then
36229
36230 cat >>confdefs.h <<\_ACEOF
36231 #define HAVE_ICONV 1
36232 _ACEOF
36233
36234 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36235 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36236 if test "${wx_cv_func_iconv_const+set}" = set; then
36237 echo $ECHO_N "(cached) $ECHO_C" >&6
36238 else
36239 cat >conftest.$ac_ext <<_ACEOF
36240 /* confdefs.h. */
36241 _ACEOF
36242 cat confdefs.h >>conftest.$ac_ext
36243 cat >>conftest.$ac_ext <<_ACEOF
36244 /* end confdefs.h. */
36245
36246 #include <stdlib.h>
36247 #include <iconv.h>
36248 extern
36249 #ifdef __cplusplus
36250 "C"
36251 #endif
36252 #if defined(__STDC__) || defined(__cplusplus)
36253 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36254 #else
36255 size_t iconv();
36256 #endif
36257
36258 int
36259 main ()
36260 {
36261
36262 ;
36263 return 0;
36264 }
36265 _ACEOF
36266 rm -f conftest.$ac_objext
36267 if { (ac_try="$ac_compile"
36268 case "(($ac_try" in
36269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36270 *) ac_try_echo=$ac_try;;
36271 esac
36272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36273 (eval "$ac_compile") 2>conftest.er1
36274 ac_status=$?
36275 grep -v '^ *+' conftest.er1 >conftest.err
36276 rm -f conftest.er1
36277 cat conftest.err >&5
36278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36279 (exit $ac_status); } && {
36280 test -z "$ac_c_werror_flag" ||
36281 test ! -s conftest.err
36282 } && test -s conftest.$ac_objext; then
36283 wx_cv_func_iconv_const="no"
36284 else
36285 echo "$as_me: failed program was:" >&5
36286 sed 's/^/| /' conftest.$ac_ext >&5
36287
36288 wx_cv_func_iconv_const="yes"
36289
36290 fi
36291
36292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36293
36294 fi
36295 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36296 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36297
36298 iconv_const=
36299 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36300 iconv_const="const"
36301 fi
36302
36303
36304 cat >>confdefs.h <<_ACEOF
36305 #define ICONV_CONST $iconv_const
36306 _ACEOF
36307
36308 fi
36309 LIBICONV=
36310 if test "$am_cv_lib_iconv" = yes; then
36311 LIBICONV="-liconv"
36312 fi
36313
36314
36315 LIBS="$LIBICONV $LIBS"
36316 fi
36317
36318 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36319
36320 for ac_func in sigaction
36321 do
36322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36323 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36325 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36326 echo $ECHO_N "(cached) $ECHO_C" >&6
36327 else
36328 cat >conftest.$ac_ext <<_ACEOF
36329 /* confdefs.h. */
36330 _ACEOF
36331 cat confdefs.h >>conftest.$ac_ext
36332 cat >>conftest.$ac_ext <<_ACEOF
36333 /* end confdefs.h. */
36334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36336 #define $ac_func innocuous_$ac_func
36337
36338 /* System header to define __stub macros and hopefully few prototypes,
36339 which can conflict with char $ac_func (); below.
36340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36341 <limits.h> exists even on freestanding compilers. */
36342
36343 #ifdef __STDC__
36344 # include <limits.h>
36345 #else
36346 # include <assert.h>
36347 #endif
36348
36349 #undef $ac_func
36350
36351 /* Override any GCC internal prototype to avoid an error.
36352 Use char because int might match the return type of a GCC
36353 builtin and then its argument prototype would still apply. */
36354 #ifdef __cplusplus
36355 extern "C"
36356 #endif
36357 char $ac_func ();
36358 /* The GNU C library defines this for functions which it implements
36359 to always fail with ENOSYS. Some functions are actually named
36360 something starting with __ and the normal name is an alias. */
36361 #if defined __stub_$ac_func || defined __stub___$ac_func
36362 choke me
36363 #endif
36364
36365 int
36366 main ()
36367 {
36368 return $ac_func ();
36369 ;
36370 return 0;
36371 }
36372 _ACEOF
36373 rm -f conftest.$ac_objext conftest$ac_exeext
36374 if { (ac_try="$ac_link"
36375 case "(($ac_try" in
36376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36377 *) ac_try_echo=$ac_try;;
36378 esac
36379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36380 (eval "$ac_link") 2>conftest.er1
36381 ac_status=$?
36382 grep -v '^ *+' conftest.er1 >conftest.err
36383 rm -f conftest.er1
36384 cat conftest.err >&5
36385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36386 (exit $ac_status); } && {
36387 test -z "$ac_c_werror_flag" ||
36388 test ! -s conftest.err
36389 } && test -s conftest$ac_exeext &&
36390 $as_test_x conftest$ac_exeext; then
36391 eval "$as_ac_var=yes"
36392 else
36393 echo "$as_me: failed program was:" >&5
36394 sed 's/^/| /' conftest.$ac_ext >&5
36395
36396 eval "$as_ac_var=no"
36397 fi
36398
36399 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36400 conftest$ac_exeext conftest.$ac_ext
36401 fi
36402 ac_res=`eval echo '${'$as_ac_var'}'`
36403 { echo "$as_me:$LINENO: result: $ac_res" >&5
36404 echo "${ECHO_T}$ac_res" >&6; }
36405 if test `eval echo '${'$as_ac_var'}'` = yes; then
36406 cat >>confdefs.h <<_ACEOF
36407 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36408 _ACEOF
36409
36410 fi
36411 done
36412
36413
36414 if test "$ac_cv_func_sigaction" = "no"; then
36415 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36416 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36417 wxUSE_ON_FATAL_EXCEPTION=no
36418 fi
36419
36420 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36421 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36422 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36423 if test "${wx_cv_type_sa_handler+set}" = set; then
36424 echo $ECHO_N "(cached) $ECHO_C" >&6
36425 else
36426
36427 ac_ext=cpp
36428 ac_cpp='$CXXCPP $CPPFLAGS'
36429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36432
36433 cat >conftest.$ac_ext <<_ACEOF
36434 /* confdefs.h. */
36435 _ACEOF
36436 cat confdefs.h >>conftest.$ac_ext
36437 cat >>conftest.$ac_ext <<_ACEOF
36438 /* end confdefs.h. */
36439 #include <signal.h>
36440 int
36441 main ()
36442 {
36443
36444 extern void testSigHandler(int);
36445
36446 struct sigaction sa;
36447 sa.sa_handler = testSigHandler;
36448
36449 ;
36450 return 0;
36451 }
36452 _ACEOF
36453 rm -f conftest.$ac_objext
36454 if { (ac_try="$ac_compile"
36455 case "(($ac_try" in
36456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36457 *) ac_try_echo=$ac_try;;
36458 esac
36459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36460 (eval "$ac_compile") 2>conftest.er1
36461 ac_status=$?
36462 grep -v '^ *+' conftest.er1 >conftest.err
36463 rm -f conftest.er1
36464 cat conftest.err >&5
36465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36466 (exit $ac_status); } && {
36467 test -z "$ac_cxx_werror_flag" ||
36468 test ! -s conftest.err
36469 } && test -s conftest.$ac_objext; then
36470
36471 wx_cv_type_sa_handler=int
36472
36473 else
36474 echo "$as_me: failed program was:" >&5
36475 sed 's/^/| /' conftest.$ac_ext >&5
36476
36477
36478 wx_cv_type_sa_handler=void
36479
36480 fi
36481
36482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36483 ac_ext=c
36484 ac_cpp='$CPP $CPPFLAGS'
36485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36488
36489
36490 fi
36491 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36492 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36493
36494 cat >>confdefs.h <<_ACEOF
36495 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36496 _ACEOF
36497
36498 fi
36499 fi
36500
36501 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36502 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36503 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36504 if test "${wx_cv_func_backtrace+set}" = set; then
36505 echo $ECHO_N "(cached) $ECHO_C" >&6
36506 else
36507
36508 ac_ext=cpp
36509 ac_cpp='$CXXCPP $CPPFLAGS'
36510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36513
36514 cat >conftest.$ac_ext <<_ACEOF
36515 /* confdefs.h. */
36516 _ACEOF
36517 cat confdefs.h >>conftest.$ac_ext
36518 cat >>conftest.$ac_ext <<_ACEOF
36519 /* end confdefs.h. */
36520 #include <execinfo.h>
36521 int
36522 main ()
36523 {
36524
36525 void *trace[1];
36526 char **messages;
36527
36528 backtrace(trace, 1);
36529 messages = backtrace_symbols(trace, 1);
36530
36531 ;
36532 return 0;
36533 }
36534 _ACEOF
36535 rm -f conftest.$ac_objext
36536 if { (ac_try="$ac_compile"
36537 case "(($ac_try" in
36538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36539 *) ac_try_echo=$ac_try;;
36540 esac
36541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36542 (eval "$ac_compile") 2>conftest.er1
36543 ac_status=$?
36544 grep -v '^ *+' conftest.er1 >conftest.err
36545 rm -f conftest.er1
36546 cat conftest.err >&5
36547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36548 (exit $ac_status); } && {
36549 test -z "$ac_cxx_werror_flag" ||
36550 test ! -s conftest.err
36551 } && test -s conftest.$ac_objext; then
36552 wx_cv_func_backtrace=yes
36553 else
36554 echo "$as_me: failed program was:" >&5
36555 sed 's/^/| /' conftest.$ac_ext >&5
36556
36557 wx_cv_func_backtrace=no
36558
36559 fi
36560
36561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36562 ac_ext=c
36563 ac_cpp='$CPP $CPPFLAGS'
36564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36567
36568
36569
36570 fi
36571 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36572 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36573
36574
36575 if test "$wx_cv_func_backtrace" = "no"; then
36576 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36577 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36578 wxUSE_STACKWALKER=no
36579 else
36580 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36581 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36582 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36583 echo $ECHO_N "(cached) $ECHO_C" >&6
36584 else
36585
36586 ac_ext=cpp
36587 ac_cpp='$CXXCPP $CPPFLAGS'
36588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36591
36592 cat >conftest.$ac_ext <<_ACEOF
36593 /* confdefs.h. */
36594 _ACEOF
36595 cat confdefs.h >>conftest.$ac_ext
36596 cat >>conftest.$ac_ext <<_ACEOF
36597 /* end confdefs.h. */
36598 #include <cxxabi.h>
36599 int
36600 main ()
36601 {
36602
36603 int rc;
36604 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36605
36606 ;
36607 return 0;
36608 }
36609 _ACEOF
36610 rm -f conftest.$ac_objext conftest$ac_exeext
36611 if { (ac_try="$ac_link"
36612 case "(($ac_try" in
36613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36614 *) ac_try_echo=$ac_try;;
36615 esac
36616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36617 (eval "$ac_link") 2>conftest.er1
36618 ac_status=$?
36619 grep -v '^ *+' conftest.er1 >conftest.err
36620 rm -f conftest.er1
36621 cat conftest.err >&5
36622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36623 (exit $ac_status); } && {
36624 test -z "$ac_cxx_werror_flag" ||
36625 test ! -s conftest.err
36626 } && test -s conftest$ac_exeext &&
36627 $as_test_x conftest$ac_exeext; then
36628 wx_cv_func_cxa_demangle=yes
36629 else
36630 echo "$as_me: failed program was:" >&5
36631 sed 's/^/| /' conftest.$ac_ext >&5
36632
36633 wx_cv_func_cxa_demangle=no
36634
36635 fi
36636
36637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36638 conftest$ac_exeext conftest.$ac_ext
36639 ac_ext=c
36640 ac_cpp='$CPP $CPPFLAGS'
36641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36644
36645
36646
36647 fi
36648 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36649 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36650
36651 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36652 cat >>confdefs.h <<\_ACEOF
36653 #define HAVE_CXA_DEMANGLE 1
36654 _ACEOF
36655
36656 fi
36657 fi
36658 fi
36659
36660 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36661 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36662 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36663 wxUSE_STACKWALKER=no
36664 fi
36665
36666
36667
36668
36669 for ac_func in mkstemp mktemp
36670 do
36671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36672 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36674 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36675 echo $ECHO_N "(cached) $ECHO_C" >&6
36676 else
36677 cat >conftest.$ac_ext <<_ACEOF
36678 /* confdefs.h. */
36679 _ACEOF
36680 cat confdefs.h >>conftest.$ac_ext
36681 cat >>conftest.$ac_ext <<_ACEOF
36682 /* end confdefs.h. */
36683 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36685 #define $ac_func innocuous_$ac_func
36686
36687 /* System header to define __stub macros and hopefully few prototypes,
36688 which can conflict with char $ac_func (); below.
36689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36690 <limits.h> exists even on freestanding compilers. */
36691
36692 #ifdef __STDC__
36693 # include <limits.h>
36694 #else
36695 # include <assert.h>
36696 #endif
36697
36698 #undef $ac_func
36699
36700 /* Override any GCC internal prototype to avoid an error.
36701 Use char because int might match the return type of a GCC
36702 builtin and then its argument prototype would still apply. */
36703 #ifdef __cplusplus
36704 extern "C"
36705 #endif
36706 char $ac_func ();
36707 /* The GNU C library defines this for functions which it implements
36708 to always fail with ENOSYS. Some functions are actually named
36709 something starting with __ and the normal name is an alias. */
36710 #if defined __stub_$ac_func || defined __stub___$ac_func
36711 choke me
36712 #endif
36713
36714 int
36715 main ()
36716 {
36717 return $ac_func ();
36718 ;
36719 return 0;
36720 }
36721 _ACEOF
36722 rm -f conftest.$ac_objext conftest$ac_exeext
36723 if { (ac_try="$ac_link"
36724 case "(($ac_try" in
36725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36726 *) ac_try_echo=$ac_try;;
36727 esac
36728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36729 (eval "$ac_link") 2>conftest.er1
36730 ac_status=$?
36731 grep -v '^ *+' conftest.er1 >conftest.err
36732 rm -f conftest.er1
36733 cat conftest.err >&5
36734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36735 (exit $ac_status); } && {
36736 test -z "$ac_c_werror_flag" ||
36737 test ! -s conftest.err
36738 } && test -s conftest$ac_exeext &&
36739 $as_test_x conftest$ac_exeext; then
36740 eval "$as_ac_var=yes"
36741 else
36742 echo "$as_me: failed program was:" >&5
36743 sed 's/^/| /' conftest.$ac_ext >&5
36744
36745 eval "$as_ac_var=no"
36746 fi
36747
36748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36749 conftest$ac_exeext conftest.$ac_ext
36750 fi
36751 ac_res=`eval echo '${'$as_ac_var'}'`
36752 { echo "$as_me:$LINENO: result: $ac_res" >&5
36753 echo "${ECHO_T}$ac_res" >&6; }
36754 if test `eval echo '${'$as_ac_var'}'` = yes; then
36755 cat >>confdefs.h <<_ACEOF
36756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36757 _ACEOF
36758 break
36759 fi
36760 done
36761
36762
36763 { echo "$as_me:$LINENO: checking for statfs" >&5
36764 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36765 if test "${wx_cv_func_statfs+set}" = set; then
36766 echo $ECHO_N "(cached) $ECHO_C" >&6
36767 else
36768 cat >conftest.$ac_ext <<_ACEOF
36769 /* confdefs.h. */
36770 _ACEOF
36771 cat confdefs.h >>conftest.$ac_ext
36772 cat >>conftest.$ac_ext <<_ACEOF
36773 /* end confdefs.h. */
36774
36775 #if defined(__BSD__)
36776 #include <sys/param.h>
36777 #include <sys/mount.h>
36778 #else
36779 #include <sys/vfs.h>
36780 #endif
36781
36782 int
36783 main ()
36784 {
36785
36786 long l;
36787 struct statfs fs;
36788 statfs("/", &fs);
36789 l = fs.f_bsize;
36790 l += fs.f_blocks;
36791 l += fs.f_bavail;
36792
36793 ;
36794 return 0;
36795 }
36796 _ACEOF
36797 rm -f conftest.$ac_objext
36798 if { (ac_try="$ac_compile"
36799 case "(($ac_try" in
36800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36801 *) ac_try_echo=$ac_try;;
36802 esac
36803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36804 (eval "$ac_compile") 2>conftest.er1
36805 ac_status=$?
36806 grep -v '^ *+' conftest.er1 >conftest.err
36807 rm -f conftest.er1
36808 cat conftest.err >&5
36809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36810 (exit $ac_status); } && {
36811 test -z "$ac_c_werror_flag" ||
36812 test ! -s conftest.err
36813 } && test -s conftest.$ac_objext; then
36814 wx_cv_func_statfs=yes
36815 else
36816 echo "$as_me: failed program was:" >&5
36817 sed 's/^/| /' conftest.$ac_ext >&5
36818
36819 wx_cv_func_statfs=no
36820
36821 fi
36822
36823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36824
36825 fi
36826 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36827 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36828
36829 if test "$wx_cv_func_statfs" = "yes"; then
36830 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36831 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36832 if test "${wx_cv_func_statfs_decl+set}" = set; then
36833 echo $ECHO_N "(cached) $ECHO_C" >&6
36834 else
36835 ac_ext=cpp
36836 ac_cpp='$CXXCPP $CPPFLAGS'
36837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36840
36841 cat >conftest.$ac_ext <<_ACEOF
36842 /* confdefs.h. */
36843 _ACEOF
36844 cat confdefs.h >>conftest.$ac_ext
36845 cat >>conftest.$ac_ext <<_ACEOF
36846 /* end confdefs.h. */
36847
36848 #if defined(__BSD__)
36849 #include <sys/param.h>
36850 #include <sys/mount.h>
36851 #else
36852 #include <sys/vfs.h>
36853 #endif
36854
36855 int
36856 main ()
36857 {
36858
36859 struct statfs fs;
36860 statfs("", &fs);
36861
36862 ;
36863 return 0;
36864 }
36865 _ACEOF
36866 rm -f conftest.$ac_objext
36867 if { (ac_try="$ac_compile"
36868 case "(($ac_try" in
36869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36870 *) ac_try_echo=$ac_try;;
36871 esac
36872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36873 (eval "$ac_compile") 2>conftest.er1
36874 ac_status=$?
36875 grep -v '^ *+' conftest.er1 >conftest.err
36876 rm -f conftest.er1
36877 cat conftest.err >&5
36878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36879 (exit $ac_status); } && {
36880 test -z "$ac_cxx_werror_flag" ||
36881 test ! -s conftest.err
36882 } && test -s conftest.$ac_objext; then
36883 wx_cv_func_statfs_decl=yes
36884 else
36885 echo "$as_me: failed program was:" >&5
36886 sed 's/^/| /' conftest.$ac_ext >&5
36887
36888 wx_cv_func_statfs_decl=no
36889
36890 fi
36891
36892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36893 ac_ext=c
36894 ac_cpp='$CPP $CPPFLAGS'
36895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36898
36899
36900 fi
36901 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36902 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36903
36904 if test "$wx_cv_func_statfs_decl" = "yes"; then
36905 cat >>confdefs.h <<\_ACEOF
36906 #define HAVE_STATFS_DECL 1
36907 _ACEOF
36908
36909 fi
36910
36911 wx_cv_type_statvfs_t="struct statfs"
36912 cat >>confdefs.h <<\_ACEOF
36913 #define HAVE_STATFS 1
36914 _ACEOF
36915
36916 else
36917 { echo "$as_me:$LINENO: checking for statvfs" >&5
36918 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36919 if test "${wx_cv_func_statvfs+set}" = set; then
36920 echo $ECHO_N "(cached) $ECHO_C" >&6
36921 else
36922 cat >conftest.$ac_ext <<_ACEOF
36923 /* confdefs.h. */
36924 _ACEOF
36925 cat confdefs.h >>conftest.$ac_ext
36926 cat >>conftest.$ac_ext <<_ACEOF
36927 /* end confdefs.h. */
36928
36929 #include <stddef.h>
36930 #include <sys/statvfs.h>
36931
36932 int
36933 main ()
36934 {
36935
36936 statvfs("/", NULL);
36937
36938 ;
36939 return 0;
36940 }
36941 _ACEOF
36942 rm -f conftest.$ac_objext
36943 if { (ac_try="$ac_compile"
36944 case "(($ac_try" in
36945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36946 *) ac_try_echo=$ac_try;;
36947 esac
36948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36949 (eval "$ac_compile") 2>conftest.er1
36950 ac_status=$?
36951 grep -v '^ *+' conftest.er1 >conftest.err
36952 rm -f conftest.er1
36953 cat conftest.err >&5
36954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36955 (exit $ac_status); } && {
36956 test -z "$ac_c_werror_flag" ||
36957 test ! -s conftest.err
36958 } && test -s conftest.$ac_objext; then
36959 wx_cv_func_statvfs=yes
36960 else
36961 echo "$as_me: failed program was:" >&5
36962 sed 's/^/| /' conftest.$ac_ext >&5
36963
36964 wx_cv_func_statvfs=no
36965
36966 fi
36967
36968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36969
36970 fi
36971 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36972 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36973
36974 if test "$wx_cv_func_statvfs" = "yes"; then
36975 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36976 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36977 if test "${wx_cv_type_statvfs_t+set}" = set; then
36978 echo $ECHO_N "(cached) $ECHO_C" >&6
36979 else
36980 ac_ext=cpp
36981 ac_cpp='$CXXCPP $CPPFLAGS'
36982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36985
36986 cat >conftest.$ac_ext <<_ACEOF
36987 /* confdefs.h. */
36988 _ACEOF
36989 cat confdefs.h >>conftest.$ac_ext
36990 cat >>conftest.$ac_ext <<_ACEOF
36991 /* end confdefs.h. */
36992
36993 #include <sys/statvfs.h>
36994
36995 int
36996 main ()
36997 {
36998
36999 long l;
37000 statvfs_t fs;
37001 statvfs("/", &fs);
37002 l = fs.f_bsize;
37003 l += fs.f_blocks;
37004 l += fs.f_bavail;
37005
37006 ;
37007 return 0;
37008 }
37009 _ACEOF
37010 rm -f conftest.$ac_objext
37011 if { (ac_try="$ac_compile"
37012 case "(($ac_try" in
37013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37014 *) ac_try_echo=$ac_try;;
37015 esac
37016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37017 (eval "$ac_compile") 2>conftest.er1
37018 ac_status=$?
37019 grep -v '^ *+' conftest.er1 >conftest.err
37020 rm -f conftest.er1
37021 cat conftest.err >&5
37022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37023 (exit $ac_status); } && {
37024 test -z "$ac_cxx_werror_flag" ||
37025 test ! -s conftest.err
37026 } && test -s conftest.$ac_objext; then
37027 wx_cv_type_statvfs_t=statvfs_t
37028 else
37029 echo "$as_me: failed program was:" >&5
37030 sed 's/^/| /' conftest.$ac_ext >&5
37031
37032
37033 cat >conftest.$ac_ext <<_ACEOF
37034 /* confdefs.h. */
37035 _ACEOF
37036 cat confdefs.h >>conftest.$ac_ext
37037 cat >>conftest.$ac_ext <<_ACEOF
37038 /* end confdefs.h. */
37039
37040 #include <sys/statvfs.h>
37041
37042 int
37043 main ()
37044 {
37045
37046 long l;
37047 struct statvfs fs;
37048 statvfs("/", &fs);
37049 l = fs.f_bsize;
37050 l += fs.f_blocks;
37051 l += fs.f_bavail;
37052
37053 ;
37054 return 0;
37055 }
37056 _ACEOF
37057 rm -f conftest.$ac_objext
37058 if { (ac_try="$ac_compile"
37059 case "(($ac_try" in
37060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37061 *) ac_try_echo=$ac_try;;
37062 esac
37063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37064 (eval "$ac_compile") 2>conftest.er1
37065 ac_status=$?
37066 grep -v '^ *+' conftest.er1 >conftest.err
37067 rm -f conftest.er1
37068 cat conftest.err >&5
37069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37070 (exit $ac_status); } && {
37071 test -z "$ac_cxx_werror_flag" ||
37072 test ! -s conftest.err
37073 } && test -s conftest.$ac_objext; then
37074 wx_cv_type_statvfs_t="struct statvfs"
37075 else
37076 echo "$as_me: failed program was:" >&5
37077 sed 's/^/| /' conftest.$ac_ext >&5
37078
37079 wx_cv_type_statvfs_t="unknown"
37080
37081 fi
37082
37083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37084
37085
37086 fi
37087
37088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37089 ac_ext=c
37090 ac_cpp='$CPP $CPPFLAGS'
37091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37094
37095
37096 fi
37097 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37098 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37099
37100 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37101 cat >>confdefs.h <<\_ACEOF
37102 #define HAVE_STATVFS 1
37103 _ACEOF
37104
37105 fi
37106 else
37107 wx_cv_type_statvfs_t="unknown"
37108 fi
37109 fi
37110
37111 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37112 cat >>confdefs.h <<_ACEOF
37113 #define WX_STATFS_T $wx_cv_type_statvfs_t
37114 _ACEOF
37115
37116 else
37117 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37118 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37119 fi
37120
37121 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37122
37123
37124 for ac_func in fcntl flock
37125 do
37126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37127 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37129 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37130 echo $ECHO_N "(cached) $ECHO_C" >&6
37131 else
37132 cat >conftest.$ac_ext <<_ACEOF
37133 /* confdefs.h. */
37134 _ACEOF
37135 cat confdefs.h >>conftest.$ac_ext
37136 cat >>conftest.$ac_ext <<_ACEOF
37137 /* end confdefs.h. */
37138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37140 #define $ac_func innocuous_$ac_func
37141
37142 /* System header to define __stub macros and hopefully few prototypes,
37143 which can conflict with char $ac_func (); below.
37144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37145 <limits.h> exists even on freestanding compilers. */
37146
37147 #ifdef __STDC__
37148 # include <limits.h>
37149 #else
37150 # include <assert.h>
37151 #endif
37152
37153 #undef $ac_func
37154
37155 /* Override any GCC internal prototype to avoid an error.
37156 Use char because int might match the return type of a GCC
37157 builtin and then its argument prototype would still apply. */
37158 #ifdef __cplusplus
37159 extern "C"
37160 #endif
37161 char $ac_func ();
37162 /* The GNU C library defines this for functions which it implements
37163 to always fail with ENOSYS. Some functions are actually named
37164 something starting with __ and the normal name is an alias. */
37165 #if defined __stub_$ac_func || defined __stub___$ac_func
37166 choke me
37167 #endif
37168
37169 int
37170 main ()
37171 {
37172 return $ac_func ();
37173 ;
37174 return 0;
37175 }
37176 _ACEOF
37177 rm -f conftest.$ac_objext conftest$ac_exeext
37178 if { (ac_try="$ac_link"
37179 case "(($ac_try" in
37180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37181 *) ac_try_echo=$ac_try;;
37182 esac
37183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37184 (eval "$ac_link") 2>conftest.er1
37185 ac_status=$?
37186 grep -v '^ *+' conftest.er1 >conftest.err
37187 rm -f conftest.er1
37188 cat conftest.err >&5
37189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37190 (exit $ac_status); } && {
37191 test -z "$ac_c_werror_flag" ||
37192 test ! -s conftest.err
37193 } && test -s conftest$ac_exeext &&
37194 $as_test_x conftest$ac_exeext; then
37195 eval "$as_ac_var=yes"
37196 else
37197 echo "$as_me: failed program was:" >&5
37198 sed 's/^/| /' conftest.$ac_ext >&5
37199
37200 eval "$as_ac_var=no"
37201 fi
37202
37203 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37204 conftest$ac_exeext conftest.$ac_ext
37205 fi
37206 ac_res=`eval echo '${'$as_ac_var'}'`
37207 { echo "$as_me:$LINENO: result: $ac_res" >&5
37208 echo "${ECHO_T}$ac_res" >&6; }
37209 if test `eval echo '${'$as_ac_var'}'` = yes; then
37210 cat >>confdefs.h <<_ACEOF
37211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37212 _ACEOF
37213 break
37214 fi
37215 done
37216
37217
37218 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37219 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37220 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37221 wxUSE_SNGLINST_CHECKER=no
37222 fi
37223 fi
37224
37225
37226
37227 for ac_func in setenv putenv
37228 do
37229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37230 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37232 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37233 echo $ECHO_N "(cached) $ECHO_C" >&6
37234 else
37235 cat >conftest.$ac_ext <<_ACEOF
37236 /* confdefs.h. */
37237 _ACEOF
37238 cat confdefs.h >>conftest.$ac_ext
37239 cat >>conftest.$ac_ext <<_ACEOF
37240 /* end confdefs.h. */
37241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37243 #define $ac_func innocuous_$ac_func
37244
37245 /* System header to define __stub macros and hopefully few prototypes,
37246 which can conflict with char $ac_func (); below.
37247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37248 <limits.h> exists even on freestanding compilers. */
37249
37250 #ifdef __STDC__
37251 # include <limits.h>
37252 #else
37253 # include <assert.h>
37254 #endif
37255
37256 #undef $ac_func
37257
37258 /* Override any GCC internal prototype to avoid an error.
37259 Use char because int might match the return type of a GCC
37260 builtin and then its argument prototype would still apply. */
37261 #ifdef __cplusplus
37262 extern "C"
37263 #endif
37264 char $ac_func ();
37265 /* The GNU C library defines this for functions which it implements
37266 to always fail with ENOSYS. Some functions are actually named
37267 something starting with __ and the normal name is an alias. */
37268 #if defined __stub_$ac_func || defined __stub___$ac_func
37269 choke me
37270 #endif
37271
37272 int
37273 main ()
37274 {
37275 return $ac_func ();
37276 ;
37277 return 0;
37278 }
37279 _ACEOF
37280 rm -f conftest.$ac_objext conftest$ac_exeext
37281 if { (ac_try="$ac_link"
37282 case "(($ac_try" in
37283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37284 *) ac_try_echo=$ac_try;;
37285 esac
37286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37287 (eval "$ac_link") 2>conftest.er1
37288 ac_status=$?
37289 grep -v '^ *+' conftest.er1 >conftest.err
37290 rm -f conftest.er1
37291 cat conftest.err >&5
37292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37293 (exit $ac_status); } && {
37294 test -z "$ac_c_werror_flag" ||
37295 test ! -s conftest.err
37296 } && test -s conftest$ac_exeext &&
37297 $as_test_x conftest$ac_exeext; then
37298 eval "$as_ac_var=yes"
37299 else
37300 echo "$as_me: failed program was:" >&5
37301 sed 's/^/| /' conftest.$ac_ext >&5
37302
37303 eval "$as_ac_var=no"
37304 fi
37305
37306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37307 conftest$ac_exeext conftest.$ac_ext
37308 fi
37309 ac_res=`eval echo '${'$as_ac_var'}'`
37310 { echo "$as_me:$LINENO: result: $ac_res" >&5
37311 echo "${ECHO_T}$ac_res" >&6; }
37312 if test `eval echo '${'$as_ac_var'}'` = yes; then
37313 cat >>confdefs.h <<_ACEOF
37314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37315 _ACEOF
37316 break
37317 fi
37318 done
37319
37320 if test "$ac_cv_func_setenv" = "yes"; then
37321
37322 for ac_func in unsetenv
37323 do
37324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37325 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37327 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37328 echo $ECHO_N "(cached) $ECHO_C" >&6
37329 else
37330 cat >conftest.$ac_ext <<_ACEOF
37331 /* confdefs.h. */
37332 _ACEOF
37333 cat confdefs.h >>conftest.$ac_ext
37334 cat >>conftest.$ac_ext <<_ACEOF
37335 /* end confdefs.h. */
37336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37338 #define $ac_func innocuous_$ac_func
37339
37340 /* System header to define __stub macros and hopefully few prototypes,
37341 which can conflict with char $ac_func (); below.
37342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37343 <limits.h> exists even on freestanding compilers. */
37344
37345 #ifdef __STDC__
37346 # include <limits.h>
37347 #else
37348 # include <assert.h>
37349 #endif
37350
37351 #undef $ac_func
37352
37353 /* Override any GCC internal prototype to avoid an error.
37354 Use char because int might match the return type of a GCC
37355 builtin and then its argument prototype would still apply. */
37356 #ifdef __cplusplus
37357 extern "C"
37358 #endif
37359 char $ac_func ();
37360 /* The GNU C library defines this for functions which it implements
37361 to always fail with ENOSYS. Some functions are actually named
37362 something starting with __ and the normal name is an alias. */
37363 #if defined __stub_$ac_func || defined __stub___$ac_func
37364 choke me
37365 #endif
37366
37367 int
37368 main ()
37369 {
37370 return $ac_func ();
37371 ;
37372 return 0;
37373 }
37374 _ACEOF
37375 rm -f conftest.$ac_objext conftest$ac_exeext
37376 if { (ac_try="$ac_link"
37377 case "(($ac_try" in
37378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37379 *) ac_try_echo=$ac_try;;
37380 esac
37381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37382 (eval "$ac_link") 2>conftest.er1
37383 ac_status=$?
37384 grep -v '^ *+' conftest.er1 >conftest.err
37385 rm -f conftest.er1
37386 cat conftest.err >&5
37387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37388 (exit $ac_status); } && {
37389 test -z "$ac_c_werror_flag" ||
37390 test ! -s conftest.err
37391 } && test -s conftest$ac_exeext &&
37392 $as_test_x conftest$ac_exeext; then
37393 eval "$as_ac_var=yes"
37394 else
37395 echo "$as_me: failed program was:" >&5
37396 sed 's/^/| /' conftest.$ac_ext >&5
37397
37398 eval "$as_ac_var=no"
37399 fi
37400
37401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37402 conftest$ac_exeext conftest.$ac_ext
37403 fi
37404 ac_res=`eval echo '${'$as_ac_var'}'`
37405 { echo "$as_me:$LINENO: result: $ac_res" >&5
37406 echo "${ECHO_T}$ac_res" >&6; }
37407 if test `eval echo '${'$as_ac_var'}'` = yes; then
37408 cat >>confdefs.h <<_ACEOF
37409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37410 _ACEOF
37411
37412 fi
37413 done
37414
37415 fi
37416
37417 HAVE_SOME_SLEEP_FUNC=0
37418 if test "$USE_BEOS" = 1; then
37419 cat >>confdefs.h <<\_ACEOF
37420 #define HAVE_SLEEP 1
37421 _ACEOF
37422
37423 HAVE_SOME_SLEEP_FUNC=1
37424 fi
37425
37426 if test "$USE_DARWIN" = 1; then
37427 cat >>confdefs.h <<\_ACEOF
37428 #define HAVE_USLEEP 1
37429 _ACEOF
37430
37431 HAVE_SOME_SLEEP_FUNC=1
37432 fi
37433
37434 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37435 POSIX4_LINK=
37436
37437 for ac_func in nanosleep
37438 do
37439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37440 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37442 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37443 echo $ECHO_N "(cached) $ECHO_C" >&6
37444 else
37445 cat >conftest.$ac_ext <<_ACEOF
37446 /* confdefs.h. */
37447 _ACEOF
37448 cat confdefs.h >>conftest.$ac_ext
37449 cat >>conftest.$ac_ext <<_ACEOF
37450 /* end confdefs.h. */
37451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37453 #define $ac_func innocuous_$ac_func
37454
37455 /* System header to define __stub macros and hopefully few prototypes,
37456 which can conflict with char $ac_func (); below.
37457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37458 <limits.h> exists even on freestanding compilers. */
37459
37460 #ifdef __STDC__
37461 # include <limits.h>
37462 #else
37463 # include <assert.h>
37464 #endif
37465
37466 #undef $ac_func
37467
37468 /* Override any GCC internal prototype to avoid an error.
37469 Use char because int might match the return type of a GCC
37470 builtin and then its argument prototype would still apply. */
37471 #ifdef __cplusplus
37472 extern "C"
37473 #endif
37474 char $ac_func ();
37475 /* The GNU C library defines this for functions which it implements
37476 to always fail with ENOSYS. Some functions are actually named
37477 something starting with __ and the normal name is an alias. */
37478 #if defined __stub_$ac_func || defined __stub___$ac_func
37479 choke me
37480 #endif
37481
37482 int
37483 main ()
37484 {
37485 return $ac_func ();
37486 ;
37487 return 0;
37488 }
37489 _ACEOF
37490 rm -f conftest.$ac_objext conftest$ac_exeext
37491 if { (ac_try="$ac_link"
37492 case "(($ac_try" in
37493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37494 *) ac_try_echo=$ac_try;;
37495 esac
37496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37497 (eval "$ac_link") 2>conftest.er1
37498 ac_status=$?
37499 grep -v '^ *+' conftest.er1 >conftest.err
37500 rm -f conftest.er1
37501 cat conftest.err >&5
37502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37503 (exit $ac_status); } && {
37504 test -z "$ac_c_werror_flag" ||
37505 test ! -s conftest.err
37506 } && test -s conftest$ac_exeext &&
37507 $as_test_x conftest$ac_exeext; then
37508 eval "$as_ac_var=yes"
37509 else
37510 echo "$as_me: failed program was:" >&5
37511 sed 's/^/| /' conftest.$ac_ext >&5
37512
37513 eval "$as_ac_var=no"
37514 fi
37515
37516 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37517 conftest$ac_exeext conftest.$ac_ext
37518 fi
37519 ac_res=`eval echo '${'$as_ac_var'}'`
37520 { echo "$as_me:$LINENO: result: $ac_res" >&5
37521 echo "${ECHO_T}$ac_res" >&6; }
37522 if test `eval echo '${'$as_ac_var'}'` = yes; then
37523 cat >>confdefs.h <<_ACEOF
37524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37525 _ACEOF
37526 cat >>confdefs.h <<\_ACEOF
37527 #define HAVE_NANOSLEEP 1
37528 _ACEOF
37529
37530 else
37531
37532 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37533 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37534 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37535 echo $ECHO_N "(cached) $ECHO_C" >&6
37536 else
37537 ac_check_lib_save_LIBS=$LIBS
37538 LIBS="-lposix4 $LIBS"
37539 cat >conftest.$ac_ext <<_ACEOF
37540 /* confdefs.h. */
37541 _ACEOF
37542 cat confdefs.h >>conftest.$ac_ext
37543 cat >>conftest.$ac_ext <<_ACEOF
37544 /* end confdefs.h. */
37545
37546 /* Override any GCC internal prototype to avoid an error.
37547 Use char because int might match the return type of a GCC
37548 builtin and then its argument prototype would still apply. */
37549 #ifdef __cplusplus
37550 extern "C"
37551 #endif
37552 char nanosleep ();
37553 int
37554 main ()
37555 {
37556 return nanosleep ();
37557 ;
37558 return 0;
37559 }
37560 _ACEOF
37561 rm -f conftest.$ac_objext conftest$ac_exeext
37562 if { (ac_try="$ac_link"
37563 case "(($ac_try" in
37564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37565 *) ac_try_echo=$ac_try;;
37566 esac
37567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37568 (eval "$ac_link") 2>conftest.er1
37569 ac_status=$?
37570 grep -v '^ *+' conftest.er1 >conftest.err
37571 rm -f conftest.er1
37572 cat conftest.err >&5
37573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37574 (exit $ac_status); } && {
37575 test -z "$ac_c_werror_flag" ||
37576 test ! -s conftest.err
37577 } && test -s conftest$ac_exeext &&
37578 $as_test_x conftest$ac_exeext; then
37579 ac_cv_lib_posix4_nanosleep=yes
37580 else
37581 echo "$as_me: failed program was:" >&5
37582 sed 's/^/| /' conftest.$ac_ext >&5
37583
37584 ac_cv_lib_posix4_nanosleep=no
37585 fi
37586
37587 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37588 conftest$ac_exeext conftest.$ac_ext
37589 LIBS=$ac_check_lib_save_LIBS
37590 fi
37591 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37592 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37593 if test $ac_cv_lib_posix4_nanosleep = yes; then
37594
37595 cat >>confdefs.h <<\_ACEOF
37596 #define HAVE_NANOSLEEP 1
37597 _ACEOF
37598
37599 POSIX4_LINK=" -lposix4"
37600
37601 else
37602
37603
37604 for wx_func in usleep
37605 do
37606 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37607 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37608 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37609 echo $ECHO_N "(cached) $ECHO_C" >&6
37610 else
37611
37612 cat >conftest.$ac_ext <<_ACEOF
37613
37614 /* confdefs.h. */
37615 _ACEOF
37616 cat confdefs.h >>conftest.$ac_ext
37617 cat >>conftest.$ac_ext <<_ACEOF
37618 /* end confdefs.h. */
37619
37620
37621 $ac_includes_default
37622
37623 int
37624 main ()
37625 {
37626
37627 #ifndef $wx_func
37628 &$wx_func;
37629 #endif
37630
37631
37632 ;
37633 return 0;
37634 }
37635
37636 _ACEOF
37637 rm -f conftest.$ac_objext conftest$ac_exeext
37638 if { (ac_try="$ac_link"
37639 case "(($ac_try" in
37640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37641 *) ac_try_echo=$ac_try;;
37642 esac
37643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37644 (eval "$ac_link") 2>conftest.er1
37645 ac_status=$?
37646 grep -v '^ *+' conftest.er1 >conftest.err
37647 rm -f conftest.er1
37648 cat conftest.err >&5
37649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37650 (exit $ac_status); } && {
37651 test -z "$ac_c_werror_flag" ||
37652 test ! -s conftest.err
37653 } && test -s conftest$ac_exeext &&
37654 $as_test_x conftest$ac_exeext; then
37655 eval wx_cv_func_$wx_func=yes
37656 else
37657 echo "$as_me: failed program was:" >&5
37658 sed 's/^/| /' conftest.$ac_ext >&5
37659
37660 eval wx_cv_func_$wx_func=no
37661 fi
37662
37663 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37664 conftest$ac_exeext conftest.$ac_ext
37665
37666 fi
37667 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37668 { echo "$as_me:$LINENO: result: $ac_res" >&5
37669 echo "${ECHO_T}$ac_res" >&6; }
37670
37671 if eval test \$wx_cv_func_$wx_func = yes
37672 then
37673 cat >>confdefs.h <<_ACEOF
37674 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37675 _ACEOF
37676
37677
37678 else
37679 :
37680 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37681 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37682
37683 fi
37684 done
37685
37686
37687
37688 fi
37689
37690
37691
37692 fi
37693 done
37694
37695 fi
37696
37697
37698 for wx_func in uname
37699 do
37700 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37701 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37702 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37703 echo $ECHO_N "(cached) $ECHO_C" >&6
37704 else
37705
37706 cat >conftest.$ac_ext <<_ACEOF
37707
37708 /* confdefs.h. */
37709 _ACEOF
37710 cat confdefs.h >>conftest.$ac_ext
37711 cat >>conftest.$ac_ext <<_ACEOF
37712 /* end confdefs.h. */
37713
37714 #include <sys/utsname.h>
37715 $ac_includes_default
37716
37717 int
37718 main ()
37719 {
37720
37721 #ifndef $wx_func
37722 &$wx_func;
37723 #endif
37724
37725
37726 ;
37727 return 0;
37728 }
37729
37730 _ACEOF
37731 rm -f conftest.$ac_objext conftest$ac_exeext
37732 if { (ac_try="$ac_link"
37733 case "(($ac_try" in
37734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37735 *) ac_try_echo=$ac_try;;
37736 esac
37737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37738 (eval "$ac_link") 2>conftest.er1
37739 ac_status=$?
37740 grep -v '^ *+' conftest.er1 >conftest.err
37741 rm -f conftest.er1
37742 cat conftest.err >&5
37743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37744 (exit $ac_status); } && {
37745 test -z "$ac_c_werror_flag" ||
37746 test ! -s conftest.err
37747 } && test -s conftest$ac_exeext &&
37748 $as_test_x conftest$ac_exeext; then
37749 eval wx_cv_func_$wx_func=yes
37750 else
37751 echo "$as_me: failed program was:" >&5
37752 sed 's/^/| /' conftest.$ac_ext >&5
37753
37754 eval wx_cv_func_$wx_func=no
37755 fi
37756
37757 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37758 conftest$ac_exeext conftest.$ac_ext
37759
37760 fi
37761 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37762 { echo "$as_me:$LINENO: result: $ac_res" >&5
37763 echo "${ECHO_T}$ac_res" >&6; }
37764
37765 if eval test \$wx_cv_func_$wx_func = yes
37766 then
37767 cat >>confdefs.h <<_ACEOF
37768 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37769 _ACEOF
37770
37771
37772 else
37773 :
37774
37775 fi
37776 done
37777
37778 if test "$wx_cv_func_uname" != yes; then
37779
37780 for wx_func in gethostname
37781 do
37782 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37783 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37784 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37785 echo $ECHO_N "(cached) $ECHO_C" >&6
37786 else
37787
37788 cat >conftest.$ac_ext <<_ACEOF
37789
37790 /* confdefs.h. */
37791 _ACEOF
37792 cat confdefs.h >>conftest.$ac_ext
37793 cat >>conftest.$ac_ext <<_ACEOF
37794 /* end confdefs.h. */
37795
37796
37797 $ac_includes_default
37798
37799 int
37800 main ()
37801 {
37802
37803 #ifndef $wx_func
37804 &$wx_func;
37805 #endif
37806
37807
37808 ;
37809 return 0;
37810 }
37811
37812 _ACEOF
37813 rm -f conftest.$ac_objext conftest$ac_exeext
37814 if { (ac_try="$ac_link"
37815 case "(($ac_try" in
37816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37817 *) ac_try_echo=$ac_try;;
37818 esac
37819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37820 (eval "$ac_link") 2>conftest.er1
37821 ac_status=$?
37822 grep -v '^ *+' conftest.er1 >conftest.err
37823 rm -f conftest.er1
37824 cat conftest.err >&5
37825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37826 (exit $ac_status); } && {
37827 test -z "$ac_c_werror_flag" ||
37828 test ! -s conftest.err
37829 } && test -s conftest$ac_exeext &&
37830 $as_test_x conftest$ac_exeext; then
37831 eval wx_cv_func_$wx_func=yes
37832 else
37833 echo "$as_me: failed program was:" >&5
37834 sed 's/^/| /' conftest.$ac_ext >&5
37835
37836 eval wx_cv_func_$wx_func=no
37837 fi
37838
37839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37840 conftest$ac_exeext conftest.$ac_ext
37841
37842 fi
37843 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37844 { echo "$as_me:$LINENO: result: $ac_res" >&5
37845 echo "${ECHO_T}$ac_res" >&6; }
37846
37847 if eval test \$wx_cv_func_$wx_func = yes
37848 then
37849 cat >>confdefs.h <<_ACEOF
37850 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37851 _ACEOF
37852
37853
37854 else
37855 :
37856
37857 fi
37858 done
37859
37860 fi
37861
37862
37863 for wx_func in strtok_r
37864 do
37865 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37866 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37867 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37868 echo $ECHO_N "(cached) $ECHO_C" >&6
37869 else
37870
37871 cat >conftest.$ac_ext <<_ACEOF
37872
37873 /* confdefs.h. */
37874 _ACEOF
37875 cat confdefs.h >>conftest.$ac_ext
37876 cat >>conftest.$ac_ext <<_ACEOF
37877 /* end confdefs.h. */
37878
37879 #define _REENTRANT
37880 $ac_includes_default
37881
37882 int
37883 main ()
37884 {
37885
37886 #ifndef $wx_func
37887 &$wx_func;
37888 #endif
37889
37890
37891 ;
37892 return 0;
37893 }
37894
37895 _ACEOF
37896 rm -f conftest.$ac_objext conftest$ac_exeext
37897 if { (ac_try="$ac_link"
37898 case "(($ac_try" in
37899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37900 *) ac_try_echo=$ac_try;;
37901 esac
37902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37903 (eval "$ac_link") 2>conftest.er1
37904 ac_status=$?
37905 grep -v '^ *+' conftest.er1 >conftest.err
37906 rm -f conftest.er1
37907 cat conftest.err >&5
37908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37909 (exit $ac_status); } && {
37910 test -z "$ac_c_werror_flag" ||
37911 test ! -s conftest.err
37912 } && test -s conftest$ac_exeext &&
37913 $as_test_x conftest$ac_exeext; then
37914 eval wx_cv_func_$wx_func=yes
37915 else
37916 echo "$as_me: failed program was:" >&5
37917 sed 's/^/| /' conftest.$ac_ext >&5
37918
37919 eval wx_cv_func_$wx_func=no
37920 fi
37921
37922 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37923 conftest$ac_exeext conftest.$ac_ext
37924
37925 fi
37926 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37927 { echo "$as_me:$LINENO: result: $ac_res" >&5
37928 echo "${ECHO_T}$ac_res" >&6; }
37929
37930 if eval test \$wx_cv_func_$wx_func = yes
37931 then
37932 cat >>confdefs.h <<_ACEOF
37933 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37934 _ACEOF
37935
37936
37937 else
37938 :
37939
37940 fi
37941 done
37942
37943
37944 INET_LINK=
37945
37946 for ac_func in inet_addr
37947 do
37948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37949 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37951 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37952 echo $ECHO_N "(cached) $ECHO_C" >&6
37953 else
37954 cat >conftest.$ac_ext <<_ACEOF
37955 /* confdefs.h. */
37956 _ACEOF
37957 cat confdefs.h >>conftest.$ac_ext
37958 cat >>conftest.$ac_ext <<_ACEOF
37959 /* end confdefs.h. */
37960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37962 #define $ac_func innocuous_$ac_func
37963
37964 /* System header to define __stub macros and hopefully few prototypes,
37965 which can conflict with char $ac_func (); below.
37966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37967 <limits.h> exists even on freestanding compilers. */
37968
37969 #ifdef __STDC__
37970 # include <limits.h>
37971 #else
37972 # include <assert.h>
37973 #endif
37974
37975 #undef $ac_func
37976
37977 /* Override any GCC internal prototype to avoid an error.
37978 Use char because int might match the return type of a GCC
37979 builtin and then its argument prototype would still apply. */
37980 #ifdef __cplusplus
37981 extern "C"
37982 #endif
37983 char $ac_func ();
37984 /* The GNU C library defines this for functions which it implements
37985 to always fail with ENOSYS. Some functions are actually named
37986 something starting with __ and the normal name is an alias. */
37987 #if defined __stub_$ac_func || defined __stub___$ac_func
37988 choke me
37989 #endif
37990
37991 int
37992 main ()
37993 {
37994 return $ac_func ();
37995 ;
37996 return 0;
37997 }
37998 _ACEOF
37999 rm -f conftest.$ac_objext conftest$ac_exeext
38000 if { (ac_try="$ac_link"
38001 case "(($ac_try" in
38002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38003 *) ac_try_echo=$ac_try;;
38004 esac
38005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38006 (eval "$ac_link") 2>conftest.er1
38007 ac_status=$?
38008 grep -v '^ *+' conftest.er1 >conftest.err
38009 rm -f conftest.er1
38010 cat conftest.err >&5
38011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38012 (exit $ac_status); } && {
38013 test -z "$ac_c_werror_flag" ||
38014 test ! -s conftest.err
38015 } && test -s conftest$ac_exeext &&
38016 $as_test_x conftest$ac_exeext; then
38017 eval "$as_ac_var=yes"
38018 else
38019 echo "$as_me: failed program was:" >&5
38020 sed 's/^/| /' conftest.$ac_ext >&5
38021
38022 eval "$as_ac_var=no"
38023 fi
38024
38025 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38026 conftest$ac_exeext conftest.$ac_ext
38027 fi
38028 ac_res=`eval echo '${'$as_ac_var'}'`
38029 { echo "$as_me:$LINENO: result: $ac_res" >&5
38030 echo "${ECHO_T}$ac_res" >&6; }
38031 if test `eval echo '${'$as_ac_var'}'` = yes; then
38032 cat >>confdefs.h <<_ACEOF
38033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38034 _ACEOF
38035 cat >>confdefs.h <<\_ACEOF
38036 #define HAVE_INET_ADDR 1
38037 _ACEOF
38038
38039 else
38040
38041 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38042 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38043 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38044 echo $ECHO_N "(cached) $ECHO_C" >&6
38045 else
38046 ac_check_lib_save_LIBS=$LIBS
38047 LIBS="-lnsl $LIBS"
38048 cat >conftest.$ac_ext <<_ACEOF
38049 /* confdefs.h. */
38050 _ACEOF
38051 cat confdefs.h >>conftest.$ac_ext
38052 cat >>conftest.$ac_ext <<_ACEOF
38053 /* end confdefs.h. */
38054
38055 /* Override any GCC internal prototype to avoid an error.
38056 Use char because int might match the return type of a GCC
38057 builtin and then its argument prototype would still apply. */
38058 #ifdef __cplusplus
38059 extern "C"
38060 #endif
38061 char inet_addr ();
38062 int
38063 main ()
38064 {
38065 return inet_addr ();
38066 ;
38067 return 0;
38068 }
38069 _ACEOF
38070 rm -f conftest.$ac_objext conftest$ac_exeext
38071 if { (ac_try="$ac_link"
38072 case "(($ac_try" in
38073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38074 *) ac_try_echo=$ac_try;;
38075 esac
38076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38077 (eval "$ac_link") 2>conftest.er1
38078 ac_status=$?
38079 grep -v '^ *+' conftest.er1 >conftest.err
38080 rm -f conftest.er1
38081 cat conftest.err >&5
38082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38083 (exit $ac_status); } && {
38084 test -z "$ac_c_werror_flag" ||
38085 test ! -s conftest.err
38086 } && test -s conftest$ac_exeext &&
38087 $as_test_x conftest$ac_exeext; then
38088 ac_cv_lib_nsl_inet_addr=yes
38089 else
38090 echo "$as_me: failed program was:" >&5
38091 sed 's/^/| /' conftest.$ac_ext >&5
38092
38093 ac_cv_lib_nsl_inet_addr=no
38094 fi
38095
38096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38097 conftest$ac_exeext conftest.$ac_ext
38098 LIBS=$ac_check_lib_save_LIBS
38099 fi
38100 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38101 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38102 if test $ac_cv_lib_nsl_inet_addr = yes; then
38103 INET_LINK="nsl"
38104 else
38105
38106 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38107 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38108 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38109 echo $ECHO_N "(cached) $ECHO_C" >&6
38110 else
38111 ac_check_lib_save_LIBS=$LIBS
38112 LIBS="-lresolv $LIBS"
38113 cat >conftest.$ac_ext <<_ACEOF
38114 /* confdefs.h. */
38115 _ACEOF
38116 cat confdefs.h >>conftest.$ac_ext
38117 cat >>conftest.$ac_ext <<_ACEOF
38118 /* end confdefs.h. */
38119
38120 /* Override any GCC internal prototype to avoid an error.
38121 Use char because int might match the return type of a GCC
38122 builtin and then its argument prototype would still apply. */
38123 #ifdef __cplusplus
38124 extern "C"
38125 #endif
38126 char inet_addr ();
38127 int
38128 main ()
38129 {
38130 return inet_addr ();
38131 ;
38132 return 0;
38133 }
38134 _ACEOF
38135 rm -f conftest.$ac_objext conftest$ac_exeext
38136 if { (ac_try="$ac_link"
38137 case "(($ac_try" in
38138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38139 *) ac_try_echo=$ac_try;;
38140 esac
38141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38142 (eval "$ac_link") 2>conftest.er1
38143 ac_status=$?
38144 grep -v '^ *+' conftest.er1 >conftest.err
38145 rm -f conftest.er1
38146 cat conftest.err >&5
38147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38148 (exit $ac_status); } && {
38149 test -z "$ac_c_werror_flag" ||
38150 test ! -s conftest.err
38151 } && test -s conftest$ac_exeext &&
38152 $as_test_x conftest$ac_exeext; then
38153 ac_cv_lib_resolv_inet_addr=yes
38154 else
38155 echo "$as_me: failed program was:" >&5
38156 sed 's/^/| /' conftest.$ac_ext >&5
38157
38158 ac_cv_lib_resolv_inet_addr=no
38159 fi
38160
38161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38162 conftest$ac_exeext conftest.$ac_ext
38163 LIBS=$ac_check_lib_save_LIBS
38164 fi
38165 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38166 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38167 if test $ac_cv_lib_resolv_inet_addr = yes; then
38168 INET_LINK="resolv"
38169 else
38170
38171 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38172 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38173 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38174 echo $ECHO_N "(cached) $ECHO_C" >&6
38175 else
38176 ac_check_lib_save_LIBS=$LIBS
38177 LIBS="-lsocket $LIBS"
38178 cat >conftest.$ac_ext <<_ACEOF
38179 /* confdefs.h. */
38180 _ACEOF
38181 cat confdefs.h >>conftest.$ac_ext
38182 cat >>conftest.$ac_ext <<_ACEOF
38183 /* end confdefs.h. */
38184
38185 /* Override any GCC internal prototype to avoid an error.
38186 Use char because int might match the return type of a GCC
38187 builtin and then its argument prototype would still apply. */
38188 #ifdef __cplusplus
38189 extern "C"
38190 #endif
38191 char inet_addr ();
38192 int
38193 main ()
38194 {
38195 return inet_addr ();
38196 ;
38197 return 0;
38198 }
38199 _ACEOF
38200 rm -f conftest.$ac_objext conftest$ac_exeext
38201 if { (ac_try="$ac_link"
38202 case "(($ac_try" in
38203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38204 *) ac_try_echo=$ac_try;;
38205 esac
38206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38207 (eval "$ac_link") 2>conftest.er1
38208 ac_status=$?
38209 grep -v '^ *+' conftest.er1 >conftest.err
38210 rm -f conftest.er1
38211 cat conftest.err >&5
38212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38213 (exit $ac_status); } && {
38214 test -z "$ac_c_werror_flag" ||
38215 test ! -s conftest.err
38216 } && test -s conftest$ac_exeext &&
38217 $as_test_x conftest$ac_exeext; then
38218 ac_cv_lib_socket_inet_addr=yes
38219 else
38220 echo "$as_me: failed program was:" >&5
38221 sed 's/^/| /' conftest.$ac_ext >&5
38222
38223 ac_cv_lib_socket_inet_addr=no
38224 fi
38225
38226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38227 conftest$ac_exeext conftest.$ac_ext
38228 LIBS=$ac_check_lib_save_LIBS
38229 fi
38230 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38231 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38232 if test $ac_cv_lib_socket_inet_addr = yes; then
38233 INET_LINK="socket"
38234
38235 fi
38236
38237
38238
38239 fi
38240
38241
38242
38243 fi
38244
38245
38246
38247 fi
38248 done
38249
38250
38251
38252 for ac_func in inet_aton
38253 do
38254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38255 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38257 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38258 echo $ECHO_N "(cached) $ECHO_C" >&6
38259 else
38260 cat >conftest.$ac_ext <<_ACEOF
38261 /* confdefs.h. */
38262 _ACEOF
38263 cat confdefs.h >>conftest.$ac_ext
38264 cat >>conftest.$ac_ext <<_ACEOF
38265 /* end confdefs.h. */
38266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38268 #define $ac_func innocuous_$ac_func
38269
38270 /* System header to define __stub macros and hopefully few prototypes,
38271 which can conflict with char $ac_func (); below.
38272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38273 <limits.h> exists even on freestanding compilers. */
38274
38275 #ifdef __STDC__
38276 # include <limits.h>
38277 #else
38278 # include <assert.h>
38279 #endif
38280
38281 #undef $ac_func
38282
38283 /* Override any GCC internal prototype to avoid an error.
38284 Use char because int might match the return type of a GCC
38285 builtin and then its argument prototype would still apply. */
38286 #ifdef __cplusplus
38287 extern "C"
38288 #endif
38289 char $ac_func ();
38290 /* The GNU C library defines this for functions which it implements
38291 to always fail with ENOSYS. Some functions are actually named
38292 something starting with __ and the normal name is an alias. */
38293 #if defined __stub_$ac_func || defined __stub___$ac_func
38294 choke me
38295 #endif
38296
38297 int
38298 main ()
38299 {
38300 return $ac_func ();
38301 ;
38302 return 0;
38303 }
38304 _ACEOF
38305 rm -f conftest.$ac_objext conftest$ac_exeext
38306 if { (ac_try="$ac_link"
38307 case "(($ac_try" in
38308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38309 *) ac_try_echo=$ac_try;;
38310 esac
38311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38312 (eval "$ac_link") 2>conftest.er1
38313 ac_status=$?
38314 grep -v '^ *+' conftest.er1 >conftest.err
38315 rm -f conftest.er1
38316 cat conftest.err >&5
38317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38318 (exit $ac_status); } && {
38319 test -z "$ac_c_werror_flag" ||
38320 test ! -s conftest.err
38321 } && test -s conftest$ac_exeext &&
38322 $as_test_x conftest$ac_exeext; then
38323 eval "$as_ac_var=yes"
38324 else
38325 echo "$as_me: failed program was:" >&5
38326 sed 's/^/| /' conftest.$ac_ext >&5
38327
38328 eval "$as_ac_var=no"
38329 fi
38330
38331 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38332 conftest$ac_exeext conftest.$ac_ext
38333 fi
38334 ac_res=`eval echo '${'$as_ac_var'}'`
38335 { echo "$as_me:$LINENO: result: $ac_res" >&5
38336 echo "${ECHO_T}$ac_res" >&6; }
38337 if test `eval echo '${'$as_ac_var'}'` = yes; then
38338 cat >>confdefs.h <<_ACEOF
38339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38340 _ACEOF
38341 cat >>confdefs.h <<\_ACEOF
38342 #define HAVE_INET_ATON 1
38343 _ACEOF
38344
38345 else
38346
38347 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38348 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38349 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38350 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38351 echo $ECHO_N "(cached) $ECHO_C" >&6
38352 else
38353 ac_check_lib_save_LIBS=$LIBS
38354 LIBS="-l$INET_LINK $LIBS"
38355 cat >conftest.$ac_ext <<_ACEOF
38356 /* confdefs.h. */
38357 _ACEOF
38358 cat confdefs.h >>conftest.$ac_ext
38359 cat >>conftest.$ac_ext <<_ACEOF
38360 /* end confdefs.h. */
38361
38362 /* Override any GCC internal prototype to avoid an error.
38363 Use char because int might match the return type of a GCC
38364 builtin and then its argument prototype would still apply. */
38365 #ifdef __cplusplus
38366 extern "C"
38367 #endif
38368 char inet_aton ();
38369 int
38370 main ()
38371 {
38372 return inet_aton ();
38373 ;
38374 return 0;
38375 }
38376 _ACEOF
38377 rm -f conftest.$ac_objext conftest$ac_exeext
38378 if { (ac_try="$ac_link"
38379 case "(($ac_try" in
38380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38381 *) ac_try_echo=$ac_try;;
38382 esac
38383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38384 (eval "$ac_link") 2>conftest.er1
38385 ac_status=$?
38386 grep -v '^ *+' conftest.er1 >conftest.err
38387 rm -f conftest.er1
38388 cat conftest.err >&5
38389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38390 (exit $ac_status); } && {
38391 test -z "$ac_c_werror_flag" ||
38392 test ! -s conftest.err
38393 } && test -s conftest$ac_exeext &&
38394 $as_test_x conftest$ac_exeext; then
38395 eval "$as_ac_Lib=yes"
38396 else
38397 echo "$as_me: failed program was:" >&5
38398 sed 's/^/| /' conftest.$ac_ext >&5
38399
38400 eval "$as_ac_Lib=no"
38401 fi
38402
38403 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38404 conftest$ac_exeext conftest.$ac_ext
38405 LIBS=$ac_check_lib_save_LIBS
38406 fi
38407 ac_res=`eval echo '${'$as_ac_Lib'}'`
38408 { echo "$as_me:$LINENO: result: $ac_res" >&5
38409 echo "${ECHO_T}$ac_res" >&6; }
38410 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38411 cat >>confdefs.h <<\_ACEOF
38412 #define HAVE_INET_ATON 1
38413 _ACEOF
38414
38415 fi
38416
38417
38418 fi
38419 done
38420
38421
38422 if test "x$INET_LINK" != "x"; then
38423 cat >>confdefs.h <<\_ACEOF
38424 #define HAVE_INET_ADDR 1
38425 _ACEOF
38426
38427 INET_LINK=" -l$INET_LINK"
38428 fi
38429
38430
38431 for wx_func in fdopen
38432 do
38433 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38434 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38435 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38436 echo $ECHO_N "(cached) $ECHO_C" >&6
38437 else
38438
38439 cat >conftest.$ac_ext <<_ACEOF
38440
38441 /* confdefs.h. */
38442 _ACEOF
38443 cat confdefs.h >>conftest.$ac_ext
38444 cat >>conftest.$ac_ext <<_ACEOF
38445 /* end confdefs.h. */
38446
38447
38448 $ac_includes_default
38449
38450 int
38451 main ()
38452 {
38453
38454 #ifndef $wx_func
38455 &$wx_func;
38456 #endif
38457
38458
38459 ;
38460 return 0;
38461 }
38462
38463 _ACEOF
38464 rm -f conftest.$ac_objext conftest$ac_exeext
38465 if { (ac_try="$ac_link"
38466 case "(($ac_try" in
38467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38468 *) ac_try_echo=$ac_try;;
38469 esac
38470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38471 (eval "$ac_link") 2>conftest.er1
38472 ac_status=$?
38473 grep -v '^ *+' conftest.er1 >conftest.err
38474 rm -f conftest.er1
38475 cat conftest.err >&5
38476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38477 (exit $ac_status); } && {
38478 test -z "$ac_c_werror_flag" ||
38479 test ! -s conftest.err
38480 } && test -s conftest$ac_exeext &&
38481 $as_test_x conftest$ac_exeext; then
38482 eval wx_cv_func_$wx_func=yes
38483 else
38484 echo "$as_me: failed program was:" >&5
38485 sed 's/^/| /' conftest.$ac_ext >&5
38486
38487 eval wx_cv_func_$wx_func=no
38488 fi
38489
38490 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38491 conftest$ac_exeext conftest.$ac_ext
38492
38493 fi
38494 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38495 { echo "$as_me:$LINENO: result: $ac_res" >&5
38496 echo "${ECHO_T}$ac_res" >&6; }
38497
38498 if eval test \$wx_cv_func_$wx_func = yes
38499 then
38500 cat >>confdefs.h <<_ACEOF
38501 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38502 _ACEOF
38503
38504
38505 else
38506 :
38507
38508 fi
38509 done
38510
38511
38512 if test "$wxUSE_TARSTREAM" = "yes"; then
38513
38514 for wx_func in sysconf
38515 do
38516 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38517 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38518 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38519 echo $ECHO_N "(cached) $ECHO_C" >&6
38520 else
38521
38522 cat >conftest.$ac_ext <<_ACEOF
38523
38524 /* confdefs.h. */
38525 _ACEOF
38526 cat confdefs.h >>conftest.$ac_ext
38527 cat >>conftest.$ac_ext <<_ACEOF
38528 /* end confdefs.h. */
38529
38530
38531 $ac_includes_default
38532
38533 int
38534 main ()
38535 {
38536
38537 #ifndef $wx_func
38538 &$wx_func;
38539 #endif
38540
38541
38542 ;
38543 return 0;
38544 }
38545
38546 _ACEOF
38547 rm -f conftest.$ac_objext conftest$ac_exeext
38548 if { (ac_try="$ac_link"
38549 case "(($ac_try" in
38550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38551 *) ac_try_echo=$ac_try;;
38552 esac
38553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38554 (eval "$ac_link") 2>conftest.er1
38555 ac_status=$?
38556 grep -v '^ *+' conftest.er1 >conftest.err
38557 rm -f conftest.er1
38558 cat conftest.err >&5
38559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38560 (exit $ac_status); } && {
38561 test -z "$ac_c_werror_flag" ||
38562 test ! -s conftest.err
38563 } && test -s conftest$ac_exeext &&
38564 $as_test_x conftest$ac_exeext; then
38565 eval wx_cv_func_$wx_func=yes
38566 else
38567 echo "$as_me: failed program was:" >&5
38568 sed 's/^/| /' conftest.$ac_ext >&5
38569
38570 eval wx_cv_func_$wx_func=no
38571 fi
38572
38573 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38574 conftest$ac_exeext conftest.$ac_ext
38575
38576 fi
38577 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38578 { echo "$as_me:$LINENO: result: $ac_res" >&5
38579 echo "${ECHO_T}$ac_res" >&6; }
38580
38581 if eval test \$wx_cv_func_$wx_func = yes
38582 then
38583 cat >>confdefs.h <<_ACEOF
38584 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38585 _ACEOF
38586
38587
38588 else
38589 :
38590
38591 fi
38592 done
38593
38594
38595
38596 for wx_func in getpwuid_r
38597 do
38598 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38599 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38600 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38601 echo $ECHO_N "(cached) $ECHO_C" >&6
38602 else
38603
38604 cat >conftest.$ac_ext <<_ACEOF
38605
38606 /* confdefs.h. */
38607 _ACEOF
38608 cat confdefs.h >>conftest.$ac_ext
38609 cat >>conftest.$ac_ext <<_ACEOF
38610 /* end confdefs.h. */
38611
38612
38613 #define _REENTRANT
38614 #include <pwd.h>
38615
38616 $ac_includes_default
38617
38618 int
38619 main ()
38620 {
38621
38622 #ifndef $wx_func
38623 &$wx_func;
38624 #endif
38625
38626 struct passwd pw, *ppw;
38627 char buf[1024];
38628 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38629
38630
38631 ;
38632 return 0;
38633 }
38634
38635 _ACEOF
38636 rm -f conftest.$ac_objext conftest$ac_exeext
38637 if { (ac_try="$ac_link"
38638 case "(($ac_try" in
38639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38640 *) ac_try_echo=$ac_try;;
38641 esac
38642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38643 (eval "$ac_link") 2>conftest.er1
38644 ac_status=$?
38645 grep -v '^ *+' conftest.er1 >conftest.err
38646 rm -f conftest.er1
38647 cat conftest.err >&5
38648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38649 (exit $ac_status); } && {
38650 test -z "$ac_c_werror_flag" ||
38651 test ! -s conftest.err
38652 } && test -s conftest$ac_exeext &&
38653 $as_test_x conftest$ac_exeext; then
38654 eval wx_cv_func_$wx_func=yes
38655 else
38656 echo "$as_me: failed program was:" >&5
38657 sed 's/^/| /' conftest.$ac_ext >&5
38658
38659 eval wx_cv_func_$wx_func=no
38660 fi
38661
38662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38663 conftest$ac_exeext conftest.$ac_ext
38664
38665 fi
38666 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38667 { echo "$as_me:$LINENO: result: $ac_res" >&5
38668 echo "${ECHO_T}$ac_res" >&6; }
38669
38670 if eval test \$wx_cv_func_$wx_func = yes
38671 then
38672 cat >>confdefs.h <<_ACEOF
38673 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38674 _ACEOF
38675
38676
38677 else
38678 :
38679
38680 fi
38681 done
38682
38683
38684
38685 for wx_func in getgrgid_r
38686 do
38687 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38688 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38689 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38690 echo $ECHO_N "(cached) $ECHO_C" >&6
38691 else
38692
38693 cat >conftest.$ac_ext <<_ACEOF
38694
38695 /* confdefs.h. */
38696 _ACEOF
38697 cat confdefs.h >>conftest.$ac_ext
38698 cat >>conftest.$ac_ext <<_ACEOF
38699 /* end confdefs.h. */
38700
38701
38702 #define _REENTRANT
38703 #include <grp.h>
38704
38705 $ac_includes_default
38706
38707 int
38708 main ()
38709 {
38710
38711 #ifndef $wx_func
38712 &$wx_func;
38713 #endif
38714
38715 struct group grp, *pgrp;
38716 char buf[1024];
38717 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38718
38719
38720 ;
38721 return 0;
38722 }
38723
38724 _ACEOF
38725 rm -f conftest.$ac_objext conftest$ac_exeext
38726 if { (ac_try="$ac_link"
38727 case "(($ac_try" in
38728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38729 *) ac_try_echo=$ac_try;;
38730 esac
38731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38732 (eval "$ac_link") 2>conftest.er1
38733 ac_status=$?
38734 grep -v '^ *+' conftest.er1 >conftest.err
38735 rm -f conftest.er1
38736 cat conftest.err >&5
38737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38738 (exit $ac_status); } && {
38739 test -z "$ac_c_werror_flag" ||
38740 test ! -s conftest.err
38741 } && test -s conftest$ac_exeext &&
38742 $as_test_x conftest$ac_exeext; then
38743 eval wx_cv_func_$wx_func=yes
38744 else
38745 echo "$as_me: failed program was:" >&5
38746 sed 's/^/| /' conftest.$ac_ext >&5
38747
38748 eval wx_cv_func_$wx_func=no
38749 fi
38750
38751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38752 conftest$ac_exeext conftest.$ac_ext
38753
38754 fi
38755 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38756 { echo "$as_me:$LINENO: result: $ac_res" >&5
38757 echo "${ECHO_T}$ac_res" >&6; }
38758
38759 if eval test \$wx_cv_func_$wx_func = yes
38760 then
38761 cat >>confdefs.h <<_ACEOF
38762 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38763 _ACEOF
38764
38765
38766 else
38767 :
38768
38769 fi
38770 done
38771
38772 fi
38773
38774 fi
38775
38776
38777
38778 cat >confcache <<\_ACEOF
38779 # This file is a shell script that caches the results of configure
38780 # tests run on this system so they can be shared between configure
38781 # scripts and configure runs, see configure's option --config-cache.
38782 # It is not useful on other systems. If it contains results you don't
38783 # want to keep, you may remove or edit it.
38784 #
38785 # config.status only pays attention to the cache file if you give it
38786 # the --recheck option to rerun configure.
38787 #
38788 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38789 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38790 # following values.
38791
38792 _ACEOF
38793
38794 # The following way of writing the cache mishandles newlines in values,
38795 # but we know of no workaround that is simple, portable, and efficient.
38796 # So, we kill variables containing newlines.
38797 # Ultrix sh set writes to stderr and can't be redirected directly,
38798 # and sets the high bit in the cache file unless we assign to the vars.
38799 (
38800 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38801 eval ac_val=\$$ac_var
38802 case $ac_val in #(
38803 *${as_nl}*)
38804 case $ac_var in #(
38805 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38806 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38807 esac
38808 case $ac_var in #(
38809 _ | IFS | as_nl) ;; #(
38810 *) $as_unset $ac_var ;;
38811 esac ;;
38812 esac
38813 done
38814
38815 (set) 2>&1 |
38816 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38817 *${as_nl}ac_space=\ *)
38818 # `set' does not quote correctly, so add quotes (double-quote
38819 # substitution turns \\\\ into \\, and sed turns \\ into \).
38820 sed -n \
38821 "s/'/'\\\\''/g;
38822 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38823 ;; #(
38824 *)
38825 # `set' quotes correctly as required by POSIX, so do not add quotes.
38826 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38827 ;;
38828 esac |
38829 sort
38830 ) |
38831 sed '
38832 /^ac_cv_env_/b end
38833 t clear
38834 :clear
38835 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38836 t end
38837 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38838 :end' >>confcache
38839 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38840 if test -w "$cache_file"; then
38841 test "x$cache_file" != "x/dev/null" &&
38842 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38843 echo "$as_me: updating cache $cache_file" >&6;}
38844 cat confcache >$cache_file
38845 else
38846 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38847 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38848 fi
38849 fi
38850 rm -f confcache
38851
38852
38853 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38854
38855
38856 THREADS_LINK=
38857 THREADS_CFLAGS=
38858
38859 if test "$wxUSE_THREADS" = "yes" ; then
38860 if test "$USE_BEOS" = 1; then
38861 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38862 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38863 wxUSE_THREADS="no"
38864 fi
38865 fi
38866
38867 if test "$wxUSE_THREADS" = "yes" ; then
38868
38869
38870 THREAD_OPTS="-pthread"
38871 if test "x$SUNCXX" = xyes; then
38872 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38873 fi
38874
38875 case "${host}" in
38876 *-*-solaris2* | *-*-sunos4* )
38877 if test "x$GCC" = "xyes"; then
38878 THREAD_OPTS="-pthreads $THREAD_OPTS"
38879 fi
38880 ;;
38881 *-*-freebsd*)
38882 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38883 ;;
38884 *-*-darwin* | *-*-cygwin* )
38885 THREAD_OPTS=""
38886 ;;
38887 *-*-aix*)
38888 THREAD_OPTS="pthreads"
38889 ;;
38890 *-hp-hpux* )
38891 if test "x$GCC" = "xyes"; then
38892 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38893 THREAD_OPTS=""
38894 else
38895 THREAD_OPTS="-mt"
38896 fi
38897 ;;
38898
38899 *-*-irix* )
38900 if test "x$GCC" = "xyes"; then
38901 THREAD_OPTS=""
38902 fi
38903 ;;
38904
38905 *-*-*UnixWare*)
38906 if test "x$GCC" != "xyes"; then
38907 THREAD_OPTS="-Ethread"
38908 fi
38909 ;;
38910 esac
38911
38912 THREAD_OPTS="$THREAD_OPTS pthread none"
38913
38914 THREADS_OK=no
38915 for flag in $THREAD_OPTS; do
38916 case $flag in
38917 none)
38918 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38919 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38920 ;;
38921
38922 -*)
38923 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38924 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38925 THREADS_CFLAGS="$flag"
38926 ;;
38927
38928 *)
38929 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38930 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38931 THREADS_LINK="-l$flag"
38932 ;;
38933 esac
38934
38935 save_LIBS="$LIBS"
38936 save_CFLAGS="$CFLAGS"
38937 LIBS="$THREADS_LINK $LIBS"
38938 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38939
38940 cat >conftest.$ac_ext <<_ACEOF
38941 /* confdefs.h. */
38942 _ACEOF
38943 cat confdefs.h >>conftest.$ac_ext
38944 cat >>conftest.$ac_ext <<_ACEOF
38945 /* end confdefs.h. */
38946 #include <pthread.h>
38947 int
38948 main ()
38949 {
38950 pthread_create(0,0,0,0);
38951 ;
38952 return 0;
38953 }
38954 _ACEOF
38955 rm -f conftest.$ac_objext conftest$ac_exeext
38956 if { (ac_try="$ac_link"
38957 case "(($ac_try" in
38958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38959 *) ac_try_echo=$ac_try;;
38960 esac
38961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38962 (eval "$ac_link") 2>conftest.er1
38963 ac_status=$?
38964 grep -v '^ *+' conftest.er1 >conftest.err
38965 rm -f conftest.er1
38966 cat conftest.err >&5
38967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38968 (exit $ac_status); } && {
38969 test -z "$ac_c_werror_flag" ||
38970 test ! -s conftest.err
38971 } && test -s conftest$ac_exeext &&
38972 $as_test_x conftest$ac_exeext; then
38973 THREADS_OK=yes
38974 else
38975 echo "$as_me: failed program was:" >&5
38976 sed 's/^/| /' conftest.$ac_ext >&5
38977
38978
38979 fi
38980
38981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38982 conftest$ac_exeext conftest.$ac_ext
38983
38984 LIBS="$save_LIBS"
38985 CFLAGS="$save_CFLAGS"
38986
38987 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38988 echo "${ECHO_T}$THREADS_OK" >&6; }
38989 if test "x$THREADS_OK" = "xyes"; then
38990 break;
38991 fi
38992
38993 THREADS_LINK=""
38994 THREADS_CFLAGS=""
38995 done
38996
38997 if test "x$THREADS_OK" != "xyes"; then
38998 wxUSE_THREADS=no
38999 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39000 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39001 else
39002 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39003 LIBS="$THREADS_LINK $LIBS"
39004
39005 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39006 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39007 flag=no
39008 case "${host}" in
39009 *-aix*)
39010 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39011 flag="-D_THREAD_SAFE"
39012 ;;
39013 *-freebsd*)
39014 flag="-D_THREAD_SAFE"
39015 ;;
39016 *-hp-hpux* )
39017 flag="-D_REENTRANT"
39018 if test "x$GCC" != "xyes"; then
39019 flag="$flag -D_RWSTD_MULTI_THREAD"
39020 fi
39021 ;;
39022 *solaris* | alpha*-osf*)
39023 flag="-D_REENTRANT"
39024 ;;
39025 esac
39026 { echo "$as_me:$LINENO: result: ${flag}" >&5
39027 echo "${ECHO_T}${flag}" >&6; }
39028 if test "x$flag" != xno; then
39029 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39030 fi
39031
39032 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39033 fi
39034 fi
39035
39036 if test "$wxUSE_THREADS" = "yes" ; then
39037
39038 for ac_func in thr_setconcurrency
39039 do
39040 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39041 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39042 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39043 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39044 echo $ECHO_N "(cached) $ECHO_C" >&6
39045 else
39046 cat >conftest.$ac_ext <<_ACEOF
39047 /* confdefs.h. */
39048 _ACEOF
39049 cat confdefs.h >>conftest.$ac_ext
39050 cat >>conftest.$ac_ext <<_ACEOF
39051 /* end confdefs.h. */
39052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39054 #define $ac_func innocuous_$ac_func
39055
39056 /* System header to define __stub macros and hopefully few prototypes,
39057 which can conflict with char $ac_func (); below.
39058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39059 <limits.h> exists even on freestanding compilers. */
39060
39061 #ifdef __STDC__
39062 # include <limits.h>
39063 #else
39064 # include <assert.h>
39065 #endif
39066
39067 #undef $ac_func
39068
39069 /* Override any GCC internal prototype to avoid an error.
39070 Use char because int might match the return type of a GCC
39071 builtin and then its argument prototype would still apply. */
39072 #ifdef __cplusplus
39073 extern "C"
39074 #endif
39075 char $ac_func ();
39076 /* The GNU C library defines this for functions which it implements
39077 to always fail with ENOSYS. Some functions are actually named
39078 something starting with __ and the normal name is an alias. */
39079 #if defined __stub_$ac_func || defined __stub___$ac_func
39080 choke me
39081 #endif
39082
39083 int
39084 main ()
39085 {
39086 return $ac_func ();
39087 ;
39088 return 0;
39089 }
39090 _ACEOF
39091 rm -f conftest.$ac_objext conftest$ac_exeext
39092 if { (ac_try="$ac_link"
39093 case "(($ac_try" in
39094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39095 *) ac_try_echo=$ac_try;;
39096 esac
39097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39098 (eval "$ac_link") 2>conftest.er1
39099 ac_status=$?
39100 grep -v '^ *+' conftest.er1 >conftest.err
39101 rm -f conftest.er1
39102 cat conftest.err >&5
39103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39104 (exit $ac_status); } && {
39105 test -z "$ac_c_werror_flag" ||
39106 test ! -s conftest.err
39107 } && test -s conftest$ac_exeext &&
39108 $as_test_x conftest$ac_exeext; then
39109 eval "$as_ac_var=yes"
39110 else
39111 echo "$as_me: failed program was:" >&5
39112 sed 's/^/| /' conftest.$ac_ext >&5
39113
39114 eval "$as_ac_var=no"
39115 fi
39116
39117 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39118 conftest$ac_exeext conftest.$ac_ext
39119 fi
39120 ac_res=`eval echo '${'$as_ac_var'}'`
39121 { echo "$as_me:$LINENO: result: $ac_res" >&5
39122 echo "${ECHO_T}$ac_res" >&6; }
39123 if test `eval echo '${'$as_ac_var'}'` = yes; then
39124 cat >>confdefs.h <<_ACEOF
39125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39126 _ACEOF
39127
39128 fi
39129 done
39130
39131
39132 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39133 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39134 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39135 echo $ECHO_N "(cached) $ECHO_C" >&6
39136 else
39137
39138 ac_ext=cpp
39139 ac_cpp='$CXXCPP $CPPFLAGS'
39140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39143
39144 cat >conftest.$ac_ext <<_ACEOF
39145 /* confdefs.h. */
39146 _ACEOF
39147 cat confdefs.h >>conftest.$ac_ext
39148 cat >>conftest.$ac_ext <<_ACEOF
39149 /* end confdefs.h. */
39150 #include <pthread.h>
39151 void ThreadCleanupFunc(void *p);
39152
39153 int
39154 main ()
39155 {
39156
39157 void *p;
39158 pthread_cleanup_push(ThreadCleanupFunc, p);
39159 pthread_cleanup_pop(0);
39160
39161 ;
39162 return 0;
39163 }
39164 _ACEOF
39165 rm -f conftest.$ac_objext
39166 if { (ac_try="$ac_compile"
39167 case "(($ac_try" in
39168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39169 *) ac_try_echo=$ac_try;;
39170 esac
39171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39172 (eval "$ac_compile") 2>conftest.er1
39173 ac_status=$?
39174 grep -v '^ *+' conftest.er1 >conftest.err
39175 rm -f conftest.er1
39176 cat conftest.err >&5
39177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39178 (exit $ac_status); } && {
39179 test -z "$ac_cxx_werror_flag" ||
39180 test ! -s conftest.err
39181 } && test -s conftest.$ac_objext; then
39182
39183 wx_cv_func_pthread_cleanup=yes
39184
39185 else
39186 echo "$as_me: failed program was:" >&5
39187 sed 's/^/| /' conftest.$ac_ext >&5
39188
39189
39190 wx_cv_func_pthread_cleanup=no
39191
39192
39193 fi
39194
39195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39196 ac_ext=c
39197 ac_cpp='$CPP $CPPFLAGS'
39198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39201
39202
39203 fi
39204 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39205 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39206 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39207 cat >>confdefs.h <<\_ACEOF
39208 #define wxHAVE_PTHREAD_CLEANUP 1
39209 _ACEOF
39210
39211 fi
39212
39213
39214 for ac_header in sched.h
39215 do
39216 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39217 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39218 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39219 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39220 echo $ECHO_N "(cached) $ECHO_C" >&6
39221 else
39222 cat >conftest.$ac_ext <<_ACEOF
39223 /* confdefs.h. */
39224 _ACEOF
39225 cat confdefs.h >>conftest.$ac_ext
39226 cat >>conftest.$ac_ext <<_ACEOF
39227 /* end confdefs.h. */
39228 $ac_includes_default
39229
39230 #include <$ac_header>
39231 _ACEOF
39232 rm -f conftest.$ac_objext
39233 if { (ac_try="$ac_compile"
39234 case "(($ac_try" in
39235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39236 *) ac_try_echo=$ac_try;;
39237 esac
39238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39239 (eval "$ac_compile") 2>conftest.er1
39240 ac_status=$?
39241 grep -v '^ *+' conftest.er1 >conftest.err
39242 rm -f conftest.er1
39243 cat conftest.err >&5
39244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39245 (exit $ac_status); } && {
39246 test -z "$ac_c_werror_flag" ||
39247 test ! -s conftest.err
39248 } && test -s conftest.$ac_objext; then
39249 eval "$as_ac_Header=yes"
39250 else
39251 echo "$as_me: failed program was:" >&5
39252 sed 's/^/| /' conftest.$ac_ext >&5
39253
39254 eval "$as_ac_Header=no"
39255 fi
39256
39257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39258 fi
39259 ac_res=`eval echo '${'$as_ac_Header'}'`
39260 { echo "$as_me:$LINENO: result: $ac_res" >&5
39261 echo "${ECHO_T}$ac_res" >&6; }
39262 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39263 cat >>confdefs.h <<_ACEOF
39264 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39265 _ACEOF
39266
39267 fi
39268
39269 done
39270
39271 if test "$ac_cv_header_sched_h" = "yes"; then
39272 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39273 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39274 if test "${ac_cv_func_sched_yield+set}" = set; then
39275 echo $ECHO_N "(cached) $ECHO_C" >&6
39276 else
39277 cat >conftest.$ac_ext <<_ACEOF
39278 /* confdefs.h. */
39279 _ACEOF
39280 cat confdefs.h >>conftest.$ac_ext
39281 cat >>conftest.$ac_ext <<_ACEOF
39282 /* end confdefs.h. */
39283 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39285 #define sched_yield innocuous_sched_yield
39286
39287 /* System header to define __stub macros and hopefully few prototypes,
39288 which can conflict with char sched_yield (); below.
39289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39290 <limits.h> exists even on freestanding compilers. */
39291
39292 #ifdef __STDC__
39293 # include <limits.h>
39294 #else
39295 # include <assert.h>
39296 #endif
39297
39298 #undef sched_yield
39299
39300 /* Override any GCC internal prototype to avoid an error.
39301 Use char because int might match the return type of a GCC
39302 builtin and then its argument prototype would still apply. */
39303 #ifdef __cplusplus
39304 extern "C"
39305 #endif
39306 char sched_yield ();
39307 /* The GNU C library defines this for functions which it implements
39308 to always fail with ENOSYS. Some functions are actually named
39309 something starting with __ and the normal name is an alias. */
39310 #if defined __stub_sched_yield || defined __stub___sched_yield
39311 choke me
39312 #endif
39313
39314 int
39315 main ()
39316 {
39317 return sched_yield ();
39318 ;
39319 return 0;
39320 }
39321 _ACEOF
39322 rm -f conftest.$ac_objext conftest$ac_exeext
39323 if { (ac_try="$ac_link"
39324 case "(($ac_try" in
39325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39326 *) ac_try_echo=$ac_try;;
39327 esac
39328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39329 (eval "$ac_link") 2>conftest.er1
39330 ac_status=$?
39331 grep -v '^ *+' conftest.er1 >conftest.err
39332 rm -f conftest.er1
39333 cat conftest.err >&5
39334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39335 (exit $ac_status); } && {
39336 test -z "$ac_c_werror_flag" ||
39337 test ! -s conftest.err
39338 } && test -s conftest$ac_exeext &&
39339 $as_test_x conftest$ac_exeext; then
39340 ac_cv_func_sched_yield=yes
39341 else
39342 echo "$as_me: failed program was:" >&5
39343 sed 's/^/| /' conftest.$ac_ext >&5
39344
39345 ac_cv_func_sched_yield=no
39346 fi
39347
39348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39349 conftest$ac_exeext conftest.$ac_ext
39350 fi
39351 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39352 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39353 if test $ac_cv_func_sched_yield = yes; then
39354 cat >>confdefs.h <<\_ACEOF
39355 #define HAVE_SCHED_YIELD 1
39356 _ACEOF
39357
39358 else
39359
39360 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39361 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39362 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39363 echo $ECHO_N "(cached) $ECHO_C" >&6
39364 else
39365 ac_check_lib_save_LIBS=$LIBS
39366 LIBS="-lposix4 $LIBS"
39367 cat >conftest.$ac_ext <<_ACEOF
39368 /* confdefs.h. */
39369 _ACEOF
39370 cat confdefs.h >>conftest.$ac_ext
39371 cat >>conftest.$ac_ext <<_ACEOF
39372 /* end confdefs.h. */
39373
39374 /* Override any GCC internal prototype to avoid an error.
39375 Use char because int might match the return type of a GCC
39376 builtin and then its argument prototype would still apply. */
39377 #ifdef __cplusplus
39378 extern "C"
39379 #endif
39380 char sched_yield ();
39381 int
39382 main ()
39383 {
39384 return sched_yield ();
39385 ;
39386 return 0;
39387 }
39388 _ACEOF
39389 rm -f conftest.$ac_objext conftest$ac_exeext
39390 if { (ac_try="$ac_link"
39391 case "(($ac_try" in
39392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39393 *) ac_try_echo=$ac_try;;
39394 esac
39395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39396 (eval "$ac_link") 2>conftest.er1
39397 ac_status=$?
39398 grep -v '^ *+' conftest.er1 >conftest.err
39399 rm -f conftest.er1
39400 cat conftest.err >&5
39401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39402 (exit $ac_status); } && {
39403 test -z "$ac_c_werror_flag" ||
39404 test ! -s conftest.err
39405 } && test -s conftest$ac_exeext &&
39406 $as_test_x conftest$ac_exeext; then
39407 ac_cv_lib_posix4_sched_yield=yes
39408 else
39409 echo "$as_me: failed program was:" >&5
39410 sed 's/^/| /' conftest.$ac_ext >&5
39411
39412 ac_cv_lib_posix4_sched_yield=no
39413 fi
39414
39415 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39416 conftest$ac_exeext conftest.$ac_ext
39417 LIBS=$ac_check_lib_save_LIBS
39418 fi
39419 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39420 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39421 if test $ac_cv_lib_posix4_sched_yield = yes; then
39422 cat >>confdefs.h <<\_ACEOF
39423 #define HAVE_SCHED_YIELD 1
39424 _ACEOF
39425 POSIX4_LINK=" -lposix4"
39426 else
39427 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39428 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39429
39430 fi
39431
39432
39433
39434 fi
39435
39436 fi
39437
39438 HAVE_PRIOR_FUNCS=0
39439 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39440 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39441 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39442 echo $ECHO_N "(cached) $ECHO_C" >&6
39443 else
39444 cat >conftest.$ac_ext <<_ACEOF
39445 /* confdefs.h. */
39446 _ACEOF
39447 cat confdefs.h >>conftest.$ac_ext
39448 cat >>conftest.$ac_ext <<_ACEOF
39449 /* end confdefs.h. */
39450 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39452 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39453
39454 /* System header to define __stub macros and hopefully few prototypes,
39455 which can conflict with char pthread_attr_getschedpolicy (); below.
39456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39457 <limits.h> exists even on freestanding compilers. */
39458
39459 #ifdef __STDC__
39460 # include <limits.h>
39461 #else
39462 # include <assert.h>
39463 #endif
39464
39465 #undef pthread_attr_getschedpolicy
39466
39467 /* Override any GCC internal prototype to avoid an error.
39468 Use char because int might match the return type of a GCC
39469 builtin and then its argument prototype would still apply. */
39470 #ifdef __cplusplus
39471 extern "C"
39472 #endif
39473 char pthread_attr_getschedpolicy ();
39474 /* The GNU C library defines this for functions which it implements
39475 to always fail with ENOSYS. Some functions are actually named
39476 something starting with __ and the normal name is an alias. */
39477 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39478 choke me
39479 #endif
39480
39481 int
39482 main ()
39483 {
39484 return pthread_attr_getschedpolicy ();
39485 ;
39486 return 0;
39487 }
39488 _ACEOF
39489 rm -f conftest.$ac_objext conftest$ac_exeext
39490 if { (ac_try="$ac_link"
39491 case "(($ac_try" in
39492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39493 *) ac_try_echo=$ac_try;;
39494 esac
39495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39496 (eval "$ac_link") 2>conftest.er1
39497 ac_status=$?
39498 grep -v '^ *+' conftest.er1 >conftest.err
39499 rm -f conftest.er1
39500 cat conftest.err >&5
39501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39502 (exit $ac_status); } && {
39503 test -z "$ac_c_werror_flag" ||
39504 test ! -s conftest.err
39505 } && test -s conftest$ac_exeext &&
39506 $as_test_x conftest$ac_exeext; then
39507 ac_cv_func_pthread_attr_getschedpolicy=yes
39508 else
39509 echo "$as_me: failed program was:" >&5
39510 sed 's/^/| /' conftest.$ac_ext >&5
39511
39512 ac_cv_func_pthread_attr_getschedpolicy=no
39513 fi
39514
39515 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39516 conftest$ac_exeext conftest.$ac_ext
39517 fi
39518 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39519 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39520 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39521 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39522 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39523 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39524 echo $ECHO_N "(cached) $ECHO_C" >&6
39525 else
39526 cat >conftest.$ac_ext <<_ACEOF
39527 /* confdefs.h. */
39528 _ACEOF
39529 cat confdefs.h >>conftest.$ac_ext
39530 cat >>conftest.$ac_ext <<_ACEOF
39531 /* end confdefs.h. */
39532 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39533 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39534 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39535
39536 /* System header to define __stub macros and hopefully few prototypes,
39537 which can conflict with char pthread_attr_setschedparam (); below.
39538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39539 <limits.h> exists even on freestanding compilers. */
39540
39541 #ifdef __STDC__
39542 # include <limits.h>
39543 #else
39544 # include <assert.h>
39545 #endif
39546
39547 #undef pthread_attr_setschedparam
39548
39549 /* Override any GCC internal prototype to avoid an error.
39550 Use char because int might match the return type of a GCC
39551 builtin and then its argument prototype would still apply. */
39552 #ifdef __cplusplus
39553 extern "C"
39554 #endif
39555 char pthread_attr_setschedparam ();
39556 /* The GNU C library defines this for functions which it implements
39557 to always fail with ENOSYS. Some functions are actually named
39558 something starting with __ and the normal name is an alias. */
39559 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39560 choke me
39561 #endif
39562
39563 int
39564 main ()
39565 {
39566 return pthread_attr_setschedparam ();
39567 ;
39568 return 0;
39569 }
39570 _ACEOF
39571 rm -f conftest.$ac_objext conftest$ac_exeext
39572 if { (ac_try="$ac_link"
39573 case "(($ac_try" in
39574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39575 *) ac_try_echo=$ac_try;;
39576 esac
39577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39578 (eval "$ac_link") 2>conftest.er1
39579 ac_status=$?
39580 grep -v '^ *+' conftest.er1 >conftest.err
39581 rm -f conftest.er1
39582 cat conftest.err >&5
39583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39584 (exit $ac_status); } && {
39585 test -z "$ac_c_werror_flag" ||
39586 test ! -s conftest.err
39587 } && test -s conftest$ac_exeext &&
39588 $as_test_x conftest$ac_exeext; then
39589 ac_cv_func_pthread_attr_setschedparam=yes
39590 else
39591 echo "$as_me: failed program was:" >&5
39592 sed 's/^/| /' conftest.$ac_ext >&5
39593
39594 ac_cv_func_pthread_attr_setschedparam=no
39595 fi
39596
39597 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39598 conftest$ac_exeext conftest.$ac_ext
39599 fi
39600 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39601 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39602 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39603 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39604 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39605 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39606 echo $ECHO_N "(cached) $ECHO_C" >&6
39607 else
39608 cat >conftest.$ac_ext <<_ACEOF
39609 /* confdefs.h. */
39610 _ACEOF
39611 cat confdefs.h >>conftest.$ac_ext
39612 cat >>conftest.$ac_ext <<_ACEOF
39613 /* end confdefs.h. */
39614 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39616 #define sched_get_priority_max innocuous_sched_get_priority_max
39617
39618 /* System header to define __stub macros and hopefully few prototypes,
39619 which can conflict with char sched_get_priority_max (); below.
39620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39621 <limits.h> exists even on freestanding compilers. */
39622
39623 #ifdef __STDC__
39624 # include <limits.h>
39625 #else
39626 # include <assert.h>
39627 #endif
39628
39629 #undef sched_get_priority_max
39630
39631 /* Override any GCC internal prototype to avoid an error.
39632 Use char because int might match the return type of a GCC
39633 builtin and then its argument prototype would still apply. */
39634 #ifdef __cplusplus
39635 extern "C"
39636 #endif
39637 char sched_get_priority_max ();
39638 /* The GNU C library defines this for functions which it implements
39639 to always fail with ENOSYS. Some functions are actually named
39640 something starting with __ and the normal name is an alias. */
39641 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39642 choke me
39643 #endif
39644
39645 int
39646 main ()
39647 {
39648 return sched_get_priority_max ();
39649 ;
39650 return 0;
39651 }
39652 _ACEOF
39653 rm -f conftest.$ac_objext conftest$ac_exeext
39654 if { (ac_try="$ac_link"
39655 case "(($ac_try" in
39656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39657 *) ac_try_echo=$ac_try;;
39658 esac
39659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39660 (eval "$ac_link") 2>conftest.er1
39661 ac_status=$?
39662 grep -v '^ *+' conftest.er1 >conftest.err
39663 rm -f conftest.er1
39664 cat conftest.err >&5
39665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39666 (exit $ac_status); } && {
39667 test -z "$ac_c_werror_flag" ||
39668 test ! -s conftest.err
39669 } && test -s conftest$ac_exeext &&
39670 $as_test_x conftest$ac_exeext; then
39671 ac_cv_func_sched_get_priority_max=yes
39672 else
39673 echo "$as_me: failed program was:" >&5
39674 sed 's/^/| /' conftest.$ac_ext >&5
39675
39676 ac_cv_func_sched_get_priority_max=no
39677 fi
39678
39679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39680 conftest$ac_exeext conftest.$ac_ext
39681 fi
39682 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39683 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39684 if test $ac_cv_func_sched_get_priority_max = yes; then
39685 HAVE_PRIOR_FUNCS=1
39686 else
39687 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39688 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39689 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39690 echo $ECHO_N "(cached) $ECHO_C" >&6
39691 else
39692 ac_check_lib_save_LIBS=$LIBS
39693 LIBS="-lposix4 $LIBS"
39694 cat >conftest.$ac_ext <<_ACEOF
39695 /* confdefs.h. */
39696 _ACEOF
39697 cat confdefs.h >>conftest.$ac_ext
39698 cat >>conftest.$ac_ext <<_ACEOF
39699 /* end confdefs.h. */
39700
39701 /* Override any GCC internal prototype to avoid an error.
39702 Use char because int might match the return type of a GCC
39703 builtin and then its argument prototype would still apply. */
39704 #ifdef __cplusplus
39705 extern "C"
39706 #endif
39707 char sched_get_priority_max ();
39708 int
39709 main ()
39710 {
39711 return sched_get_priority_max ();
39712 ;
39713 return 0;
39714 }
39715 _ACEOF
39716 rm -f conftest.$ac_objext conftest$ac_exeext
39717 if { (ac_try="$ac_link"
39718 case "(($ac_try" in
39719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39720 *) ac_try_echo=$ac_try;;
39721 esac
39722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39723 (eval "$ac_link") 2>conftest.er1
39724 ac_status=$?
39725 grep -v '^ *+' conftest.er1 >conftest.err
39726 rm -f conftest.er1
39727 cat conftest.err >&5
39728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39729 (exit $ac_status); } && {
39730 test -z "$ac_c_werror_flag" ||
39731 test ! -s conftest.err
39732 } && test -s conftest$ac_exeext &&
39733 $as_test_x conftest$ac_exeext; then
39734 ac_cv_lib_posix4_sched_get_priority_max=yes
39735 else
39736 echo "$as_me: failed program was:" >&5
39737 sed 's/^/| /' conftest.$ac_ext >&5
39738
39739 ac_cv_lib_posix4_sched_get_priority_max=no
39740 fi
39741
39742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39743 conftest$ac_exeext conftest.$ac_ext
39744 LIBS=$ac_check_lib_save_LIBS
39745 fi
39746 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39747 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39748 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39749
39750 HAVE_PRIOR_FUNCS=1
39751 POSIX4_LINK=" -lposix4"
39752
39753 fi
39754
39755
39756 fi
39757
39758
39759 fi
39760
39761
39762 fi
39763
39764
39765 if test "$HAVE_PRIOR_FUNCS" = 1; then
39766 cat >>confdefs.h <<\_ACEOF
39767 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39768 _ACEOF
39769
39770 else
39771 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39772 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39773 fi
39774
39775 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39776 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39777 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39778 echo $ECHO_N "(cached) $ECHO_C" >&6
39779 else
39780 cat >conftest.$ac_ext <<_ACEOF
39781 /* confdefs.h. */
39782 _ACEOF
39783 cat confdefs.h >>conftest.$ac_ext
39784 cat >>conftest.$ac_ext <<_ACEOF
39785 /* end confdefs.h. */
39786 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39788 #define pthread_cancel innocuous_pthread_cancel
39789
39790 /* System header to define __stub macros and hopefully few prototypes,
39791 which can conflict with char pthread_cancel (); below.
39792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39793 <limits.h> exists even on freestanding compilers. */
39794
39795 #ifdef __STDC__
39796 # include <limits.h>
39797 #else
39798 # include <assert.h>
39799 #endif
39800
39801 #undef pthread_cancel
39802
39803 /* Override any GCC internal prototype to avoid an error.
39804 Use char because int might match the return type of a GCC
39805 builtin and then its argument prototype would still apply. */
39806 #ifdef __cplusplus
39807 extern "C"
39808 #endif
39809 char pthread_cancel ();
39810 /* The GNU C library defines this for functions which it implements
39811 to always fail with ENOSYS. Some functions are actually named
39812 something starting with __ and the normal name is an alias. */
39813 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39814 choke me
39815 #endif
39816
39817 int
39818 main ()
39819 {
39820 return pthread_cancel ();
39821 ;
39822 return 0;
39823 }
39824 _ACEOF
39825 rm -f conftest.$ac_objext conftest$ac_exeext
39826 if { (ac_try="$ac_link"
39827 case "(($ac_try" in
39828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39829 *) ac_try_echo=$ac_try;;
39830 esac
39831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39832 (eval "$ac_link") 2>conftest.er1
39833 ac_status=$?
39834 grep -v '^ *+' conftest.er1 >conftest.err
39835 rm -f conftest.er1
39836 cat conftest.err >&5
39837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39838 (exit $ac_status); } && {
39839 test -z "$ac_c_werror_flag" ||
39840 test ! -s conftest.err
39841 } && test -s conftest$ac_exeext &&
39842 $as_test_x conftest$ac_exeext; then
39843 ac_cv_func_pthread_cancel=yes
39844 else
39845 echo "$as_me: failed program was:" >&5
39846 sed 's/^/| /' conftest.$ac_ext >&5
39847
39848 ac_cv_func_pthread_cancel=no
39849 fi
39850
39851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39852 conftest$ac_exeext conftest.$ac_ext
39853 fi
39854 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39855 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39856 if test $ac_cv_func_pthread_cancel = yes; then
39857 cat >>confdefs.h <<\_ACEOF
39858 #define HAVE_PTHREAD_CANCEL 1
39859 _ACEOF
39860
39861 else
39862 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39863 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39864 fi
39865
39866
39867 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39868 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39869 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39870 echo $ECHO_N "(cached) $ECHO_C" >&6
39871 else
39872 cat >conftest.$ac_ext <<_ACEOF
39873 /* confdefs.h. */
39874 _ACEOF
39875 cat confdefs.h >>conftest.$ac_ext
39876 cat >>conftest.$ac_ext <<_ACEOF
39877 /* end confdefs.h. */
39878 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39880 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39881
39882 /* System header to define __stub macros and hopefully few prototypes,
39883 which can conflict with char pthread_mutex_timedlock (); below.
39884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39885 <limits.h> exists even on freestanding compilers. */
39886
39887 #ifdef __STDC__
39888 # include <limits.h>
39889 #else
39890 # include <assert.h>
39891 #endif
39892
39893 #undef pthread_mutex_timedlock
39894
39895 /* Override any GCC internal prototype to avoid an error.
39896 Use char because int might match the return type of a GCC
39897 builtin and then its argument prototype would still apply. */
39898 #ifdef __cplusplus
39899 extern "C"
39900 #endif
39901 char pthread_mutex_timedlock ();
39902 /* The GNU C library defines this for functions which it implements
39903 to always fail with ENOSYS. Some functions are actually named
39904 something starting with __ and the normal name is an alias. */
39905 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39906 choke me
39907 #endif
39908
39909 int
39910 main ()
39911 {
39912 return pthread_mutex_timedlock ();
39913 ;
39914 return 0;
39915 }
39916 _ACEOF
39917 rm -f conftest.$ac_objext conftest$ac_exeext
39918 if { (ac_try="$ac_link"
39919 case "(($ac_try" in
39920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39921 *) ac_try_echo=$ac_try;;
39922 esac
39923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39924 (eval "$ac_link") 2>conftest.er1
39925 ac_status=$?
39926 grep -v '^ *+' conftest.er1 >conftest.err
39927 rm -f conftest.er1
39928 cat conftest.err >&5
39929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39930 (exit $ac_status); } && {
39931 test -z "$ac_c_werror_flag" ||
39932 test ! -s conftest.err
39933 } && test -s conftest$ac_exeext &&
39934 $as_test_x conftest$ac_exeext; then
39935 ac_cv_func_pthread_mutex_timedlock=yes
39936 else
39937 echo "$as_me: failed program was:" >&5
39938 sed 's/^/| /' conftest.$ac_ext >&5
39939
39940 ac_cv_func_pthread_mutex_timedlock=no
39941 fi
39942
39943 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39944 conftest$ac_exeext conftest.$ac_ext
39945 fi
39946 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39947 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39948 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39949 cat >>confdefs.h <<\_ACEOF
39950 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39951 _ACEOF
39952
39953 else
39954 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39955 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39956 fi
39957
39958
39959 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39960 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39961 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39962 echo $ECHO_N "(cached) $ECHO_C" >&6
39963 else
39964 cat >conftest.$ac_ext <<_ACEOF
39965 /* confdefs.h. */
39966 _ACEOF
39967 cat confdefs.h >>conftest.$ac_ext
39968 cat >>conftest.$ac_ext <<_ACEOF
39969 /* end confdefs.h. */
39970 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39971 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39972 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39973
39974 /* System header to define __stub macros and hopefully few prototypes,
39975 which can conflict with char pthread_attr_setstacksize (); below.
39976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39977 <limits.h> exists even on freestanding compilers. */
39978
39979 #ifdef __STDC__
39980 # include <limits.h>
39981 #else
39982 # include <assert.h>
39983 #endif
39984
39985 #undef pthread_attr_setstacksize
39986
39987 /* Override any GCC internal prototype to avoid an error.
39988 Use char because int might match the return type of a GCC
39989 builtin and then its argument prototype would still apply. */
39990 #ifdef __cplusplus
39991 extern "C"
39992 #endif
39993 char pthread_attr_setstacksize ();
39994 /* The GNU C library defines this for functions which it implements
39995 to always fail with ENOSYS. Some functions are actually named
39996 something starting with __ and the normal name is an alias. */
39997 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39998 choke me
39999 #endif
40000
40001 int
40002 main ()
40003 {
40004 return pthread_attr_setstacksize ();
40005 ;
40006 return 0;
40007 }
40008 _ACEOF
40009 rm -f conftest.$ac_objext conftest$ac_exeext
40010 if { (ac_try="$ac_link"
40011 case "(($ac_try" in
40012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40013 *) ac_try_echo=$ac_try;;
40014 esac
40015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40016 (eval "$ac_link") 2>conftest.er1
40017 ac_status=$?
40018 grep -v '^ *+' conftest.er1 >conftest.err
40019 rm -f conftest.er1
40020 cat conftest.err >&5
40021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40022 (exit $ac_status); } && {
40023 test -z "$ac_c_werror_flag" ||
40024 test ! -s conftest.err
40025 } && test -s conftest$ac_exeext &&
40026 $as_test_x conftest$ac_exeext; then
40027 ac_cv_func_pthread_attr_setstacksize=yes
40028 else
40029 echo "$as_me: failed program was:" >&5
40030 sed 's/^/| /' conftest.$ac_ext >&5
40031
40032 ac_cv_func_pthread_attr_setstacksize=no
40033 fi
40034
40035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40036 conftest$ac_exeext conftest.$ac_ext
40037 fi
40038 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40039 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40040 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40041 cat >>confdefs.h <<\_ACEOF
40042 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40043 _ACEOF
40044
40045 fi
40046
40047
40048
40049 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40050 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40051 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40052 echo $ECHO_N "(cached) $ECHO_C" >&6
40053 else
40054
40055 cat >conftest.$ac_ext <<_ACEOF
40056 /* confdefs.h. */
40057 _ACEOF
40058 cat confdefs.h >>conftest.$ac_ext
40059 cat >>conftest.$ac_ext <<_ACEOF
40060 /* end confdefs.h. */
40061 #include <pthread.h>
40062 int
40063 main ()
40064 {
40065
40066 pthread_mutexattr_t attr;
40067 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40068
40069 ;
40070 return 0;
40071 }
40072 _ACEOF
40073 rm -f conftest.$ac_objext
40074 if { (ac_try="$ac_compile"
40075 case "(($ac_try" in
40076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40077 *) ac_try_echo=$ac_try;;
40078 esac
40079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40080 (eval "$ac_compile") 2>conftest.er1
40081 ac_status=$?
40082 grep -v '^ *+' conftest.er1 >conftest.err
40083 rm -f conftest.er1
40084 cat conftest.err >&5
40085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40086 (exit $ac_status); } && {
40087 test -z "$ac_c_werror_flag" ||
40088 test ! -s conftest.err
40089 } && test -s conftest.$ac_objext; then
40090 wx_cv_type_pthread_mutexattr_t=yes
40091 else
40092 echo "$as_me: failed program was:" >&5
40093 sed 's/^/| /' conftest.$ac_ext >&5
40094
40095 wx_cv_type_pthread_mutexattr_t=no
40096
40097 fi
40098
40099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40100
40101 fi
40102 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40103 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40104
40105 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40106 cat >>confdefs.h <<\_ACEOF
40107 #define HAVE_PTHREAD_MUTEXATTR_T 1
40108 _ACEOF
40109
40110
40111 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40112 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40113 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40114 echo $ECHO_N "(cached) $ECHO_C" >&6
40115 else
40116
40117 cat >conftest.$ac_ext <<_ACEOF
40118 /* confdefs.h. */
40119 _ACEOF
40120 cat confdefs.h >>conftest.$ac_ext
40121 cat >>conftest.$ac_ext <<_ACEOF
40122 /* end confdefs.h. */
40123 #include <pthread.h>
40124 int
40125 main ()
40126 {
40127
40128 pthread_mutexattr_t attr;
40129 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40130
40131 ;
40132 return 0;
40133 }
40134 _ACEOF
40135 rm -f conftest.$ac_objext
40136 if { (ac_try="$ac_compile"
40137 case "(($ac_try" in
40138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40139 *) ac_try_echo=$ac_try;;
40140 esac
40141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40142 (eval "$ac_compile") 2>conftest.er1
40143 ac_status=$?
40144 grep -v '^ *+' conftest.er1 >conftest.err
40145 rm -f conftest.er1
40146 cat conftest.err >&5
40147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40148 (exit $ac_status); } && {
40149 test -z "$ac_c_werror_flag" ||
40150 test ! -s conftest.err
40151 } && test -s conftest.$ac_objext; then
40152 wx_cv_func_pthread_mutexattr_settype_decl=yes
40153 else
40154 echo "$as_me: failed program was:" >&5
40155 sed 's/^/| /' conftest.$ac_ext >&5
40156
40157 wx_cv_func_pthread_mutexattr_settype_decl=no
40158
40159 fi
40160
40161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40162
40163 fi
40164 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40165 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40166 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40167 cat >>confdefs.h <<\_ACEOF
40168 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40169 _ACEOF
40170
40171 fi
40172 else
40173 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40174 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40175 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40176 echo $ECHO_N "(cached) $ECHO_C" >&6
40177 else
40178
40179 cat >conftest.$ac_ext <<_ACEOF
40180 /* confdefs.h. */
40181 _ACEOF
40182 cat confdefs.h >>conftest.$ac_ext
40183 cat >>conftest.$ac_ext <<_ACEOF
40184 /* end confdefs.h. */
40185 #include <pthread.h>
40186 int
40187 main ()
40188 {
40189
40190 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40191
40192 ;
40193 return 0;
40194 }
40195 _ACEOF
40196 rm -f conftest.$ac_objext
40197 if { (ac_try="$ac_compile"
40198 case "(($ac_try" in
40199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40200 *) ac_try_echo=$ac_try;;
40201 esac
40202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40203 (eval "$ac_compile") 2>conftest.er1
40204 ac_status=$?
40205 grep -v '^ *+' conftest.er1 >conftest.err
40206 rm -f conftest.er1
40207 cat conftest.err >&5
40208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40209 (exit $ac_status); } && {
40210 test -z "$ac_c_werror_flag" ||
40211 test ! -s conftest.err
40212 } && test -s conftest.$ac_objext; then
40213
40214 wx_cv_type_pthread_rec_mutex_init=yes
40215
40216 else
40217 echo "$as_me: failed program was:" >&5
40218 sed 's/^/| /' conftest.$ac_ext >&5
40219
40220
40221 wx_cv_type_pthread_rec_mutex_init=no
40222
40223
40224 fi
40225
40226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40227
40228 fi
40229 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40230 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40231 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40232 cat >>confdefs.h <<\_ACEOF
40233 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40234 _ACEOF
40235
40236 else
40237 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40238 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40239 fi
40240 fi
40241
40242 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40243 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40244 if test "${wx_cv_cc___thread+set}" = set; then
40245 echo $ECHO_N "(cached) $ECHO_C" >&6
40246 else
40247
40248 cat >conftest.$ac_ext <<_ACEOF
40249 /* confdefs.h. */
40250 _ACEOF
40251 cat confdefs.h >>conftest.$ac_ext
40252 cat >>conftest.$ac_ext <<_ACEOF
40253 /* end confdefs.h. */
40254 #include <pthread.h>
40255 int
40256 main ()
40257 {
40258
40259 static __thread int n = 0;
40260 static __thread int *p = 0;
40261
40262 ;
40263 return 0;
40264 }
40265 _ACEOF
40266 rm -f conftest.$ac_objext
40267 if { (ac_try="$ac_compile"
40268 case "(($ac_try" in
40269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40270 *) ac_try_echo=$ac_try;;
40271 esac
40272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40273 (eval "$ac_compile") 2>conftest.er1
40274 ac_status=$?
40275 grep -v '^ *+' conftest.er1 >conftest.err
40276 rm -f conftest.er1
40277 cat conftest.err >&5
40278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40279 (exit $ac_status); } && {
40280 test -z "$ac_c_werror_flag" ||
40281 test ! -s conftest.err
40282 } && test -s conftest.$ac_objext; then
40283 wx_cv_cc___thread=yes
40284 else
40285 echo "$as_me: failed program was:" >&5
40286 sed 's/^/| /' conftest.$ac_ext >&5
40287
40288 wx_cv_cc___thread=no
40289
40290 fi
40291
40292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40293
40294
40295 fi
40296 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40297 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40298
40299 if test "$wx_cv_cc___thread" = "yes"; then
40300
40301 GXX_VERSION=""
40302
40303
40304
40305 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40306 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40307
40308 if test "x$GCC" = "xyes" ; then
40309
40310 if test -z "" ; then
40311
40312 ax_gcc_option_test="int main()
40313 {
40314 return 0;
40315 }"
40316
40317 else
40318
40319 ax_gcc_option_test=""
40320
40321 fi
40322
40323
40324 # Dump the test program to file
40325 cat <<EOF > conftest.c
40326 $ax_gcc_option_test
40327 EOF
40328
40329 # Dump back the file to the log, useful for debugging purposes
40330 { ac_try='cat conftest.c 1>&5'
40331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40332 (eval $ac_try) 2>&5
40333 ac_status=$?
40334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40335 (exit $ac_status); }; }
40336
40337 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40339 (eval $ac_try) 2>&5
40340 ac_status=$?
40341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40342 (exit $ac_status); }; } ; then
40343
40344 { echo "$as_me:$LINENO: result: yes" >&5
40345 echo "${ECHO_T}yes" >&6; }
40346
40347 ax_gcc_version_option=yes
40348
40349
40350 else
40351
40352 { echo "$as_me:$LINENO: result: no" >&5
40353 echo "${ECHO_T}no" >&6; }
40354
40355 ax_gcc_version_option=no
40356
40357
40358 fi
40359
40360
40361 else
40362
40363 { echo "$as_me:$LINENO: result: no gcc available" >&5
40364 echo "${ECHO_T}no gcc available" >&6; }
40365
40366 fi
40367
40368
40369 if test "x$GXX" = "xyes"; then
40370
40371 if test "x$ax_gxx_version_option" != "no"; then
40372
40373 { echo "$as_me:$LINENO: checking gxx version" >&5
40374 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40375 if test "${ax_cv_gxx_version+set}" = set; then
40376 echo $ECHO_N "(cached) $ECHO_C" >&6
40377 else
40378
40379 ax_cv_gxx_version="`$CXX -dumpversion`"
40380 if test "x$ax_cv_gxx_version" = "x"; then
40381
40382 ax_cv_gxx_version=""
40383
40384 fi
40385
40386
40387 fi
40388 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40389 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40390 GXX_VERSION=$ax_cv_gxx_version
40391
40392 fi
40393
40394
40395 fi
40396
40397
40398
40399 if test -n "$ax_cv_gxx_version"; then
40400 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40401 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40402 case "$ax_cv_gxx_version" in
40403 1.* | 2.* | 3.* )
40404 { echo "$as_me:$LINENO: result: no, it's broken" >&5
40405 echo "${ECHO_T}no, it's broken" >&6; }
40406 wx_cv_cc___thread=no
40407 ;;
40408 *)
40409 { echo "$as_me:$LINENO: result: yes, it works" >&5
40410 echo "${ECHO_T}yes, it works" >&6; }
40411 ;;
40412 esac
40413 fi
40414 fi
40415
40416 if test "$wx_cv_cc___thread" = "yes"; then
40417 cat >>confdefs.h <<\_ACEOF
40418 #define HAVE___THREAD_KEYWORD 1
40419 _ACEOF
40420
40421 fi
40422 fi
40423
40424 else
40425 if test "$wxUSE_THREADS" = "yes" ; then
40426 case "${host}" in
40427 x86_64-*-mingw32* )
40428 ;;
40429 *-*-mingw32* )
40430 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40431 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40432 if test "${wx_cv_cflags_mthread+set}" = set; then
40433 echo $ECHO_N "(cached) $ECHO_C" >&6
40434 else
40435
40436 CFLAGS_OLD="$CFLAGS"
40437 CFLAGS="-mthreads $CFLAGS"
40438 cat >conftest.$ac_ext <<_ACEOF
40439 /* confdefs.h. */
40440 _ACEOF
40441 cat confdefs.h >>conftest.$ac_ext
40442 cat >>conftest.$ac_ext <<_ACEOF
40443 /* end confdefs.h. */
40444
40445 int
40446 main ()
40447 {
40448
40449 ;
40450 return 0;
40451 }
40452 _ACEOF
40453 rm -f conftest.$ac_objext
40454 if { (ac_try="$ac_compile"
40455 case "(($ac_try" in
40456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40457 *) ac_try_echo=$ac_try;;
40458 esac
40459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40460 (eval "$ac_compile") 2>conftest.er1
40461 ac_status=$?
40462 grep -v '^ *+' conftest.er1 >conftest.err
40463 rm -f conftest.er1
40464 cat conftest.err >&5
40465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40466 (exit $ac_status); } && {
40467 test -z "$ac_c_werror_flag" ||
40468 test ! -s conftest.err
40469 } && test -s conftest.$ac_objext; then
40470 wx_cv_cflags_mthread=yes
40471 else
40472 echo "$as_me: failed program was:" >&5
40473 sed 's/^/| /' conftest.$ac_ext >&5
40474
40475 wx_cv_cflags_mthread=no
40476
40477 fi
40478
40479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40480
40481
40482 fi
40483 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40484 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40485
40486 if test "$wx_cv_cflags_mthread" = "yes"; then
40487 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
40488 LDFLAGS="$LDFLAGS -mthreads"
40489 else
40490 CFLAGS="$CFLAGS_OLD"
40491 fi
40492 ;;
40493 *-pc-os2*emx )
40494 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40495 LDFLAGS="$LDFLAGS -Zmt"
40496 ;;
40497 esac
40498 fi
40499 fi
40500
40501 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40502 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40503 if test "${ac_cv_func_localtime_r+set}" = set; then
40504 echo $ECHO_N "(cached) $ECHO_C" >&6
40505 else
40506 cat >conftest.$ac_ext <<_ACEOF
40507 /* confdefs.h. */
40508 _ACEOF
40509 cat confdefs.h >>conftest.$ac_ext
40510 cat >>conftest.$ac_ext <<_ACEOF
40511 /* end confdefs.h. */
40512 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40514 #define localtime_r innocuous_localtime_r
40515
40516 /* System header to define __stub macros and hopefully few prototypes,
40517 which can conflict with char localtime_r (); below.
40518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40519 <limits.h> exists even on freestanding compilers. */
40520
40521 #ifdef __STDC__
40522 # include <limits.h>
40523 #else
40524 # include <assert.h>
40525 #endif
40526
40527 #undef localtime_r
40528
40529 /* Override any GCC internal prototype to avoid an error.
40530 Use char because int might match the return type of a GCC
40531 builtin and then its argument prototype would still apply. */
40532 #ifdef __cplusplus
40533 extern "C"
40534 #endif
40535 char localtime_r ();
40536 /* The GNU C library defines this for functions which it implements
40537 to always fail with ENOSYS. Some functions are actually named
40538 something starting with __ and the normal name is an alias. */
40539 #if defined __stub_localtime_r || defined __stub___localtime_r
40540 choke me
40541 #endif
40542
40543 int
40544 main ()
40545 {
40546 return localtime_r ();
40547 ;
40548 return 0;
40549 }
40550 _ACEOF
40551 rm -f conftest.$ac_objext conftest$ac_exeext
40552 if { (ac_try="$ac_link"
40553 case "(($ac_try" in
40554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40555 *) ac_try_echo=$ac_try;;
40556 esac
40557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40558 (eval "$ac_link") 2>conftest.er1
40559 ac_status=$?
40560 grep -v '^ *+' conftest.er1 >conftest.err
40561 rm -f conftest.er1
40562 cat conftest.err >&5
40563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40564 (exit $ac_status); } && {
40565 test -z "$ac_c_werror_flag" ||
40566 test ! -s conftest.err
40567 } && test -s conftest$ac_exeext &&
40568 $as_test_x conftest$ac_exeext; then
40569 ac_cv_func_localtime_r=yes
40570 else
40571 echo "$as_me: failed program was:" >&5
40572 sed 's/^/| /' conftest.$ac_ext >&5
40573
40574 ac_cv_func_localtime_r=no
40575 fi
40576
40577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40578 conftest$ac_exeext conftest.$ac_ext
40579 fi
40580 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40581 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40582 if test $ac_cv_func_localtime_r = yes; then
40583 cat >>confdefs.h <<\_ACEOF
40584 #define HAVE_LOCALTIME_R 1
40585 _ACEOF
40586
40587 fi
40588
40589 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40590 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40591 if test "${ac_cv_func_gmtime_r+set}" = set; then
40592 echo $ECHO_N "(cached) $ECHO_C" >&6
40593 else
40594 cat >conftest.$ac_ext <<_ACEOF
40595 /* confdefs.h. */
40596 _ACEOF
40597 cat confdefs.h >>conftest.$ac_ext
40598 cat >>conftest.$ac_ext <<_ACEOF
40599 /* end confdefs.h. */
40600 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40601 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40602 #define gmtime_r innocuous_gmtime_r
40603
40604 /* System header to define __stub macros and hopefully few prototypes,
40605 which can conflict with char gmtime_r (); below.
40606 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40607 <limits.h> exists even on freestanding compilers. */
40608
40609 #ifdef __STDC__
40610 # include <limits.h>
40611 #else
40612 # include <assert.h>
40613 #endif
40614
40615 #undef gmtime_r
40616
40617 /* Override any GCC internal prototype to avoid an error.
40618 Use char because int might match the return type of a GCC
40619 builtin and then its argument prototype would still apply. */
40620 #ifdef __cplusplus
40621 extern "C"
40622 #endif
40623 char gmtime_r ();
40624 /* The GNU C library defines this for functions which it implements
40625 to always fail with ENOSYS. Some functions are actually named
40626 something starting with __ and the normal name is an alias. */
40627 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40628 choke me
40629 #endif
40630
40631 int
40632 main ()
40633 {
40634 return gmtime_r ();
40635 ;
40636 return 0;
40637 }
40638 _ACEOF
40639 rm -f conftest.$ac_objext conftest$ac_exeext
40640 if { (ac_try="$ac_link"
40641 case "(($ac_try" in
40642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40643 *) ac_try_echo=$ac_try;;
40644 esac
40645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40646 (eval "$ac_link") 2>conftest.er1
40647 ac_status=$?
40648 grep -v '^ *+' conftest.er1 >conftest.err
40649 rm -f conftest.er1
40650 cat conftest.err >&5
40651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40652 (exit $ac_status); } && {
40653 test -z "$ac_c_werror_flag" ||
40654 test ! -s conftest.err
40655 } && test -s conftest$ac_exeext &&
40656 $as_test_x conftest$ac_exeext; then
40657 ac_cv_func_gmtime_r=yes
40658 else
40659 echo "$as_me: failed program was:" >&5
40660 sed 's/^/| /' conftest.$ac_ext >&5
40661
40662 ac_cv_func_gmtime_r=no
40663 fi
40664
40665 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40666 conftest$ac_exeext conftest.$ac_ext
40667 fi
40668 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40669 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40670 if test $ac_cv_func_gmtime_r = yes; then
40671 cat >>confdefs.h <<\_ACEOF
40672 #define HAVE_GMTIME_R 1
40673 _ACEOF
40674
40675 fi
40676
40677
40678
40679
40680 ac_ext=c
40681 ac_cpp='$CPP $CPPFLAGS'
40682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40685
40686 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40687 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40688
40689 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40690 echo $ECHO_N "(cached) $ECHO_C" >&6
40691 else
40692
40693
40694 ################################################################
40695
40696 ac_cv_func_which_gethostbyname_r=unknown
40697
40698 #
40699 # ONE ARGUMENT (sanity check)
40700 #
40701
40702 # This should fail, as there is no variant of gethostbyname_r() that takes
40703 # a single argument. If it actually compiles, then we can assume that
40704 # netdb.h is not declaring the function, and the compiler is thereby
40705 # assuming an implicit prototype. In which case, we're out of luck.
40706 #
40707 cat >conftest.$ac_ext <<_ACEOF
40708 /* confdefs.h. */
40709 _ACEOF
40710 cat confdefs.h >>conftest.$ac_ext
40711 cat >>conftest.$ac_ext <<_ACEOF
40712 /* end confdefs.h. */
40713 #include <netdb.h>
40714 int
40715 main ()
40716 {
40717
40718 char *name = "www.gnu.org";
40719 (void)gethostbyname_r(name) /* ; */
40720
40721 ;
40722 return 0;
40723 }
40724 _ACEOF
40725 rm -f conftest.$ac_objext
40726 if { (ac_try="$ac_compile"
40727 case "(($ac_try" in
40728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40729 *) ac_try_echo=$ac_try;;
40730 esac
40731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40732 (eval "$ac_compile") 2>conftest.er1
40733 ac_status=$?
40734 grep -v '^ *+' conftest.er1 >conftest.err
40735 rm -f conftest.er1
40736 cat conftest.err >&5
40737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40738 (exit $ac_status); } && {
40739 test -z "$ac_c_werror_flag" ||
40740 test ! -s conftest.err
40741 } && test -s conftest.$ac_objext; then
40742 ac_cv_func_which_gethostbyname_r=no
40743 else
40744 echo "$as_me: failed program was:" >&5
40745 sed 's/^/| /' conftest.$ac_ext >&5
40746
40747
40748 fi
40749
40750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40751
40752 #
40753 # SIX ARGUMENTS
40754 # (e.g. Linux)
40755 #
40756
40757 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40758
40759 cat >conftest.$ac_ext <<_ACEOF
40760 /* confdefs.h. */
40761 _ACEOF
40762 cat confdefs.h >>conftest.$ac_ext
40763 cat >>conftest.$ac_ext <<_ACEOF
40764 /* end confdefs.h. */
40765 #include <netdb.h>
40766 int
40767 main ()
40768 {
40769
40770 char *name = "www.gnu.org";
40771 struct hostent ret, *retp;
40772 char buf[1024];
40773 int buflen = 1024;
40774 int my_h_errno;
40775 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40776
40777 ;
40778 return 0;
40779 }
40780 _ACEOF
40781 rm -f conftest.$ac_objext
40782 if { (ac_try="$ac_compile"
40783 case "(($ac_try" in
40784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40785 *) ac_try_echo=$ac_try;;
40786 esac
40787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40788 (eval "$ac_compile") 2>conftest.er1
40789 ac_status=$?
40790 grep -v '^ *+' conftest.er1 >conftest.err
40791 rm -f conftest.er1
40792 cat conftest.err >&5
40793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40794 (exit $ac_status); } && {
40795 test -z "$ac_c_werror_flag" ||
40796 test ! -s conftest.err
40797 } && test -s conftest.$ac_objext; then
40798 ac_cv_func_which_gethostbyname_r=six
40799 else
40800 echo "$as_me: failed program was:" >&5
40801 sed 's/^/| /' conftest.$ac_ext >&5
40802
40803
40804 fi
40805
40806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40807
40808 fi
40809
40810 #
40811 # FIVE ARGUMENTS
40812 # (e.g. Solaris)
40813 #
40814
40815 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40816
40817 cat >conftest.$ac_ext <<_ACEOF
40818 /* confdefs.h. */
40819 _ACEOF
40820 cat confdefs.h >>conftest.$ac_ext
40821 cat >>conftest.$ac_ext <<_ACEOF
40822 /* end confdefs.h. */
40823 #include <netdb.h>
40824 int
40825 main ()
40826 {
40827
40828 char *name = "www.gnu.org";
40829 struct hostent ret;
40830 char buf[1024];
40831 int buflen = 1024;
40832 int my_h_errno;
40833 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40834
40835 ;
40836 return 0;
40837 }
40838 _ACEOF
40839 rm -f conftest.$ac_objext
40840 if { (ac_try="$ac_compile"
40841 case "(($ac_try" in
40842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40843 *) ac_try_echo=$ac_try;;
40844 esac
40845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40846 (eval "$ac_compile") 2>conftest.er1
40847 ac_status=$?
40848 grep -v '^ *+' conftest.er1 >conftest.err
40849 rm -f conftest.er1
40850 cat conftest.err >&5
40851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40852 (exit $ac_status); } && {
40853 test -z "$ac_c_werror_flag" ||
40854 test ! -s conftest.err
40855 } && test -s conftest.$ac_objext; then
40856 ac_cv_func_which_gethostbyname_r=five
40857 else
40858 echo "$as_me: failed program was:" >&5
40859 sed 's/^/| /' conftest.$ac_ext >&5
40860
40861
40862 fi
40863
40864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40865
40866 fi
40867
40868 #
40869 # THREE ARGUMENTS
40870 # (e.g. AIX, HP-UX, Tru64)
40871 #
40872
40873 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40874
40875 cat >conftest.$ac_ext <<_ACEOF
40876 /* confdefs.h. */
40877 _ACEOF
40878 cat confdefs.h >>conftest.$ac_ext
40879 cat >>conftest.$ac_ext <<_ACEOF
40880 /* end confdefs.h. */
40881 #include <netdb.h>
40882 int
40883 main ()
40884 {
40885
40886 char *name = "www.gnu.org";
40887 struct hostent ret;
40888 struct hostent_data data;
40889 (void)gethostbyname_r(name, &ret, &data) /* ; */
40890
40891 ;
40892 return 0;
40893 }
40894 _ACEOF
40895 rm -f conftest.$ac_objext
40896 if { (ac_try="$ac_compile"
40897 case "(($ac_try" in
40898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40899 *) ac_try_echo=$ac_try;;
40900 esac
40901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40902 (eval "$ac_compile") 2>conftest.er1
40903 ac_status=$?
40904 grep -v '^ *+' conftest.er1 >conftest.err
40905 rm -f conftest.er1
40906 cat conftest.err >&5
40907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40908 (exit $ac_status); } && {
40909 test -z "$ac_c_werror_flag" ||
40910 test ! -s conftest.err
40911 } && test -s conftest.$ac_objext; then
40912 ac_cv_func_which_gethostbyname_r=three
40913 else
40914 echo "$as_me: failed program was:" >&5
40915 sed 's/^/| /' conftest.$ac_ext >&5
40916
40917
40918 fi
40919
40920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40921
40922 fi
40923
40924 ################################################################
40925
40926
40927 fi
40928
40929 case "$ac_cv_func_which_gethostbyname_r" in
40930 three)
40931 { echo "$as_me:$LINENO: result: three" >&5
40932 echo "${ECHO_T}three" >&6; }
40933 cat >>confdefs.h <<\_ACEOF
40934 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40935 _ACEOF
40936
40937 ;;
40938
40939 five)
40940 { echo "$as_me:$LINENO: result: five" >&5
40941 echo "${ECHO_T}five" >&6; }
40942 cat >>confdefs.h <<\_ACEOF
40943 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40944 _ACEOF
40945
40946 ;;
40947
40948 six)
40949 { echo "$as_me:$LINENO: result: six" >&5
40950 echo "${ECHO_T}six" >&6; }
40951 cat >>confdefs.h <<\_ACEOF
40952 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40953 _ACEOF
40954
40955 ;;
40956
40957 no)
40958 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40959 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40960 ;;
40961
40962 unknown)
40963 { echo "$as_me:$LINENO: result: can't tell" >&5
40964 echo "${ECHO_T}can't tell" >&6; }
40965 ;;
40966
40967 *)
40968 { { echo "$as_me:$LINENO: error: internal error" >&5
40969 echo "$as_me: error: internal error" >&2;}
40970 { (exit 1); exit 1; }; }
40971 ;;
40972 esac
40973
40974 ac_ext=c
40975 ac_cpp='$CPP $CPPFLAGS'
40976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40979
40980
40981
40982 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40983 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40984 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40985 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40986 if test "${ac_cv_func_gethostbyname+set}" = set; then
40987 echo $ECHO_N "(cached) $ECHO_C" >&6
40988 else
40989 cat >conftest.$ac_ext <<_ACEOF
40990 /* confdefs.h. */
40991 _ACEOF
40992 cat confdefs.h >>conftest.$ac_ext
40993 cat >>conftest.$ac_ext <<_ACEOF
40994 /* end confdefs.h. */
40995 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40997 #define gethostbyname innocuous_gethostbyname
40998
40999 /* System header to define __stub macros and hopefully few prototypes,
41000 which can conflict with char gethostbyname (); below.
41001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41002 <limits.h> exists even on freestanding compilers. */
41003
41004 #ifdef __STDC__
41005 # include <limits.h>
41006 #else
41007 # include <assert.h>
41008 #endif
41009
41010 #undef gethostbyname
41011
41012 /* Override any GCC internal prototype to avoid an error.
41013 Use char because int might match the return type of a GCC
41014 builtin and then its argument prototype would still apply. */
41015 #ifdef __cplusplus
41016 extern "C"
41017 #endif
41018 char gethostbyname ();
41019 /* The GNU C library defines this for functions which it implements
41020 to always fail with ENOSYS. Some functions are actually named
41021 something starting with __ and the normal name is an alias. */
41022 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41023 choke me
41024 #endif
41025
41026 int
41027 main ()
41028 {
41029 return gethostbyname ();
41030 ;
41031 return 0;
41032 }
41033 _ACEOF
41034 rm -f conftest.$ac_objext conftest$ac_exeext
41035 if { (ac_try="$ac_link"
41036 case "(($ac_try" in
41037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41038 *) ac_try_echo=$ac_try;;
41039 esac
41040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41041 (eval "$ac_link") 2>conftest.er1
41042 ac_status=$?
41043 grep -v '^ *+' conftest.er1 >conftest.err
41044 rm -f conftest.er1
41045 cat conftest.err >&5
41046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41047 (exit $ac_status); } && {
41048 test -z "$ac_c_werror_flag" ||
41049 test ! -s conftest.err
41050 } && test -s conftest$ac_exeext &&
41051 $as_test_x conftest$ac_exeext; then
41052 ac_cv_func_gethostbyname=yes
41053 else
41054 echo "$as_me: failed program was:" >&5
41055 sed 's/^/| /' conftest.$ac_ext >&5
41056
41057 ac_cv_func_gethostbyname=no
41058 fi
41059
41060 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41061 conftest$ac_exeext conftest.$ac_ext
41062 fi
41063 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41064 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41065 if test $ac_cv_func_gethostbyname = yes; then
41066 cat >>confdefs.h <<\_ACEOF
41067 #define HAVE_GETHOSTBYNAME 1
41068 _ACEOF
41069
41070 fi
41071
41072 fi
41073
41074 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41075 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41076 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41077 echo $ECHO_N "(cached) $ECHO_C" >&6
41078 else
41079
41080 ac_ext=cpp
41081 ac_cpp='$CXXCPP $CPPFLAGS'
41082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41085
41086
41087 cat >conftest.$ac_ext <<_ACEOF
41088 /* confdefs.h. */
41089 _ACEOF
41090 cat confdefs.h >>conftest.$ac_ext
41091 cat >>conftest.$ac_ext <<_ACEOF
41092 /* end confdefs.h. */
41093 #include <netdb.h>
41094 int
41095 main ()
41096 {
41097
41098 char *name;
41099 char *proto;
41100 struct servent *se, *res;
41101 char buffer[2048];
41102 int buflen = 2048;
41103 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41104
41105 ;
41106 return 0;
41107 }
41108 _ACEOF
41109 rm -f conftest.$ac_objext
41110 if { (ac_try="$ac_compile"
41111 case "(($ac_try" in
41112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41113 *) ac_try_echo=$ac_try;;
41114 esac
41115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41116 (eval "$ac_compile") 2>conftest.er1
41117 ac_status=$?
41118 grep -v '^ *+' conftest.er1 >conftest.err
41119 rm -f conftest.er1
41120 cat conftest.err >&5
41121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41122 (exit $ac_status); } && {
41123 test -z "$ac_cxx_werror_flag" ||
41124 test ! -s conftest.err
41125 } && test -s conftest.$ac_objext; then
41126 ac_cv_func_which_getservbyname_r=six
41127 else
41128 echo "$as_me: failed program was:" >&5
41129 sed 's/^/| /' conftest.$ac_ext >&5
41130
41131
41132 cat >conftest.$ac_ext <<_ACEOF
41133 /* confdefs.h. */
41134 _ACEOF
41135 cat confdefs.h >>conftest.$ac_ext
41136 cat >>conftest.$ac_ext <<_ACEOF
41137 /* end confdefs.h. */
41138 #include <netdb.h>
41139 int
41140 main ()
41141 {
41142
41143 char *name;
41144 char *proto;
41145 struct servent *se;
41146 char buffer[2048];
41147 int buflen = 2048;
41148 (void) getservbyname_r(name, proto, se, buffer, buflen)
41149
41150 ;
41151 return 0;
41152 }
41153 _ACEOF
41154 rm -f conftest.$ac_objext
41155 if { (ac_try="$ac_compile"
41156 case "(($ac_try" in
41157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41158 *) ac_try_echo=$ac_try;;
41159 esac
41160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41161 (eval "$ac_compile") 2>conftest.er1
41162 ac_status=$?
41163 grep -v '^ *+' conftest.er1 >conftest.err
41164 rm -f conftest.er1
41165 cat conftest.err >&5
41166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41167 (exit $ac_status); } && {
41168 test -z "$ac_cxx_werror_flag" ||
41169 test ! -s conftest.err
41170 } && test -s conftest.$ac_objext; then
41171 ac_cv_func_which_getservbyname_r=five
41172 else
41173 echo "$as_me: failed program was:" >&5
41174 sed 's/^/| /' conftest.$ac_ext >&5
41175
41176
41177 cat >conftest.$ac_ext <<_ACEOF
41178 /* confdefs.h. */
41179 _ACEOF
41180 cat confdefs.h >>conftest.$ac_ext
41181 cat >>conftest.$ac_ext <<_ACEOF
41182 /* end confdefs.h. */
41183 #include <netdb.h>
41184 int
41185 main ()
41186 {
41187
41188 char *name;
41189 char *proto;
41190 struct servent *se;
41191 struct servent_data data;
41192 (void) getservbyname_r(name, proto, se, &data);
41193
41194 ;
41195 return 0;
41196 }
41197 _ACEOF
41198 rm -f conftest.$ac_objext
41199 if { (ac_try="$ac_compile"
41200 case "(($ac_try" in
41201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41202 *) ac_try_echo=$ac_try;;
41203 esac
41204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41205 (eval "$ac_compile") 2>conftest.er1
41206 ac_status=$?
41207 grep -v '^ *+' conftest.er1 >conftest.err
41208 rm -f conftest.er1
41209 cat conftest.err >&5
41210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41211 (exit $ac_status); } && {
41212 test -z "$ac_cxx_werror_flag" ||
41213 test ! -s conftest.err
41214 } && test -s conftest.$ac_objext; then
41215 ac_cv_func_which_getservbyname_r=four
41216 else
41217 echo "$as_me: failed program was:" >&5
41218 sed 's/^/| /' conftest.$ac_ext >&5
41219
41220 ac_cv_func_which_getservbyname_r=no
41221
41222 fi
41223
41224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41225
41226
41227 fi
41228
41229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41230
41231
41232 fi
41233
41234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41235 ac_ext=c
41236 ac_cpp='$CPP $CPPFLAGS'
41237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41240
41241
41242
41243 fi
41244 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41245 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41246
41247 if test $ac_cv_func_which_getservbyname_r = six; then
41248 cat >>confdefs.h <<\_ACEOF
41249 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41250 _ACEOF
41251
41252 elif test $ac_cv_func_which_getservbyname_r = five; then
41253 cat >>confdefs.h <<\_ACEOF
41254 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41255 _ACEOF
41256
41257 elif test $ac_cv_func_which_getservbyname_r = four; then
41258 cat >>confdefs.h <<\_ACEOF
41259 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41260 _ACEOF
41261
41262 fi
41263
41264
41265 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41266 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41267
41268 for ac_func in getservbyname
41269 do
41270 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41271 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41272 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41273 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41274 echo $ECHO_N "(cached) $ECHO_C" >&6
41275 else
41276 cat >conftest.$ac_ext <<_ACEOF
41277 /* confdefs.h. */
41278 _ACEOF
41279 cat confdefs.h >>conftest.$ac_ext
41280 cat >>conftest.$ac_ext <<_ACEOF
41281 /* end confdefs.h. */
41282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41284 #define $ac_func innocuous_$ac_func
41285
41286 /* System header to define __stub macros and hopefully few prototypes,
41287 which can conflict with char $ac_func (); below.
41288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41289 <limits.h> exists even on freestanding compilers. */
41290
41291 #ifdef __STDC__
41292 # include <limits.h>
41293 #else
41294 # include <assert.h>
41295 #endif
41296
41297 #undef $ac_func
41298
41299 /* Override any GCC internal prototype to avoid an error.
41300 Use char because int might match the return type of a GCC
41301 builtin and then its argument prototype would still apply. */
41302 #ifdef __cplusplus
41303 extern "C"
41304 #endif
41305 char $ac_func ();
41306 /* The GNU C library defines this for functions which it implements
41307 to always fail with ENOSYS. Some functions are actually named
41308 something starting with __ and the normal name is an alias. */
41309 #if defined __stub_$ac_func || defined __stub___$ac_func
41310 choke me
41311 #endif
41312
41313 int
41314 main ()
41315 {
41316 return $ac_func ();
41317 ;
41318 return 0;
41319 }
41320 _ACEOF
41321 rm -f conftest.$ac_objext conftest$ac_exeext
41322 if { (ac_try="$ac_link"
41323 case "(($ac_try" in
41324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41325 *) ac_try_echo=$ac_try;;
41326 esac
41327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41328 (eval "$ac_link") 2>conftest.er1
41329 ac_status=$?
41330 grep -v '^ *+' conftest.er1 >conftest.err
41331 rm -f conftest.er1
41332 cat conftest.err >&5
41333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41334 (exit $ac_status); } && {
41335 test -z "$ac_c_werror_flag" ||
41336 test ! -s conftest.err
41337 } && test -s conftest$ac_exeext &&
41338 $as_test_x conftest$ac_exeext; then
41339 eval "$as_ac_var=yes"
41340 else
41341 echo "$as_me: failed program was:" >&5
41342 sed 's/^/| /' conftest.$ac_ext >&5
41343
41344 eval "$as_ac_var=no"
41345 fi
41346
41347 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41348 conftest$ac_exeext conftest.$ac_ext
41349 fi
41350 ac_res=`eval echo '${'$as_ac_var'}'`
41351 { echo "$as_me:$LINENO: result: $ac_res" >&5
41352 echo "${ECHO_T}$ac_res" >&6; }
41353 if test `eval echo '${'$as_ac_var'}'` = yes; then
41354 cat >>confdefs.h <<_ACEOF
41355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41356 _ACEOF
41357 cat >>confdefs.h <<\_ACEOF
41358 #define HAVE_GETSERVBYNAME 1
41359 _ACEOF
41360
41361 fi
41362 done
41363
41364 fi
41365
41366 if test "$wxUSE_THREADS" = "yes"; then
41367 cat >>confdefs.h <<\_ACEOF
41368 #define wxUSE_THREADS 1
41369 _ACEOF
41370
41371
41372 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41373 else
41374 if test "$wx_cv_func_strtok_r" = "yes"; then
41375 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41376 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41377 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41378 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41379 { echo "$as_me:$LINENO: result: yes" >&5
41380 echo "${ECHO_T}yes" >&6; }
41381 else
41382 { echo "$as_me:$LINENO: result: no" >&5
41383 echo "${ECHO_T}no" >&6; }
41384 fi
41385 fi
41386 fi
41387
41388 if test "$WXGTK2" = 1 ; then
41389 cat >>confdefs.h <<_ACEOF
41390 #define __WXGTK20__ $WXGTK2
41391 _ACEOF
41392
41393 WXGTK12=1
41394 fi
41395
41396 if test "$WXGTK12" = 1 ; then
41397 cat >>confdefs.h <<_ACEOF
41398 #define __WXGTK12__ $WXGTK12
41399 _ACEOF
41400
41401 fi
41402
41403 if test "$WXGTK127" = 1 ; then
41404 cat >>confdefs.h <<_ACEOF
41405 #define __WXGTK127__ $WXGTK127
41406 _ACEOF
41407
41408 fi
41409
41410 if test "$WXGPE" = 1 ; then
41411 cat >>confdefs.h <<_ACEOF
41412 #define __WXGPE__ $WXGPE
41413 _ACEOF
41414
41415 fi
41416
41417 DEBUG_CFLAGS=
41418 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41419 DEBUG_CFLAGS="-g"
41420 fi
41421
41422 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41423 wxUSE_DEBUG_INFO=yes
41424 if test "$GCC" = yes; then
41425 DEBUG_CFLAGS="-ggdb"
41426 fi
41427 fi
41428
41429 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41430 cat >>confdefs.h <<\_ACEOF
41431 #define WXDEBUG 1
41432 _ACEOF
41433
41434 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41435 else
41436 if test "$wxUSE_GTK" = 1 ; then
41437 if test "x$wxGTK_VERSION" = "x1" ; then
41438 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41439 fi
41440 fi
41441 fi
41442
41443 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41444 cat >>confdefs.h <<\_ACEOF
41445 #define wxUSE_MEMORY_TRACING 1
41446 _ACEOF
41447
41448 cat >>confdefs.h <<\_ACEOF
41449 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41450 _ACEOF
41451
41452 cat >>confdefs.h <<\_ACEOF
41453 #define wxUSE_DEBUG_NEW_ALWAYS 1
41454 _ACEOF
41455
41456 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41457 fi
41458
41459 if test "$wxUSE_DMALLOC" = "yes" ; then
41460 DMALLOC_LIBS="-ldmallocthcxx"
41461 fi
41462
41463 PROFILE_FLAGS=
41464 if test "$wxUSE_PROFILE" = "yes" ; then
41465 PROFILE_FLAGS=" -pg"
41466 fi
41467
41468 if test "$GCC" = "yes" ; then
41469 if test "$wxUSE_NO_RTTI" = "yes" ; then
41470 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41471 fi
41472 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41473 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41474 fi
41475 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41476 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41477 fi
41478
41479 case "${host}" in
41480 powerpc*-*-aix* )
41481 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41482 ;;
41483 *-hppa* )
41484 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41485 ;;
41486 esac
41487 fi
41488
41489 OPTIMISE_CFLAGS=
41490 if test "$wxUSE_OPTIMISE" = "no" ; then
41491 if test "$GCC" = yes ; then
41492 OPTIMISE_CFLAGS="-O0"
41493 fi
41494 else
41495 if test "$GCC" = yes ; then
41496 case "${host}" in
41497 *-pc-os2_emx | *-pc-os2-emx )
41498 OPTIMISE_CFLAGS="-O2"
41499 ;;
41500 *)
41501 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41502 ;;
41503 esac
41504 else
41505 OPTIMISE_CFLAGS="-O"
41506 fi
41507 fi
41508
41509
41510 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41511 cat >>confdefs.h <<\_ACEOF
41512 #define WXWIN_COMPATIBILITY_2_6 1
41513 _ACEOF
41514
41515
41516 WXWIN_COMPATIBILITY_2_8="yes"
41517 fi
41518
41519 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41520 cat >>confdefs.h <<\_ACEOF
41521 #define WXWIN_COMPATIBILITY_2_8 1
41522 _ACEOF
41523
41524 fi
41525
41526
41527 if test "$wxUSE_GUI" = "yes"; then
41528 cat >>confdefs.h <<\_ACEOF
41529 #define wxUSE_GUI 1
41530 _ACEOF
41531
41532
41533 fi
41534
41535
41536 if test "$wxUSE_UNIX" = "yes"; then
41537 cat >>confdefs.h <<\_ACEOF
41538 #define wxUSE_UNIX 1
41539 _ACEOF
41540
41541 fi
41542
41543
41544 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41545
41546 HAVE_DL_FUNCS=0
41547 HAVE_SHL_FUNCS=0
41548 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41549 if test "$USE_DOS" = 1; then
41550 HAVE_DL_FUNCS=0
41551 else
41552
41553 for ac_func in dlopen
41554 do
41555 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41556 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41557 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41558 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41559 echo $ECHO_N "(cached) $ECHO_C" >&6
41560 else
41561 cat >conftest.$ac_ext <<_ACEOF
41562 /* confdefs.h. */
41563 _ACEOF
41564 cat confdefs.h >>conftest.$ac_ext
41565 cat >>conftest.$ac_ext <<_ACEOF
41566 /* end confdefs.h. */
41567 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41569 #define $ac_func innocuous_$ac_func
41570
41571 /* System header to define __stub macros and hopefully few prototypes,
41572 which can conflict with char $ac_func (); below.
41573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41574 <limits.h> exists even on freestanding compilers. */
41575
41576 #ifdef __STDC__
41577 # include <limits.h>
41578 #else
41579 # include <assert.h>
41580 #endif
41581
41582 #undef $ac_func
41583
41584 /* Override any GCC internal prototype to avoid an error.
41585 Use char because int might match the return type of a GCC
41586 builtin and then its argument prototype would still apply. */
41587 #ifdef __cplusplus
41588 extern "C"
41589 #endif
41590 char $ac_func ();
41591 /* The GNU C library defines this for functions which it implements
41592 to always fail with ENOSYS. Some functions are actually named
41593 something starting with __ and the normal name is an alias. */
41594 #if defined __stub_$ac_func || defined __stub___$ac_func
41595 choke me
41596 #endif
41597
41598 int
41599 main ()
41600 {
41601 return $ac_func ();
41602 ;
41603 return 0;
41604 }
41605 _ACEOF
41606 rm -f conftest.$ac_objext conftest$ac_exeext
41607 if { (ac_try="$ac_link"
41608 case "(($ac_try" in
41609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41610 *) ac_try_echo=$ac_try;;
41611 esac
41612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41613 (eval "$ac_link") 2>conftest.er1
41614 ac_status=$?
41615 grep -v '^ *+' conftest.er1 >conftest.err
41616 rm -f conftest.er1
41617 cat conftest.err >&5
41618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41619 (exit $ac_status); } && {
41620 test -z "$ac_c_werror_flag" ||
41621 test ! -s conftest.err
41622 } && test -s conftest$ac_exeext &&
41623 $as_test_x conftest$ac_exeext; then
41624 eval "$as_ac_var=yes"
41625 else
41626 echo "$as_me: failed program was:" >&5
41627 sed 's/^/| /' conftest.$ac_ext >&5
41628
41629 eval "$as_ac_var=no"
41630 fi
41631
41632 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41633 conftest$ac_exeext conftest.$ac_ext
41634 fi
41635 ac_res=`eval echo '${'$as_ac_var'}'`
41636 { echo "$as_me:$LINENO: result: $ac_res" >&5
41637 echo "${ECHO_T}$ac_res" >&6; }
41638 if test `eval echo '${'$as_ac_var'}'` = yes; then
41639 cat >>confdefs.h <<_ACEOF
41640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41641 _ACEOF
41642
41643 cat >>confdefs.h <<\_ACEOF
41644 #define HAVE_DLOPEN 1
41645 _ACEOF
41646
41647 HAVE_DL_FUNCS=1
41648
41649 else
41650
41651 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41652 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41653 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41654 echo $ECHO_N "(cached) $ECHO_C" >&6
41655 else
41656 ac_check_lib_save_LIBS=$LIBS
41657 LIBS="-ldl $LIBS"
41658 cat >conftest.$ac_ext <<_ACEOF
41659 /* confdefs.h. */
41660 _ACEOF
41661 cat confdefs.h >>conftest.$ac_ext
41662 cat >>conftest.$ac_ext <<_ACEOF
41663 /* end confdefs.h. */
41664
41665 /* Override any GCC internal prototype to avoid an error.
41666 Use char because int might match the return type of a GCC
41667 builtin and then its argument prototype would still apply. */
41668 #ifdef __cplusplus
41669 extern "C"
41670 #endif
41671 char dlopen ();
41672 int
41673 main ()
41674 {
41675 return dlopen ();
41676 ;
41677 return 0;
41678 }
41679 _ACEOF
41680 rm -f conftest.$ac_objext conftest$ac_exeext
41681 if { (ac_try="$ac_link"
41682 case "(($ac_try" in
41683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41684 *) ac_try_echo=$ac_try;;
41685 esac
41686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41687 (eval "$ac_link") 2>conftest.er1
41688 ac_status=$?
41689 grep -v '^ *+' conftest.er1 >conftest.err
41690 rm -f conftest.er1
41691 cat conftest.err >&5
41692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41693 (exit $ac_status); } && {
41694 test -z "$ac_c_werror_flag" ||
41695 test ! -s conftest.err
41696 } && test -s conftest$ac_exeext &&
41697 $as_test_x conftest$ac_exeext; then
41698 ac_cv_lib_dl_dlopen=yes
41699 else
41700 echo "$as_me: failed program was:" >&5
41701 sed 's/^/| /' conftest.$ac_ext >&5
41702
41703 ac_cv_lib_dl_dlopen=no
41704 fi
41705
41706 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41707 conftest$ac_exeext conftest.$ac_ext
41708 LIBS=$ac_check_lib_save_LIBS
41709 fi
41710 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41711 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41712 if test $ac_cv_lib_dl_dlopen = yes; then
41713
41714 cat >>confdefs.h <<\_ACEOF
41715 #define HAVE_DLOPEN 1
41716 _ACEOF
41717
41718 HAVE_DL_FUNCS=1
41719 DL_LINK=" -ldl$DL_LINK"
41720
41721 else
41722
41723
41724 for ac_func in shl_load
41725 do
41726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41727 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41729 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41730 echo $ECHO_N "(cached) $ECHO_C" >&6
41731 else
41732 cat >conftest.$ac_ext <<_ACEOF
41733 /* confdefs.h. */
41734 _ACEOF
41735 cat confdefs.h >>conftest.$ac_ext
41736 cat >>conftest.$ac_ext <<_ACEOF
41737 /* end confdefs.h. */
41738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41740 #define $ac_func innocuous_$ac_func
41741
41742 /* System header to define __stub macros and hopefully few prototypes,
41743 which can conflict with char $ac_func (); below.
41744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41745 <limits.h> exists even on freestanding compilers. */
41746
41747 #ifdef __STDC__
41748 # include <limits.h>
41749 #else
41750 # include <assert.h>
41751 #endif
41752
41753 #undef $ac_func
41754
41755 /* Override any GCC internal prototype to avoid an error.
41756 Use char because int might match the return type of a GCC
41757 builtin and then its argument prototype would still apply. */
41758 #ifdef __cplusplus
41759 extern "C"
41760 #endif
41761 char $ac_func ();
41762 /* The GNU C library defines this for functions which it implements
41763 to always fail with ENOSYS. Some functions are actually named
41764 something starting with __ and the normal name is an alias. */
41765 #if defined __stub_$ac_func || defined __stub___$ac_func
41766 choke me
41767 #endif
41768
41769 int
41770 main ()
41771 {
41772 return $ac_func ();
41773 ;
41774 return 0;
41775 }
41776 _ACEOF
41777 rm -f conftest.$ac_objext conftest$ac_exeext
41778 if { (ac_try="$ac_link"
41779 case "(($ac_try" in
41780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41781 *) ac_try_echo=$ac_try;;
41782 esac
41783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41784 (eval "$ac_link") 2>conftest.er1
41785 ac_status=$?
41786 grep -v '^ *+' conftest.er1 >conftest.err
41787 rm -f conftest.er1
41788 cat conftest.err >&5
41789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41790 (exit $ac_status); } && {
41791 test -z "$ac_c_werror_flag" ||
41792 test ! -s conftest.err
41793 } && test -s conftest$ac_exeext &&
41794 $as_test_x conftest$ac_exeext; then
41795 eval "$as_ac_var=yes"
41796 else
41797 echo "$as_me: failed program was:" >&5
41798 sed 's/^/| /' conftest.$ac_ext >&5
41799
41800 eval "$as_ac_var=no"
41801 fi
41802
41803 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41804 conftest$ac_exeext conftest.$ac_ext
41805 fi
41806 ac_res=`eval echo '${'$as_ac_var'}'`
41807 { echo "$as_me:$LINENO: result: $ac_res" >&5
41808 echo "${ECHO_T}$ac_res" >&6; }
41809 if test `eval echo '${'$as_ac_var'}'` = yes; then
41810 cat >>confdefs.h <<_ACEOF
41811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41812 _ACEOF
41813
41814 cat >>confdefs.h <<\_ACEOF
41815 #define HAVE_SHL_LOAD 1
41816 _ACEOF
41817
41818 HAVE_SHL_FUNCS=1
41819
41820 else
41821
41822 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41823 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41824 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41825 echo $ECHO_N "(cached) $ECHO_C" >&6
41826 else
41827 ac_check_lib_save_LIBS=$LIBS
41828 LIBS="-lshl_load $LIBS"
41829 cat >conftest.$ac_ext <<_ACEOF
41830 /* confdefs.h. */
41831 _ACEOF
41832 cat confdefs.h >>conftest.$ac_ext
41833 cat >>conftest.$ac_ext <<_ACEOF
41834 /* end confdefs.h. */
41835
41836 /* Override any GCC internal prototype to avoid an error.
41837 Use char because int might match the return type of a GCC
41838 builtin and then its argument prototype would still apply. */
41839 #ifdef __cplusplus
41840 extern "C"
41841 #endif
41842 char dld ();
41843 int
41844 main ()
41845 {
41846 return dld ();
41847 ;
41848 return 0;
41849 }
41850 _ACEOF
41851 rm -f conftest.$ac_objext conftest$ac_exeext
41852 if { (ac_try="$ac_link"
41853 case "(($ac_try" in
41854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41855 *) ac_try_echo=$ac_try;;
41856 esac
41857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41858 (eval "$ac_link") 2>conftest.er1
41859 ac_status=$?
41860 grep -v '^ *+' conftest.er1 >conftest.err
41861 rm -f conftest.er1
41862 cat conftest.err >&5
41863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41864 (exit $ac_status); } && {
41865 test -z "$ac_c_werror_flag" ||
41866 test ! -s conftest.err
41867 } && test -s conftest$ac_exeext &&
41868 $as_test_x conftest$ac_exeext; then
41869 ac_cv_lib_shl_load_dld=yes
41870 else
41871 echo "$as_me: failed program was:" >&5
41872 sed 's/^/| /' conftest.$ac_ext >&5
41873
41874 ac_cv_lib_shl_load_dld=no
41875 fi
41876
41877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41878 conftest$ac_exeext conftest.$ac_ext
41879 LIBS=$ac_check_lib_save_LIBS
41880 fi
41881 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41882 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41883 if test $ac_cv_lib_shl_load_dld = yes; then
41884
41885 HAVE_SHL_FUNCS=1
41886 DL_LINK=" -ldld$DL_LINK"
41887
41888 fi
41889
41890
41891 fi
41892 done
41893
41894
41895 fi
41896
41897
41898 fi
41899 done
41900
41901
41902 if test "$HAVE_DL_FUNCS" = 1; then
41903
41904 for ac_func in dlerror
41905 do
41906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41907 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41909 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41910 echo $ECHO_N "(cached) $ECHO_C" >&6
41911 else
41912 cat >conftest.$ac_ext <<_ACEOF
41913 /* confdefs.h. */
41914 _ACEOF
41915 cat confdefs.h >>conftest.$ac_ext
41916 cat >>conftest.$ac_ext <<_ACEOF
41917 /* end confdefs.h. */
41918 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41919 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41920 #define $ac_func innocuous_$ac_func
41921
41922 /* System header to define __stub macros and hopefully few prototypes,
41923 which can conflict with char $ac_func (); below.
41924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41925 <limits.h> exists even on freestanding compilers. */
41926
41927 #ifdef __STDC__
41928 # include <limits.h>
41929 #else
41930 # include <assert.h>
41931 #endif
41932
41933 #undef $ac_func
41934
41935 /* Override any GCC internal prototype to avoid an error.
41936 Use char because int might match the return type of a GCC
41937 builtin and then its argument prototype would still apply. */
41938 #ifdef __cplusplus
41939 extern "C"
41940 #endif
41941 char $ac_func ();
41942 /* The GNU C library defines this for functions which it implements
41943 to always fail with ENOSYS. Some functions are actually named
41944 something starting with __ and the normal name is an alias. */
41945 #if defined __stub_$ac_func || defined __stub___$ac_func
41946 choke me
41947 #endif
41948
41949 int
41950 main ()
41951 {
41952 return $ac_func ();
41953 ;
41954 return 0;
41955 }
41956 _ACEOF
41957 rm -f conftest.$ac_objext conftest$ac_exeext
41958 if { (ac_try="$ac_link"
41959 case "(($ac_try" in
41960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41961 *) ac_try_echo=$ac_try;;
41962 esac
41963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41964 (eval "$ac_link") 2>conftest.er1
41965 ac_status=$?
41966 grep -v '^ *+' conftest.er1 >conftest.err
41967 rm -f conftest.er1
41968 cat conftest.err >&5
41969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41970 (exit $ac_status); } && {
41971 test -z "$ac_c_werror_flag" ||
41972 test ! -s conftest.err
41973 } && test -s conftest$ac_exeext &&
41974 $as_test_x conftest$ac_exeext; then
41975 eval "$as_ac_var=yes"
41976 else
41977 echo "$as_me: failed program was:" >&5
41978 sed 's/^/| /' conftest.$ac_ext >&5
41979
41980 eval "$as_ac_var=no"
41981 fi
41982
41983 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41984 conftest$ac_exeext conftest.$ac_ext
41985 fi
41986 ac_res=`eval echo '${'$as_ac_var'}'`
41987 { echo "$as_me:$LINENO: result: $ac_res" >&5
41988 echo "${ECHO_T}$ac_res" >&6; }
41989 if test `eval echo '${'$as_ac_var'}'` = yes; then
41990 cat >>confdefs.h <<_ACEOF
41991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41992 _ACEOF
41993 cat >>confdefs.h <<\_ACEOF
41994 #define HAVE_DLERROR 1
41995 _ACEOF
41996
41997 else
41998
41999 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42000 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42001 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42002 echo $ECHO_N "(cached) $ECHO_C" >&6
42003 else
42004 ac_check_lib_save_LIBS=$LIBS
42005 LIBS="-ldl $LIBS"
42006 cat >conftest.$ac_ext <<_ACEOF
42007 /* confdefs.h. */
42008 _ACEOF
42009 cat confdefs.h >>conftest.$ac_ext
42010 cat >>conftest.$ac_ext <<_ACEOF
42011 /* end confdefs.h. */
42012
42013 /* Override any GCC internal prototype to avoid an error.
42014 Use char because int might match the return type of a GCC
42015 builtin and then its argument prototype would still apply. */
42016 #ifdef __cplusplus
42017 extern "C"
42018 #endif
42019 char dlerror ();
42020 int
42021 main ()
42022 {
42023 return dlerror ();
42024 ;
42025 return 0;
42026 }
42027 _ACEOF
42028 rm -f conftest.$ac_objext conftest$ac_exeext
42029 if { (ac_try="$ac_link"
42030 case "(($ac_try" in
42031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42032 *) ac_try_echo=$ac_try;;
42033 esac
42034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42035 (eval "$ac_link") 2>conftest.er1
42036 ac_status=$?
42037 grep -v '^ *+' conftest.er1 >conftest.err
42038 rm -f conftest.er1
42039 cat conftest.err >&5
42040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42041 (exit $ac_status); } && {
42042 test -z "$ac_c_werror_flag" ||
42043 test ! -s conftest.err
42044 } && test -s conftest$ac_exeext &&
42045 $as_test_x conftest$ac_exeext; then
42046 ac_cv_lib_dl_dlerror=yes
42047 else
42048 echo "$as_me: failed program was:" >&5
42049 sed 's/^/| /' conftest.$ac_ext >&5
42050
42051 ac_cv_lib_dl_dlerror=no
42052 fi
42053
42054 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42055 conftest$ac_exeext conftest.$ac_ext
42056 LIBS=$ac_check_lib_save_LIBS
42057 fi
42058 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42059 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42060 if test $ac_cv_lib_dl_dlerror = yes; then
42061 cat >>confdefs.h <<\_ACEOF
42062 #define HAVE_DLERROR 1
42063 _ACEOF
42064
42065 fi
42066
42067
42068
42069 fi
42070 done
42071
42072 fi
42073 fi
42074
42075 if test "$USE_DARWIN" = 1; then
42076 HAVE_DL_FUNCS=1
42077 fi
42078
42079 if test "$HAVE_DL_FUNCS" = 0; then
42080 if test "$HAVE_SHL_FUNCS" = 0; then
42081 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42082 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42083 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42084 wxUSE_DYNAMIC_LOADER=no
42085 wxUSE_DYNLIB_CLASS=no
42086 else
42087 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42088 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42089 fi
42090 fi
42091 fi
42092 fi
42093 fi
42094
42095 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42096 cat >>confdefs.h <<\_ACEOF
42097 #define wxUSE_DYNAMIC_LOADER 1
42098 _ACEOF
42099
42100 fi
42101 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42102 cat >>confdefs.h <<\_ACEOF
42103 #define wxUSE_DYNLIB_CLASS 1
42104 _ACEOF
42105
42106 fi
42107
42108
42109
42110 if test "$wxUSE_PLUGINS" = "yes" ; then
42111 if test "$wxUSE_SHARED" = "no" ; then
42112 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42113 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42114 wxUSE_PLUGINS=no
42115 fi
42116 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42117 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42118 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42119 wxUSE_PLUGINS=no
42120 fi
42121 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42122 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42123 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42124 wxUSE_PLUGINS=no
42125 fi
42126 if test "$wxUSE_PLUGINS" = "yes" ; then
42127 cat >>confdefs.h <<\_ACEOF
42128 #define wxUSE_PLUGINS 1
42129 _ACEOF
42130
42131 fi
42132 fi
42133
42134
42135 if test "$wxUSE_STL" = "yes"; then
42136 cat >>confdefs.h <<\_ACEOF
42137 #define wxUSE_STL 1
42138 _ACEOF
42139
42140 fi
42141
42142 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42143 cat >>confdefs.h <<\_ACEOF
42144 #define wxUSE_EXTENDED_RTTI 1
42145 _ACEOF
42146
42147 fi
42148
42149 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42150 cat >>confdefs.h <<\_ACEOF
42151 #define wxUSE_APPLE_IEEE 1
42152 _ACEOF
42153
42154 fi
42155
42156 if test "$wxUSE_TIMER" = "yes"; then
42157 cat >>confdefs.h <<\_ACEOF
42158 #define wxUSE_TIMER 1
42159 _ACEOF
42160
42161 fi
42162
42163 if test "$USE_UNIX" = 1 ; then
42164 if test "$wxUSE_MGL" != 1; then
42165 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42166 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42167 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42168 echo $ECHO_N "(cached) $ECHO_C" >&6
42169 else
42170
42171 cat >conftest.$ac_ext <<_ACEOF
42172 /* confdefs.h. */
42173 _ACEOF
42174 cat confdefs.h >>conftest.$ac_ext
42175 cat >>conftest.$ac_ext <<_ACEOF
42176 /* end confdefs.h. */
42177
42178 #include <sys/ioctl.h>
42179 #include <sys/soundcard.h>
42180
42181 int
42182 main ()
42183 {
42184
42185 ioctl(0, SNDCTL_DSP_SPEED, 0);
42186
42187 ;
42188 return 0;
42189 }
42190 _ACEOF
42191 rm -f conftest.$ac_objext conftest$ac_exeext
42192 if { (ac_try="$ac_link"
42193 case "(($ac_try" in
42194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42195 *) ac_try_echo=$ac_try;;
42196 esac
42197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42198 (eval "$ac_link") 2>conftest.er1
42199 ac_status=$?
42200 grep -v '^ *+' conftest.er1 >conftest.err
42201 rm -f conftest.er1
42202 cat conftest.err >&5
42203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42204 (exit $ac_status); } && {
42205 test -z "$ac_c_werror_flag" ||
42206 test ! -s conftest.err
42207 } && test -s conftest$ac_exeext &&
42208 $as_test_x conftest$ac_exeext; then
42209 ac_cv_header_sys_soundcard=yes
42210 else
42211 echo "$as_me: failed program was:" >&5
42212 sed 's/^/| /' conftest.$ac_ext >&5
42213
42214
42215 saveLibs="$LIBS"
42216 LIBS="$saveLibs -lossaudio"
42217 cat >conftest.$ac_ext <<_ACEOF
42218 /* confdefs.h. */
42219 _ACEOF
42220 cat confdefs.h >>conftest.$ac_ext
42221 cat >>conftest.$ac_ext <<_ACEOF
42222 /* end confdefs.h. */
42223
42224 #include <sys/ioctl.h>
42225 #include <sys/soundcard.h>
42226
42227 int
42228 main ()
42229 {
42230
42231 ioctl(0, SNDCTL_DSP_SPEED, 0);
42232
42233 ;
42234 return 0;
42235 }
42236 _ACEOF
42237 rm -f conftest.$ac_objext conftest$ac_exeext
42238 if { (ac_try="$ac_link"
42239 case "(($ac_try" in
42240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42241 *) ac_try_echo=$ac_try;;
42242 esac
42243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42244 (eval "$ac_link") 2>conftest.er1
42245 ac_status=$?
42246 grep -v '^ *+' conftest.er1 >conftest.err
42247 rm -f conftest.er1
42248 cat conftest.err >&5
42249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42250 (exit $ac_status); } && {
42251 test -z "$ac_c_werror_flag" ||
42252 test ! -s conftest.err
42253 } && test -s conftest$ac_exeext &&
42254 $as_test_x conftest$ac_exeext; then
42255 ac_cv_header_sys_soundcard=yes
42256 else
42257 echo "$as_me: failed program was:" >&5
42258 sed 's/^/| /' conftest.$ac_ext >&5
42259
42260
42261 LIBS="$saveLibs"
42262 ac_cv_header_sys_soundcard=no
42263
42264
42265 fi
42266
42267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42268 conftest$ac_exeext conftest.$ac_ext
42269
42270
42271 fi
42272
42273 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42274 conftest$ac_exeext conftest.$ac_ext
42275
42276 fi
42277 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42278 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42279 fi
42280
42281 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42282 cat >>confdefs.h <<\_ACEOF
42283 #define HAVE_SYS_SOUNDCARD_H 1
42284 _ACEOF
42285
42286 fi
42287 fi
42288
42289 WITH_PLUGIN_SDL=0
42290 if test "$wxUSE_SOUND" = "yes"; then
42291 if test "$USE_UNIX" = 1 ; then
42292 if test "$wxUSE_LIBSDL" != "no"; then
42293
42294 # Check whether --with-sdl-prefix was given.
42295 if test "${with_sdl_prefix+set}" = set; then
42296 withval=$with_sdl_prefix; sdl_prefix="$withval"
42297 else
42298 sdl_prefix=""
42299 fi
42300
42301
42302 # Check whether --with-sdl-exec-prefix was given.
42303 if test "${with_sdl_exec_prefix+set}" = set; then
42304 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42305 else
42306 sdl_exec_prefix=""
42307 fi
42308
42309 # Check whether --enable-sdltest was given.
42310 if test "${enable_sdltest+set}" = set; then
42311 enableval=$enable_sdltest;
42312 else
42313 enable_sdltest=yes
42314 fi
42315
42316
42317 if test x$sdl_exec_prefix != x ; then
42318 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42319 if test x${SDL_CONFIG+set} != xset ; then
42320 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42321 fi
42322 fi
42323 if test x$sdl_prefix != x ; then
42324 sdl_args="$sdl_args --prefix=$sdl_prefix"
42325 if test x${SDL_CONFIG+set} != xset ; then
42326 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42327 fi
42328 fi
42329
42330 if test "x$prefix" != xNONE; then
42331 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42332 fi
42333 # Extract the first word of "sdl-config", so it can be a program name with args.
42334 set dummy sdl-config; ac_word=$2
42335 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42337 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42338 echo $ECHO_N "(cached) $ECHO_C" >&6
42339 else
42340 case $SDL_CONFIG in
42341 [\\/]* | ?:[\\/]*)
42342 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42343 ;;
42344 *)
42345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42346 for as_dir in $PATH
42347 do
42348 IFS=$as_save_IFS
42349 test -z "$as_dir" && as_dir=.
42350 for ac_exec_ext in '' $ac_executable_extensions; do
42351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42352 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42354 break 2
42355 fi
42356 done
42357 done
42358 IFS=$as_save_IFS
42359
42360 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42361 ;;
42362 esac
42363 fi
42364 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42365 if test -n "$SDL_CONFIG"; then
42366 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42367 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42368 else
42369 { echo "$as_me:$LINENO: result: no" >&5
42370 echo "${ECHO_T}no" >&6; }
42371 fi
42372
42373
42374 min_sdl_version=1.2.0
42375 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42376 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42377 no_sdl=""
42378 if test "$SDL_CONFIG" = "no" ; then
42379 no_sdl=yes
42380 else
42381 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42382 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42383
42384 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42385 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42386 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42387 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42388 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42389 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42390 if test "x$enable_sdltest" = "xyes" ; then
42391 ac_save_CFLAGS="$CFLAGS"
42392 ac_save_CXXFLAGS="$CXXFLAGS"
42393 ac_save_LIBS="$LIBS"
42394 CFLAGS="$CFLAGS $SDL_CFLAGS"
42395 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42396 LIBS="$LIBS $SDL_LIBS"
42397 rm -f conf.sdltest
42398 if test "$cross_compiling" = yes; then
42399 echo $ac_n "cross compiling; assumed OK... $ac_c"
42400 else
42401 cat >conftest.$ac_ext <<_ACEOF
42402 /* confdefs.h. */
42403 _ACEOF
42404 cat confdefs.h >>conftest.$ac_ext
42405 cat >>conftest.$ac_ext <<_ACEOF
42406 /* end confdefs.h. */
42407
42408 #include <stdio.h>
42409 #include <stdlib.h>
42410 #include <string.h>
42411 #include "SDL.h"
42412
42413 char*
42414 my_strdup (char *str)
42415 {
42416 char *new_str;
42417
42418 if (str)
42419 {
42420 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42421 strcpy (new_str, str);
42422 }
42423 else
42424 new_str = NULL;
42425
42426 return new_str;
42427 }
42428
42429 int main (int argc, char *argv[])
42430 {
42431 int major, minor, micro;
42432 char *tmp_version;
42433
42434 /* This hangs on some systems (?)
42435 system ("touch conf.sdltest");
42436 */
42437 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42438
42439 /* HP/UX 9 (%@#!) writes to sscanf strings */
42440 tmp_version = my_strdup("$min_sdl_version");
42441 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42442 printf("%s, bad version string\n", "$min_sdl_version");
42443 exit(1);
42444 }
42445
42446 if (($sdl_major_version > major) ||
42447 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42448 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42449 {
42450 return 0;
42451 }
42452 else
42453 {
42454 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42455 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42456 printf("*** best to upgrade to the required version.\n");
42457 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42458 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42459 printf("*** config.cache before re-running configure\n");
42460 return 1;
42461 }
42462 }
42463
42464
42465 _ACEOF
42466 rm -f conftest$ac_exeext
42467 if { (ac_try="$ac_link"
42468 case "(($ac_try" in
42469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42470 *) ac_try_echo=$ac_try;;
42471 esac
42472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42473 (eval "$ac_link") 2>&5
42474 ac_status=$?
42475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42476 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
42483 ac_status=$?
42484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42485 (exit $ac_status); }; }; then
42486 :
42487 else
42488 echo "$as_me: program exited with status $ac_status" >&5
42489 echo "$as_me: failed program was:" >&5
42490 sed 's/^/| /' conftest.$ac_ext >&5
42491
42492 ( exit $ac_status )
42493 no_sdl=yes
42494 fi
42495 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42496 fi
42497
42498
42499 CFLAGS="$ac_save_CFLAGS"
42500 CXXFLAGS="$ac_save_CXXFLAGS"
42501 LIBS="$ac_save_LIBS"
42502 fi
42503 fi
42504 if test "x$no_sdl" = x ; then
42505 { echo "$as_me:$LINENO: result: yes" >&5
42506 echo "${ECHO_T}yes" >&6; }
42507
42508 EXTRALIBS_SDL="$SDL_LIBS"
42509 CFLAGS="$SDL_CFLAGS $CFLAGS"
42510 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42511 cat >>confdefs.h <<\_ACEOF
42512 #define wxUSE_LIBSDL 1
42513 _ACEOF
42514
42515
42516 else
42517 { echo "$as_me:$LINENO: result: no" >&5
42518 echo "${ECHO_T}no" >&6; }
42519 if test "$SDL_CONFIG" = "no" ; then
42520 echo "*** The sdl-config script installed by SDL could not be found"
42521 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42522 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42523 echo "*** full path to sdl-config."
42524 else
42525 if test -f conf.sdltest ; then
42526 :
42527 else
42528 echo "*** Could not run SDL test program, checking why..."
42529 CFLAGS="$CFLAGS $SDL_CFLAGS"
42530 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42531 LIBS="$LIBS $SDL_LIBS"
42532 cat >conftest.$ac_ext <<_ACEOF
42533 /* confdefs.h. */
42534 _ACEOF
42535 cat confdefs.h >>conftest.$ac_ext
42536 cat >>conftest.$ac_ext <<_ACEOF
42537 /* end confdefs.h. */
42538
42539 #include <stdio.h>
42540 #include "SDL.h"
42541
42542 int main(int argc, char *argv[])
42543 { return 0; }
42544 #undef main
42545 #define main K_and_R_C_main
42546
42547 int
42548 main ()
42549 {
42550 return 0;
42551 ;
42552 return 0;
42553 }
42554 _ACEOF
42555 rm -f conftest.$ac_objext conftest$ac_exeext
42556 if { (ac_try="$ac_link"
42557 case "(($ac_try" in
42558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42559 *) ac_try_echo=$ac_try;;
42560 esac
42561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42562 (eval "$ac_link") 2>conftest.er1
42563 ac_status=$?
42564 grep -v '^ *+' conftest.er1 >conftest.err
42565 rm -f conftest.er1
42566 cat conftest.err >&5
42567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42568 (exit $ac_status); } && {
42569 test -z "$ac_c_werror_flag" ||
42570 test ! -s conftest.err
42571 } && test -s conftest$ac_exeext &&
42572 $as_test_x conftest$ac_exeext; then
42573 echo "*** The test program compiled, but did not run. This usually means"
42574 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42575 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42576 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42577 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42578 echo "*** is required on your system"
42579 echo "***"
42580 echo "*** If you have an old version installed, it is best to remove it, although"
42581 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42582 else
42583 echo "$as_me: failed program was:" >&5
42584 sed 's/^/| /' conftest.$ac_ext >&5
42585
42586 echo "*** The test program failed to compile or link. See the file config.log for the"
42587 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42588 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42589 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42590 fi
42591
42592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42593 conftest$ac_exeext conftest.$ac_ext
42594 CFLAGS="$ac_save_CFLAGS"
42595 CXXFLAGS="$ac_save_CXXFLAGS"
42596 LIBS="$ac_save_LIBS"
42597 fi
42598 fi
42599 SDL_CFLAGS=""
42600 SDL_LIBS=""
42601 wxUSE_LIBSDL="no"
42602 fi
42603
42604
42605 rm -f conf.sdltest
42606
42607 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42608 WITH_PLUGIN_SDL=1
42609 fi
42610 fi
42611 else
42612 if test "$wxUSE_MGL" = 1; then
42613 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42614 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42615 wxUSE_SOUND="no"
42616 fi
42617 fi
42618 fi
42619
42620 if test "$wxUSE_SOUND" = "yes"; then
42621 cat >>confdefs.h <<\_ACEOF
42622 #define wxUSE_SOUND 1
42623 _ACEOF
42624
42625 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42626 fi
42627
42628 if test "$WXGTK2" = 1; then
42629
42630
42631 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42632 if test -n "$ac_tool_prefix"; then
42633 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42634 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
42635 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42637 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42638 echo $ECHO_N "(cached) $ECHO_C" >&6
42639 else
42640 case $PKG_CONFIG in
42641 [\\/]* | ?:[\\/]*)
42642 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
42643 ;;
42644 *)
42645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42646 for as_dir in $PATH
42647 do
42648 IFS=$as_save_IFS
42649 test -z "$as_dir" && as_dir=.
42650 for ac_exec_ext in '' $ac_executable_extensions; do
42651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42652 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42653 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42654 break 2
42655 fi
42656 done
42657 done
42658 IFS=$as_save_IFS
42659
42660 ;;
42661 esac
42662 fi
42663 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
42664 if test -n "$PKG_CONFIG"; then
42665 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42666 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42667 else
42668 { echo "$as_me:$LINENO: result: no" >&5
42669 echo "${ECHO_T}no" >&6; }
42670 fi
42671
42672
42673 fi
42674 if test -z "$ac_cv_path_PKG_CONFIG"; then
42675 ac_pt_PKG_CONFIG=$PKG_CONFIG
42676 # Extract the first word of "pkg-config", so it can be a program name with args.
42677 set dummy pkg-config; ac_word=$2
42678 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42680 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42681 echo $ECHO_N "(cached) $ECHO_C" >&6
42682 else
42683 case $ac_pt_PKG_CONFIG in
42684 [\\/]* | ?:[\\/]*)
42685 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42686 ;;
42687 *)
42688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42689 for as_dir in $PATH
42690 do
42691 IFS=$as_save_IFS
42692 test -z "$as_dir" && as_dir=.
42693 for ac_exec_ext in '' $ac_executable_extensions; do
42694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42695 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42697 break 2
42698 fi
42699 done
42700 done
42701 IFS=$as_save_IFS
42702
42703 ;;
42704 esac
42705 fi
42706 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42707 if test -n "$ac_pt_PKG_CONFIG"; then
42708 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42709 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42710 else
42711 { echo "$as_me:$LINENO: result: no" >&5
42712 echo "${ECHO_T}no" >&6; }
42713 fi
42714
42715 if test "x$ac_pt_PKG_CONFIG" = x; then
42716 PKG_CONFIG=""
42717 else
42718 case $cross_compiling:$ac_tool_warned in
42719 yes:)
42720 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42721 whose name does not start with the host triplet. If you think this
42722 configuration is useful to you, please write to autoconf@gnu.org." >&5
42723 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42724 whose name does not start with the host triplet. If you think this
42725 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42726 ac_tool_warned=yes ;;
42727 esac
42728 PKG_CONFIG=$ac_pt_PKG_CONFIG
42729 fi
42730 else
42731 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42732 fi
42733
42734 fi
42735 if test -n "$PKG_CONFIG"; then
42736 _pkg_min_version=0.9.0
42737 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42738 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42739 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42740 { echo "$as_me:$LINENO: result: yes" >&5
42741 echo "${ECHO_T}yes" >&6; }
42742 else
42743 { echo "$as_me:$LINENO: result: no" >&5
42744 echo "${ECHO_T}no" >&6; }
42745 PKG_CONFIG=""
42746 fi
42747
42748 fi
42749
42750 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42751
42752 if test "$wxUSE_GTKPRINT" = "yes" ; then
42753
42754
42755 pkg_failed=no
42756 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42757 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42758
42759 if test -n "$PKG_CONFIG"; then
42760 if test -n "$GTKPRINT_CFLAGS"; then
42761 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42762 else
42763 if test -n "$PKG_CONFIG" && \
42764 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42765 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42766 ac_status=$?
42767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42768 (exit $ac_status); }; then
42769 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42770 else
42771 pkg_failed=yes
42772 fi
42773 fi
42774 else
42775 pkg_failed=untried
42776 fi
42777 if test -n "$PKG_CONFIG"; then
42778 if test -n "$GTKPRINT_LIBS"; then
42779 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42780 else
42781 if test -n "$PKG_CONFIG" && \
42782 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42783 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42784 ac_status=$?
42785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42786 (exit $ac_status); }; then
42787 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42788 else
42789 pkg_failed=yes
42790 fi
42791 fi
42792 else
42793 pkg_failed=untried
42794 fi
42795
42796
42797
42798 if test $pkg_failed = yes; then
42799
42800 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42801 _pkg_short_errors_supported=yes
42802 else
42803 _pkg_short_errors_supported=no
42804 fi
42805 if test $_pkg_short_errors_supported = yes; then
42806 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42807 else
42808 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42809 fi
42810 # Put the nasty error message in config.log where it belongs
42811 echo "$GTKPRINT_PKG_ERRORS" >&5
42812
42813
42814 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42815 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42816 wxUSE_GTKPRINT="no"
42817
42818
42819 elif test $pkg_failed = untried; then
42820
42821 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42822 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42823 wxUSE_GTKPRINT="no"
42824
42825
42826 else
42827 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42828 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42829 { echo "$as_me:$LINENO: result: yes" >&5
42830 echo "${ECHO_T}yes" >&6; }
42831
42832 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42833 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42834 cat >>confdefs.h <<\_ACEOF
42835 #define wxUSE_GTKPRINT 1
42836 _ACEOF
42837
42838
42839 fi
42840 fi
42841
42842 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42843
42844
42845 pkg_failed=no
42846 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42847 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42848
42849 if test -n "$PKG_CONFIG"; then
42850 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42851 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42852 else
42853 if test -n "$PKG_CONFIG" && \
42854 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42855 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42856 ac_status=$?
42857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42858 (exit $ac_status); }; then
42859 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42860 else
42861 pkg_failed=yes
42862 fi
42863 fi
42864 else
42865 pkg_failed=untried
42866 fi
42867 if test -n "$PKG_CONFIG"; then
42868 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42869 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42870 else
42871 if test -n "$PKG_CONFIG" && \
42872 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42873 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42874 ac_status=$?
42875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42876 (exit $ac_status); }; then
42877 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42878 else
42879 pkg_failed=yes
42880 fi
42881 fi
42882 else
42883 pkg_failed=untried
42884 fi
42885
42886
42887
42888 if test $pkg_failed = yes; then
42889
42890 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42891 _pkg_short_errors_supported=yes
42892 else
42893 _pkg_short_errors_supported=no
42894 fi
42895 if test $_pkg_short_errors_supported = yes; then
42896 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42897 else
42898 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42899 fi
42900 # Put the nasty error message in config.log where it belongs
42901 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42902
42903
42904 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42905 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42906 wxUSE_LIBGNOMEPRINT="no"
42907
42908
42909 elif test $pkg_failed = untried; then
42910
42911 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42912 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42913 wxUSE_LIBGNOMEPRINT="no"
42914
42915
42916 else
42917 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42918 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42919 { echo "$as_me:$LINENO: result: yes" >&5
42920 echo "${ECHO_T}yes" >&6; }
42921
42922 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42923 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42924 cat >>confdefs.h <<\_ACEOF
42925 #define wxUSE_LIBGNOMEPRINT 1
42926 _ACEOF
42927
42928
42929 fi
42930 fi
42931 fi
42932
42933 if test "$wxUSE_MIMETYPE" = "yes" ; then
42934 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42935
42936
42937 pkg_failed=no
42938 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42939 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42940
42941 if test -n "$PKG_CONFIG"; then
42942 if test -n "$GNOMEVFS_CFLAGS"; then
42943 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42944 else
42945 if test -n "$PKG_CONFIG" && \
42946 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42947 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42948 ac_status=$?
42949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42950 (exit $ac_status); }; then
42951 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42952 else
42953 pkg_failed=yes
42954 fi
42955 fi
42956 else
42957 pkg_failed=untried
42958 fi
42959 if test -n "$PKG_CONFIG"; then
42960 if test -n "$GNOMEVFS_LIBS"; then
42961 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42962 else
42963 if test -n "$PKG_CONFIG" && \
42964 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42965 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42966 ac_status=$?
42967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42968 (exit $ac_status); }; then
42969 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42970 else
42971 pkg_failed=yes
42972 fi
42973 fi
42974 else
42975 pkg_failed=untried
42976 fi
42977
42978
42979
42980 if test $pkg_failed = yes; then
42981
42982 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42983 _pkg_short_errors_supported=yes
42984 else
42985 _pkg_short_errors_supported=no
42986 fi
42987 if test $_pkg_short_errors_supported = yes; then
42988 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42989 else
42990 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42991 fi
42992 # Put the nasty error message in config.log where it belongs
42993 echo "$GNOMEVFS_PKG_ERRORS" >&5
42994
42995
42996 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42997 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42998 wxUSE_LIBGNOMEVFS="no"
42999
43000
43001 elif test $pkg_failed = untried; then
43002
43003 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43004 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43005 wxUSE_LIBGNOMEVFS="no"
43006
43007
43008 else
43009 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43010 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43011 { echo "$as_me:$LINENO: result: yes" >&5
43012 echo "${ECHO_T}yes" >&6; }
43013
43014 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
43015 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43016 cat >>confdefs.h <<\_ACEOF
43017 #define wxUSE_LIBGNOMEVFS 1
43018 _ACEOF
43019
43020
43021 fi
43022 fi
43023 fi
43024
43025 if test "$wxUSE_LIBHILDON" = "yes" ; then
43026
43027 pkg_failed=no
43028 { echo "$as_me:$LINENO: checking for HILDON" >&5
43029 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43030
43031 if test -n "$PKG_CONFIG"; then
43032 if test -n "$HILDON_CFLAGS"; then
43033 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43034 else
43035 if test -n "$PKG_CONFIG" && \
43036 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43037 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43038 ac_status=$?
43039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43040 (exit $ac_status); }; then
43041 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43042 else
43043 pkg_failed=yes
43044 fi
43045 fi
43046 else
43047 pkg_failed=untried
43048 fi
43049 if test -n "$PKG_CONFIG"; then
43050 if test -n "$HILDON_LIBS"; then
43051 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43052 else
43053 if test -n "$PKG_CONFIG" && \
43054 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43055 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43056 ac_status=$?
43057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43058 (exit $ac_status); }; then
43059 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43060 else
43061 pkg_failed=yes
43062 fi
43063 fi
43064 else
43065 pkg_failed=untried
43066 fi
43067
43068
43069
43070 if test $pkg_failed = yes; then
43071
43072 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43073 _pkg_short_errors_supported=yes
43074 else
43075 _pkg_short_errors_supported=no
43076 fi
43077 if test $_pkg_short_errors_supported = yes; then
43078 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43079 else
43080 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43081 fi
43082 # Put the nasty error message in config.log where it belongs
43083 echo "$HILDON_PKG_ERRORS" >&5
43084
43085
43086 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43087 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43088 wxUSE_LIBHILDON="no"
43089
43090
43091 elif test $pkg_failed = untried; then
43092
43093 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43094 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43095 wxUSE_LIBHILDON="no"
43096
43097
43098 else
43099 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43100 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43101 { echo "$as_me:$LINENO: result: yes" >&5
43102 echo "${ECHO_T}yes" >&6; }
43103
43104 EXTRALIBS_HILDON="$HILDON_LIBS"
43105 CFLAGS="$CFLAGS $HILDON_CFLAGS"
43106 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43107 cat >>confdefs.h <<\_ACEOF
43108 #define wxUSE_LIBHILDON 1
43109 _ACEOF
43110
43111
43112 fi
43113 fi
43114 fi
43115
43116 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43117 cat >>confdefs.h <<\_ACEOF
43118 #define wxUSE_CMDLINE_PARSER 1
43119 _ACEOF
43120
43121 fi
43122
43123 if test "$wxUSE_STOPWATCH" = "yes"; then
43124 cat >>confdefs.h <<\_ACEOF
43125 #define wxUSE_STOPWATCH 1
43126 _ACEOF
43127
43128 fi
43129
43130 if test "$wxUSE_DATETIME" = "yes"; then
43131 cat >>confdefs.h <<\_ACEOF
43132 #define wxUSE_DATETIME 1
43133 _ACEOF
43134
43135 fi
43136
43137 if test "$wxUSE_FILE" = "yes"; then
43138 cat >>confdefs.h <<\_ACEOF
43139 #define wxUSE_FILE 1
43140 _ACEOF
43141
43142 fi
43143
43144 if test "$wxUSE_FFILE" = "yes"; then
43145 cat >>confdefs.h <<\_ACEOF
43146 #define wxUSE_FFILE 1
43147 _ACEOF
43148
43149 fi
43150
43151 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43152 if test "$wxUSE_STREAMS" != yes; then
43153 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43154 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43155 wxUSE_ARCHIVE_STREAMS=no
43156 else
43157 cat >>confdefs.h <<\_ACEOF
43158 #define wxUSE_ARCHIVE_STREAMS 1
43159 _ACEOF
43160
43161 fi
43162 fi
43163
43164 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43165 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43166 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43167 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43168 elif test "$wxUSE_ZLIB" = "no"; then
43169 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43170 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43171 else
43172 cat >>confdefs.h <<\_ACEOF
43173 #define wxUSE_ZIPSTREAM 1
43174 _ACEOF
43175
43176 fi
43177 fi
43178
43179 if test "$wxUSE_TARSTREAM" = "yes"; then
43180 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43181 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43182 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43183 else
43184 cat >>confdefs.h <<\_ACEOF
43185 #define wxUSE_TARSTREAM 1
43186 _ACEOF
43187
43188 fi
43189 fi
43190
43191 if test "$wxUSE_FILESYSTEM" = "yes"; then
43192 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43193 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43194 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43195 wxUSE_FILESYSTEM=no
43196 else
43197 cat >>confdefs.h <<\_ACEOF
43198 #define wxUSE_FILESYSTEM 1
43199 _ACEOF
43200
43201 fi
43202 fi
43203
43204 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43205 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43206 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43207 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43208 else
43209 cat >>confdefs.h <<\_ACEOF
43210 #define wxUSE_FS_ARCHIVE 1
43211 _ACEOF
43212
43213 fi
43214 fi
43215
43216 if test "$wxUSE_FS_ZIP" = "yes"; then
43217 if test "$wxUSE_FS_ARCHIVE" != yes; then
43218 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43219 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43220 else
43221 cat >>confdefs.h <<\_ACEOF
43222 #define wxUSE_FS_ZIP 1
43223 _ACEOF
43224
43225 fi
43226 fi
43227
43228 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43229 if test "$USE_UNIX" != 1; then
43230 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43231 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43232 wxUSE_ON_FATAL_EXCEPTION=no
43233 else
43234 cat >>confdefs.h <<\_ACEOF
43235 #define wxUSE_ON_FATAL_EXCEPTION 1
43236 _ACEOF
43237
43238 fi
43239 fi
43240
43241 if test "$wxUSE_STACKWALKER" = "yes"; then
43242 cat >>confdefs.h <<\_ACEOF
43243 #define wxUSE_STACKWALKER 1
43244 _ACEOF
43245
43246 fi
43247
43248 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43249 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43250 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43251 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43252 wxUSE_DEBUGREPORT=no
43253 else
43254 cat >>confdefs.h <<\_ACEOF
43255 #define wxUSE_DEBUGREPORT 1
43256 _ACEOF
43257
43258 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43259 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43260 fi
43261 fi
43262 fi
43263
43264 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43265 cat >>confdefs.h <<\_ACEOF
43266 #define wxUSE_SNGLINST_CHECKER 1
43267 _ACEOF
43268
43269 fi
43270
43271 if test "$wxUSE_BUSYINFO" = "yes"; then
43272 cat >>confdefs.h <<\_ACEOF
43273 #define wxUSE_BUSYINFO 1
43274 _ACEOF
43275
43276 fi
43277
43278 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43279 cat >>confdefs.h <<\_ACEOF
43280 #define wxUSE_STD_IOSTREAM 1
43281 _ACEOF
43282
43283 fi
43284
43285 if test "$wxUSE_STD_STRING" = "yes"; then
43286 cat >>confdefs.h <<\_ACEOF
43287 #define wxUSE_STD_STRING 1
43288 _ACEOF
43289
43290 fi
43291
43292 if test "$wxUSE_STDPATHS" = "yes"; then
43293 cat >>confdefs.h <<\_ACEOF
43294 #define wxUSE_STDPATHS 1
43295 _ACEOF
43296
43297 fi
43298
43299 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43300 cat >>confdefs.h <<\_ACEOF
43301 #define wxUSE_TEXTBUFFER 1
43302 _ACEOF
43303
43304 fi
43305
43306 if test "$wxUSE_TEXTFILE" = "yes"; then
43307 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43308 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43309 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43310 else
43311 cat >>confdefs.h <<\_ACEOF
43312 #define wxUSE_TEXTFILE 1
43313 _ACEOF
43314
43315 fi
43316 fi
43317
43318 if test "$wxUSE_CONFIG" = "yes" ; then
43319 if test "$wxUSE_TEXTFILE" != "yes"; then
43320 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43321 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43322 else
43323 cat >>confdefs.h <<\_ACEOF
43324 #define wxUSE_CONFIG 1
43325 _ACEOF
43326
43327 cat >>confdefs.h <<\_ACEOF
43328 #define wxUSE_CONFIG_NATIVE 1
43329 _ACEOF
43330
43331 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43332 fi
43333 fi
43334
43335 if test "$wxUSE_INTL" = "yes" ; then
43336 if test "$wxUSE_FILE" != "yes"; then
43337 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43338 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43339 else
43340 cat >>confdefs.h <<\_ACEOF
43341 #define wxUSE_INTL 1
43342 _ACEOF
43343
43344 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43345 GUIDIST="$GUIDIST INTL_DIST"
43346 fi
43347 fi
43348
43349 if test "$wxUSE_XLOCALE" = "yes" ; then
43350 cat >>confdefs.h <<\_ACEOF
43351 #define wxUSE_XLOCALE 1
43352 _ACEOF
43353
43354 { echo "$as_me:$LINENO: checking for locale_t" >&5
43355 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43356 if test "${ac_cv_type_locale_t+set}" = set; then
43357 echo $ECHO_N "(cached) $ECHO_C" >&6
43358 else
43359 cat >conftest.$ac_ext <<_ACEOF
43360 /* confdefs.h. */
43361 _ACEOF
43362 cat confdefs.h >>conftest.$ac_ext
43363 cat >>conftest.$ac_ext <<_ACEOF
43364 /* end confdefs.h. */
43365 #include <xlocale.h>
43366 #include <locale.h>
43367
43368 typedef locale_t ac__type_new_;
43369 int
43370 main ()
43371 {
43372 if ((ac__type_new_ *) 0)
43373 return 0;
43374 if (sizeof (ac__type_new_))
43375 return 0;
43376 ;
43377 return 0;
43378 }
43379 _ACEOF
43380 rm -f conftest.$ac_objext
43381 if { (ac_try="$ac_compile"
43382 case "(($ac_try" in
43383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43384 *) ac_try_echo=$ac_try;;
43385 esac
43386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43387 (eval "$ac_compile") 2>conftest.er1
43388 ac_status=$?
43389 grep -v '^ *+' conftest.er1 >conftest.err
43390 rm -f conftest.er1
43391 cat conftest.err >&5
43392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43393 (exit $ac_status); } && {
43394 test -z "$ac_c_werror_flag" ||
43395 test ! -s conftest.err
43396 } && test -s conftest.$ac_objext; then
43397 ac_cv_type_locale_t=yes
43398 else
43399 echo "$as_me: failed program was:" >&5
43400 sed 's/^/| /' conftest.$ac_ext >&5
43401
43402 ac_cv_type_locale_t=no
43403 fi
43404
43405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43406 fi
43407 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43408 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43409 if test $ac_cv_type_locale_t = yes; then
43410
43411 cat >>confdefs.h <<_ACEOF
43412 #define HAVE_LOCALE_T 1
43413 _ACEOF
43414
43415
43416 fi
43417
43418 fi
43419
43420 if test "$wxUSE_LOG" = "yes"; then
43421 cat >>confdefs.h <<\_ACEOF
43422 #define wxUSE_LOG 1
43423 _ACEOF
43424
43425
43426 if test "$wxUSE_LOGGUI" = "yes"; then
43427 cat >>confdefs.h <<\_ACEOF
43428 #define wxUSE_LOGGUI 1
43429 _ACEOF
43430
43431 fi
43432
43433 if test "$wxUSE_LOGWINDOW" = "yes"; then
43434 cat >>confdefs.h <<\_ACEOF
43435 #define wxUSE_LOGWINDOW 1
43436 _ACEOF
43437
43438 fi
43439
43440 if test "$wxUSE_LOGDIALOG" = "yes"; then
43441 cat >>confdefs.h <<\_ACEOF
43442 #define wxUSE_LOG_DIALOG 1
43443 _ACEOF
43444
43445 fi
43446
43447 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43448 fi
43449
43450 if test "$wxUSE_LONGLONG" = "yes"; then
43451 cat >>confdefs.h <<\_ACEOF
43452 #define wxUSE_LONGLONG 1
43453 _ACEOF
43454
43455 fi
43456
43457 if test "$wxUSE_GEOMETRY" = "yes"; then
43458 cat >>confdefs.h <<\_ACEOF
43459 #define wxUSE_GEOMETRY 1
43460 _ACEOF
43461
43462 fi
43463
43464 if test "$wxUSE_BASE64" = "yes"; then
43465 cat >>confdefs.h <<\_ACEOF
43466 #define wxUSE_BASE64 1
43467 _ACEOF
43468
43469 fi
43470
43471 if test "$wxUSE_STREAMS" = "yes" ; then
43472 cat >>confdefs.h <<\_ACEOF
43473 #define wxUSE_STREAMS 1
43474 _ACEOF
43475
43476 fi
43477
43478 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43479 cat >>confdefs.h <<\_ACEOF
43480 #define wxUSE_PRINTF_POS_PARAMS 1
43481 _ACEOF
43482
43483 fi
43484
43485 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43486 cat >>confdefs.h <<\_ACEOF
43487 #define wxUSE_OBJC_UNIQUIFYING 1
43488 _ACEOF
43489
43490 fi
43491
43492
43493 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43494 cat >>confdefs.h <<\_ACEOF
43495 #define wxUSE_CONSOLE_EVENTLOOP 1
43496 _ACEOF
43497
43498
43499 if test "$wxUSE_UNIX" = "yes"; then
43500 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43501 cat >>confdefs.h <<\_ACEOF
43502 #define wxUSE_SELECT_DISPATCHER 1
43503 _ACEOF
43504
43505 fi
43506
43507 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43508
43509 for ac_header in sys/epoll.h
43510 do
43511 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43512 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43513 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43514 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43515 echo $ECHO_N "(cached) $ECHO_C" >&6
43516 else
43517 cat >conftest.$ac_ext <<_ACEOF
43518 /* confdefs.h. */
43519 _ACEOF
43520 cat confdefs.h >>conftest.$ac_ext
43521 cat >>conftest.$ac_ext <<_ACEOF
43522 /* end confdefs.h. */
43523 $ac_includes_default
43524
43525 #include <$ac_header>
43526 _ACEOF
43527 rm -f conftest.$ac_objext
43528 if { (ac_try="$ac_compile"
43529 case "(($ac_try" in
43530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43531 *) ac_try_echo=$ac_try;;
43532 esac
43533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43534 (eval "$ac_compile") 2>conftest.er1
43535 ac_status=$?
43536 grep -v '^ *+' conftest.er1 >conftest.err
43537 rm -f conftest.er1
43538 cat conftest.err >&5
43539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43540 (exit $ac_status); } && {
43541 test -z "$ac_c_werror_flag" ||
43542 test ! -s conftest.err
43543 } && test -s conftest.$ac_objext; then
43544 eval "$as_ac_Header=yes"
43545 else
43546 echo "$as_me: failed program was:" >&5
43547 sed 's/^/| /' conftest.$ac_ext >&5
43548
43549 eval "$as_ac_Header=no"
43550 fi
43551
43552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43553 fi
43554 ac_res=`eval echo '${'$as_ac_Header'}'`
43555 { echo "$as_me:$LINENO: result: $ac_res" >&5
43556 echo "${ECHO_T}$ac_res" >&6; }
43557 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43558 cat >>confdefs.h <<_ACEOF
43559 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43560 _ACEOF
43561
43562 fi
43563
43564 done
43565
43566 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43567 cat >>confdefs.h <<\_ACEOF
43568 #define wxUSE_EPOLL_DISPATCHER 1
43569 _ACEOF
43570
43571 else
43572 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43573 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43574 fi
43575 fi
43576 fi
43577 fi
43578
43579
43580
43581
43582 for ac_func in gettimeofday ftime
43583 do
43584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43585 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43587 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43588 echo $ECHO_N "(cached) $ECHO_C" >&6
43589 else
43590 cat >conftest.$ac_ext <<_ACEOF
43591 /* confdefs.h. */
43592 _ACEOF
43593 cat confdefs.h >>conftest.$ac_ext
43594 cat >>conftest.$ac_ext <<_ACEOF
43595 /* end confdefs.h. */
43596 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43597 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43598 #define $ac_func innocuous_$ac_func
43599
43600 /* System header to define __stub macros and hopefully few prototypes,
43601 which can conflict with char $ac_func (); below.
43602 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43603 <limits.h> exists even on freestanding compilers. */
43604
43605 #ifdef __STDC__
43606 # include <limits.h>
43607 #else
43608 # include <assert.h>
43609 #endif
43610
43611 #undef $ac_func
43612
43613 /* Override any GCC internal prototype to avoid an error.
43614 Use char because int might match the return type of a GCC
43615 builtin and then its argument prototype would still apply. */
43616 #ifdef __cplusplus
43617 extern "C"
43618 #endif
43619 char $ac_func ();
43620 /* The GNU C library defines this for functions which it implements
43621 to always fail with ENOSYS. Some functions are actually named
43622 something starting with __ and the normal name is an alias. */
43623 #if defined __stub_$ac_func || defined __stub___$ac_func
43624 choke me
43625 #endif
43626
43627 int
43628 main ()
43629 {
43630 return $ac_func ();
43631 ;
43632 return 0;
43633 }
43634 _ACEOF
43635 rm -f conftest.$ac_objext conftest$ac_exeext
43636 if { (ac_try="$ac_link"
43637 case "(($ac_try" in
43638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43639 *) ac_try_echo=$ac_try;;
43640 esac
43641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43642 (eval "$ac_link") 2>conftest.er1
43643 ac_status=$?
43644 grep -v '^ *+' conftest.er1 >conftest.err
43645 rm -f conftest.er1
43646 cat conftest.err >&5
43647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43648 (exit $ac_status); } && {
43649 test -z "$ac_c_werror_flag" ||
43650 test ! -s conftest.err
43651 } && test -s conftest$ac_exeext &&
43652 $as_test_x conftest$ac_exeext; then
43653 eval "$as_ac_var=yes"
43654 else
43655 echo "$as_me: failed program was:" >&5
43656 sed 's/^/| /' conftest.$ac_ext >&5
43657
43658 eval "$as_ac_var=no"
43659 fi
43660
43661 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43662 conftest$ac_exeext conftest.$ac_ext
43663 fi
43664 ac_res=`eval echo '${'$as_ac_var'}'`
43665 { echo "$as_me:$LINENO: result: $ac_res" >&5
43666 echo "${ECHO_T}$ac_res" >&6; }
43667 if test `eval echo '${'$as_ac_var'}'` = yes; then
43668 cat >>confdefs.h <<_ACEOF
43669 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43670 _ACEOF
43671 break
43672 fi
43673 done
43674
43675
43676 if test "$ac_cv_func_gettimeofday" = "yes"; then
43677 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43678 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43679 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43680 echo $ECHO_N "(cached) $ECHO_C" >&6
43681 else
43682
43683 cat >conftest.$ac_ext <<_ACEOF
43684 /* confdefs.h. */
43685 _ACEOF
43686 cat confdefs.h >>conftest.$ac_ext
43687 cat >>conftest.$ac_ext <<_ACEOF
43688 /* end confdefs.h. */
43689
43690 #include <sys/time.h>
43691 #include <unistd.h>
43692
43693 int
43694 main ()
43695 {
43696
43697 struct timeval tv;
43698 gettimeofday(&tv, NULL);
43699
43700 ;
43701 return 0;
43702 }
43703 _ACEOF
43704 rm -f conftest.$ac_objext
43705 if { (ac_try="$ac_compile"
43706 case "(($ac_try" in
43707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43708 *) ac_try_echo=$ac_try;;
43709 esac
43710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43711 (eval "$ac_compile") 2>conftest.er1
43712 ac_status=$?
43713 grep -v '^ *+' conftest.er1 >conftest.err
43714 rm -f conftest.er1
43715 cat conftest.err >&5
43716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43717 (exit $ac_status); } && {
43718 test -z "$ac_c_werror_flag" ||
43719 test ! -s conftest.err
43720 } && test -s conftest.$ac_objext; then
43721 wx_cv_func_gettimeofday_has_2_args=yes
43722 else
43723 echo "$as_me: failed program was:" >&5
43724 sed 's/^/| /' conftest.$ac_ext >&5
43725
43726 cat >conftest.$ac_ext <<_ACEOF
43727 /* confdefs.h. */
43728 _ACEOF
43729 cat confdefs.h >>conftest.$ac_ext
43730 cat >>conftest.$ac_ext <<_ACEOF
43731 /* end confdefs.h. */
43732
43733 #include <sys/time.h>
43734 #include <unistd.h>
43735
43736 int
43737 main ()
43738 {
43739
43740 struct timeval tv;
43741 gettimeofday(&tv);
43742
43743 ;
43744 return 0;
43745 }
43746 _ACEOF
43747 rm -f conftest.$ac_objext
43748 if { (ac_try="$ac_compile"
43749 case "(($ac_try" in
43750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43751 *) ac_try_echo=$ac_try;;
43752 esac
43753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43754 (eval "$ac_compile") 2>conftest.er1
43755 ac_status=$?
43756 grep -v '^ *+' conftest.er1 >conftest.err
43757 rm -f conftest.er1
43758 cat conftest.err >&5
43759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43760 (exit $ac_status); } && {
43761 test -z "$ac_c_werror_flag" ||
43762 test ! -s conftest.err
43763 } && test -s conftest.$ac_objext; then
43764 wx_cv_func_gettimeofday_has_2_args=no
43765 else
43766 echo "$as_me: failed program was:" >&5
43767 sed 's/^/| /' conftest.$ac_ext >&5
43768
43769
43770 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43771 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43772 wx_cv_func_gettimeofday_has_2_args=unknown
43773
43774
43775 fi
43776
43777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43778
43779 fi
43780
43781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43782
43783 fi
43784 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43785 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43786
43787 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43788 cat >>confdefs.h <<\_ACEOF
43789 #define WX_GETTIMEOFDAY_NO_TZ 1
43790 _ACEOF
43791
43792 fi
43793 fi
43794
43795 if test "$wxUSE_DATETIME" = "yes"; then
43796 { echo "$as_me:$LINENO: checking for strptime" >&5
43797 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43798 if test "${ac_cv_func_strptime+set}" = set; then
43799 echo $ECHO_N "(cached) $ECHO_C" >&6
43800 else
43801 cat >conftest.$ac_ext <<_ACEOF
43802 /* confdefs.h. */
43803 _ACEOF
43804 cat confdefs.h >>conftest.$ac_ext
43805 cat >>conftest.$ac_ext <<_ACEOF
43806 /* end confdefs.h. */
43807 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43809 #define strptime innocuous_strptime
43810
43811 /* System header to define __stub macros and hopefully few prototypes,
43812 which can conflict with char strptime (); below.
43813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43814 <limits.h> exists even on freestanding compilers. */
43815
43816 #ifdef __STDC__
43817 # include <limits.h>
43818 #else
43819 # include <assert.h>
43820 #endif
43821
43822 #undef strptime
43823
43824 /* Override any GCC internal prototype to avoid an error.
43825 Use char because int might match the return type of a GCC
43826 builtin and then its argument prototype would still apply. */
43827 #ifdef __cplusplus
43828 extern "C"
43829 #endif
43830 char strptime ();
43831 /* The GNU C library defines this for functions which it implements
43832 to always fail with ENOSYS. Some functions are actually named
43833 something starting with __ and the normal name is an alias. */
43834 #if defined __stub_strptime || defined __stub___strptime
43835 choke me
43836 #endif
43837
43838 int
43839 main ()
43840 {
43841 return strptime ();
43842 ;
43843 return 0;
43844 }
43845 _ACEOF
43846 rm -f conftest.$ac_objext conftest$ac_exeext
43847 if { (ac_try="$ac_link"
43848 case "(($ac_try" in
43849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43850 *) ac_try_echo=$ac_try;;
43851 esac
43852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43853 (eval "$ac_link") 2>conftest.er1
43854 ac_status=$?
43855 grep -v '^ *+' conftest.er1 >conftest.err
43856 rm -f conftest.er1
43857 cat conftest.err >&5
43858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43859 (exit $ac_status); } && {
43860 test -z "$ac_c_werror_flag" ||
43861 test ! -s conftest.err
43862 } && test -s conftest$ac_exeext &&
43863 $as_test_x conftest$ac_exeext; then
43864 ac_cv_func_strptime=yes
43865 else
43866 echo "$as_me: failed program was:" >&5
43867 sed 's/^/| /' conftest.$ac_ext >&5
43868
43869 ac_cv_func_strptime=no
43870 fi
43871
43872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43873 conftest$ac_exeext conftest.$ac_ext
43874 fi
43875 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43876 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43877
43878 if test "$ac_cv_func_strptime" = "yes"; then
43879 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43880 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43881 if test "${wx_cv_func_strptime_decl+set}" = set; then
43882 echo $ECHO_N "(cached) $ECHO_C" >&6
43883 else
43884
43885 ac_ext=cpp
43886 ac_cpp='$CXXCPP $CPPFLAGS'
43887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43890
43891 cat >conftest.$ac_ext <<_ACEOF
43892 /* confdefs.h. */
43893 _ACEOF
43894 cat confdefs.h >>conftest.$ac_ext
43895 cat >>conftest.$ac_ext <<_ACEOF
43896 /* end confdefs.h. */
43897
43898 #include <time.h>
43899
43900 int
43901 main ()
43902 {
43903
43904 struct tm t;
43905 strptime("foo", "bar", &t);
43906
43907 ;
43908 return 0;
43909 }
43910 _ACEOF
43911 rm -f conftest.$ac_objext
43912 if { (ac_try="$ac_compile"
43913 case "(($ac_try" in
43914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43915 *) ac_try_echo=$ac_try;;
43916 esac
43917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43918 (eval "$ac_compile") 2>conftest.er1
43919 ac_status=$?
43920 grep -v '^ *+' conftest.er1 >conftest.err
43921 rm -f conftest.er1
43922 cat conftest.err >&5
43923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43924 (exit $ac_status); } && {
43925 test -z "$ac_cxx_werror_flag" ||
43926 test ! -s conftest.err
43927 } && test -s conftest.$ac_objext; then
43928 wx_cv_func_strptime_decl=yes
43929 else
43930 echo "$as_me: failed program was:" >&5
43931 sed 's/^/| /' conftest.$ac_ext >&5
43932
43933 wx_cv_func_strptime_decl=no
43934
43935 fi
43936
43937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43938 ac_ext=c
43939 ac_cpp='$CPP $CPPFLAGS'
43940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43943
43944
43945
43946 fi
43947 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43948 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43949 fi
43950 if test "$wx_cv_func_strptime_decl" = "yes"; then
43951 cat >>confdefs.h <<\_ACEOF
43952 #define HAVE_STRPTIME_DECL 1
43953 _ACEOF
43954
43955 else
43956 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43957 fi
43958 if test "$ac_cv_func_strptime" = "yes"; then
43959 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43960 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43961 if test "${wx_cv_func_strptime_ok+set}" = set; then
43962 echo $ECHO_N "(cached) $ECHO_C" >&6
43963 else
43964 if test "$cross_compiling" = yes; then
43965 wx_cv_func_strptime_ok=no
43966
43967 else
43968 cat >conftest.$ac_ext <<_ACEOF
43969
43970 #include <stdlib.h>
43971 #include <time.h>
43972 #include "confdefs.h"
43973
43974 $wx_strptime_decl
43975
43976 int main()
43977 {
43978 struct tm t;
43979 return !!strptime("", "%x", &t);
43980 }
43981
43982 _ACEOF
43983 rm -f conftest$ac_exeext
43984 if { (ac_try="$ac_link"
43985 case "(($ac_try" in
43986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43987 *) ac_try_echo=$ac_try;;
43988 esac
43989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43990 (eval "$ac_link") 2>&5
43991 ac_status=$?
43992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43993 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
44000 ac_status=$?
44001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44002 (exit $ac_status); }; }; then
44003 wx_cv_func_strptime_ok=yes
44004 else
44005 echo "$as_me: program exited with status $ac_status" >&5
44006 echo "$as_me: failed program was:" >&5
44007 sed 's/^/| /' conftest.$ac_ext >&5
44008
44009 ( exit $ac_status )
44010 wx_cv_func_strptime_ok=no
44011 fi
44012 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44013 fi
44014
44015
44016
44017 fi
44018 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
44019 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
44020
44021 if test "$wx_cv_func_strptime_ok" = "yes"; then
44022 cat >>confdefs.h <<\_ACEOF
44023 #define HAVE_STRPTIME 1
44024 _ACEOF
44025
44026 fi
44027 fi
44028
44029 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44030 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
44031 if test "${wx_cv_var_timezone+set}" = set; then
44032 echo $ECHO_N "(cached) $ECHO_C" >&6
44033 else
44034
44035 ac_ext=cpp
44036 ac_cpp='$CXXCPP $CPPFLAGS'
44037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44040
44041 cat >conftest.$ac_ext <<_ACEOF
44042 /* confdefs.h. */
44043 _ACEOF
44044 cat confdefs.h >>conftest.$ac_ext
44045 cat >>conftest.$ac_ext <<_ACEOF
44046 /* end confdefs.h. */
44047
44048 #include <time.h>
44049
44050 int
44051 main ()
44052 {
44053
44054 int tz;
44055 tz = timezone;
44056
44057 ;
44058 return 0;
44059 }
44060 _ACEOF
44061 rm -f conftest.$ac_objext
44062 if { (ac_try="$ac_compile"
44063 case "(($ac_try" in
44064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44065 *) ac_try_echo=$ac_try;;
44066 esac
44067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44068 (eval "$ac_compile") 2>conftest.er1
44069 ac_status=$?
44070 grep -v '^ *+' conftest.er1 >conftest.err
44071 rm -f conftest.er1
44072 cat conftest.err >&5
44073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44074 (exit $ac_status); } && {
44075 test -z "$ac_cxx_werror_flag" ||
44076 test ! -s conftest.err
44077 } && test -s conftest.$ac_objext; then
44078
44079 wx_cv_var_timezone=timezone
44080
44081 else
44082 echo "$as_me: failed program was:" >&5
44083 sed 's/^/| /' conftest.$ac_ext >&5
44084
44085
44086 cat >conftest.$ac_ext <<_ACEOF
44087 /* confdefs.h. */
44088 _ACEOF
44089 cat confdefs.h >>conftest.$ac_ext
44090 cat >>conftest.$ac_ext <<_ACEOF
44091 /* end confdefs.h. */
44092
44093 #include <time.h>
44094
44095 int
44096 main ()
44097 {
44098
44099 int tz;
44100 tz = _timezone;
44101
44102 ;
44103 return 0;
44104 }
44105 _ACEOF
44106 rm -f conftest.$ac_objext
44107 if { (ac_try="$ac_compile"
44108 case "(($ac_try" in
44109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44110 *) ac_try_echo=$ac_try;;
44111 esac
44112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44113 (eval "$ac_compile") 2>conftest.er1
44114 ac_status=$?
44115 grep -v '^ *+' conftest.er1 >conftest.err
44116 rm -f conftest.er1
44117 cat conftest.err >&5
44118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44119 (exit $ac_status); } && {
44120 test -z "$ac_cxx_werror_flag" ||
44121 test ! -s conftest.err
44122 } && test -s conftest.$ac_objext; then
44123
44124 wx_cv_var_timezone=_timezone
44125
44126 else
44127 echo "$as_me: failed program was:" >&5
44128 sed 's/^/| /' conftest.$ac_ext >&5
44129
44130
44131 cat >conftest.$ac_ext <<_ACEOF
44132 /* confdefs.h. */
44133 _ACEOF
44134 cat confdefs.h >>conftest.$ac_ext
44135 cat >>conftest.$ac_ext <<_ACEOF
44136 /* end confdefs.h. */
44137
44138 #include <time.h>
44139
44140 int
44141 main ()
44142 {
44143
44144 int tz;
44145 tz = __timezone;
44146
44147 ;
44148 return 0;
44149 }
44150 _ACEOF
44151 rm -f conftest.$ac_objext
44152 if { (ac_try="$ac_compile"
44153 case "(($ac_try" in
44154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44155 *) ac_try_echo=$ac_try;;
44156 esac
44157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44158 (eval "$ac_compile") 2>conftest.er1
44159 ac_status=$?
44160 grep -v '^ *+' conftest.er1 >conftest.err
44161 rm -f conftest.er1
44162 cat conftest.err >&5
44163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44164 (exit $ac_status); } && {
44165 test -z "$ac_cxx_werror_flag" ||
44166 test ! -s conftest.err
44167 } && test -s conftest.$ac_objext; then
44168
44169 wx_cv_var_timezone=__timezone
44170
44171 else
44172 echo "$as_me: failed program was:" >&5
44173 sed 's/^/| /' conftest.$ac_ext >&5
44174
44175
44176 if test "$USE_DOS" = 0 ; then
44177 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44178 echo "$as_me: WARNING: no timezone variable" >&2;}
44179 fi
44180
44181
44182 fi
44183
44184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44185
44186
44187 fi
44188
44189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44190
44191
44192 fi
44193
44194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44195 ac_ext=c
44196 ac_cpp='$CPP $CPPFLAGS'
44197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44200
44201
44202
44203 fi
44204 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44205 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44206
44207 if test "x$wx_cv_var_timezone" != x ; then
44208 cat >>confdefs.h <<_ACEOF
44209 #define WX_TIMEZONE $wx_cv_var_timezone
44210 _ACEOF
44211
44212 fi
44213
44214
44215 for ac_func in localtime
44216 do
44217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44218 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44220 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44221 echo $ECHO_N "(cached) $ECHO_C" >&6
44222 else
44223 cat >conftest.$ac_ext <<_ACEOF
44224 /* confdefs.h. */
44225 _ACEOF
44226 cat confdefs.h >>conftest.$ac_ext
44227 cat >>conftest.$ac_ext <<_ACEOF
44228 /* end confdefs.h. */
44229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44231 #define $ac_func innocuous_$ac_func
44232
44233 /* System header to define __stub macros and hopefully few prototypes,
44234 which can conflict with char $ac_func (); below.
44235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44236 <limits.h> exists even on freestanding compilers. */
44237
44238 #ifdef __STDC__
44239 # include <limits.h>
44240 #else
44241 # include <assert.h>
44242 #endif
44243
44244 #undef $ac_func
44245
44246 /* Override any GCC internal prototype to avoid an error.
44247 Use char because int might match the return type of a GCC
44248 builtin and then its argument prototype would still apply. */
44249 #ifdef __cplusplus
44250 extern "C"
44251 #endif
44252 char $ac_func ();
44253 /* The GNU C library defines this for functions which it implements
44254 to always fail with ENOSYS. Some functions are actually named
44255 something starting with __ and the normal name is an alias. */
44256 #if defined __stub_$ac_func || defined __stub___$ac_func
44257 choke me
44258 #endif
44259
44260 int
44261 main ()
44262 {
44263 return $ac_func ();
44264 ;
44265 return 0;
44266 }
44267 _ACEOF
44268 rm -f conftest.$ac_objext conftest$ac_exeext
44269 if { (ac_try="$ac_link"
44270 case "(($ac_try" in
44271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44272 *) ac_try_echo=$ac_try;;
44273 esac
44274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44275 (eval "$ac_link") 2>conftest.er1
44276 ac_status=$?
44277 grep -v '^ *+' conftest.er1 >conftest.err
44278 rm -f conftest.er1
44279 cat conftest.err >&5
44280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44281 (exit $ac_status); } && {
44282 test -z "$ac_c_werror_flag" ||
44283 test ! -s conftest.err
44284 } && test -s conftest$ac_exeext &&
44285 $as_test_x conftest$ac_exeext; then
44286 eval "$as_ac_var=yes"
44287 else
44288 echo "$as_me: failed program was:" >&5
44289 sed 's/^/| /' conftest.$ac_ext >&5
44290
44291 eval "$as_ac_var=no"
44292 fi
44293
44294 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44295 conftest$ac_exeext conftest.$ac_ext
44296 fi
44297 ac_res=`eval echo '${'$as_ac_var'}'`
44298 { echo "$as_me:$LINENO: result: $ac_res" >&5
44299 echo "${ECHO_T}$ac_res" >&6; }
44300 if test `eval echo '${'$as_ac_var'}'` = yes; then
44301 cat >>confdefs.h <<_ACEOF
44302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44303 _ACEOF
44304
44305 fi
44306 done
44307
44308
44309 if test "$ac_cv_func_localtime" = "yes"; then
44310 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44311 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44312 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44313 echo $ECHO_N "(cached) $ECHO_C" >&6
44314 else
44315
44316 cat >conftest.$ac_ext <<_ACEOF
44317 /* confdefs.h. */
44318 _ACEOF
44319 cat confdefs.h >>conftest.$ac_ext
44320 cat >>conftest.$ac_ext <<_ACEOF
44321 /* end confdefs.h. */
44322
44323 #include <time.h>
44324
44325 int
44326 main ()
44327 {
44328
44329 struct tm tm;
44330 tm.tm_gmtoff++;
44331
44332 ;
44333 return 0;
44334 }
44335 _ACEOF
44336 rm -f conftest.$ac_objext
44337 if { (ac_try="$ac_compile"
44338 case "(($ac_try" in
44339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44340 *) ac_try_echo=$ac_try;;
44341 esac
44342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44343 (eval "$ac_compile") 2>conftest.er1
44344 ac_status=$?
44345 grep -v '^ *+' conftest.er1 >conftest.err
44346 rm -f conftest.er1
44347 cat conftest.err >&5
44348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44349 (exit $ac_status); } && {
44350 test -z "$ac_c_werror_flag" ||
44351 test ! -s conftest.err
44352 } && test -s conftest.$ac_objext; then
44353
44354 wx_cv_struct_tm_has_gmtoff=yes
44355
44356 else
44357 echo "$as_me: failed program was:" >&5
44358 sed 's/^/| /' conftest.$ac_ext >&5
44359
44360 wx_cv_struct_tm_has_gmtoff=no
44361
44362 fi
44363
44364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44365
44366 fi
44367 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44368 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44369 fi
44370
44371 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44372 cat >>confdefs.h <<\_ACEOF
44373 #define WX_GMTOFF_IN_TM 1
44374 _ACEOF
44375
44376 fi
44377
44378 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44379 fi
44380
44381
44382 if test "$wxUSE_SOCKETS" = "yes"; then
44383 if test "$wxUSE_MGL" = 1; then
44384 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44385 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44386 wxUSE_SOCKETS="no"
44387 fi
44388 fi
44389
44390 if test "$wxUSE_SOCKETS" = "yes"; then
44391 if test "$TOOLKIT" != "MSW"; then
44392 { echo "$as_me:$LINENO: checking for socket" >&5
44393 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44394 if test "${ac_cv_func_socket+set}" = set; then
44395 echo $ECHO_N "(cached) $ECHO_C" >&6
44396 else
44397 cat >conftest.$ac_ext <<_ACEOF
44398 /* confdefs.h. */
44399 _ACEOF
44400 cat confdefs.h >>conftest.$ac_ext
44401 cat >>conftest.$ac_ext <<_ACEOF
44402 /* end confdefs.h. */
44403 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44404 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44405 #define socket innocuous_socket
44406
44407 /* System header to define __stub macros and hopefully few prototypes,
44408 which can conflict with char socket (); below.
44409 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44410 <limits.h> exists even on freestanding compilers. */
44411
44412 #ifdef __STDC__
44413 # include <limits.h>
44414 #else
44415 # include <assert.h>
44416 #endif
44417
44418 #undef socket
44419
44420 /* Override any GCC internal prototype to avoid an error.
44421 Use char because int might match the return type of a GCC
44422 builtin and then its argument prototype would still apply. */
44423 #ifdef __cplusplus
44424 extern "C"
44425 #endif
44426 char socket ();
44427 /* The GNU C library defines this for functions which it implements
44428 to always fail with ENOSYS. Some functions are actually named
44429 something starting with __ and the normal name is an alias. */
44430 #if defined __stub_socket || defined __stub___socket
44431 choke me
44432 #endif
44433
44434 int
44435 main ()
44436 {
44437 return socket ();
44438 ;
44439 return 0;
44440 }
44441 _ACEOF
44442 rm -f conftest.$ac_objext conftest$ac_exeext
44443 if { (ac_try="$ac_link"
44444 case "(($ac_try" in
44445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44446 *) ac_try_echo=$ac_try;;
44447 esac
44448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44449 (eval "$ac_link") 2>conftest.er1
44450 ac_status=$?
44451 grep -v '^ *+' conftest.er1 >conftest.err
44452 rm -f conftest.er1
44453 cat conftest.err >&5
44454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44455 (exit $ac_status); } && {
44456 test -z "$ac_c_werror_flag" ||
44457 test ! -s conftest.err
44458 } && test -s conftest$ac_exeext &&
44459 $as_test_x conftest$ac_exeext; then
44460 ac_cv_func_socket=yes
44461 else
44462 echo "$as_me: failed program was:" >&5
44463 sed 's/^/| /' conftest.$ac_ext >&5
44464
44465 ac_cv_func_socket=no
44466 fi
44467
44468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44469 conftest$ac_exeext conftest.$ac_ext
44470 fi
44471 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44472 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44473 if test $ac_cv_func_socket = yes; then
44474 :
44475 else
44476
44477 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44478 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44479 if test "${ac_cv_lib_socket_socket+set}" = set; then
44480 echo $ECHO_N "(cached) $ECHO_C" >&6
44481 else
44482 ac_check_lib_save_LIBS=$LIBS
44483 LIBS="-lsocket $LIBS"
44484 cat >conftest.$ac_ext <<_ACEOF
44485 /* confdefs.h. */
44486 _ACEOF
44487 cat confdefs.h >>conftest.$ac_ext
44488 cat >>conftest.$ac_ext <<_ACEOF
44489 /* end confdefs.h. */
44490
44491 /* Override any GCC internal prototype to avoid an error.
44492 Use char because int might match the return type of a GCC
44493 builtin and then its argument prototype would still apply. */
44494 #ifdef __cplusplus
44495 extern "C"
44496 #endif
44497 char socket ();
44498 int
44499 main ()
44500 {
44501 return socket ();
44502 ;
44503 return 0;
44504 }
44505 _ACEOF
44506 rm -f conftest.$ac_objext conftest$ac_exeext
44507 if { (ac_try="$ac_link"
44508 case "(($ac_try" in
44509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44510 *) ac_try_echo=$ac_try;;
44511 esac
44512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44513 (eval "$ac_link") 2>conftest.er1
44514 ac_status=$?
44515 grep -v '^ *+' conftest.er1 >conftest.err
44516 rm -f conftest.er1
44517 cat conftest.err >&5
44518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44519 (exit $ac_status); } && {
44520 test -z "$ac_c_werror_flag" ||
44521 test ! -s conftest.err
44522 } && test -s conftest$ac_exeext &&
44523 $as_test_x conftest$ac_exeext; then
44524 ac_cv_lib_socket_socket=yes
44525 else
44526 echo "$as_me: failed program was:" >&5
44527 sed 's/^/| /' conftest.$ac_ext >&5
44528
44529 ac_cv_lib_socket_socket=no
44530 fi
44531
44532 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44533 conftest$ac_exeext conftest.$ac_ext
44534 LIBS=$ac_check_lib_save_LIBS
44535 fi
44536 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44537 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44538 if test $ac_cv_lib_socket_socket = yes; then
44539 if test "$INET_LINK" != " -lsocket"; then
44540 INET_LINK="$INET_LINK -lsocket"
44541 fi
44542 else
44543
44544 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44545 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44546 wxUSE_SOCKETS=no
44547
44548
44549 fi
44550
44551
44552
44553 fi
44554
44555 fi
44556 fi
44557
44558 if test "$wxUSE_SOCKETS" = "yes" ; then
44559 if test "$TOOLKIT" != "MSW"; then
44560 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44561 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44562 if test "${wx_cv_type_getsockname3+set}" = set; then
44563 echo $ECHO_N "(cached) $ECHO_C" >&6
44564 else
44565
44566 ac_ext=cpp
44567 ac_cpp='$CXXCPP $CPPFLAGS'
44568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44571
44572 cat >conftest.$ac_ext <<_ACEOF
44573 /* confdefs.h. */
44574 _ACEOF
44575 cat confdefs.h >>conftest.$ac_ext
44576 cat >>conftest.$ac_ext <<_ACEOF
44577 /* end confdefs.h. */
44578
44579 #include <sys/types.h>
44580 #include <sys/socket.h>
44581
44582 int
44583 main ()
44584 {
44585
44586 socklen_t len;
44587 getsockname(0, 0, &len);
44588
44589 ;
44590 return 0;
44591 }
44592 _ACEOF
44593 rm -f conftest.$ac_objext
44594 if { (ac_try="$ac_compile"
44595 case "(($ac_try" in
44596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44597 *) ac_try_echo=$ac_try;;
44598 esac
44599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44600 (eval "$ac_compile") 2>conftest.er1
44601 ac_status=$?
44602 grep -v '^ *+' conftest.er1 >conftest.err
44603 rm -f conftest.er1
44604 cat conftest.err >&5
44605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44606 (exit $ac_status); } && {
44607 test -z "$ac_cxx_werror_flag" ||
44608 test ! -s conftest.err
44609 } && test -s conftest.$ac_objext; then
44610 wx_cv_type_getsockname3=socklen_t
44611 else
44612 echo "$as_me: failed program was:" >&5
44613 sed 's/^/| /' conftest.$ac_ext >&5
44614
44615
44616 CFLAGS_OLD="$CFLAGS"
44617 if test "$GCC" = yes ; then
44618 CFLAGS="-Werror $CFLAGS"
44619 fi
44620
44621 cat >conftest.$ac_ext <<_ACEOF
44622 /* confdefs.h. */
44623 _ACEOF
44624 cat confdefs.h >>conftest.$ac_ext
44625 cat >>conftest.$ac_ext <<_ACEOF
44626 /* end confdefs.h. */
44627
44628 #include <sys/types.h>
44629 #include <sys/socket.h>
44630
44631 int
44632 main ()
44633 {
44634
44635 size_t len;
44636 getsockname(0, 0, &len);
44637
44638 ;
44639 return 0;
44640 }
44641 _ACEOF
44642 rm -f conftest.$ac_objext
44643 if { (ac_try="$ac_compile"
44644 case "(($ac_try" in
44645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44646 *) ac_try_echo=$ac_try;;
44647 esac
44648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44649 (eval "$ac_compile") 2>conftest.er1
44650 ac_status=$?
44651 grep -v '^ *+' conftest.er1 >conftest.err
44652 rm -f conftest.er1
44653 cat conftest.err >&5
44654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44655 (exit $ac_status); } && {
44656 test -z "$ac_cxx_werror_flag" ||
44657 test ! -s conftest.err
44658 } && test -s conftest.$ac_objext; then
44659 wx_cv_type_getsockname3=size_t
44660 else
44661 echo "$as_me: failed program was:" >&5
44662 sed 's/^/| /' conftest.$ac_ext >&5
44663
44664 cat >conftest.$ac_ext <<_ACEOF
44665 /* confdefs.h. */
44666 _ACEOF
44667 cat confdefs.h >>conftest.$ac_ext
44668 cat >>conftest.$ac_ext <<_ACEOF
44669 /* end confdefs.h. */
44670
44671 #include <sys/types.h>
44672 #include <sys/socket.h>
44673
44674 int
44675 main ()
44676 {
44677
44678 int len;
44679 getsockname(0, 0, &len);
44680
44681 ;
44682 return 0;
44683 }
44684 _ACEOF
44685 rm -f conftest.$ac_objext
44686 if { (ac_try="$ac_compile"
44687 case "(($ac_try" in
44688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44689 *) ac_try_echo=$ac_try;;
44690 esac
44691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44692 (eval "$ac_compile") 2>conftest.er1
44693 ac_status=$?
44694 grep -v '^ *+' conftest.er1 >conftest.err
44695 rm -f conftest.er1
44696 cat conftest.err >&5
44697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44698 (exit $ac_status); } && {
44699 test -z "$ac_cxx_werror_flag" ||
44700 test ! -s conftest.err
44701 } && test -s conftest.$ac_objext; then
44702 wx_cv_type_getsockname3=int
44703 else
44704 echo "$as_me: failed program was:" >&5
44705 sed 's/^/| /' conftest.$ac_ext >&5
44706
44707 wx_cv_type_getsockname3=unknown
44708
44709 fi
44710
44711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44712
44713 fi
44714
44715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44716
44717 CFLAGS="$CFLAGS_OLD"
44718
44719
44720 fi
44721
44722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44723 ac_ext=c
44724 ac_cpp='$CPP $CPPFLAGS'
44725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44728
44729
44730 fi
44731 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44732 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44733
44734 if test "$wx_cv_type_getsockname3" = "unknown"; then
44735 wxUSE_SOCKETS=no
44736 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44737 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44738 else
44739 cat >>confdefs.h <<_ACEOF
44740 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44741 _ACEOF
44742
44743 fi
44744 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44745 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44746 if test "${wx_cv_type_getsockopt5+set}" = set; then
44747 echo $ECHO_N "(cached) $ECHO_C" >&6
44748 else
44749
44750 ac_ext=cpp
44751 ac_cpp='$CXXCPP $CPPFLAGS'
44752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44755
44756 cat >conftest.$ac_ext <<_ACEOF
44757 /* confdefs.h. */
44758 _ACEOF
44759 cat confdefs.h >>conftest.$ac_ext
44760 cat >>conftest.$ac_ext <<_ACEOF
44761 /* end confdefs.h. */
44762
44763 #include <sys/types.h>
44764 #include <sys/socket.h>
44765
44766 int
44767 main ()
44768 {
44769
44770 socklen_t len;
44771 getsockopt(0, 0, 0, 0, &len);
44772
44773 ;
44774 return 0;
44775 }
44776 _ACEOF
44777 rm -f conftest.$ac_objext
44778 if { (ac_try="$ac_compile"
44779 case "(($ac_try" in
44780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44781 *) ac_try_echo=$ac_try;;
44782 esac
44783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44784 (eval "$ac_compile") 2>conftest.er1
44785 ac_status=$?
44786 grep -v '^ *+' conftest.er1 >conftest.err
44787 rm -f conftest.er1
44788 cat conftest.err >&5
44789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44790 (exit $ac_status); } && {
44791 test -z "$ac_cxx_werror_flag" ||
44792 test ! -s conftest.err
44793 } && test -s conftest.$ac_objext; then
44794 wx_cv_type_getsockopt5=socklen_t
44795 else
44796 echo "$as_me: failed program was:" >&5
44797 sed 's/^/| /' conftest.$ac_ext >&5
44798
44799
44800 cat >conftest.$ac_ext <<_ACEOF
44801 /* confdefs.h. */
44802 _ACEOF
44803 cat confdefs.h >>conftest.$ac_ext
44804 cat >>conftest.$ac_ext <<_ACEOF
44805 /* end confdefs.h. */
44806
44807 #include <sys/types.h>
44808 #include <sys/socket.h>
44809
44810 int
44811 main ()
44812 {
44813
44814 size_t len;
44815 getsockopt(0, 0, 0, 0, &len);
44816
44817 ;
44818 return 0;
44819 }
44820 _ACEOF
44821 rm -f conftest.$ac_objext
44822 if { (ac_try="$ac_compile"
44823 case "(($ac_try" in
44824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44825 *) ac_try_echo=$ac_try;;
44826 esac
44827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44828 (eval "$ac_compile") 2>conftest.er1
44829 ac_status=$?
44830 grep -v '^ *+' conftest.er1 >conftest.err
44831 rm -f conftest.er1
44832 cat conftest.err >&5
44833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44834 (exit $ac_status); } && {
44835 test -z "$ac_cxx_werror_flag" ||
44836 test ! -s conftest.err
44837 } && test -s conftest.$ac_objext; then
44838 wx_cv_type_getsockopt5=size_t
44839 else
44840 echo "$as_me: failed program was:" >&5
44841 sed 's/^/| /' conftest.$ac_ext >&5
44842
44843 cat >conftest.$ac_ext <<_ACEOF
44844 /* confdefs.h. */
44845 _ACEOF
44846 cat confdefs.h >>conftest.$ac_ext
44847 cat >>conftest.$ac_ext <<_ACEOF
44848 /* end confdefs.h. */
44849
44850 #include <sys/types.h>
44851 #include <sys/socket.h>
44852
44853 int
44854 main ()
44855 {
44856
44857 int len;
44858 getsockopt(0, 0, 0, 0, &len);
44859
44860 ;
44861 return 0;
44862 }
44863 _ACEOF
44864 rm -f conftest.$ac_objext
44865 if { (ac_try="$ac_compile"
44866 case "(($ac_try" in
44867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44868 *) ac_try_echo=$ac_try;;
44869 esac
44870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44871 (eval "$ac_compile") 2>conftest.er1
44872 ac_status=$?
44873 grep -v '^ *+' conftest.er1 >conftest.err
44874 rm -f conftest.er1
44875 cat conftest.err >&5
44876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44877 (exit $ac_status); } && {
44878 test -z "$ac_cxx_werror_flag" ||
44879 test ! -s conftest.err
44880 } && test -s conftest.$ac_objext; then
44881 wx_cv_type_getsockopt5=int
44882 else
44883 echo "$as_me: failed program was:" >&5
44884 sed 's/^/| /' conftest.$ac_ext >&5
44885
44886 wx_cv_type_getsockopt5=unknown
44887
44888 fi
44889
44890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44891
44892 fi
44893
44894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44895
44896
44897 fi
44898
44899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44900 ac_ext=c
44901 ac_cpp='$CPP $CPPFLAGS'
44902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44905
44906
44907 fi
44908 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44909 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44910
44911 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44912 wxUSE_SOCKETS=no
44913 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44914 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44915 else
44916 cat >>confdefs.h <<_ACEOF
44917 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44918 _ACEOF
44919
44920 fi
44921 fi
44922 fi
44923
44924 if test "$wxUSE_SOCKETS" = "yes" ; then
44925 if test "$wxUSE_IPV6" = "yes"; then
44926 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44927 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44928 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44929 echo $ECHO_N "(cached) $ECHO_C" >&6
44930 else
44931
44932 cat >conftest.$ac_ext <<_ACEOF
44933 /* confdefs.h. */
44934 _ACEOF
44935 cat confdefs.h >>conftest.$ac_ext
44936 cat >>conftest.$ac_ext <<_ACEOF
44937 /* end confdefs.h. */
44938
44939 #include <sys/types.h>
44940 #include <sys/socket.h>
44941 #include <netinet/in.h>
44942
44943 int
44944 main ()
44945 {
44946
44947 struct sockaddr_in6 sa6;
44948
44949 ;
44950 return 0;
44951 }
44952 _ACEOF
44953 rm -f conftest.$ac_objext
44954 if { (ac_try="$ac_compile"
44955 case "(($ac_try" in
44956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44957 *) ac_try_echo=$ac_try;;
44958 esac
44959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44960 (eval "$ac_compile") 2>conftest.er1
44961 ac_status=$?
44962 grep -v '^ *+' conftest.er1 >conftest.err
44963 rm -f conftest.er1
44964 cat conftest.err >&5
44965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44966 (exit $ac_status); } && {
44967 test -z "$ac_c_werror_flag" ||
44968 test ! -s conftest.err
44969 } && test -s conftest.$ac_objext; then
44970 wx_cv_type_sockaddr_in6=yes
44971 else
44972 echo "$as_me: failed program was:" >&5
44973 sed 's/^/| /' conftest.$ac_ext >&5
44974
44975 wx_cv_type_sockaddr_in6=no
44976
44977 fi
44978
44979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44980
44981
44982 fi
44983 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44984 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44985
44986 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44987 cat >>confdefs.h <<\_ACEOF
44988 #define wxUSE_IPV6 1
44989 _ACEOF
44990
44991 else
44992 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44993 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44994 fi
44995 fi
44996
44997 cat >>confdefs.h <<\_ACEOF
44998 #define wxUSE_SOCKETS 1
44999 _ACEOF
45000
45001 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45002 fi
45003
45004 if test "$wxUSE_PROTOCOL" = "yes"; then
45005 if test "$wxUSE_SOCKETS" != "yes"; then
45006 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45007 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45008 wxUSE_PROTOCOL=no
45009 fi
45010 fi
45011
45012 if test "$wxUSE_PROTOCOL" = "yes"; then
45013 cat >>confdefs.h <<\_ACEOF
45014 #define wxUSE_PROTOCOL 1
45015 _ACEOF
45016
45017
45018 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45019 cat >>confdefs.h <<\_ACEOF
45020 #define wxUSE_PROTOCOL_HTTP 1
45021 _ACEOF
45022
45023 fi
45024 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45025 cat >>confdefs.h <<\_ACEOF
45026 #define wxUSE_PROTOCOL_FTP 1
45027 _ACEOF
45028
45029 fi
45030 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45031 cat >>confdefs.h <<\_ACEOF
45032 #define wxUSE_PROTOCOL_FILE 1
45033 _ACEOF
45034
45035 fi
45036 else
45037 if test "$wxUSE_FS_INET" = "yes"; then
45038 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45039 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45040 wxUSE_FS_INET="no"
45041 fi
45042 fi
45043
45044 if test "$wxUSE_URL" = "yes"; then
45045 if test "$wxUSE_PROTOCOL" != "yes"; then
45046 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45047 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45048 wxUSE_URL=no
45049 fi
45050 if test "$wxUSE_URL" = "yes"; then
45051 cat >>confdefs.h <<\_ACEOF
45052 #define wxUSE_URL 1
45053 _ACEOF
45054
45055 fi
45056 fi
45057
45058 if test "$wxUSE_VARIANT" = "yes"; then
45059 cat >>confdefs.h <<\_ACEOF
45060 #define wxUSE_VARIANT 1
45061 _ACEOF
45062
45063 fi
45064
45065 if test "$wxUSE_FS_INET" = "yes"; then
45066 cat >>confdefs.h <<\_ACEOF
45067 #define wxUSE_FS_INET 1
45068 _ACEOF
45069
45070 fi
45071
45072
45073 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45074 wxUSE_JOYSTICK=no
45075
45076 if test "$TOOLKIT" = "MSW"; then
45077 wxUSE_JOYSTICK=yes
45078
45079 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
45080 if test "$USE_DARWIN" = 1; then
45081 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45082 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45083 ac_ext=cpp
45084 ac_cpp='$CXXCPP $CPPFLAGS'
45085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45088
45089 cat >conftest.$ac_ext <<_ACEOF
45090 /* confdefs.h. */
45091 _ACEOF
45092 cat confdefs.h >>conftest.$ac_ext
45093 cat >>conftest.$ac_ext <<_ACEOF
45094 /* end confdefs.h. */
45095 #include <IOKit/hid/IOHIDLib.h>
45096 int
45097 main ()
45098 {
45099 IOHIDQueueInterface *qi = NULL;
45100 IOHIDCallbackFunction cb = NULL;
45101 qi->setEventCallout(NULL, cb, NULL, NULL);
45102 ;
45103 return 0;
45104 }
45105 _ACEOF
45106 rm -f conftest.$ac_objext
45107 if { (ac_try="$ac_compile"
45108 case "(($ac_try" in
45109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45110 *) ac_try_echo=$ac_try;;
45111 esac
45112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45113 (eval "$ac_compile") 2>conftest.er1
45114 ac_status=$?
45115 grep -v '^ *+' conftest.er1 >conftest.err
45116 rm -f conftest.er1
45117 cat conftest.err >&5
45118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45119 (exit $ac_status); } && {
45120 test -z "$ac_cxx_werror_flag" ||
45121 test ! -s conftest.err
45122 } && test -s conftest.$ac_objext; then
45123 wxUSE_JOYSTICK=yes
45124
45125 else
45126 echo "$as_me: failed program was:" >&5
45127 sed 's/^/| /' conftest.$ac_ext >&5
45128
45129
45130 fi
45131
45132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45133 ac_ext=c
45134 ac_cpp='$CPP $CPPFLAGS'
45135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45138
45139 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45140 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45141 fi
45142
45143 else
45144 if test "$wxUSE_MGL" != 1; then
45145
45146 for ac_header in linux/joystick.h
45147 do
45148 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45149 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45150 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45151 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45152 echo $ECHO_N "(cached) $ECHO_C" >&6
45153 else
45154 cat >conftest.$ac_ext <<_ACEOF
45155 /* confdefs.h. */
45156 _ACEOF
45157 cat confdefs.h >>conftest.$ac_ext
45158 cat >>conftest.$ac_ext <<_ACEOF
45159 /* end confdefs.h. */
45160 $ac_includes_default
45161
45162 #include <$ac_header>
45163 _ACEOF
45164 rm -f conftest.$ac_objext
45165 if { (ac_try="$ac_compile"
45166 case "(($ac_try" in
45167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45168 *) ac_try_echo=$ac_try;;
45169 esac
45170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45171 (eval "$ac_compile") 2>conftest.er1
45172 ac_status=$?
45173 grep -v '^ *+' conftest.er1 >conftest.err
45174 rm -f conftest.er1
45175 cat conftest.err >&5
45176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45177 (exit $ac_status); } && {
45178 test -z "$ac_c_werror_flag" ||
45179 test ! -s conftest.err
45180 } && test -s conftest.$ac_objext; then
45181 eval "$as_ac_Header=yes"
45182 else
45183 echo "$as_me: failed program was:" >&5
45184 sed 's/^/| /' conftest.$ac_ext >&5
45185
45186 eval "$as_ac_Header=no"
45187 fi
45188
45189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45190 fi
45191 ac_res=`eval echo '${'$as_ac_Header'}'`
45192 { echo "$as_me:$LINENO: result: $ac_res" >&5
45193 echo "${ECHO_T}$ac_res" >&6; }
45194 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45195 cat >>confdefs.h <<_ACEOF
45196 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45197 _ACEOF
45198 wxUSE_JOYSTICK=yes
45199 fi
45200
45201 done
45202
45203 fi
45204 fi
45205
45206 if test "$wxUSE_JOYSTICK" = "yes"; then
45207 cat >>confdefs.h <<\_ACEOF
45208 #define wxUSE_JOYSTICK 1
45209 _ACEOF
45210
45211 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45212 else
45213 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45214 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45215 fi
45216 fi
45217
45218
45219
45220 if test "$wxUSE_FONTENUM" = "yes" ; then
45221 cat >>confdefs.h <<\_ACEOF
45222 #define wxUSE_FONTENUM 1
45223 _ACEOF
45224
45225 fi
45226
45227 if test "$wxUSE_FONTMAP" = "yes" ; then
45228 cat >>confdefs.h <<\_ACEOF
45229 #define wxUSE_FONTMAP 1
45230 _ACEOF
45231
45232 fi
45233
45234 if test "$wxUSE_UNICODE" = "yes" ; then
45235 cat >>confdefs.h <<\_ACEOF
45236 #define wxUSE_UNICODE 1
45237 _ACEOF
45238
45239
45240 if test "$USE_WIN32" != 1; then
45241 wxUSE_UNICODE_MSLU=no
45242 fi
45243
45244 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45245 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45246 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45247 if test "${ac_cv_lib_unicows_main+set}" = set; then
45248 echo $ECHO_N "(cached) $ECHO_C" >&6
45249 else
45250 ac_check_lib_save_LIBS=$LIBS
45251 LIBS="-lunicows $LIBS"
45252 cat >conftest.$ac_ext <<_ACEOF
45253 /* confdefs.h. */
45254 _ACEOF
45255 cat confdefs.h >>conftest.$ac_ext
45256 cat >>conftest.$ac_ext <<_ACEOF
45257 /* end confdefs.h. */
45258
45259
45260 int
45261 main ()
45262 {
45263 return main ();
45264 ;
45265 return 0;
45266 }
45267 _ACEOF
45268 rm -f conftest.$ac_objext conftest$ac_exeext
45269 if { (ac_try="$ac_link"
45270 case "(($ac_try" in
45271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45272 *) ac_try_echo=$ac_try;;
45273 esac
45274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45275 (eval "$ac_link") 2>conftest.er1
45276 ac_status=$?
45277 grep -v '^ *+' conftest.er1 >conftest.err
45278 rm -f conftest.er1
45279 cat conftest.err >&5
45280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45281 (exit $ac_status); } && {
45282 test -z "$ac_c_werror_flag" ||
45283 test ! -s conftest.err
45284 } && test -s conftest$ac_exeext &&
45285 $as_test_x conftest$ac_exeext; then
45286 ac_cv_lib_unicows_main=yes
45287 else
45288 echo "$as_me: failed program was:" >&5
45289 sed 's/^/| /' conftest.$ac_ext >&5
45290
45291 ac_cv_lib_unicows_main=no
45292 fi
45293
45294 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45295 conftest$ac_exeext conftest.$ac_ext
45296 LIBS=$ac_check_lib_save_LIBS
45297 fi
45298 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45299 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45300 if test $ac_cv_lib_unicows_main = yes; then
45301
45302 cat >>confdefs.h <<\_ACEOF
45303 #define wxUSE_UNICODE_MSLU 1
45304 _ACEOF
45305
45306
45307 else
45308
45309 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45310 Applications will only run on Windows NT/2000/XP!" >&5
45311 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45312 Applications will only run on Windows NT/2000/XP!" >&2;}
45313 wxUSE_UNICODE_MSLU=no
45314
45315 fi
45316
45317 fi
45318 fi
45319
45320 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45321 cat >>confdefs.h <<\_ACEOF
45322 #define wxUSE_UNICODE_UTF8 1
45323 _ACEOF
45324
45325
45326 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45327 cat >>confdefs.h <<\_ACEOF
45328 #define wxUSE_UTF8_LOCALE_ONLY 1
45329 _ACEOF
45330
45331 fi
45332 fi
45333
45334
45335 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45336 cat >>confdefs.h <<\_ACEOF
45337 #define wxUSE_CONSTRAINTS 1
45338 _ACEOF
45339
45340 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45341 fi
45342
45343 if test "$wxUSE_MDI" = "yes"; then
45344 cat >>confdefs.h <<\_ACEOF
45345 #define wxUSE_MDI 1
45346 _ACEOF
45347
45348
45349 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45350 cat >>confdefs.h <<\_ACEOF
45351 #define wxUSE_MDI_ARCHITECTURE 1
45352 _ACEOF
45353
45354 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45355 fi
45356 fi
45357
45358 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45359 cat >>confdefs.h <<\_ACEOF
45360 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45361 _ACEOF
45362
45363 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45364 fi
45365
45366 if test "$wxUSE_HELP" = "yes"; then
45367 cat >>confdefs.h <<\_ACEOF
45368 #define wxUSE_HELP 1
45369 _ACEOF
45370
45371 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45372
45373 if test "$wxUSE_MSW" = 1; then
45374 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45375 cat >>confdefs.h <<\_ACEOF
45376 #define wxUSE_MS_HTML_HELP 1
45377 _ACEOF
45378
45379 fi
45380 fi
45381
45382 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45383 if test "$wxUSE_HTML" = "yes"; then
45384 cat >>confdefs.h <<\_ACEOF
45385 #define wxUSE_WXHTML_HELP 1
45386 _ACEOF
45387
45388 else
45389 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45390 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45391 wxUSE_WXHTML_HELP=no
45392 fi
45393 fi
45394 fi
45395
45396 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45397 cat >>confdefs.h <<\_ACEOF
45398 #define wxUSE_PRINTING_ARCHITECTURE 1
45399 _ACEOF
45400
45401 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45402 fi
45403
45404 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45405 cat >>confdefs.h <<\_ACEOF
45406 #define wxUSE_POSTSCRIPT 1
45407 _ACEOF
45408
45409 fi
45410
45411 cat >>confdefs.h <<\_ACEOF
45412 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45413 _ACEOF
45414
45415
45416 if test "$wxUSE_SVG" = "yes"; then
45417 cat >>confdefs.h <<\_ACEOF
45418 #define wxUSE_SVG 1
45419 _ACEOF
45420
45421 fi
45422
45423
45424 if test "$wxUSE_METAFILE" = "yes"; then
45425 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45426 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45427 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45428 wxUSE_METAFILE=no
45429 fi
45430 fi
45431
45432
45433 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45434 -o "$wxUSE_CLIPBOARD" = "yes" \
45435 -o "$wxUSE_OLE" = "yes" \
45436 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45437 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45438 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45439 if test "${ac_cv_header_ole2_h+set}" = set; then
45440 echo $ECHO_N "(cached) $ECHO_C" >&6
45441 else
45442 cat >conftest.$ac_ext <<_ACEOF
45443 /* confdefs.h. */
45444 _ACEOF
45445 cat confdefs.h >>conftest.$ac_ext
45446 cat >>conftest.$ac_ext <<_ACEOF
45447 /* end confdefs.h. */
45448
45449
45450 #include <ole2.h>
45451 _ACEOF
45452 rm -f conftest.$ac_objext
45453 if { (ac_try="$ac_compile"
45454 case "(($ac_try" in
45455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45456 *) ac_try_echo=$ac_try;;
45457 esac
45458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45459 (eval "$ac_compile") 2>conftest.er1
45460 ac_status=$?
45461 grep -v '^ *+' conftest.er1 >conftest.err
45462 rm -f conftest.er1
45463 cat conftest.err >&5
45464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45465 (exit $ac_status); } && {
45466 test -z "$ac_c_werror_flag" ||
45467 test ! -s conftest.err
45468 } && test -s conftest.$ac_objext; then
45469 ac_cv_header_ole2_h=yes
45470 else
45471 echo "$as_me: failed program was:" >&5
45472 sed 's/^/| /' conftest.$ac_ext >&5
45473
45474 ac_cv_header_ole2_h=no
45475 fi
45476
45477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45478 fi
45479 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45480 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45481
45482
45483
45484 if test "$ac_cv_header_ole2_h" = "yes" ; then
45485 if test "$GCC" = yes ; then
45486 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45487 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45488 cat >conftest.$ac_ext <<_ACEOF
45489 /* confdefs.h. */
45490 _ACEOF
45491 cat confdefs.h >>conftest.$ac_ext
45492 cat >>conftest.$ac_ext <<_ACEOF
45493 /* end confdefs.h. */
45494 #include <windows.h>
45495 #include <ole2.h>
45496 int
45497 main ()
45498 {
45499
45500 ;
45501 return 0;
45502 }
45503 _ACEOF
45504 rm -f conftest.$ac_objext
45505 if { (ac_try="$ac_compile"
45506 case "(($ac_try" in
45507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45508 *) ac_try_echo=$ac_try;;
45509 esac
45510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45511 (eval "$ac_compile") 2>conftest.er1
45512 ac_status=$?
45513 grep -v '^ *+' conftest.er1 >conftest.err
45514 rm -f conftest.er1
45515 cat conftest.err >&5
45516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45517 (exit $ac_status); } && {
45518 test -z "$ac_c_werror_flag" ||
45519 test ! -s conftest.err
45520 } && test -s conftest.$ac_objext; then
45521 { echo "$as_me:$LINENO: result: no" >&5
45522 echo "${ECHO_T}no" >&6; }
45523 else
45524 echo "$as_me: failed program was:" >&5
45525 sed 's/^/| /' conftest.$ac_ext >&5
45526
45527 { echo "$as_me:$LINENO: result: yes" >&5
45528 echo "${ECHO_T}yes" >&6; }
45529 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45530 fi
45531
45532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45533 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45534 if test "$wxUSE_OLE" = "yes" ; then
45535 cat >>confdefs.h <<\_ACEOF
45536 #define wxUSE_OLE 1
45537 _ACEOF
45538
45539 cat >>confdefs.h <<\_ACEOF
45540 #define wxUSE_OLE_AUTOMATION 1
45541 _ACEOF
45542
45543 cat >>confdefs.h <<\_ACEOF
45544 #define wxUSE_ACTIVEX 1
45545 _ACEOF
45546
45547 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45548 fi
45549 fi
45550
45551 if test "$wxUSE_DATAOBJ" = "yes" ; then
45552 cat >>confdefs.h <<\_ACEOF
45553 #define wxUSE_DATAOBJ 1
45554 _ACEOF
45555
45556 fi
45557 else
45558 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45559 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45560
45561 wxUSE_CLIPBOARD=no
45562 wxUSE_DRAG_AND_DROP=no
45563 wxUSE_DATAOBJ=no
45564 wxUSE_OLE=no
45565 fi
45566
45567 if test "$wxUSE_METAFILE" = "yes"; then
45568 cat >>confdefs.h <<\_ACEOF
45569 #define wxUSE_METAFILE 1
45570 _ACEOF
45571
45572
45573 cat >>confdefs.h <<\_ACEOF
45574 #define wxUSE_ENH_METAFILE 1
45575 _ACEOF
45576
45577 fi
45578 fi
45579
45580 if test "$wxUSE_IPC" = "yes"; then
45581 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45582 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45583 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45584 wxUSE_IPC=no
45585 fi
45586
45587 if test "$wxUSE_IPC" = "yes"; then
45588 cat >>confdefs.h <<\_ACEOF
45589 #define wxUSE_IPC 1
45590 _ACEOF
45591
45592 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45593 fi
45594 fi
45595
45596 if test "$wxUSE_DATAOBJ" = "yes"; then
45597 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45598 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45599 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45600 wxUSE_DATAOBJ=no
45601 else
45602 cat >>confdefs.h <<\_ACEOF
45603 #define wxUSE_DATAOBJ 1
45604 _ACEOF
45605
45606 fi
45607 else
45608 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45609 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45610 wxUSE_CLIPBOARD=no
45611 wxUSE_DRAG_AND_DROP=no
45612 fi
45613
45614 if test "$wxUSE_CLIPBOARD" = "yes"; then
45615 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45616 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45617 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45618 wxUSE_CLIPBOARD=no
45619 fi
45620
45621 if test "$wxUSE_CLIPBOARD" = "yes"; then
45622 cat >>confdefs.h <<\_ACEOF
45623 #define wxUSE_CLIPBOARD 1
45624 _ACEOF
45625
45626 fi
45627 fi
45628
45629 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45630 if test "$wxUSE_GTK" = 1; then
45631 if test "$WXGTK12" != 1; then
45632 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45633 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45634 wxUSE_DRAG_AND_DROP=no
45635 fi
45636 fi
45637
45638 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45639 "$wxUSE_DFB" = 1; then
45640 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45641 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45642 wxUSE_DRAG_AND_DROP=no
45643 fi
45644
45645 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45646 cat >>confdefs.h <<\_ACEOF
45647 #define wxUSE_DRAG_AND_DROP 1
45648 _ACEOF
45649
45650 fi
45651
45652 fi
45653
45654 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45655 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45656 fi
45657
45658 if test "$wxUSE_CLIPBOARD" = "yes"; then
45659 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
45660 fi
45661
45662 if test "$wxUSE_SPLINES" = "yes" ; then
45663 cat >>confdefs.h <<\_ACEOF
45664 #define wxUSE_SPLINES 1
45665 _ACEOF
45666
45667 fi
45668
45669 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45670 cat >>confdefs.h <<\_ACEOF
45671 #define wxUSE_MOUSEWHEEL 1
45672 _ACEOF
45673
45674 fi
45675
45676
45677 USES_CONTROLS=0
45678 if test "$wxUSE_CONTROLS" = "yes"; then
45679 USES_CONTROLS=1
45680 fi
45681
45682 if test "$wxUSE_ACCEL" = "yes"; then
45683 cat >>confdefs.h <<\_ACEOF
45684 #define wxUSE_ACCEL 1
45685 _ACEOF
45686
45687 USES_CONTROLS=1
45688 fi
45689
45690 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45691 cat >>confdefs.h <<\_ACEOF
45692 #define wxUSE_ANIMATIONCTRL 1
45693 _ACEOF
45694
45695 USES_CONTROLS=1
45696 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45697 fi
45698
45699 if test "$wxUSE_BUTTON" = "yes"; then
45700 cat >>confdefs.h <<\_ACEOF
45701 #define wxUSE_BUTTON 1
45702 _ACEOF
45703
45704 USES_CONTROLS=1
45705 fi
45706
45707 if test "$wxUSE_BMPBUTTON" = "yes"; then
45708 cat >>confdefs.h <<\_ACEOF
45709 #define wxUSE_BMPBUTTON 1
45710 _ACEOF
45711
45712 USES_CONTROLS=1
45713 fi
45714
45715 if test "$wxUSE_CALCTRL" = "yes"; then
45716 cat >>confdefs.h <<\_ACEOF
45717 #define wxUSE_CALENDARCTRL 1
45718 _ACEOF
45719
45720 USES_CONTROLS=1
45721 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45722 fi
45723
45724 if test "$wxUSE_CARET" = "yes"; then
45725 cat >>confdefs.h <<\_ACEOF
45726 #define wxUSE_CARET 1
45727 _ACEOF
45728
45729 USES_CONTROLS=1
45730 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45731 fi
45732
45733 if test "$wxUSE_COLLPANE" = "yes"; then
45734 cat >>confdefs.h <<\_ACEOF
45735 #define wxUSE_COLLPANE 1
45736 _ACEOF
45737
45738 USES_CONTROLS=1
45739 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
45740 fi
45741
45742 if test "$wxUSE_COMBOBOX" = "yes"; then
45743 cat >>confdefs.h <<\_ACEOF
45744 #define wxUSE_COMBOBOX 1
45745 _ACEOF
45746
45747 USES_CONTROLS=1
45748 fi
45749
45750 if test "$wxUSE_COMBOCTRL" = "yes"; then
45751 cat >>confdefs.h <<\_ACEOF
45752 #define wxUSE_COMBOCTRL 1
45753 _ACEOF
45754
45755 USES_CONTROLS=1
45756 fi
45757
45758 if test "$wxUSE_CHOICE" = "yes"; then
45759 cat >>confdefs.h <<\_ACEOF
45760 #define wxUSE_CHOICE 1
45761 _ACEOF
45762
45763 USES_CONTROLS=1
45764 fi
45765
45766 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45767 cat >>confdefs.h <<\_ACEOF
45768 #define wxUSE_CHOICEBOOK 1
45769 _ACEOF
45770
45771 USES_CONTROLS=1
45772 fi
45773
45774 if test "$wxUSE_CHECKBOX" = "yes"; then
45775 cat >>confdefs.h <<\_ACEOF
45776 #define wxUSE_CHECKBOX 1
45777 _ACEOF
45778
45779 USES_CONTROLS=1
45780 fi
45781
45782 if test "$wxUSE_CHECKLST" = "yes"; then
45783 cat >>confdefs.h <<\_ACEOF
45784 #define wxUSE_CHECKLISTBOX 1
45785 _ACEOF
45786
45787 USES_CONTROLS=1
45788 fi
45789
45790 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45791 cat >>confdefs.h <<\_ACEOF
45792 #define wxUSE_COLOURPICKERCTRL 1
45793 _ACEOF
45794
45795 USES_CONTROLS=1
45796 fi
45797
45798 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45799 cat >>confdefs.h <<\_ACEOF
45800 #define wxUSE_DATEPICKCTRL 1
45801 _ACEOF
45802
45803 USES_CONTROLS=1
45804 fi
45805
45806 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45807 cat >>confdefs.h <<\_ACEOF
45808 #define wxUSE_DIRPICKERCTRL 1
45809 _ACEOF
45810
45811 USES_CONTROLS=1
45812 fi
45813
45814 if test "$wxUSE_FILECTRL" = "yes"; then
45815 cat >>confdefs.h <<\_ACEOF
45816 #define wxUSE_FILECTRL 1
45817 _ACEOF
45818
45819 USES_CONTROLS=1
45820 fi
45821
45822 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45823 cat >>confdefs.h <<\_ACEOF
45824 #define wxUSE_FILEPICKERCTRL 1
45825 _ACEOF
45826
45827 USES_CONTROLS=1
45828 fi
45829
45830 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45831 cat >>confdefs.h <<\_ACEOF
45832 #define wxUSE_FONTPICKERCTRL 1
45833 _ACEOF
45834
45835 USES_CONTROLS=1
45836 fi
45837
45838 if test "$wxUSE_DISPLAY" = "yes"; then
45839 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45840 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45841 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45842 wxUSE_DISPLAY=no
45843 else
45844 cat >>confdefs.h <<\_ACEOF
45845 #define wxUSE_DISPLAY 1
45846 _ACEOF
45847
45848 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45849 fi
45850 fi
45851
45852 if test "$wxUSE_DETECT_SM" = "yes"; then
45853 cat >>confdefs.h <<\_ACEOF
45854 #define wxUSE_DETECT_SM 1
45855 _ACEOF
45856
45857 fi
45858
45859 if test "$wxUSE_GAUGE" = "yes"; then
45860 cat >>confdefs.h <<\_ACEOF
45861 #define wxUSE_GAUGE 1
45862 _ACEOF
45863
45864 USES_CONTROLS=1
45865 fi
45866
45867 if test "$wxUSE_GRID" = "yes"; then
45868 cat >>confdefs.h <<\_ACEOF
45869 #define wxUSE_GRID 1
45870 _ACEOF
45871
45872 USES_CONTROLS=1
45873 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45874 fi
45875
45876 if test "$wxUSE_HEADERCTRL" = "yes"; then
45877 cat >>confdefs.h <<\_ACEOF
45878 #define wxUSE_HEADERCTRL 1
45879 _ACEOF
45880
45881 USES_CONTROLS=1
45882 fi
45883
45884 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45885 cat >>confdefs.h <<\_ACEOF
45886 #define wxUSE_HYPERLINKCTRL 1
45887 _ACEOF
45888
45889 USES_CONTROLS=1
45890 fi
45891
45892 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45893 cat >>confdefs.h <<\_ACEOF
45894 #define wxUSE_BITMAPCOMBOBOX 1
45895 _ACEOF
45896
45897 USES_CONTROLS=1
45898 fi
45899
45900 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45901 cat >>confdefs.h <<\_ACEOF
45902 #define wxUSE_DATAVIEWCTRL 1
45903 _ACEOF
45904
45905 USES_CONTROLS=1
45906 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45907 fi
45908
45909 if test "$wxUSE_IMAGLIST" = "yes"; then
45910 cat >>confdefs.h <<\_ACEOF
45911 #define wxUSE_IMAGLIST 1
45912 _ACEOF
45913
45914 fi
45915
45916 if test "$wxUSE_LISTBOOK" = "yes"; then
45917 cat >>confdefs.h <<\_ACEOF
45918 #define wxUSE_LISTBOOK 1
45919 _ACEOF
45920
45921 USES_CONTROLS=1
45922 fi
45923
45924 if test "$wxUSE_LISTBOX" = "yes"; then
45925 cat >>confdefs.h <<\_ACEOF
45926 #define wxUSE_LISTBOX 1
45927 _ACEOF
45928
45929 USES_CONTROLS=1
45930 fi
45931
45932 if test "$wxUSE_LISTCTRL" = "yes"; then
45933 if test "$wxUSE_IMAGLIST" = "yes"; then
45934 cat >>confdefs.h <<\_ACEOF
45935 #define wxUSE_LISTCTRL 1
45936 _ACEOF
45937
45938 USES_CONTROLS=1
45939 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45940 else
45941 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45942 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45943 fi
45944 fi
45945
45946 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45947 cat >>confdefs.h <<\_ACEOF
45948 #define wxUSE_EDITABLELISTBOX 1
45949 _ACEOF
45950
45951 USES_CONTROLS=1
45952 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
45953 fi
45954
45955 if test "$wxUSE_NOTEBOOK" = "yes"; then
45956 cat >>confdefs.h <<\_ACEOF
45957 #define wxUSE_NOTEBOOK 1
45958 _ACEOF
45959
45960 USES_CONTROLS=1
45961 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45962 fi
45963
45964 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45965 cat >>confdefs.h <<\_ACEOF
45966 #define wxUSE_NOTIFICATION_MESSAGE 1
45967 _ACEOF
45968
45969 fi
45970
45971 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45972 cat >>confdefs.h <<\_ACEOF
45973 #define wxUSE_ODCOMBOBOX 1
45974 _ACEOF
45975
45976 USES_CONTROLS=1
45977 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45978 fi
45979
45980 if test "$wxUSE_RADIOBOX" = "yes"; then
45981 cat >>confdefs.h <<\_ACEOF
45982 #define wxUSE_RADIOBOX 1
45983 _ACEOF
45984
45985 USES_CONTROLS=1
45986 fi
45987
45988 if test "$wxUSE_RADIOBTN" = "yes"; then
45989 cat >>confdefs.h <<\_ACEOF
45990 #define wxUSE_RADIOBTN 1
45991 _ACEOF
45992
45993 USES_CONTROLS=1
45994 fi
45995
45996 if test "$wxUSE_REARRANGECTRL" = "yes"; then
45997 cat >>confdefs.h <<\_ACEOF
45998 #define wxUSE_REARRANGECTRL 1
45999 _ACEOF
46000
46001 fi
46002
46003 if test "$wxUSE_SASH" = "yes"; then
46004 cat >>confdefs.h <<\_ACEOF
46005 #define wxUSE_SASH 1
46006 _ACEOF
46007
46008 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
46009 fi
46010
46011 if test "$wxUSE_SCROLLBAR" = "yes"; then
46012 cat >>confdefs.h <<\_ACEOF
46013 #define wxUSE_SCROLLBAR 1
46014 _ACEOF
46015
46016 USES_CONTROLS=1
46017 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
46018 fi
46019
46020 if test "$wxUSE_SEARCHCTRL" = "yes"; then
46021 cat >>confdefs.h <<\_ACEOF
46022 #define wxUSE_SEARCHCTRL 1
46023 _ACEOF
46024
46025 USES_CONTROLS=1
46026 fi
46027
46028 if test "$wxUSE_SLIDER" = "yes"; then
46029 cat >>confdefs.h <<\_ACEOF
46030 #define wxUSE_SLIDER 1
46031 _ACEOF
46032
46033 USES_CONTROLS=1
46034 fi
46035
46036 if test "$wxUSE_SPINBTN" = "yes"; then
46037 cat >>confdefs.h <<\_ACEOF
46038 #define wxUSE_SPINBTN 1
46039 _ACEOF
46040
46041 USES_CONTROLS=1
46042 fi
46043
46044 if test "$wxUSE_SPINCTRL" = "yes"; then
46045 cat >>confdefs.h <<\_ACEOF
46046 #define wxUSE_SPINCTRL 1
46047 _ACEOF
46048
46049 USES_CONTROLS=1
46050 fi
46051
46052 if test "$wxUSE_SPLITTER" = "yes"; then
46053 cat >>confdefs.h <<\_ACEOF
46054 #define wxUSE_SPLITTER 1
46055 _ACEOF
46056
46057 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
46058 fi
46059
46060 if test "$wxUSE_STATBMP" = "yes"; then
46061 cat >>confdefs.h <<\_ACEOF
46062 #define wxUSE_STATBMP 1
46063 _ACEOF
46064
46065 USES_CONTROLS=1
46066 fi
46067
46068 if test "$wxUSE_STATBOX" = "yes"; then
46069 cat >>confdefs.h <<\_ACEOF
46070 #define wxUSE_STATBOX 1
46071 _ACEOF
46072
46073 USES_CONTROLS=1
46074 fi
46075
46076 if test "$wxUSE_STATTEXT" = "yes"; then
46077 cat >>confdefs.h <<\_ACEOF
46078 #define wxUSE_STATTEXT 1
46079 _ACEOF
46080
46081 USES_CONTROLS=1
46082 fi
46083
46084 if test "$wxUSE_STATLINE" = "yes"; then
46085 cat >>confdefs.h <<\_ACEOF
46086 #define wxUSE_STATLINE 1
46087 _ACEOF
46088
46089 USES_CONTROLS=1
46090 fi
46091
46092 if test "$wxUSE_STATUSBAR" = "yes"; then
46093 cat >>confdefs.h <<\_ACEOF
46094 #define wxUSE_NATIVE_STATUSBAR 1
46095 _ACEOF
46096
46097 cat >>confdefs.h <<\_ACEOF
46098 #define wxUSE_STATUSBAR 1
46099 _ACEOF
46100
46101 USES_CONTROLS=1
46102
46103 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
46104 fi
46105
46106 if test "$wxUSE_TEXTCTRL" = "yes"; then
46107 cat >>confdefs.h <<\_ACEOF
46108 #define wxUSE_TEXTCTRL 1
46109 _ACEOF
46110
46111 USES_CONTROLS=1
46112 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
46113
46114 cat >>confdefs.h <<\_ACEOF
46115 #define wxUSE_RICHEDIT 1
46116 _ACEOF
46117
46118 cat >>confdefs.h <<\_ACEOF
46119 #define wxUSE_RICHEDIT2 1
46120 _ACEOF
46121
46122 fi
46123
46124 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46125 if test "$wxUSE_COCOA" = 1 ; then
46126 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46127 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46128 wxUSE_TOGGLEBTN=no
46129 fi
46130
46131 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46132 cat >>confdefs.h <<\_ACEOF
46133 #define wxUSE_TOGGLEBTN 1
46134 _ACEOF
46135
46136 USES_CONTROLS=1
46137 fi
46138 fi
46139
46140 if test "$wxUSE_TOOLBAR" = "yes"; then
46141 cat >>confdefs.h <<\_ACEOF
46142 #define wxUSE_TOOLBAR 1
46143 _ACEOF
46144
46145 USES_CONTROLS=1
46146
46147 if test "$wxUSE_UNIVERSAL" = "yes"; then
46148 wxUSE_TOOLBAR_NATIVE="no"
46149 else
46150 wxUSE_TOOLBAR_NATIVE="yes"
46151 cat >>confdefs.h <<\_ACEOF
46152 #define wxUSE_TOOLBAR_NATIVE 1
46153 _ACEOF
46154
46155 fi
46156
46157 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46158 fi
46159
46160 if test "$wxUSE_TOOLTIPS" = "yes"; then
46161 if test "$wxUSE_MOTIF" = 1; then
46162 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46163 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46164 else
46165 if test "$wxUSE_UNIVERSAL" = "yes"; then
46166 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46167 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46168 else
46169 cat >>confdefs.h <<\_ACEOF
46170 #define wxUSE_TOOLTIPS 1
46171 _ACEOF
46172
46173 fi
46174 fi
46175 fi
46176
46177 if test "$wxUSE_TREEBOOK" = "yes"; then
46178 cat >>confdefs.h <<\_ACEOF
46179 #define wxUSE_TREEBOOK 1
46180 _ACEOF
46181
46182 USES_CONTROLS=1
46183 fi
46184
46185 if test "$wxUSE_TOOLBOOK" = "yes"; then
46186 cat >>confdefs.h <<\_ACEOF
46187 #define wxUSE_TOOLBOOK 1
46188 _ACEOF
46189
46190 USES_CONTROLS=1
46191 fi
46192
46193 if test "$wxUSE_TREECTRL" = "yes"; then
46194 if test "$wxUSE_IMAGLIST" = "yes"; then
46195 cat >>confdefs.h <<\_ACEOF
46196 #define wxUSE_TREECTRL 1
46197 _ACEOF
46198
46199 USES_CONTROLS=1
46200 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46201 else
46202 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46203 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46204 fi
46205 fi
46206
46207 if test "$wxUSE_POPUPWIN" = "yes"; then
46208 if test "$wxUSE_COCOA" = 1 ; then
46209 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46210 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46211 else
46212 if test "$wxUSE_PM" = 1; then
46213 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46214 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46215 else
46216 cat >>confdefs.h <<\_ACEOF
46217 #define wxUSE_POPUPWIN 1
46218 _ACEOF
46219
46220 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46221
46222 USES_CONTROLS=1
46223 fi
46224 fi
46225 fi
46226
46227 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46228 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46229 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46230 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46231 else
46232 cat >>confdefs.h <<\_ACEOF
46233 #define wxUSE_DIALUP_MANAGER 1
46234 _ACEOF
46235
46236 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46237 fi
46238 fi
46239
46240 if test "$wxUSE_TIPWINDOW" = "yes"; then
46241 if test "$wxUSE_PM" = 1; then
46242 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46243 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46244 else
46245 cat >>confdefs.h <<\_ACEOF
46246 #define wxUSE_TIPWINDOW 1
46247 _ACEOF
46248
46249 fi
46250 fi
46251
46252 if test "$USES_CONTROLS" = 1; then
46253 cat >>confdefs.h <<\_ACEOF
46254 #define wxUSE_CONTROLS 1
46255 _ACEOF
46256
46257 fi
46258
46259
46260 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46261 cat >>confdefs.h <<\_ACEOF
46262 #define wxUSE_ACCESSIBILITY 1
46263 _ACEOF
46264
46265 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46266 fi
46267
46268 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46269 cat >>confdefs.h <<\_ACEOF
46270 #define wxUSE_DRAGIMAGE 1
46271 _ACEOF
46272
46273 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46274 fi
46275
46276 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46277 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46278 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46279 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46280 else
46281 cat >>confdefs.h <<\_ACEOF
46282 #define wxUSE_EXCEPTIONS 1
46283 _ACEOF
46284
46285 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46286 fi
46287 fi
46288
46289 USE_HTML=0
46290 if test "$wxUSE_HTML" = "yes"; then
46291 cat >>confdefs.h <<\_ACEOF
46292 #define wxUSE_HTML 1
46293 _ACEOF
46294
46295 USE_HTML=1
46296 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46297 fi
46298 if test "$wxUSE_WEBKIT" = "yes"; then
46299 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46300 old_CPPFLAGS="$CPPFLAGS"
46301 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46302 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46303 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46304 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46305 echo $ECHO_N "(cached) $ECHO_C" >&6
46306 else
46307 cat >conftest.$ac_ext <<_ACEOF
46308 /* confdefs.h. */
46309 _ACEOF
46310 cat confdefs.h >>conftest.$ac_ext
46311 cat >>conftest.$ac_ext <<_ACEOF
46312 /* end confdefs.h. */
46313
46314 #include <Carbon/Carbon.h>
46315 #include <WebKit/WebKit.h>
46316
46317
46318 #include <WebKit/HIWebView.h>
46319 _ACEOF
46320 rm -f conftest.$ac_objext
46321 if { (ac_try="$ac_compile"
46322 case "(($ac_try" in
46323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46324 *) ac_try_echo=$ac_try;;
46325 esac
46326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46327 (eval "$ac_compile") 2>conftest.er1
46328 ac_status=$?
46329 grep -v '^ *+' conftest.er1 >conftest.err
46330 rm -f conftest.er1
46331 cat conftest.err >&5
46332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46333 (exit $ac_status); } && {
46334 test -z "$ac_c_werror_flag" ||
46335 test ! -s conftest.err
46336 } && test -s conftest.$ac_objext; then
46337 ac_cv_header_WebKit_HIWebView_h=yes
46338 else
46339 echo "$as_me: failed program was:" >&5
46340 sed 's/^/| /' conftest.$ac_ext >&5
46341
46342 ac_cv_header_WebKit_HIWebView_h=no
46343 fi
46344
46345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46346 fi
46347 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46348 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46349 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46350
46351 cat >>confdefs.h <<\_ACEOF
46352 #define wxUSE_WEBKIT 1
46353 _ACEOF
46354
46355 WEBKIT_LINK="-framework WebKit"
46356
46357 else
46358
46359 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46360 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46361 wxUSE_WEBKIT=no
46362
46363 fi
46364
46365
46366 CPPFLAGS="$old_CPPFLAGS"
46367 elif test "$wxUSE_COCOA" = 1; then
46368 cat >>confdefs.h <<\_ACEOF
46369 #define wxUSE_WEBKIT 1
46370 _ACEOF
46371
46372 else
46373 wxUSE_WEBKIT=no
46374 fi
46375 if test "$wxUSE_WEBKIT" = "yes"; then
46376 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46377 fi
46378 fi
46379
46380 USE_XRC=0
46381 if test "$wxUSE_XRC" = "yes"; then
46382 if test "$wxUSE_XML" != "yes"; then
46383 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46384 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46385 wxUSE_XRC=no
46386 else
46387 cat >>confdefs.h <<\_ACEOF
46388 #define wxUSE_XRC 1
46389 _ACEOF
46390
46391 USE_XRC=1
46392 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46393 fi
46394 fi
46395
46396 USE_AUI=0
46397 if test "$wxUSE_AUI" = "yes"; then
46398 cat >>confdefs.h <<\_ACEOF
46399 #define wxUSE_AUI 1
46400 _ACEOF
46401
46402 USE_AUI=1
46403 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46404 fi
46405
46406 USE_PROPGRID=0
46407 if test "$wxUSE_PROPGRID" = "yes"; then
46408 cat >>confdefs.h <<\_ACEOF
46409 #define wxUSE_PROPGRID 1
46410 _ACEOF
46411
46412 USE_PROPGRID=1
46413 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46414 fi
46415
46416 USE_STC=0
46417 if test "$wxUSE_STC" = "yes"; then
46418 cat >>confdefs.h <<\_ACEOF
46419 #define wxUSE_STC 1
46420 _ACEOF
46421
46422 USE_STC=1
46423 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46424 fi
46425
46426 if test "$wxUSE_MENUS" = "yes"; then
46427 cat >>confdefs.h <<\_ACEOF
46428 #define wxUSE_MENUS 1
46429 _ACEOF
46430
46431 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46432 fi
46433
46434 if test "$wxUSE_METAFILE" = "yes"; then
46435 cat >>confdefs.h <<\_ACEOF
46436 #define wxUSE_METAFILE 1
46437 _ACEOF
46438
46439 fi
46440
46441 if test "$wxUSE_MIMETYPE" = "yes"; then
46442 cat >>confdefs.h <<\_ACEOF
46443 #define wxUSE_MIMETYPE 1
46444 _ACEOF
46445
46446 fi
46447
46448 if test "$wxUSE_MINIFRAME" = "yes"; then
46449 cat >>confdefs.h <<\_ACEOF
46450 #define wxUSE_MINIFRAME 1
46451 _ACEOF
46452
46453 fi
46454
46455 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46456 cat >>confdefs.h <<\_ACEOF
46457 #define wxUSE_SYSTEM_OPTIONS 1
46458 _ACEOF
46459
46460 fi
46461
46462 if test "$wxUSE_TASKBARICON" = "yes"; then
46463 cat >>confdefs.h <<\_ACEOF
46464 #define wxUSE_TASKBARICON 1
46465 _ACEOF
46466
46467 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46468 fi
46469
46470
46471 if test "$wxUSE_VALIDATORS" = "yes"; then
46472 cat >>confdefs.h <<\_ACEOF
46473 #define wxUSE_VALIDATORS 1
46474 _ACEOF
46475
46476 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46477 fi
46478
46479 if test "$wxUSE_PALETTE" = "yes" ; then
46480 if test "$wxUSE_DFB" = 1; then
46481 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46482 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46483 wxUSE_PALETTE=no
46484 else
46485 cat >>confdefs.h <<\_ACEOF
46486 #define wxUSE_PALETTE 1
46487 _ACEOF
46488
46489 fi
46490 fi
46491
46492 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46493 LIBS=" -lunicows $LIBS"
46494 fi
46495
46496 USE_RICHTEXT=0
46497 if test "$wxUSE_RICHTEXT" = "yes"; then
46498 cat >>confdefs.h <<\_ACEOF
46499 #define wxUSE_RICHTEXT 1
46500 _ACEOF
46501
46502 USE_RICHTEXT=1
46503 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46504 fi
46505
46506
46507 if test "$wxUSE_IMAGE" = "yes" ; then
46508 cat >>confdefs.h <<\_ACEOF
46509 #define wxUSE_IMAGE 1
46510 _ACEOF
46511
46512
46513 if test "$wxUSE_GIF" = "yes" ; then
46514 cat >>confdefs.h <<\_ACEOF
46515 #define wxUSE_GIF 1
46516 _ACEOF
46517
46518 fi
46519
46520 if test "$wxUSE_PCX" = "yes" ; then
46521 cat >>confdefs.h <<\_ACEOF
46522 #define wxUSE_PCX 1
46523 _ACEOF
46524
46525 fi
46526
46527 if test "$wxUSE_TGA" = "yes" ; then
46528 cat >>confdefs.h <<\_ACEOF
46529 #define wxUSE_TGA 1
46530 _ACEOF
46531
46532 fi
46533
46534 if test "$wxUSE_IFF" = "yes" ; then
46535 cat >>confdefs.h <<\_ACEOF
46536 #define wxUSE_IFF 1
46537 _ACEOF
46538
46539 fi
46540
46541 if test "$wxUSE_PNM" = "yes" ; then
46542 cat >>confdefs.h <<\_ACEOF
46543 #define wxUSE_PNM 1
46544 _ACEOF
46545
46546 fi
46547
46548 if test "$wxUSE_XPM" = "yes" ; then
46549 cat >>confdefs.h <<\_ACEOF
46550 #define wxUSE_XPM 1
46551 _ACEOF
46552
46553 fi
46554
46555 if test "$wxUSE_ICO_CUR" = "yes" ; then
46556 cat >>confdefs.h <<\_ACEOF
46557 #define wxUSE_ICO_CUR 1
46558 _ACEOF
46559
46560 fi
46561 fi
46562
46563
46564 if test "$wxUSE_ABOUTDLG" = "yes"; then
46565 cat >>confdefs.h <<\_ACEOF
46566 #define wxUSE_ABOUTDLG 1
46567 _ACEOF
46568
46569 fi
46570
46571 if test "$wxUSE_CHOICEDLG" = "yes"; then
46572 cat >>confdefs.h <<\_ACEOF
46573 #define wxUSE_CHOICEDLG 1
46574 _ACEOF
46575
46576 fi
46577
46578 if test "$wxUSE_COLOURDLG" = "yes"; then
46579 cat >>confdefs.h <<\_ACEOF
46580 #define wxUSE_COLOURDLG 1
46581 _ACEOF
46582
46583 fi
46584
46585 if test "$wxUSE_FILEDLG" = "yes"; then
46586 cat >>confdefs.h <<\_ACEOF
46587 #define wxUSE_FILEDLG 1
46588 _ACEOF
46589
46590 fi
46591
46592 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46593 cat >>confdefs.h <<\_ACEOF
46594 #define wxUSE_FINDREPLDLG 1
46595 _ACEOF
46596
46597 fi
46598
46599 if test "$wxUSE_FONTDLG" = "yes"; then
46600 cat >>confdefs.h <<\_ACEOF
46601 #define wxUSE_FONTDLG 1
46602 _ACEOF
46603
46604 fi
46605
46606 if test "$wxUSE_DIRDLG" = "yes"; then
46607 if test "$wxUSE_TREECTRL" != "yes"; then
46608 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46609 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46610 else
46611 cat >>confdefs.h <<\_ACEOF
46612 #define wxUSE_DIRDLG 1
46613 _ACEOF
46614
46615 fi
46616 fi
46617
46618 if test "$wxUSE_MSGDLG" = "yes"; then
46619 cat >>confdefs.h <<\_ACEOF
46620 #define wxUSE_MSGDLG 1
46621 _ACEOF
46622
46623 fi
46624
46625 if test "$wxUSE_NUMBERDLG" = "yes"; then
46626 cat >>confdefs.h <<\_ACEOF
46627 #define wxUSE_NUMBERDLG 1
46628 _ACEOF
46629
46630 fi
46631
46632 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46633 cat >>confdefs.h <<\_ACEOF
46634 #define wxUSE_PROGRESSDLG 1
46635 _ACEOF
46636
46637 fi
46638
46639 if test "$wxUSE_SPLASH" = "yes"; then
46640 cat >>confdefs.h <<\_ACEOF
46641 #define wxUSE_SPLASH 1
46642 _ACEOF
46643
46644 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46645 fi
46646
46647 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46648 cat >>confdefs.h <<\_ACEOF
46649 #define wxUSE_STARTUP_TIPS 1
46650 _ACEOF
46651
46652 fi
46653
46654 if test "$wxUSE_TEXTDLG" = "yes"; then
46655 cat >>confdefs.h <<\_ACEOF
46656 #define wxUSE_TEXTDLG 1
46657 _ACEOF
46658
46659 fi
46660
46661 if test "$wxUSE_WIZARDDLG" = "yes"; then
46662 cat >>confdefs.h <<\_ACEOF
46663 #define wxUSE_WIZARDDLG 1
46664 _ACEOF
46665
46666 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46667 fi
46668
46669
46670 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46671 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46672 cat >>confdefs.h <<\_ACEOF
46673 #define wxUSE_OWNER_DRAWN 1
46674 _ACEOF
46675
46676 fi
46677 fi
46678
46679
46680 if test "$wxUSE_MSW" = 1 ; then
46681
46682 if test "$wxUSE_DC_CACHEING" = "yes"; then
46683 cat >>confdefs.h <<\_ACEOF
46684 #define wxUSE_DC_CACHEING 1
46685 _ACEOF
46686
46687 fi
46688
46689 if test "$wxUSE_DIB" = "yes"; then
46690 cat >>confdefs.h <<\_ACEOF
46691 #define wxUSE_WXDIB 1
46692 _ACEOF
46693
46694 fi
46695
46696 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46697 cat >>confdefs.h <<\_ACEOF
46698 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46699 _ACEOF
46700
46701 fi
46702
46703 if test "$wxUSE_UXTHEME" = "yes"; then
46704 cat >>confdefs.h <<\_ACEOF
46705 #define wxUSE_UXTHEME 1
46706 _ACEOF
46707
46708 fi
46709
46710 fi
46711
46712 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46713 cat >>confdefs.h <<\_ACEOF
46714 #define wxUSE_AUTOID_MANAGEMENT 1
46715 _ACEOF
46716
46717 fi
46718
46719 if test "$USE_WIN32" = 1 ; then
46720 if test "$wxUSE_INICONF" = "yes"; then
46721 cat >>confdefs.h <<\_ACEOF
46722 #define wxUSE_INICONF 1
46723 _ACEOF
46724
46725 fi
46726
46727 if test "$wxUSE_REGKEY" = "yes"; then
46728 cat >>confdefs.h <<\_ACEOF
46729 #define wxUSE_REGKEY 1
46730 _ACEOF
46731
46732 fi
46733 fi
46734
46735
46736 if test "$wxUSE_MAC" = 1; then
46737 wxUSE_GRAPHICS_CONTEXT="yes"
46738 fi
46739
46740 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46741 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46742 cat >>confdefs.h <<\_ACEOF
46743 #define wxUSE_GRAPHICS_CONTEXT 1
46744 _ACEOF
46745
46746 elif test "$wxUSE_GTK" != 1; then
46747 cat >>confdefs.h <<\_ACEOF
46748 #define wxUSE_GRAPHICS_CONTEXT 1
46749 _ACEOF
46750
46751 else
46752
46753 pkg_failed=no
46754 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46755 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46756
46757 if test -n "$PKG_CONFIG"; then
46758 if test -n "$CAIRO_CFLAGS"; then
46759 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46760 else
46761 if test -n "$PKG_CONFIG" && \
46762 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46763 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46764 ac_status=$?
46765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46766 (exit $ac_status); }; then
46767 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46768 else
46769 pkg_failed=yes
46770 fi
46771 fi
46772 else
46773 pkg_failed=untried
46774 fi
46775 if test -n "$PKG_CONFIG"; then
46776 if test -n "$CAIRO_LIBS"; then
46777 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46778 else
46779 if test -n "$PKG_CONFIG" && \
46780 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46781 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46782 ac_status=$?
46783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46784 (exit $ac_status); }; then
46785 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46786 else
46787 pkg_failed=yes
46788 fi
46789 fi
46790 else
46791 pkg_failed=untried
46792 fi
46793
46794
46795
46796 if test $pkg_failed = yes; then
46797
46798 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46799 _pkg_short_errors_supported=yes
46800 else
46801 _pkg_short_errors_supported=no
46802 fi
46803 if test $_pkg_short_errors_supported = yes; then
46804 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46805 else
46806 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46807 fi
46808 # Put the nasty error message in config.log where it belongs
46809 echo "$CAIRO_PKG_ERRORS" >&5
46810
46811 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46812 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46813
46814 elif test $pkg_failed = untried; then
46815 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46816 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46817
46818 else
46819 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46820 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46821 { echo "$as_me:$LINENO: result: yes" >&5
46822 echo "${ECHO_T}yes" >&6; }
46823 cat >>confdefs.h <<\_ACEOF
46824 #define wxUSE_GRAPHICS_CONTEXT 1
46825 _ACEOF
46826
46827 fi
46828 fi
46829 fi
46830
46831
46832 USE_MEDIA=0
46833
46834 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
46835 USE_MEDIA=1
46836
46837 if test "$wxUSE_GTK" = 1; then
46838 wxUSE_GSTREAMER="no"
46839
46840 GST_VERSION_MAJOR=0
46841 GST_VERSION_MINOR=10
46842 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46843
46844 if test "$wxUSE_GSTREAMER8" = "no"; then
46845
46846 pkg_failed=no
46847 { echo "$as_me:$LINENO: checking for GST" >&5
46848 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46849
46850 if test -n "$PKG_CONFIG"; then
46851 if test -n "$GST_CFLAGS"; then
46852 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46853 else
46854 if test -n "$PKG_CONFIG" && \
46855 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46856 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46857 ac_status=$?
46858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46859 (exit $ac_status); }; then
46860 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46861 else
46862 pkg_failed=yes
46863 fi
46864 fi
46865 else
46866 pkg_failed=untried
46867 fi
46868 if test -n "$PKG_CONFIG"; then
46869 if test -n "$GST_LIBS"; then
46870 pkg_cv_GST_LIBS="$GST_LIBS"
46871 else
46872 if test -n "$PKG_CONFIG" && \
46873 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46874 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46875 ac_status=$?
46876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46877 (exit $ac_status); }; then
46878 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46879 else
46880 pkg_failed=yes
46881 fi
46882 fi
46883 else
46884 pkg_failed=untried
46885 fi
46886
46887
46888
46889 if test $pkg_failed = yes; then
46890
46891 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46892 _pkg_short_errors_supported=yes
46893 else
46894 _pkg_short_errors_supported=no
46895 fi
46896 if test $_pkg_short_errors_supported = yes; then
46897 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46898 else
46899 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46900 fi
46901 # Put the nasty error message in config.log where it belongs
46902 echo "$GST_PKG_ERRORS" >&5
46903
46904
46905 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46906 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46907 GST_VERSION_MINOR=8
46908
46909
46910 elif test $pkg_failed = untried; then
46911
46912 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46913 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46914 GST_VERSION_MINOR=8
46915
46916
46917 else
46918 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46919 GST_LIBS=$pkg_cv_GST_LIBS
46920 { echo "$as_me:$LINENO: result: yes" >&5
46921 echo "${ECHO_T}yes" >&6; }
46922
46923 wxUSE_GSTREAMER="yes"
46924 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46925
46926 fi
46927 else
46928 GST_VERSION_MINOR=8
46929 fi
46930
46931 if test $GST_VERSION_MINOR = "8"; then
46932 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46933
46934 pkg_failed=no
46935 { echo "$as_me:$LINENO: checking for GST" >&5
46936 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46937
46938 if test -n "$PKG_CONFIG"; then
46939 if test -n "$GST_CFLAGS"; then
46940 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46941 else
46942 if test -n "$PKG_CONFIG" && \
46943 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46944 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46945 ac_status=$?
46946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46947 (exit $ac_status); }; then
46948 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46949 else
46950 pkg_failed=yes
46951 fi
46952 fi
46953 else
46954 pkg_failed=untried
46955 fi
46956 if test -n "$PKG_CONFIG"; then
46957 if test -n "$GST_LIBS"; then
46958 pkg_cv_GST_LIBS="$GST_LIBS"
46959 else
46960 if test -n "$PKG_CONFIG" && \
46961 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46962 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46963 ac_status=$?
46964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46965 (exit $ac_status); }; then
46966 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46967 else
46968 pkg_failed=yes
46969 fi
46970 fi
46971 else
46972 pkg_failed=untried
46973 fi
46974
46975
46976
46977 if test $pkg_failed = yes; then
46978
46979 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46980 _pkg_short_errors_supported=yes
46981 else
46982 _pkg_short_errors_supported=no
46983 fi
46984 if test $_pkg_short_errors_supported = yes; then
46985 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46986 else
46987 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46988 fi
46989 # Put the nasty error message in config.log where it belongs
46990 echo "$GST_PKG_ERRORS" >&5
46991
46992
46993 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46994 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46995
46996 elif test $pkg_failed = untried; then
46997
46998 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46999 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47000
47001 else
47002 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47003 GST_LIBS=$pkg_cv_GST_LIBS
47004 { echo "$as_me:$LINENO: result: yes" >&5
47005 echo "${ECHO_T}yes" >&6; }
47006 wxUSE_GSTREAMER="yes"
47007 fi
47008 fi
47009
47010
47011 if test "$wxUSE_GSTREAMER" = "yes"; then
47012 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
47013 EXTRALIBS_MEDIA="$GST_LIBS"
47014
47015 cat >>confdefs.h <<\_ACEOF
47016 #define wxUSE_GSTREAMER 1
47017 _ACEOF
47018
47019 else
47020 USE_MEDIA=0
47021 fi
47022 fi
47023
47024 if test $USE_MEDIA = 1; then
47025 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47026 cat >>confdefs.h <<\_ACEOF
47027 #define wxUSE_MEDIACTRL 1
47028 _ACEOF
47029
47030 else
47031 if test "$wxUSE_MEDIACTRL" = "yes"; then
47032 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
47033 echo "$as_me: error: GStreamer not available" >&2;}
47034 { (exit 1); exit 1; }; }
47035 else
47036 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
47037 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
47038 fi
47039 fi
47040 fi
47041
47042
47043 if test "$cross_compiling" = "yes"; then
47044 OSINFO="\"$host\""
47045 else
47046 OSINFO=`uname -s -r -m`
47047 OSINFO="\"$OSINFO\""
47048 fi
47049
47050 cat >>confdefs.h <<_ACEOF
47051 #define WXWIN_OS_DESCRIPTION $OSINFO
47052 _ACEOF
47053
47054
47055
47056 if test "x$prefix" != "xNONE"; then
47057 wxPREFIX=$prefix
47058 else
47059 wxPREFIX=$ac_default_prefix
47060 fi
47061
47062 cat >>confdefs.h <<_ACEOF
47063 #define wxINSTALL_PREFIX "$wxPREFIX"
47064 _ACEOF
47065
47066
47067
47068
47069 STD_BASE_LIBS="base"
47070 STD_GUI_LIBS=""
47071 BUILT_WX_LIBS="base"
47072 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
47073
47074 if test "$wxUSE_SOCKETS" = "yes" ; then
47075 STD_BASE_LIBS="net $STD_BASE_LIBS"
47076 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
47077 fi
47078 if test "$wxUSE_XML" = "yes" ; then
47079 STD_BASE_LIBS="xml $STD_BASE_LIBS"
47080 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
47081 fi
47082
47083 if test "$wxUSE_GUI" = "yes"; then
47084 STD_GUI_LIBS="adv core"
47085 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
47086
47087 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47088 STD_GUI_LIBS="qa $STD_GUI_LIBS"
47089 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
47090 fi
47091 if test "$wxUSE_HTML" = "yes" ; then
47092 STD_GUI_LIBS="html $STD_GUI_LIBS"
47093 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
47094 fi
47095 if test "$wxUSE_MEDIACTRL" = "yes" ; then
47096 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
47097 fi
47098 if test "$wxUSE_OPENGL" = "yes" ; then
47099 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
47100 fi
47101 if test "$wxUSE_AUI" = "yes" ; then
47102 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
47103 fi
47104 if test "$wxUSE_PROPGRID" = "yes" ; then
47105 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
47106 fi
47107 if test "$wxUSE_RICHTEXT" = "yes" ; then
47108 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
47109 fi
47110 if test "$wxUSE_STC" = "yes" ; then
47111 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
47112 fi
47113 if test "$wxUSE_XRC" = "yes" ; then
47114 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
47115 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
47116 fi
47117 fi
47118
47119
47120
47121
47122
47123
47124
47125
47126 if test "$wxUSE_MAC" = 1 ; then
47127 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47128 if test "$USE_DARWIN" = 1; then
47129 LDFLAGS="$LDFLAGS -framework QuickTime"
47130 fi
47131 fi
47132 if test "$USE_DARWIN" = 1; then
47133 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
47134 fi
47135 fi
47136 if test "$wxUSE_COCOA" = 1 ; then
47137 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47138 if test "$wxUSE_MEDIACTRL" = "yes"; then
47139 LDFLAGS="$LDFLAGS -framework QuickTime"
47140 fi
47141 fi
47142 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47143 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47144 fi
47145
47146 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47147
47148 if test "$wxUSE_GUI" = "yes"; then
47149
47150
47151 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47152 erase event exec font image minimal mobile \
47153 mobile/wxedit mobile/styles render \
47154 shaped svg taborder vscroll widgets"
47155
47156 if test "$wxUSE_MONOLITHIC" != "yes"; then
47157 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47158 fi
47159 if test "$TOOLKIT" = "MSW"; then
47160 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47161 if test "$wxUSE_UNIVERSAL" != "yes"; then
47162 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47163 fi
47164 fi
47165 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47166 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47167 fi
47168 else
47169 SAMPLES_SUBDIRS="console"
47170 if test "$wxUSE_SOCKETS" = "yes" ; then
47171 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47172 fi
47173 if test "$wxUSE_IPC" = "yes" ; then
47174 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47175 fi
47176 fi
47177
47178
47179 if test "x$INTELCC" = "xyes" ; then
47180 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
47181 elif test "$GCC" = yes ; then
47182 CWARNINGS="-Wall -Wundef"
47183 fi
47184
47185 if test "x$INTELCXX" = "xyes" ; then
47186 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47187 elif test "$GXX" = yes ; then
47188 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47189 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47190 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47191 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47192 echo $ECHO_N "(cached) $ECHO_C" >&6
47193 else
47194 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
47195
47196 ac_ext=cpp
47197 ac_cpp='$CXXCPP $CPPFLAGS'
47198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47201
47202 ac_save_CXXFLAGS="$CXXFLAGS"
47203 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47204 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47205 cat >conftest.$ac_ext <<_ACEOF
47206 /* confdefs.h. */
47207 _ACEOF
47208 cat confdefs.h >>conftest.$ac_ext
47209 cat >>conftest.$ac_ext <<_ACEOF
47210 /* end confdefs.h. */
47211
47212 int
47213 main ()
47214 {
47215 return 0;
47216 ;
47217 return 0;
47218 }
47219 _ACEOF
47220 rm -f conftest.$ac_objext
47221 if { (ac_try="$ac_compile"
47222 case "(($ac_try" in
47223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47224 *) ac_try_echo=$ac_try;;
47225 esac
47226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47227 (eval "$ac_compile") 2>conftest.er1
47228 ac_status=$?
47229 grep -v '^ *+' conftest.er1 >conftest.err
47230 rm -f conftest.er1
47231 cat conftest.err >&5
47232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47233 (exit $ac_status); } && {
47234 test -z "$ac_cxx_werror_flag" ||
47235 test ! -s conftest.err
47236 } && test -s conftest.$ac_objext; then
47237 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47238 else
47239 echo "$as_me: failed program was:" >&5
47240 sed 's/^/| /' conftest.$ac_ext >&5
47241
47242
47243 fi
47244
47245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47246 done
47247 CXXFLAGS="$ac_save_CXXFLAGS"
47248 ac_ext=c
47249 ac_cpp='$CPP $CPPFLAGS'
47250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47253
47254
47255 fi
47256 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47257 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47258 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47259 .ok|.ok,*) ;;
47260 .|.no|.no,*) ;;
47261 *)
47262 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
47263 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47264 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47265 ac_status=$?
47266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47267 (exit $ac_status); }
47268 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47269 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47270 ac_status=$?
47271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47272 (exit $ac_status); }
47273 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47274 fi
47275 ;;
47276 esac
47277
47278 fi
47279
47280
47281 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47282 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47283
47284
47285 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47286 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47287 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47288 $CPPFLAGS `
47289
47290 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47291 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47292 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47293 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47294 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47295
47296 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47297
47298
47299 if test "x$MWCC" = "xyes"; then
47300
47301 CC="$CC -cwd source -I-"
47302 CXX="$CXX -cwd source -I-"
47303 fi
47304
47305
47306 LIBS=`echo $LIBS`
47307 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47308 EXTRALIBS_XML="$EXPAT_LINK"
47309 EXTRALIBS_HTML="$MSPACK_LINK"
47310 EXTRALIBS_MEDIA="$GST_LIBS"
47311 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47312 if test "$wxUSE_GUI" = "yes"; then
47313 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47314 fi
47315 if test "$wxUSE_OPENGL" = "yes"; then
47316 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47317 fi
47318
47319 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47320
47321 WXCONFIG_LIBS="$LIBS"
47322
47323 if test "$wxUSE_REGEX" = "builtin" ; then
47324 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47325 fi
47326 if test "$wxUSE_EXPAT" = "builtin" ; then
47327 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47328 fi
47329 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47330 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47331 fi
47332 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47333 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47334 fi
47335 if test "$wxUSE_LIBPNG" = "builtin" ; then
47336 wxconfig_3rdparty="png $wxconfig_3rdparty"
47337 fi
47338 if test "$wxUSE_ZLIB" = "builtin" ; then
47339 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47340 fi
47341
47342 for i in $wxconfig_3rdparty ; do
47343 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47344 done
47345
47346
47347 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47348 WXUNIV=1
47349
47350 case "$wxUNIV_THEMES" in
47351 ''|all)
47352 cat >>confdefs.h <<\_ACEOF
47353 #define wxUSE_ALL_THEMES 1
47354 _ACEOF
47355
47356 ;;
47357
47358 *)
47359 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47360 cat >>confdefs.h <<_ACEOF
47361 #define wxUSE_THEME_$t 1
47362 _ACEOF
47363
47364 done
47365 esac
47366 else
47367 WXUNIV=0
47368 fi
47369
47370
47371
47372
47373
47374
47375
47376
47377 if test $wxUSE_MONOLITHIC = "yes" ; then
47378 MONOLITHIC=1
47379 else
47380 MONOLITHIC=0
47381 fi
47382
47383 if test $wxUSE_PLUGINS = "yes" ; then
47384 USE_PLUGINS=1
47385 else
47386 USE_PLUGINS=0
47387 fi
47388
47389 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47390 USE_QA=1
47391 else
47392 USE_QA=0
47393 fi
47394
47395 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47396 OFFICIAL_BUILD=1
47397 else
47398 OFFICIAL_BUILD=0
47399 fi
47400
47401
47402
47403
47404
47405
47406
47407
47408
47409
47410
47411
47412
47413
47414
47415
47416
47417
47418
47419
47420
47421
47422
47423
47424
47425
47426
47427
47428 TOOLKIT_LOWERCASE=xxx
47429 if test "$TOOLKIT" = "MAC"; then
47430 TOOLKIT_LOWERCASE=osx_carbon
47431 fi
47432 if test "$TOOLKIT" = "OSX_CARBON"; then
47433 TOOLKIT_LOWERCASE=osx_carbon
47434 fi
47435 if test "$TOOLKIT" = "OSX_COCOA"; then
47436 TOOLKIT_LOWERCASE=osx_cocoa
47437 fi
47438 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47439 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47440 fi
47441
47442
47443
47444
47445
47446
47447
47448
47449
47450 case "$TOOLKIT" in
47451 GTK)
47452 TOOLKIT_DESC="GTK+"
47453 if test "$WXGTK2" = 1; then
47454 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47455 if test "$wxUSE_GTKPRINT" = "yes" ; then
47456 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
47457 fi
47458 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47459 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47460 fi
47461 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47462 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47463 fi
47464 if test "$wxUSE_LIBHILDON" = "yes"; then
47465 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47466 fi
47467
47468 if test "$TOOLKIT_EXTRA" != ""; then
47469 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47470 fi
47471 fi
47472 ;;
47473
47474 ?*)
47475 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47476 ;;
47477
47478 *)
47479 TOOLKIT_DESC="base only"
47480 ;;
47481 esac
47482
47483 if test "$wxUSE_WINE" = "yes"; then
47484 BAKEFILE_FORCE_PLATFORM=win32
47485 fi
47486
47487 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47488 then
47489 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47490 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47491 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47492 echo $ECHO_N "(cached) $ECHO_C" >&6
47493 else
47494
47495 echo '#include <stdio.h>
47496 const wchar_t test_var[] = L"awidetest";' > conftest.h
47497
47498 echo '#include "conftest.h"
47499 int main()
47500 {
47501 printf("%ls", test_var);
47502 return 0;
47503 }' > conftest.cpp
47504
47505 wx_cv_gcc_pch_bug="pch not supported"
47506
47507 if $CXX conftest.h >/dev/null 2>&1
47508 then
47509 wx_cv_gcc_pch_bug=
47510
47511 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47512 then
47513 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47514 grep awidetest >/dev/null
47515 then
47516 wx_cv_gcc_pch_bug=no
47517 else
47518 wx_cv_gcc_pch_bug=yes
47519 fi
47520 fi
47521 fi
47522
47523 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47524
47525 fi
47526 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47527 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47528
47529 if test "$wx_cv_gcc_pch_bug" = yes; then
47530 bk_use_pch=no
47531 fi
47532 fi
47533
47534
47535
47536
47537
47538
47539
47540 if test "x$BAKEFILE_HOST" = "x"; then
47541 if test "x${host}" = "x" ; then
47542 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47543 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47544 { (exit 1); exit 1; }; }
47545 fi
47546
47547 BAKEFILE_HOST="${host}"
47548 fi
47549
47550 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47551
47552 if test -n "$ac_tool_prefix"; then
47553 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47554 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47555 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47557 if test "${ac_cv_prog_RANLIB+set}" = set; then
47558 echo $ECHO_N "(cached) $ECHO_C" >&6
47559 else
47560 if test -n "$RANLIB"; then
47561 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47562 else
47563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47564 for as_dir in $PATH
47565 do
47566 IFS=$as_save_IFS
47567 test -z "$as_dir" && as_dir=.
47568 for ac_exec_ext in '' $ac_executable_extensions; do
47569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47570 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47572 break 2
47573 fi
47574 done
47575 done
47576 IFS=$as_save_IFS
47577
47578 fi
47579 fi
47580 RANLIB=$ac_cv_prog_RANLIB
47581 if test -n "$RANLIB"; then
47582 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47583 echo "${ECHO_T}$RANLIB" >&6; }
47584 else
47585 { echo "$as_me:$LINENO: result: no" >&5
47586 echo "${ECHO_T}no" >&6; }
47587 fi
47588
47589
47590 fi
47591 if test -z "$ac_cv_prog_RANLIB"; then
47592 ac_ct_RANLIB=$RANLIB
47593 # Extract the first word of "ranlib", so it can be a program name with args.
47594 set dummy ranlib; ac_word=$2
47595 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47597 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47598 echo $ECHO_N "(cached) $ECHO_C" >&6
47599 else
47600 if test -n "$ac_ct_RANLIB"; then
47601 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47602 else
47603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47604 for as_dir in $PATH
47605 do
47606 IFS=$as_save_IFS
47607 test -z "$as_dir" && as_dir=.
47608 for ac_exec_ext in '' $ac_executable_extensions; do
47609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47610 ac_cv_prog_ac_ct_RANLIB="ranlib"
47611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47612 break 2
47613 fi
47614 done
47615 done
47616 IFS=$as_save_IFS
47617
47618 fi
47619 fi
47620 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47621 if test -n "$ac_ct_RANLIB"; then
47622 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47623 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47624 else
47625 { echo "$as_me:$LINENO: result: no" >&5
47626 echo "${ECHO_T}no" >&6; }
47627 fi
47628
47629 if test "x$ac_ct_RANLIB" = x; then
47630 RANLIB=":"
47631 else
47632 case $cross_compiling:$ac_tool_warned in
47633 yes:)
47634 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47635 whose name does not start with the host triplet. If you think this
47636 configuration is useful to you, please write to autoconf@gnu.org." >&5
47637 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47638 whose name does not start with the host triplet. If you think this
47639 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47640 ac_tool_warned=yes ;;
47641 esac
47642 RANLIB=$ac_ct_RANLIB
47643 fi
47644 else
47645 RANLIB="$ac_cv_prog_RANLIB"
47646 fi
47647
47648 # Find a good install program. We prefer a C program (faster),
47649 # so one script is as good as another. But avoid the broken or
47650 # incompatible versions:
47651 # SysV /etc/install, /usr/sbin/install
47652 # SunOS /usr/etc/install
47653 # IRIX /sbin/install
47654 # AIX /bin/install
47655 # AmigaOS /C/install, which installs bootblocks on floppy discs
47656 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47657 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47658 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47659 # OS/2's system install, which has a completely different semantic
47660 # ./install, which can be erroneously created by make from ./install.sh.
47661 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47662 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47663 if test -z "$INSTALL"; then
47664 if test "${ac_cv_path_install+set}" = set; then
47665 echo $ECHO_N "(cached) $ECHO_C" >&6
47666 else
47667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47668 for as_dir in $PATH
47669 do
47670 IFS=$as_save_IFS
47671 test -z "$as_dir" && as_dir=.
47672 # Account for people who put trailing slashes in PATH elements.
47673 case $as_dir/ in
47674 ./ | .// | /cC/* | \
47675 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47676 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47677 /usr/ucb/* ) ;;
47678 *)
47679 # OSF1 and SCO ODT 3.0 have their own names for install.
47680 # Don't use installbsd from OSF since it installs stuff as root
47681 # by default.
47682 for ac_prog in ginstall scoinst install; do
47683 for ac_exec_ext in '' $ac_executable_extensions; do
47684 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47685 if test $ac_prog = install &&
47686 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47687 # AIX install. It has an incompatible calling convention.
47688 :
47689 elif test $ac_prog = install &&
47690 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47691 # program-specific install script used by HP pwplus--don't use.
47692 :
47693 else
47694 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47695 break 3
47696 fi
47697 fi
47698 done
47699 done
47700 ;;
47701 esac
47702 done
47703 IFS=$as_save_IFS
47704
47705
47706 fi
47707 if test "${ac_cv_path_install+set}" = set; then
47708 INSTALL=$ac_cv_path_install
47709 else
47710 # As a last resort, use the slow shell script. Don't cache a
47711 # value for INSTALL within a source directory, because that will
47712 # break other packages using the cache if that directory is
47713 # removed, or if the value is a relative name.
47714 INSTALL=$ac_install_sh
47715 fi
47716 fi
47717 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47718 echo "${ECHO_T}$INSTALL" >&6; }
47719
47720 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47721 # It thinks the first close brace ends the variable substitution.
47722 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47723
47724 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47725
47726 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47727
47728 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47729 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47730 LN_S=$as_ln_s
47731 if test "$LN_S" = "ln -s"; then
47732 { echo "$as_me:$LINENO: result: yes" >&5
47733 echo "${ECHO_T}yes" >&6; }
47734 else
47735 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47736 echo "${ECHO_T}no, using $LN_S" >&6; }
47737 fi
47738
47739
47740 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47741 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47742 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47743 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
47744 echo $ECHO_N "(cached) $ECHO_C" >&6
47745 else
47746 cat >conftest.make <<\_ACEOF
47747 SHELL = /bin/sh
47748 all:
47749 @echo '@@@%%%=$(MAKE)=@@@%%%'
47750 _ACEOF
47751 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47752 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47753 *@@@%%%=?*=@@@%%%*)
47754 eval ac_cv_prog_make_${ac_make}_set=yes;;
47755 *)
47756 eval ac_cv_prog_make_${ac_make}_set=no;;
47757 esac
47758 rm -f conftest.make
47759 fi
47760 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
47761 { echo "$as_me:$LINENO: result: yes" >&5
47762 echo "${ECHO_T}yes" >&6; }
47763 SET_MAKE=
47764 else
47765 { echo "$as_me:$LINENO: result: no" >&5
47766 echo "${ECHO_T}no" >&6; }
47767 SET_MAKE="MAKE=${MAKE-make}"
47768 fi
47769
47770
47771
47772 if test "x$SUNCXX" = "xyes"; then
47773 AR=$CXX
47774 AROPTIONS="-xar -o"
47775
47776 elif test "x$SGICC" = "xyes"; then
47777 AR=$CXX
47778 AROPTIONS="-ar -o"
47779
47780 else
47781 if test -n "$ac_tool_prefix"; then
47782 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47783 set dummy ${ac_tool_prefix}ar; ac_word=$2
47784 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47786 if test "${ac_cv_prog_AR+set}" = set; then
47787 echo $ECHO_N "(cached) $ECHO_C" >&6
47788 else
47789 if test -n "$AR"; then
47790 ac_cv_prog_AR="$AR" # Let the user override the test.
47791 else
47792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47793 for as_dir in $PATH
47794 do
47795 IFS=$as_save_IFS
47796 test -z "$as_dir" && as_dir=.
47797 for ac_exec_ext in '' $ac_executable_extensions; do
47798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47799 ac_cv_prog_AR="${ac_tool_prefix}ar"
47800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47801 break 2
47802 fi
47803 done
47804 done
47805 IFS=$as_save_IFS
47806
47807 fi
47808 fi
47809 AR=$ac_cv_prog_AR
47810 if test -n "$AR"; then
47811 { echo "$as_me:$LINENO: result: $AR" >&5
47812 echo "${ECHO_T}$AR" >&6; }
47813 else
47814 { echo "$as_me:$LINENO: result: no" >&5
47815 echo "${ECHO_T}no" >&6; }
47816 fi
47817
47818
47819 fi
47820 if test -z "$ac_cv_prog_AR"; then
47821 ac_ct_AR=$AR
47822 # Extract the first word of "ar", so it can be a program name with args.
47823 set dummy ar; ac_word=$2
47824 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47826 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47827 echo $ECHO_N "(cached) $ECHO_C" >&6
47828 else
47829 if test -n "$ac_ct_AR"; then
47830 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47831 else
47832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47833 for as_dir in $PATH
47834 do
47835 IFS=$as_save_IFS
47836 test -z "$as_dir" && as_dir=.
47837 for ac_exec_ext in '' $ac_executable_extensions; do
47838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47839 ac_cv_prog_ac_ct_AR="ar"
47840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47841 break 2
47842 fi
47843 done
47844 done
47845 IFS=$as_save_IFS
47846
47847 fi
47848 fi
47849 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47850 if test -n "$ac_ct_AR"; then
47851 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47852 echo "${ECHO_T}$ac_ct_AR" >&6; }
47853 else
47854 { echo "$as_me:$LINENO: result: no" >&5
47855 echo "${ECHO_T}no" >&6; }
47856 fi
47857
47858 if test "x$ac_ct_AR" = x; then
47859 AR="ar"
47860 else
47861 case $cross_compiling:$ac_tool_warned in
47862 yes:)
47863 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47864 whose name does not start with the host triplet. If you think this
47865 configuration is useful to you, please write to autoconf@gnu.org." >&5
47866 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47867 whose name does not start with the host triplet. If you think this
47868 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47869 ac_tool_warned=yes ;;
47870 esac
47871 AR=$ac_ct_AR
47872 fi
47873 else
47874 AR="$ac_cv_prog_AR"
47875 fi
47876
47877 AROPTIONS=rcu
47878 fi
47879
47880
47881 if test -n "$ac_tool_prefix"; then
47882 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47883 set dummy ${ac_tool_prefix}strip; ac_word=$2
47884 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47886 if test "${ac_cv_prog_STRIP+set}" = set; then
47887 echo $ECHO_N "(cached) $ECHO_C" >&6
47888 else
47889 if test -n "$STRIP"; then
47890 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47891 else
47892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47893 for as_dir in $PATH
47894 do
47895 IFS=$as_save_IFS
47896 test -z "$as_dir" && as_dir=.
47897 for ac_exec_ext in '' $ac_executable_extensions; do
47898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47899 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47901 break 2
47902 fi
47903 done
47904 done
47905 IFS=$as_save_IFS
47906
47907 fi
47908 fi
47909 STRIP=$ac_cv_prog_STRIP
47910 if test -n "$STRIP"; then
47911 { echo "$as_me:$LINENO: result: $STRIP" >&5
47912 echo "${ECHO_T}$STRIP" >&6; }
47913 else
47914 { echo "$as_me:$LINENO: result: no" >&5
47915 echo "${ECHO_T}no" >&6; }
47916 fi
47917
47918
47919 fi
47920 if test -z "$ac_cv_prog_STRIP"; then
47921 ac_ct_STRIP=$STRIP
47922 # Extract the first word of "strip", so it can be a program name with args.
47923 set dummy strip; ac_word=$2
47924 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47926 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47927 echo $ECHO_N "(cached) $ECHO_C" >&6
47928 else
47929 if test -n "$ac_ct_STRIP"; then
47930 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47931 else
47932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47933 for as_dir in $PATH
47934 do
47935 IFS=$as_save_IFS
47936 test -z "$as_dir" && as_dir=.
47937 for ac_exec_ext in '' $ac_executable_extensions; do
47938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47939 ac_cv_prog_ac_ct_STRIP="strip"
47940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47941 break 2
47942 fi
47943 done
47944 done
47945 IFS=$as_save_IFS
47946
47947 fi
47948 fi
47949 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47950 if test -n "$ac_ct_STRIP"; then
47951 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47952 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47953 else
47954 { echo "$as_me:$LINENO: result: no" >&5
47955 echo "${ECHO_T}no" >&6; }
47956 fi
47957
47958 if test "x$ac_ct_STRIP" = x; then
47959 STRIP=":"
47960 else
47961 case $cross_compiling:$ac_tool_warned in
47962 yes:)
47963 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47964 whose name does not start with the host triplet. If you think this
47965 configuration is useful to you, please write to autoconf@gnu.org." >&5
47966 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47967 whose name does not start with the host triplet. If you think this
47968 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47969 ac_tool_warned=yes ;;
47970 esac
47971 STRIP=$ac_ct_STRIP
47972 fi
47973 else
47974 STRIP="$ac_cv_prog_STRIP"
47975 fi
47976
47977 if test -n "$ac_tool_prefix"; then
47978 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47979 set dummy ${ac_tool_prefix}nm; ac_word=$2
47980 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47982 if test "${ac_cv_prog_NM+set}" = set; then
47983 echo $ECHO_N "(cached) $ECHO_C" >&6
47984 else
47985 if test -n "$NM"; then
47986 ac_cv_prog_NM="$NM" # Let the user override the test.
47987 else
47988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47989 for as_dir in $PATH
47990 do
47991 IFS=$as_save_IFS
47992 test -z "$as_dir" && as_dir=.
47993 for ac_exec_ext in '' $ac_executable_extensions; do
47994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47995 ac_cv_prog_NM="${ac_tool_prefix}nm"
47996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47997 break 2
47998 fi
47999 done
48000 done
48001 IFS=$as_save_IFS
48002
48003 fi
48004 fi
48005 NM=$ac_cv_prog_NM
48006 if test -n "$NM"; then
48007 { echo "$as_me:$LINENO: result: $NM" >&5
48008 echo "${ECHO_T}$NM" >&6; }
48009 else
48010 { echo "$as_me:$LINENO: result: no" >&5
48011 echo "${ECHO_T}no" >&6; }
48012 fi
48013
48014
48015 fi
48016 if test -z "$ac_cv_prog_NM"; then
48017 ac_ct_NM=$NM
48018 # Extract the first word of "nm", so it can be a program name with args.
48019 set dummy nm; ac_word=$2
48020 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48022 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48023 echo $ECHO_N "(cached) $ECHO_C" >&6
48024 else
48025 if test -n "$ac_ct_NM"; then
48026 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48027 else
48028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48029 for as_dir in $PATH
48030 do
48031 IFS=$as_save_IFS
48032 test -z "$as_dir" && as_dir=.
48033 for ac_exec_ext in '' $ac_executable_extensions; do
48034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48035 ac_cv_prog_ac_ct_NM="nm"
48036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48037 break 2
48038 fi
48039 done
48040 done
48041 IFS=$as_save_IFS
48042
48043 fi
48044 fi
48045 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48046 if test -n "$ac_ct_NM"; then
48047 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48048 echo "${ECHO_T}$ac_ct_NM" >&6; }
48049 else
48050 { echo "$as_me:$LINENO: result: no" >&5
48051 echo "${ECHO_T}no" >&6; }
48052 fi
48053
48054 if test "x$ac_ct_NM" = x; then
48055 NM=":"
48056 else
48057 case $cross_compiling:$ac_tool_warned in
48058 yes:)
48059 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48060 whose name does not start with the host triplet. If you think this
48061 configuration is useful to you, please write to autoconf@gnu.org." >&5
48062 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48063 whose name does not start with the host triplet. If you think this
48064 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48065 ac_tool_warned=yes ;;
48066 esac
48067 NM=$ac_ct_NM
48068 fi
48069 else
48070 NM="$ac_cv_prog_NM"
48071 fi
48072
48073
48074 { echo "$as_me:$LINENO: checking for command to install directories" >&5
48075 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
48076 INSTALL_TEST_DIR=acbftest$$
48077 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
48078 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
48079 rmdir $INSTALL_TEST_DIR
48080 INSTALL_DIR='$(INSTALL) -d'
48081 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
48082 echo "${ECHO_T}$INSTALL -d" >&6; }
48083 else
48084 INSTALL_DIR="mkdir -p"
48085 { echo "$as_me:$LINENO: result: mkdir -p" >&5
48086 echo "${ECHO_T}mkdir -p" >&6; }
48087 fi
48088
48089
48090 LDFLAGS_GUI=
48091 case ${BAKEFILE_HOST} in
48092 *-*-cygwin* | *-*-mingw32* )
48093 LDFLAGS_GUI="-mwindows"
48094 esac
48095
48096
48097 fi
48098
48099 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48100 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48101 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48102 echo $ECHO_N "(cached) $ECHO_C" >&6
48103 else
48104
48105 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48106 egrep -s GNU > /dev/null); then
48107 bakefile_cv_prog_makeisgnu="yes"
48108 else
48109 bakefile_cv_prog_makeisgnu="no"
48110 fi
48111
48112 fi
48113 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48114 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48115
48116 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48117 IF_GNU_MAKE=""
48118 else
48119 IF_GNU_MAKE="#"
48120 fi
48121
48122
48123
48124 PLATFORM_UNIX=0
48125 PLATFORM_WIN32=0
48126 PLATFORM_MSDOS=0
48127 PLATFORM_MAC=0
48128 PLATFORM_MACOS=0
48129 PLATFORM_MACOSX=0
48130 PLATFORM_OS2=0
48131 PLATFORM_BEOS=0
48132
48133 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48134 case "${BAKEFILE_HOST}" in
48135 *-*-mingw32* )
48136 PLATFORM_WIN32=1
48137 ;;
48138 *-pc-msdosdjgpp )
48139 PLATFORM_MSDOS=1
48140 ;;
48141 *-pc-os2_emx | *-pc-os2-emx )
48142 PLATFORM_OS2=1
48143 ;;
48144 *-*-darwin* )
48145 PLATFORM_MAC=1
48146 PLATFORM_MACOSX=1
48147 ;;
48148 *-*-beos* )
48149 PLATFORM_BEOS=1
48150 ;;
48151 powerpc-apple-macos* )
48152 PLATFORM_MAC=1
48153 PLATFORM_MACOS=1
48154 ;;
48155 * )
48156 PLATFORM_UNIX=1
48157 ;;
48158 esac
48159 else
48160 case "$BAKEFILE_FORCE_PLATFORM" in
48161 win32 )
48162 PLATFORM_WIN32=1
48163 ;;
48164 msdos )
48165 PLATFORM_MSDOS=1
48166 ;;
48167 os2 )
48168 PLATFORM_OS2=1
48169 ;;
48170 darwin )
48171 PLATFORM_MAC=1
48172 PLATFORM_MACOSX=1
48173 ;;
48174 unix )
48175 PLATFORM_UNIX=1
48176 ;;
48177 beos )
48178 PLATFORM_BEOS=1
48179 ;;
48180 * )
48181 ;;
48182 esac
48183 fi
48184
48185
48186
48187
48188
48189
48190
48191
48192
48193
48194
48195 # Check whether --enable-omf was given.
48196 if test "${enable_omf+set}" = set; then
48197 enableval=$enable_omf; bk_os2_use_omf="$enableval"
48198 fi
48199
48200
48201 case "${BAKEFILE_HOST}" in
48202 *-*-darwin* )
48203 if test "x$GCC" = "xyes"; then
48204 CFLAGS="$CFLAGS -fno-common"
48205 CXXFLAGS="$CXXFLAGS -fno-common"
48206 fi
48207 if test "x$XLCC" = "xyes"; then
48208 CFLAGS="$CFLAGS -qnocommon"
48209 CXXFLAGS="$CXXFLAGS -qnocommon"
48210 fi
48211 ;;
48212
48213 *-pc-os2_emx | *-pc-os2-emx )
48214 if test "x$bk_os2_use_omf" = "xyes" ; then
48215 AR=emxomfar
48216 RANLIB=:
48217 LDFLAGS="-Zomf $LDFLAGS"
48218 CFLAGS="-Zomf $CFLAGS"
48219 CXXFLAGS="-Zomf $CXXFLAGS"
48220 OS2_LIBEXT="lib"
48221 else
48222 OS2_LIBEXT="a"
48223 fi
48224 ;;
48225
48226 i*86-*-beos* )
48227 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48228 ;;
48229 esac
48230
48231
48232 SO_SUFFIX="so"
48233 SO_SUFFIX_MODULE="so"
48234 EXEEXT=""
48235 LIBPREFIX="lib"
48236 LIBEXT=".a"
48237 DLLPREFIX="lib"
48238 DLLPREFIX_MODULE=""
48239 DLLIMP_SUFFIX=""
48240 dlldir="$libdir"
48241
48242 case "${BAKEFILE_HOST}" in
48243 ia64-hp-hpux* )
48244 ;;
48245 *-hp-hpux* )
48246 SO_SUFFIX="sl"
48247 SO_SUFFIX_MODULE="sl"
48248 ;;
48249 *-*-aix* )
48250 SO_SUFFIX="a"
48251 SO_SUFFIX_MODULE="a"
48252 ;;
48253 *-*-cygwin* )
48254 SO_SUFFIX="dll"
48255 SO_SUFFIX_MODULE="dll"
48256 DLLIMP_SUFFIX="dll.a"
48257 EXEEXT=".exe"
48258 DLLPREFIX="cyg"
48259 dlldir="$bindir"
48260 ;;
48261 *-*-mingw32* )
48262 SO_SUFFIX="dll"
48263 SO_SUFFIX_MODULE="dll"
48264 DLLIMP_SUFFIX="dll.a"
48265 EXEEXT=".exe"
48266 DLLPREFIX=""
48267 dlldir="$bindir"
48268 ;;
48269 *-pc-msdosdjgpp )
48270 EXEEXT=".exe"
48271 DLLPREFIX=""
48272 dlldir="$bindir"
48273 ;;
48274 *-pc-os2_emx | *-pc-os2-emx )
48275 SO_SUFFIX="dll"
48276 SO_SUFFIX_MODULE="dll"
48277 DLLIMP_SUFFIX=$OS2_LIBEXT
48278 EXEEXT=".exe"
48279 DLLPREFIX=""
48280 LIBPREFIX=""
48281 LIBEXT=".$OS2_LIBEXT"
48282 dlldir="$bindir"
48283 ;;
48284 *-*-darwin* )
48285 SO_SUFFIX="dylib"
48286 SO_SUFFIX_MODULE="bundle"
48287 ;;
48288 esac
48289
48290 if test "x$DLLIMP_SUFFIX" = "x" ; then
48291 DLLIMP_SUFFIX="$SO_SUFFIX"
48292 fi
48293
48294
48295
48296
48297
48298
48299
48300
48301
48302
48303
48304
48305 PIC_FLAG=""
48306 if test "x$GCC" = "xyes"; then
48307 PIC_FLAG="-fPIC"
48308 fi
48309
48310 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48311 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48312 WINDOWS_IMPLIB=0
48313
48314 case "${BAKEFILE_HOST}" in
48315 *-hp-hpux* )
48316 if test "x$GCC" != "xyes"; then
48317 LDFLAGS="$LDFLAGS -L/usr/lib"
48318
48319 SHARED_LD_CC="${CC} -b -o"
48320 SHARED_LD_CXX="${CXX} -b -o"
48321 PIC_FLAG="+Z"
48322 fi
48323 ;;
48324
48325 *-*-linux* )
48326 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48327 PIC_FLAG="-KPIC"
48328 elif test "x$SUNCXX" = "xyes"; then
48329 SHARED_LD_CC="${CC} -G -o"
48330 SHARED_LD_CXX="${CXX} -G -o"
48331 PIC_FLAG="-KPIC"
48332 fi
48333 ;;
48334
48335 *-*-solaris2* )
48336 if test "x$SUNCXX" = xyes ; then
48337 SHARED_LD_CC="${CC} -G -o"
48338 SHARED_LD_CXX="${CXX} -G -o"
48339 PIC_FLAG="-KPIC"
48340 fi
48341 ;;
48342
48343 *-*-darwin* )
48344
48345 D='$'
48346 cat <<EOF >shared-ld-sh
48347 #!/bin/sh
48348 #-----------------------------------------------------------------------------
48349 #-- Name: distrib/mac/shared-ld-sh
48350 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48351 #-- Author: Gilles Depeyrot
48352 #-- Copyright: (c) 2002 Gilles Depeyrot
48353 #-- Licence: any use permitted
48354 #-----------------------------------------------------------------------------
48355
48356 verbose=0
48357 args=""
48358 objects=""
48359 linking_flag="-dynamiclib"
48360 ldargs="-r -keep_private_externs -nostdlib"
48361
48362 if test "x${D}CXX" = "x"; then
48363 CXX="c++"
48364 fi
48365
48366 while test ${D}# -gt 0; do
48367 case ${D}1 in
48368
48369 -v)
48370 verbose=1
48371 ;;
48372
48373 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48374 # collect these options and values
48375 args="${D}{args} ${D}1 ${D}2"
48376 shift
48377 ;;
48378
48379 -arch|-isysroot)
48380 # collect these options and values
48381 ldargs="${D}{ldargs} ${D}1 ${D}2"
48382 shift
48383 ;;
48384
48385 -s|-Wl,*)
48386 # collect these load args
48387 ldargs="${D}{ldargs} ${D}1"
48388 ;;
48389
48390 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48391 # collect these options
48392 args="${D}{args} ${D}1"
48393 ;;
48394
48395 -dynamiclib|-bundle)
48396 linking_flag="${D}1"
48397 ;;
48398
48399 -*)
48400 echo "shared-ld: unhandled option '${D}1'"
48401 exit 1
48402 ;;
48403
48404 *.o | *.a | *.dylib)
48405 # collect object files
48406 objects="${D}{objects} ${D}1"
48407 ;;
48408
48409 *)
48410 echo "shared-ld: unhandled argument '${D}1'"
48411 exit 1
48412 ;;
48413
48414 esac
48415 shift
48416 done
48417
48418 status=0
48419
48420 #
48421 # Link one module containing all the others
48422 #
48423 if test ${D}{verbose} = 1; then
48424 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48425 fi
48426 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48427 status=${D}?
48428
48429 #
48430 # Link the shared library from the single module created, but only if the
48431 # previous command didn't fail:
48432 #
48433 if test ${D}{status} = 0; then
48434 if test ${D}{verbose} = 1; then
48435 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48436 fi
48437 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48438 status=${D}?
48439 fi
48440
48441 #
48442 # Remove intermediate module
48443 #
48444 rm -f master.${D}${D}.o
48445
48446 exit ${D}status
48447 EOF
48448
48449 chmod +x shared-ld-sh
48450
48451 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48452 SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48453
48454
48455 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48456 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48457 if test "${bakefile_cv_gcc31+set}" = set; then
48458 echo $ECHO_N "(cached) $ECHO_C" >&6
48459 else
48460
48461 cat >conftest.$ac_ext <<_ACEOF
48462 /* confdefs.h. */
48463 _ACEOF
48464 cat confdefs.h >>conftest.$ac_ext
48465 cat >>conftest.$ac_ext <<_ACEOF
48466 /* end confdefs.h. */
48467
48468 int
48469 main ()
48470 {
48471
48472 #if (__GNUC__ < 3) || \
48473 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48474 This is old gcc
48475 #endif
48476
48477 ;
48478 return 0;
48479 }
48480 _ACEOF
48481 rm -f conftest.$ac_objext
48482 if { (ac_try="$ac_compile"
48483 case "(($ac_try" in
48484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48485 *) ac_try_echo=$ac_try;;
48486 esac
48487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48488 (eval "$ac_compile") 2>conftest.er1
48489 ac_status=$?
48490 grep -v '^ *+' conftest.er1 >conftest.err
48491 rm -f conftest.er1
48492 cat conftest.err >&5
48493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48494 (exit $ac_status); } && {
48495 test -z "$ac_c_werror_flag" ||
48496 test ! -s conftest.err
48497 } && test -s conftest.$ac_objext; then
48498
48499 bakefile_cv_gcc31=yes
48500
48501 else
48502 echo "$as_me: failed program was:" >&5
48503 sed 's/^/| /' conftest.$ac_ext >&5
48504
48505
48506 bakefile_cv_gcc31=no
48507
48508
48509 fi
48510
48511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48512
48513 fi
48514 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48515 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48516 if test "$bakefile_cv_gcc31" = "no"; then
48517 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48518 SHARED_LD_CXX="$SHARED_LD_CC"
48519 else
48520 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48521 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48522 fi
48523
48524 if test "x$GCC" == "xyes"; then
48525 PIC_FLAG="-dynamic -fPIC"
48526 fi
48527 if test "x$XLCC" = "xyes"; then
48528 PIC_FLAG="-dynamic -DPIC"
48529 fi
48530 ;;
48531
48532 *-*-aix* )
48533 if test "x$GCC" = "xyes"; then
48534 PIC_FLAG=""
48535
48536 case "${BAKEFILE_HOST}" in
48537 *-*-aix5* )
48538 LD_EXPFULL="-Wl,-bexpfull"
48539 ;;
48540 esac
48541
48542 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48543 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48544 else
48545 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48546 set dummy makeC++SharedLib; ac_word=$2
48547 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48549 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48550 echo $ECHO_N "(cached) $ECHO_C" >&6
48551 else
48552 if test -n "$AIX_CXX_LD"; then
48553 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48554 else
48555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48556 for as_dir in $PATH
48557 do
48558 IFS=$as_save_IFS
48559 test -z "$as_dir" && as_dir=.
48560 for ac_exec_ext in '' $ac_executable_extensions; do
48561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48562 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48564 break 2
48565 fi
48566 done
48567 done
48568 IFS=$as_save_IFS
48569
48570 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48571 fi
48572 fi
48573 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48574 if test -n "$AIX_CXX_LD"; then
48575 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48576 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48577 else
48578 { echo "$as_me:$LINENO: result: no" >&5
48579 echo "${ECHO_T}no" >&6; }
48580 fi
48581
48582
48583 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48584 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48585 fi
48586 ;;
48587
48588 *-*-beos* )
48589 SHARED_LD_CC="${LD} -nostart -o"
48590 SHARED_LD_CXX="${LD} -nostart -o"
48591 ;;
48592
48593 *-*-irix* )
48594 if test "x$GCC" != "xyes"; then
48595 PIC_FLAG="-KPIC"
48596 fi
48597 ;;
48598
48599 *-*-cygwin* | *-*-mingw32* )
48600 PIC_FLAG=""
48601 SHARED_LD_CC="\$(CC) -shared -o"
48602 SHARED_LD_CXX="\$(CXX) -shared -o"
48603 WINDOWS_IMPLIB=1
48604 ;;
48605
48606 *-pc-os2_emx | *-pc-os2-emx )
48607 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48608 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48609 PIC_FLAG=""
48610
48611 D='$'
48612 cat <<EOF >dllar.sh
48613 #!/bin/sh
48614 #
48615 # dllar - a tool to build both a .dll and an .a file
48616 # from a set of object (.o) files for EMX/OS2.
48617 #
48618 # Written by Andrew Zabolotny, bit@freya.etu.ru
48619 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48620 #
48621 # This script will accept a set of files on the command line.
48622 # All the public symbols from the .o files will be exported into
48623 # a .DEF file, then linker will be run (through gcc) against them to
48624 # build a shared library consisting of all given .o files. All libraries
48625 # (.a) will be first decompressed into component .o files then act as
48626 # described above. You can optionally give a description (-d "description")
48627 # which will be put into .DLL. To see the list of accepted options (as well
48628 # as command-line format) simply run this program without options. The .DLL
48629 # is built to be imported by name (there is no guarantee that new versions
48630 # of the library you build will have same ordinals for same symbols).
48631 #
48632 # dllar is free software; you can redistribute it and/or modify
48633 # it under the terms of the GNU General Public License as published by
48634 # the Free Software Foundation; either version 2, or (at your option)
48635 # any later version.
48636 #
48637 # dllar is distributed in the hope that it will be useful,
48638 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48639 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48640 # GNU General Public License for more details.
48641 #
48642 # You should have received a copy of the GNU General Public License
48643 # along with dllar; see the file COPYING. If not, write to the Free
48644 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48645 # 02111-1307, USA.
48646
48647 # To successfuly run this program you will need:
48648 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48649 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48650 # - gcc
48651 # (used to build the .dll)
48652 # - emxexp
48653 # (used to create .def file from .o files)
48654 # - emximp
48655 # (used to create .a file from .def file)
48656 # - GNU text utilites (cat, sort, uniq)
48657 # used to process emxexp output
48658 # - GNU file utilities (mv, rm)
48659 # - GNU sed
48660 # - lxlite (optional, see flag below)
48661 # (used for general .dll cleanup)
48662 #
48663
48664 flag_USE_LXLITE=1;
48665
48666 #
48667 # helper functions
48668 # basnam, variant of basename, which does _not_ remove the path, _iff_
48669 # second argument (suffix to remove) is given
48670 basnam(){
48671 case ${D}# in
48672 1)
48673 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48674 ;;
48675 2)
48676 echo ${D}1 | sed 's/'${D}2'${D}//'
48677 ;;
48678 *)
48679 echo "error in basnam ${D}*"
48680 exit 8
48681 ;;
48682 esac
48683 }
48684
48685 # Cleanup temporary files and output
48686 CleanUp() {
48687 cd ${D}curDir
48688 for i in ${D}inputFiles ; do
48689 case ${D}i in
48690 *!)
48691 rm -rf \`basnam ${D}i !\`
48692 ;;
48693 *)
48694 ;;
48695 esac
48696 done
48697
48698 # Kill result in case of failure as there is just to many stupid make/nmake
48699 # things out there which doesn't do this.
48700 if [ ${D}# -eq 0 ]; then
48701 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48702 fi
48703 }
48704
48705 # Print usage and exit script with rc=1.
48706 PrintHelp() {
48707 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48708 echo ' [-name-mangler-script script.sh]'
48709 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48710 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48711 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48712 echo ' [*.o] [*.a]'
48713 echo '*> "output_file" should have no extension.'
48714 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48715 echo ' The import library name is derived from this and is set to "name".a,'
48716 echo ' unless overridden by -import'
48717 echo '*> "importlib_name" should have no extension.'
48718 echo ' If it has the .o, or .a extension, it is automatically removed.'
48719 echo ' This name is used as the import library name and may be longer and'
48720 echo ' more descriptive than the DLL name which has to follow the old '
48721 echo ' 8.3 convention of FAT.'
48722 echo '*> "script.sh may be given to override the output_file name by a'
48723 echo ' different name. It is mainly useful if the regular make process'
48724 echo ' of some package does not take into account OS/2 restriction of'
48725 echo ' DLL name lengths. It takes the importlib name as input and is'
48726 echo ' supposed to procude a shorter name as output. The script should'
48727 echo ' expect to get importlib_name without extension and should produce'
48728 echo ' a (max.) 8 letter name without extension.'
48729 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48730 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48731 echo ' These flags will be put at the start of GCC command line.'
48732 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48733 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48734 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48735 echo ' If the last character of a symbol is "*", all symbols beginning'
48736 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48737 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48738 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48739 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48740 echo ' C runtime DLLs.'
48741 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48742 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48743 echo ' unchanged to GCC at the end of command line.'
48744 echo '*> If you create a DLL from a library and you do not specify -o,'
48745 echo ' the basename for DLL and import library will be set to library name,'
48746 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48747 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48748 echo ' library will be renamed into gcc_s.a.'
48749 echo '--------'
48750 echo 'Example:'
48751 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48752 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48753 CleanUp
48754 exit 1
48755 }
48756
48757 # Execute a command.
48758 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48759 # @Uses Whatever CleanUp() uses.
48760 doCommand() {
48761 echo "${D}*"
48762 eval ${D}*
48763 rcCmd=${D}?
48764
48765 if [ ${D}rcCmd -ne 0 ]; then
48766 echo "command failed, exit code="${D}rcCmd
48767 CleanUp
48768 exit ${D}rcCmd
48769 fi
48770 }
48771
48772 # main routine
48773 # setup globals
48774 cmdLine=${D}*
48775 outFile=""
48776 outimpFile=""
48777 inputFiles=""
48778 renameScript=""
48779 description=""
48780 CC=gcc.exe
48781 CFLAGS="-s -Zcrtdll"
48782 EXTRA_CFLAGS=""
48783 EXPORT_BY_ORDINALS=0
48784 exclude_symbols=""
48785 library_flags=""
48786 curDir=\`pwd\`
48787 curDirS=curDir
48788 case ${D}curDirS in
48789 */)
48790 ;;
48791 *)
48792 curDirS=${D}{curDirS}"/"
48793 ;;
48794 esac
48795 # Parse commandline
48796 libsToLink=0
48797 omfLinking=0
48798 while [ ${D}1 ]; do
48799 case ${D}1 in
48800 -ord*)
48801 EXPORT_BY_ORDINALS=1;
48802 ;;
48803 -o*)
48804 shift
48805 outFile=${D}1
48806 ;;
48807 -i*)
48808 shift
48809 outimpFile=${D}1
48810 ;;
48811 -name-mangler-script)
48812 shift
48813 renameScript=${D}1
48814 ;;
48815 -d*)
48816 shift
48817 description=${D}1
48818 ;;
48819 -f*)
48820 shift
48821 CFLAGS=${D}1
48822 ;;
48823 -c*)
48824 shift
48825 CC=${D}1
48826 ;;
48827 -h*)
48828 PrintHelp
48829 ;;
48830 -ex*)
48831 shift
48832 exclude_symbols=${D}{exclude_symbols}${D}1" "
48833 ;;
48834 -libf*)
48835 shift
48836 library_flags=${D}{library_flags}${D}1" "
48837 ;;
48838 -nocrt*)
48839 CFLAGS="-s"
48840 ;;
48841 -nolxl*)
48842 flag_USE_LXLITE=0
48843 ;;
48844 -* | /*)
48845 case ${D}1 in
48846 -L* | -l*)
48847 libsToLink=1
48848 ;;
48849 -Zomf)
48850 omfLinking=1
48851 ;;
48852 *)
48853 ;;
48854 esac
48855 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48856 ;;
48857 *.dll)
48858 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48859 if [ ${D}omfLinking -eq 1 ]; then
48860 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48861 else
48862 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48863 fi
48864 ;;
48865 *)
48866 found=0;
48867 if [ ${D}libsToLink -ne 0 ]; then
48868 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48869 else
48870 for file in ${D}1 ; do
48871 if [ -f ${D}file ]; then
48872 inputFiles="${D}{inputFiles} ${D}file"
48873 found=1
48874 fi
48875 done
48876 if [ ${D}found -eq 0 ]; then
48877 echo "ERROR: No file(s) found: "${D}1
48878 exit 8
48879 fi
48880 fi
48881 ;;
48882 esac
48883 shift
48884 done # iterate cmdline words
48885
48886 #
48887 if [ -z "${D}inputFiles" ]; then
48888 echo "dllar: no input files"
48889 PrintHelp
48890 fi
48891
48892 # Now extract all .o files from .a files
48893 newInputFiles=""
48894 for file in ${D}inputFiles ; do
48895 case ${D}file in
48896 *.a | *.lib)
48897 case ${D}file in
48898 *.a)
48899 suffix=".a"
48900 AR="ar"
48901 ;;
48902 *.lib)
48903 suffix=".lib"
48904 AR="emxomfar"
48905 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48906 ;;
48907 *)
48908 ;;
48909 esac
48910 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48911 mkdir ${D}dirname
48912 if [ ${D}? -ne 0 ]; then
48913 echo "Failed to create subdirectory ./${D}dirname"
48914 CleanUp
48915 exit 8;
48916 fi
48917 # Append '!' to indicate archive
48918 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48919 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48920 cd ${D}curDir
48921 found=0;
48922 for subfile in ${D}dirname/*.o* ; do
48923 if [ -f ${D}subfile ]; then
48924 found=1
48925 if [ -s ${D}subfile ]; then
48926 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48927 newInputFiles="${D}newInputFiles ${D}subfile"
48928 fi
48929 fi
48930 done
48931 if [ ${D}found -eq 0 ]; then
48932 echo "WARNING: there are no files in archive \\'${D}file\\'"
48933 fi
48934 ;;
48935 *)
48936 newInputFiles="${D}{newInputFiles} ${D}file"
48937 ;;
48938 esac
48939 done
48940 inputFiles="${D}newInputFiles"
48941
48942 # Output filename(s).
48943 do_backup=0;
48944 if [ -z ${D}outFile ]; then
48945 do_backup=1;
48946 set outFile ${D}inputFiles; outFile=${D}2
48947 fi
48948
48949 # If it is an archive, remove the '!' and the '_%' suffixes
48950 case ${D}outFile in
48951 *_%!)
48952 outFile=\`basnam ${D}outFile _%!\`
48953 ;;
48954 *)
48955 ;;
48956 esac
48957 case ${D}outFile in
48958 *.dll)
48959 outFile=\`basnam ${D}outFile .dll\`
48960 ;;
48961 *.DLL)
48962 outFile=\`basnam ${D}outFile .DLL\`
48963 ;;
48964 *.o)
48965 outFile=\`basnam ${D}outFile .o\`
48966 ;;
48967 *.obj)
48968 outFile=\`basnam ${D}outFile .obj\`
48969 ;;
48970 *.a)
48971 outFile=\`basnam ${D}outFile .a\`
48972 ;;
48973 *.lib)
48974 outFile=\`basnam ${D}outFile .lib\`
48975 ;;
48976 *)
48977 ;;
48978 esac
48979 case ${D}outimpFile in
48980 *.a)
48981 outimpFile=\`basnam ${D}outimpFile .a\`
48982 ;;
48983 *.lib)
48984 outimpFile=\`basnam ${D}outimpFile .lib\`
48985 ;;
48986 *)
48987 ;;
48988 esac
48989 if [ -z ${D}outimpFile ]; then
48990 outimpFile=${D}outFile
48991 fi
48992 defFile="${D}{outFile}.def"
48993 arcFile="${D}{outimpFile}.a"
48994 arcFile2="${D}{outimpFile}.lib"
48995
48996 #create ${D}dllFile as something matching 8.3 restrictions,
48997 if [ -z ${D}renameScript ] ; then
48998 dllFile="${D}outFile"
48999 else
49000 dllFile=\`${D}renameScript ${D}outimpFile\`
49001 fi
49002
49003 if [ ${D}do_backup -ne 0 ] ; then
49004 if [ -f ${D}arcFile ] ; then
49005 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49006 fi
49007 if [ -f ${D}arcFile2 ] ; then
49008 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49009 fi
49010 fi
49011
49012 # Extract public symbols from all the object files.
49013 tmpdefFile=${D}{defFile}_%
49014 rm -f ${D}tmpdefFile
49015 for file in ${D}inputFiles ; do
49016 case ${D}file in
49017 *!)
49018 ;;
49019 *)
49020 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49021 ;;
49022 esac
49023 done
49024
49025 # Create the def file.
49026 rm -f ${D}defFile
49027 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49028 dllFile="${D}{dllFile}.dll"
49029 if [ ! -z ${D}description ]; then
49030 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49031 fi
49032 echo "EXPORTS" >> ${D}defFile
49033
49034 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49035 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49036
49037 # Checks if the export is ok or not.
49038 for word in ${D}exclude_symbols; do
49039 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49040 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49041 done
49042
49043
49044 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49045 sed "=" < ${D}tmpdefFile | \\
49046 sed '
49047 N
49048 : loop
49049 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49050 t loop
49051 ' > ${D}{tmpdefFile}%
49052 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49053 else
49054 rm -f ${D}{tmpdefFile}%
49055 fi
49056 cat ${D}tmpdefFile >> ${D}defFile
49057 rm -f ${D}tmpdefFile
49058
49059 # Do linking, create implib, and apply lxlite.
49060 gccCmdl="";
49061 for file in ${D}inputFiles ; do
49062 case ${D}file in
49063 *!)
49064 ;;
49065 *)
49066 gccCmdl="${D}gccCmdl ${D}file"
49067 ;;
49068 esac
49069 done
49070 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49071 touch "${D}{outFile}.dll"
49072
49073 doCommand "emximp -o ${D}arcFile ${D}defFile"
49074 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49075 add_flags="";
49076 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49077 add_flags="-ynd"
49078 fi
49079 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49080 fi
49081 doCommand "emxomf -s -l ${D}arcFile"
49082
49083 # Successful exit.
49084 CleanUp 1
49085 exit 0
49086 EOF
49087
49088 chmod +x dllar.sh
49089 ;;
49090
49091 powerpc-apple-macos* | \
49092 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49093 *-*-mirbsd* | \
49094 *-*-sunos4* | \
49095 *-*-osf* | \
49096 *-*-dgux5* | \
49097 *-*-sysv5* | \
49098 *-pc-msdosdjgpp )
49099 ;;
49100
49101 *)
49102 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49103 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49104 { (exit 1); exit 1; }; }
49105 esac
49106
49107 if test "x$PIC_FLAG" != "x" ; then
49108 PIC_FLAG="$PIC_FLAG -DPIC"
49109 fi
49110
49111 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49112 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49113 fi
49114 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49115 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49116 fi
49117
49118
49119
49120
49121
49122
49123
49124
49125
49126 USE_SOVERSION=0
49127 USE_SOVERLINUX=0
49128 USE_SOVERSOLARIS=0
49129 USE_SOVERCYGWIN=0
49130 USE_SOSYMLINKS=0
49131 USE_MACVERSION=0
49132 SONAME_FLAG=
49133
49134 case "${BAKEFILE_HOST}" in
49135 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49136 *-*-k*bsd*-gnu | *-*-mirbsd* )
49137 if test "x$SUNCXX" = "xyes"; then
49138 SONAME_FLAG="-h "
49139 else
49140 SONAME_FLAG="-Wl,-soname,"
49141 fi
49142 USE_SOVERSION=1
49143 USE_SOVERLINUX=1
49144 USE_SOSYMLINKS=1
49145 ;;
49146
49147 *-*-solaris2* )
49148 SONAME_FLAG="-h "
49149 USE_SOVERSION=1
49150 USE_SOVERSOLARIS=1
49151 USE_SOSYMLINKS=1
49152 ;;
49153
49154 *-*-darwin* )
49155 USE_MACVERSION=1
49156 USE_SOVERSION=1
49157 USE_SOSYMLINKS=1
49158 ;;
49159
49160 *-*-cygwin* )
49161 USE_SOVERSION=1
49162 USE_SOVERCYGWIN=1
49163 ;;
49164 esac
49165
49166
49167
49168
49169
49170
49171
49172
49173
49174
49175 # Check whether --enable-dependency-tracking was given.
49176 if test "${enable_dependency_tracking+set}" = set; then
49177 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49178 fi
49179
49180
49181 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49182 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49183
49184 BK_DEPS=""
49185 if test "x$bk_use_trackdeps" = "xno" ; then
49186 DEPS_TRACKING=0
49187 { echo "$as_me:$LINENO: result: disabled" >&5
49188 echo "${ECHO_T}disabled" >&6; }
49189 else
49190 DEPS_TRACKING=1
49191
49192 if test "x$GCC" = "xyes"; then
49193 DEPSMODE=gcc
49194 case "${BAKEFILE_HOST}" in
49195 *-*-darwin* )
49196 DEPSFLAG="-no-cpp-precomp -MMD"
49197 ;;
49198 * )
49199 DEPSFLAG="-MMD"
49200 ;;
49201 esac
49202 { echo "$as_me:$LINENO: result: gcc" >&5
49203 echo "${ECHO_T}gcc" >&6; }
49204 elif test "x$MWCC" = "xyes"; then
49205 DEPSMODE=mwcc
49206 DEPSFLAG="-MM"
49207 { echo "$as_me:$LINENO: result: mwcc" >&5
49208 echo "${ECHO_T}mwcc" >&6; }
49209 elif test "x$SUNCC" = "xyes"; then
49210 DEPSMODE=unixcc
49211 DEPSFLAG="-xM1"
49212 { echo "$as_me:$LINENO: result: Sun cc" >&5
49213 echo "${ECHO_T}Sun cc" >&6; }
49214 elif test "x$SGICC" = "xyes"; then
49215 DEPSMODE=unixcc
49216 DEPSFLAG="-M"
49217 { echo "$as_me:$LINENO: result: SGI cc" >&5
49218 echo "${ECHO_T}SGI cc" >&6; }
49219 elif test "x$HPCC" = "xyes"; then
49220 DEPSMODE=unixcc
49221 DEPSFLAG="+make"
49222 { echo "$as_me:$LINENO: result: HP cc" >&5
49223 echo "${ECHO_T}HP cc" >&6; }
49224 elif test "x$COMPAQCC" = "xyes"; then
49225 DEPSMODE=gcc
49226 DEPSFLAG="-MD"
49227 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49228 echo "${ECHO_T}Compaq cc" >&6; }
49229 else
49230 DEPS_TRACKING=0
49231 { echo "$as_me:$LINENO: result: none" >&5
49232 echo "${ECHO_T}none" >&6; }
49233 fi
49234
49235 if test $DEPS_TRACKING = 1 ; then
49236
49237 D='$'
49238 cat <<EOF >bk-deps
49239 #!/bin/sh
49240
49241 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49242 # script. It is used to track C/C++ files dependencies in portable way.
49243 #
49244 # Permission is given to use this file in any way.
49245
49246 DEPSMODE=${DEPSMODE}
49247 DEPSFLAG="${DEPSFLAG}"
49248 DEPSDIRBASE=.deps
49249
49250 if test ${D}DEPSMODE = gcc ; then
49251 ${D}* ${D}{DEPSFLAG}
49252 status=${D}?
49253
49254 # determine location of created files:
49255 while test ${D}# -gt 0; do
49256 case "${D}1" in
49257 -o )
49258 shift
49259 objfile=${D}1
49260 ;;
49261 -* )
49262 ;;
49263 * )
49264 srcfile=${D}1
49265 ;;
49266 esac
49267 shift
49268 done
49269 objfilebase=\`basename ${D}objfile\`
49270 builddir=\`dirname ${D}objfile\`
49271 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49272 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49273 depsdir=${D}builddir/${D}DEPSDIRBASE
49274 mkdir -p ${D}depsdir
49275
49276 # if the compiler failed, we're done:
49277 if test ${D}{status} != 0 ; then
49278 rm -f ${D}depfile
49279 exit ${D}{status}
49280 fi
49281
49282 # move created file to the location we want it in:
49283 if test -f ${D}depfile ; then
49284 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49285 rm -f ${D}depfile
49286 else
49287 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49288 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
49289 if test ! -f ${D}depfile ; then
49290 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49291 depfile="${D}objfile.d"
49292 fi
49293 if test -f ${D}depfile ; then
49294 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49295 rm -f ${D}depfile
49296 fi
49297 fi
49298 exit 0
49299
49300 elif test ${D}DEPSMODE = mwcc ; then
49301 ${D}* || exit ${D}?
49302 # Run mwcc again with -MM and redirect into the dep file we want
49303 # NOTE: We can't use shift here because we need ${D}* to be valid
49304 prevarg=
49305 for arg in ${D}* ; do
49306 if test "${D}prevarg" = "-o"; then
49307 objfile=${D}arg
49308 else
49309 case "${D}arg" in
49310 -* )
49311 ;;
49312 * )
49313 srcfile=${D}arg
49314 ;;
49315 esac
49316 fi
49317 prevarg="${D}arg"
49318 done
49319
49320 objfilebase=\`basename ${D}objfile\`
49321 builddir=\`dirname ${D}objfile\`
49322 depsdir=${D}builddir/${D}DEPSDIRBASE
49323 mkdir -p ${D}depsdir
49324
49325 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49326 exit 0
49327
49328 elif test ${D}DEPSMODE = unixcc; then
49329 ${D}* || exit ${D}?
49330 # Run compiler again with deps flag and redirect into the dep file.
49331 # It doesn't work if the '-o FILE' option is used, but without it the
49332 # dependency file will contain the wrong name for the object. So it is
49333 # removed from the command line, and the dep file is fixed with sed.
49334 cmd=""
49335 while test ${D}# -gt 0; do
49336 case "${D}1" in
49337 -o )
49338 shift
49339 objfile=${D}1
49340 ;;
49341 * )
49342 eval arg${D}#=\\${D}1
49343 cmd="${D}cmd \\${D}arg${D}#"
49344 ;;
49345 esac
49346 shift
49347 done
49348
49349 objfilebase=\`basename ${D}objfile\`
49350 builddir=\`dirname ${D}objfile\`
49351 depsdir=${D}builddir/${D}DEPSDIRBASE
49352 mkdir -p ${D}depsdir
49353
49354 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49355 exit 0
49356
49357 else
49358 ${D}*
49359 exit ${D}?
49360 fi
49361 EOF
49362
49363 chmod +x bk-deps
49364 BK_DEPS="`pwd`/bk-deps"
49365 fi
49366 fi
49367
49368
49369
49370
49371
49372 case ${BAKEFILE_HOST} in
49373 *-*-cygwin* | *-*-mingw32* )
49374 if test -n "$ac_tool_prefix"; then
49375 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49376 set dummy ${ac_tool_prefix}windres; ac_word=$2
49377 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49379 if test "${ac_cv_prog_WINDRES+set}" = set; then
49380 echo $ECHO_N "(cached) $ECHO_C" >&6
49381 else
49382 if test -n "$WINDRES"; then
49383 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49384 else
49385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49386 for as_dir in $PATH
49387 do
49388 IFS=$as_save_IFS
49389 test -z "$as_dir" && as_dir=.
49390 for ac_exec_ext in '' $ac_executable_extensions; do
49391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49392 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49394 break 2
49395 fi
49396 done
49397 done
49398 IFS=$as_save_IFS
49399
49400 fi
49401 fi
49402 WINDRES=$ac_cv_prog_WINDRES
49403 if test -n "$WINDRES"; then
49404 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49405 echo "${ECHO_T}$WINDRES" >&6; }
49406 else
49407 { echo "$as_me:$LINENO: result: no" >&5
49408 echo "${ECHO_T}no" >&6; }
49409 fi
49410
49411
49412 fi
49413 if test -z "$ac_cv_prog_WINDRES"; then
49414 ac_ct_WINDRES=$WINDRES
49415 # Extract the first word of "windres", so it can be a program name with args.
49416 set dummy windres; ac_word=$2
49417 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49419 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49420 echo $ECHO_N "(cached) $ECHO_C" >&6
49421 else
49422 if test -n "$ac_ct_WINDRES"; then
49423 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49424 else
49425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49426 for as_dir in $PATH
49427 do
49428 IFS=$as_save_IFS
49429 test -z "$as_dir" && as_dir=.
49430 for ac_exec_ext in '' $ac_executable_extensions; do
49431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49432 ac_cv_prog_ac_ct_WINDRES="windres"
49433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49434 break 2
49435 fi
49436 done
49437 done
49438 IFS=$as_save_IFS
49439
49440 fi
49441 fi
49442 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49443 if test -n "$ac_ct_WINDRES"; then
49444 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49445 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49446 else
49447 { echo "$as_me:$LINENO: result: no" >&5
49448 echo "${ECHO_T}no" >&6; }
49449 fi
49450
49451 if test "x$ac_ct_WINDRES" = x; then
49452 WINDRES=""
49453 else
49454 case $cross_compiling:$ac_tool_warned in
49455 yes:)
49456 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49457 whose name does not start with the host triplet. If you think this
49458 configuration is useful to you, please write to autoconf@gnu.org." >&5
49459 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49460 whose name does not start with the host triplet. If you think this
49461 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49462 ac_tool_warned=yes ;;
49463 esac
49464 WINDRES=$ac_ct_WINDRES
49465 fi
49466 else
49467 WINDRES="$ac_cv_prog_WINDRES"
49468 fi
49469
49470 ;;
49471
49472 *-*-darwin* | powerpc-apple-macos* )
49473 # Extract the first word of "Rez", so it can be a program name with args.
49474 set dummy Rez; ac_word=$2
49475 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49477 if test "${ac_cv_prog_REZ+set}" = set; then
49478 echo $ECHO_N "(cached) $ECHO_C" >&6
49479 else
49480 if test -n "$REZ"; then
49481 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49482 else
49483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49484 for as_dir in $PATH
49485 do
49486 IFS=$as_save_IFS
49487 test -z "$as_dir" && as_dir=.
49488 for ac_exec_ext in '' $ac_executable_extensions; do
49489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49490 ac_cv_prog_REZ="Rez"
49491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49492 break 2
49493 fi
49494 done
49495 done
49496 IFS=$as_save_IFS
49497
49498 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49499 fi
49500 fi
49501 REZ=$ac_cv_prog_REZ
49502 if test -n "$REZ"; then
49503 { echo "$as_me:$LINENO: result: $REZ" >&5
49504 echo "${ECHO_T}$REZ" >&6; }
49505 else
49506 { echo "$as_me:$LINENO: result: no" >&5
49507 echo "${ECHO_T}no" >&6; }
49508 fi
49509
49510
49511 # Extract the first word of "SetFile", so it can be a program name with args.
49512 set dummy SetFile; ac_word=$2
49513 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49515 if test "${ac_cv_prog_SETFILE+set}" = set; then
49516 echo $ECHO_N "(cached) $ECHO_C" >&6
49517 else
49518 if test -n "$SETFILE"; then
49519 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49520 else
49521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49522 for as_dir in $PATH
49523 do
49524 IFS=$as_save_IFS
49525 test -z "$as_dir" && as_dir=.
49526 for ac_exec_ext in '' $ac_executable_extensions; do
49527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49528 ac_cv_prog_SETFILE="SetFile"
49529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49530 break 2
49531 fi
49532 done
49533 done
49534 IFS=$as_save_IFS
49535
49536 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49537 fi
49538 fi
49539 SETFILE=$ac_cv_prog_SETFILE
49540 if test -n "$SETFILE"; then
49541 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49542 echo "${ECHO_T}$SETFILE" >&6; }
49543 else
49544 { echo "$as_me:$LINENO: result: no" >&5
49545 echo "${ECHO_T}no" >&6; }
49546 fi
49547
49548
49549 ;;
49550 esac
49551
49552
49553
49554
49555
49556
49557
49558
49559
49560 BAKEFILE_BAKEFILE_M4_VERSION="0.2.5"
49561
49562
49563 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.5"
49564
49565
49566
49567 # Check whether --enable-precomp-headers was given.
49568 if test "${enable_precomp_headers+set}" = set; then
49569 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49570 fi
49571
49572
49573 GCC_PCH=0
49574 ICC_PCH=0
49575 USE_PCH=0
49576 BK_MAKE_PCH=""
49577
49578 case ${BAKEFILE_HOST} in
49579 *-*-cygwin* )
49580 bk_use_pch="no"
49581 ;;
49582 esac
49583
49584 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49585 if test "x$GCC" = "xyes"; then
49586 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49587 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49588 cat >conftest.$ac_ext <<_ACEOF
49589 /* confdefs.h. */
49590 _ACEOF
49591 cat confdefs.h >>conftest.$ac_ext
49592 cat >>conftest.$ac_ext <<_ACEOF
49593 /* end confdefs.h. */
49594
49595 int
49596 main ()
49597 {
49598
49599 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49600 There is no PCH support
49601 #endif
49602 #if (__GNUC__ < 3)
49603 There is no PCH support
49604 #endif
49605 #if (__GNUC__ == 3) && \
49606 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49607 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49608 ( defined(__INTEL_COMPILER) )
49609 There is no PCH support
49610 #endif
49611
49612 ;
49613 return 0;
49614 }
49615 _ACEOF
49616 rm -f conftest.$ac_objext
49617 if { (ac_try="$ac_compile"
49618 case "(($ac_try" in
49619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49620 *) ac_try_echo=$ac_try;;
49621 esac
49622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49623 (eval "$ac_compile") 2>conftest.er1
49624 ac_status=$?
49625 grep -v '^ *+' conftest.er1 >conftest.err
49626 rm -f conftest.er1
49627 cat conftest.err >&5
49628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49629 (exit $ac_status); } && {
49630 test -z "$ac_c_werror_flag" ||
49631 test ! -s conftest.err
49632 } && test -s conftest.$ac_objext; then
49633
49634 { echo "$as_me:$LINENO: result: yes" >&5
49635 echo "${ECHO_T}yes" >&6; }
49636 GCC_PCH=1
49637
49638 else
49639 echo "$as_me: failed program was:" >&5
49640 sed 's/^/| /' conftest.$ac_ext >&5
49641
49642
49643 if test "$INTELCXX8" = "yes"; then
49644 { echo "$as_me:$LINENO: result: yes" >&5
49645 echo "${ECHO_T}yes" >&6; }
49646 ICC_PCH=1
49647 if test "$INTELCXX10" = "yes"; then
49648 ICC_PCH_CREATE_SWITCH="-pch-create"
49649 ICC_PCH_USE_SWITCH="-pch-use"
49650 else
49651 ICC_PCH_CREATE_SWITCH="-create-pch"
49652 ICC_PCH_USE_SWITCH="-use-pch"
49653 fi
49654 else
49655 { echo "$as_me:$LINENO: result: no" >&5
49656 echo "${ECHO_T}no" >&6; }
49657 fi
49658
49659 fi
49660
49661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49662 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49663 USE_PCH=1
49664
49665 D='$'
49666 cat <<EOF >bk-make-pch
49667 #!/bin/sh
49668
49669 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49670 # script. It is used to generated precompiled headers.
49671 #
49672 # Permission is given to use this file in any way.
49673
49674 outfile="${D}{1}"
49675 header="${D}{2}"
49676 shift
49677 shift
49678
49679 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
49680
49681 compiler=""
49682 headerfile=""
49683
49684 while test ${D}{#} -gt 0; do
49685 add_to_cmdline=1
49686 case "${D}{1}" in
49687 -I* )
49688 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49689 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49690 headerfile="${D}{incdir}/${D}{header}"
49691 fi
49692 ;;
49693 -use-pch|-use_pch|-pch-use )
49694 shift
49695 add_to_cmdline=0
49696 ;;
49697 esac
49698 if test ${D}add_to_cmdline = 1 ; then
49699 compiler="${D}{compiler} ${D}{1}"
49700 fi
49701 shift
49702 done
49703
49704 if test "x${D}{headerfile}" = "x" ; then
49705 echo "error: can't find header ${D}{header} in include paths" >&2
49706 else
49707 if test -f ${D}{outfile} ; then
49708 rm -f ${D}{outfile}
49709 else
49710 mkdir -p \`dirname ${D}{outfile}\`
49711 fi
49712 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49713 mkdir -p ${D}{builddir}/.deps
49714 if test "x${GCC_PCH}" = "x1" ; then
49715 # can do this because gcc is >= 3.4:
49716 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49717 elif test "x${ICC_PCH}" = "x1" ; then
49718 filename=pch_gen-${D}${D}
49719 file=${D}{filename}.c
49720 dfile=${D}{filename}.d
49721 cat > ${D}file <<EOT
49722 #include "${D}header"
49723 EOT
49724 # using -MF icc complains about differing command lines in creation/use
49725 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
49726 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49727 rm -f ${D}file ${D}dfile ${D}{filename}.o
49728 fi
49729 exit ${D}{?}
49730 fi
49731 EOF
49732
49733 chmod +x bk-make-pch
49734 BK_MAKE_PCH="`pwd`/bk-make-pch"
49735 fi
49736 fi
49737 fi
49738
49739
49740
49741
49742
49743
49744
49745 COND_BUILD_DEBUG="#"
49746 if test "x$BUILD" = "xdebug" ; then
49747 COND_BUILD_DEBUG=""
49748 fi
49749
49750 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49751 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49752 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49753 fi
49754
49755 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49756 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49757 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49758 fi
49759
49760 COND_BUILD_DEBUG_UNICODE_0="#"
49761 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49762 COND_BUILD_DEBUG_UNICODE_0=""
49763 fi
49764
49765 COND_BUILD_DEBUG_UNICODE_1="#"
49766 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49767 COND_BUILD_DEBUG_UNICODE_1=""
49768 fi
49769
49770 COND_BUILD_RELEASE="#"
49771 if test "x$BUILD" = "xrelease" ; then
49772 COND_BUILD_RELEASE=""
49773 fi
49774
49775 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49776 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49777 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49778 fi
49779
49780 COND_BUILD_RELEASE_UNICODE_0="#"
49781 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49782 COND_BUILD_RELEASE_UNICODE_0=""
49783 fi
49784
49785 COND_BUILD_RELEASE_UNICODE_1="#"
49786 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49787 COND_BUILD_RELEASE_UNICODE_1=""
49788 fi
49789
49790 COND_BUILD_debug="#"
49791 if test "x$BUILD" = "xdebug" ; then
49792 COND_BUILD_debug=""
49793 fi
49794
49795 COND_BUILD_debug_DEBUG_FLAG_default="#"
49796 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49797 COND_BUILD_debug_DEBUG_FLAG_default=""
49798 fi
49799
49800 COND_BUILD_debug_DEBUG_INFO_default="#"
49801 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49802 COND_BUILD_debug_DEBUG_INFO_default=""
49803 fi
49804
49805 COND_BUILD_debug_UNICODE_0="#"
49806 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49807 COND_BUILD_debug_UNICODE_0=""
49808 fi
49809
49810 COND_BUILD_debug_UNICODE_1="#"
49811 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49812 COND_BUILD_debug_UNICODE_1=""
49813 fi
49814
49815 COND_BUILD_release="#"
49816 if test "x$BUILD" = "xrelease" ; then
49817 COND_BUILD_release=""
49818 fi
49819
49820 COND_BUILD_release_DEBUG_INFO_default="#"
49821 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49822 COND_BUILD_release_DEBUG_INFO_default=""
49823 fi
49824
49825 COND_BUILD_release_UNICODE_0="#"
49826 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49827 COND_BUILD_release_UNICODE_0=""
49828 fi
49829
49830 COND_BUILD_release_UNICODE_1="#"
49831 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49832 COND_BUILD_release_UNICODE_1=""
49833 fi
49834
49835 COND_DEBUG_FLAG_1="#"
49836 if test "x$DEBUG_FLAG" = "x1" ; then
49837 COND_DEBUG_FLAG_1=""
49838 fi
49839
49840 COND_DEBUG_INFO_0="#"
49841 if test "x$DEBUG_INFO" = "x0" ; then
49842 COND_DEBUG_INFO_0=""
49843 fi
49844
49845 COND_DEBUG_INFO_1="#"
49846 if test "x$DEBUG_INFO" = "x1" ; then
49847 COND_DEBUG_INFO_1=""
49848 fi
49849
49850 COND_DEPS_TRACKING_0="#"
49851 if test "x$DEPS_TRACKING" = "x0" ; then
49852 COND_DEPS_TRACKING_0=""
49853 fi
49854
49855 COND_DEPS_TRACKING_1="#"
49856 if test "x$DEPS_TRACKING" = "x1" ; then
49857 COND_DEPS_TRACKING_1=""
49858 fi
49859
49860 COND_GCC_PCH_1="#"
49861 if test "x$GCC_PCH" = "x1" ; then
49862 COND_GCC_PCH_1=""
49863 fi
49864
49865 COND_ICC_PCH_1="#"
49866 if test "x$ICC_PCH" = "x1" ; then
49867 COND_ICC_PCH_1=""
49868 fi
49869
49870 COND_MONOLITHIC_0="#"
49871 if test "x$MONOLITHIC" = "x0" ; then
49872 COND_MONOLITHIC_0=""
49873 fi
49874
49875 COND_MONOLITHIC_0_SHARED_0="#"
49876 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49877 COND_MONOLITHIC_0_SHARED_0=""
49878 fi
49879
49880 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49881 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49882 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49883 fi
49884
49885 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49886 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49887 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49888 fi
49889
49890 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49891 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49892 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49893 fi
49894
49895 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49896 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49897 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49898 fi
49899
49900 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49901 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49902 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49903 fi
49904
49905 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
49906 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49907 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
49908 fi
49909
49910 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49911 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49912 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49913 fi
49914
49915 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
49916 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49917 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
49918 fi
49919
49920 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49921 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49922 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49923 fi
49924
49925 COND_MONOLITHIC_0_SHARED_1="#"
49926 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49927 COND_MONOLITHIC_0_SHARED_1=""
49928 fi
49929
49930 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49931 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49932 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49933 fi
49934
49935 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49936 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49937 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49938 fi
49939
49940 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49941 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49942 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49943 fi
49944
49945 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49946 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49947 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49948 fi
49949
49950 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49951 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49952 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49953 fi
49954
49955 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
49956 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
49957 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
49958 fi
49959
49960 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49961 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49962 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49963 fi
49964
49965 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
49966 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49967 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
49968 fi
49969
49970 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49971 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49972 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49973 fi
49974
49975 COND_MONOLITHIC_0_USE_AUI_1="#"
49976 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49977 COND_MONOLITHIC_0_USE_AUI_1=""
49978 fi
49979
49980 COND_MONOLITHIC_0_USE_GUI_1="#"
49981 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49982 COND_MONOLITHIC_0_USE_GUI_1=""
49983 fi
49984
49985 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
49986 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49987 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
49988 fi
49989
49990 COND_MONOLITHIC_0_USE_HTML_1="#"
49991 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49992 COND_MONOLITHIC_0_USE_HTML_1=""
49993 fi
49994
49995 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49996 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49997 COND_MONOLITHIC_0_USE_MEDIA_1=""
49998 fi
49999
50000 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
50001 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50002 COND_MONOLITHIC_0_USE_PROPGRID_1=""
50003 fi
50004
50005 COND_MONOLITHIC_0_USE_QA_1="#"
50006 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
50007 COND_MONOLITHIC_0_USE_QA_1=""
50008 fi
50009
50010 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
50011 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50012 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
50013 fi
50014
50015 COND_MONOLITHIC_0_USE_STC_1="#"
50016 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
50017 COND_MONOLITHIC_0_USE_STC_1=""
50018 fi
50019
50020 COND_MONOLITHIC_0_USE_XRC_1="#"
50021 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
50022 COND_MONOLITHIC_0_USE_XRC_1=""
50023 fi
50024
50025 COND_MONOLITHIC_1="#"
50026 if test "x$MONOLITHIC" = "x1" ; then
50027 COND_MONOLITHIC_1=""
50028 fi
50029
50030 COND_MONOLITHIC_1_SHARED_0="#"
50031 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50032 COND_MONOLITHIC_1_SHARED_0=""
50033 fi
50034
50035 COND_MONOLITHIC_1_SHARED_1="#"
50036 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50037 COND_MONOLITHIC_1_SHARED_1=""
50038 fi
50039
50040 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50041 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50042 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50043 fi
50044
50045 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50046 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50047 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50048 fi
50049
50050 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50051 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50052 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50053 fi
50054
50055 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50056 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50057 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50058 fi
50059
50060 COND_PLATFORM_MACOSX_1="#"
50061 if test "x$PLATFORM_MACOSX" = "x1" ; then
50062 COND_PLATFORM_MACOSX_1=""
50063 fi
50064
50065 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
50066 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
50067 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
50068 fi
50069
50070 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50071 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50072 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50073 fi
50074
50075 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50076 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50077 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50078 fi
50079
50080 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50081 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50082 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50083 fi
50084
50085 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50086 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50087 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50088 fi
50089
50090 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50091 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50092 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50093 fi
50094
50095 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
50096 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50097 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
50098 fi
50099
50100 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50101 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50102 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50103 fi
50104
50105 COND_PLATFORM_MACOS_1="#"
50106 if test "x$PLATFORM_MACOS" = "x1" ; then
50107 COND_PLATFORM_MACOS_1=""
50108 fi
50109
50110 COND_PLATFORM_MAC_0="#"
50111 if test "x$PLATFORM_MAC" = "x0" ; then
50112 COND_PLATFORM_MAC_0=""
50113 fi
50114
50115 COND_PLATFORM_MAC_1="#"
50116 if test "x$PLATFORM_MAC" = "x1" ; then
50117 COND_PLATFORM_MAC_1=""
50118 fi
50119
50120 COND_PLATFORM_MSDOS_0="#"
50121 if test "x$PLATFORM_MSDOS" = "x0" ; then
50122 COND_PLATFORM_MSDOS_0=""
50123 fi
50124
50125 COND_PLATFORM_MSDOS_1="#"
50126 if test "x$PLATFORM_MSDOS" = "x1" ; then
50127 COND_PLATFORM_MSDOS_1=""
50128 fi
50129
50130 COND_PLATFORM_OS2_1="#"
50131 if test "x$PLATFORM_OS2" = "x1" ; then
50132 COND_PLATFORM_OS2_1=""
50133 fi
50134
50135 COND_PLATFORM_UNIX_0="#"
50136 if test "x$PLATFORM_UNIX" = "x0" ; then
50137 COND_PLATFORM_UNIX_0=""
50138 fi
50139
50140 COND_PLATFORM_UNIX_1="#"
50141 if test "x$PLATFORM_UNIX" = "x1" ; then
50142 COND_PLATFORM_UNIX_1=""
50143 fi
50144
50145 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
50146 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50147 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
50148 fi
50149
50150 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
50151 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50152 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
50153 fi
50154
50155 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50156 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50157 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50158 fi
50159
50160 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50161 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50162 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50163 fi
50164
50165 COND_PLATFORM_WIN32_0="#"
50166 if test "x$PLATFORM_WIN32" = "x0" ; then
50167 COND_PLATFORM_WIN32_0=""
50168 fi
50169
50170 COND_PLATFORM_WIN32_1="#"
50171 if test "x$PLATFORM_WIN32" = "x1" ; then
50172 COND_PLATFORM_WIN32_1=""
50173 fi
50174
50175 COND_SHARED_0="#"
50176 if test "x$SHARED" = "x0" ; then
50177 COND_SHARED_0=""
50178 fi
50179
50180 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50181 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50182 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50183 fi
50184
50185 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50186 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50187 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50188 fi
50189
50190 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50191 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50192 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50193 fi
50194
50195 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50196 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50197 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50198 fi
50199
50200 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50201 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50202 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50203 fi
50204
50205 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50206 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50207 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50208 fi
50209
50210 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50211 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50212 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50213 fi
50214
50215 COND_SHARED_0_USE_STC_1="#"
50216 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50217 COND_SHARED_0_USE_STC_1=""
50218 fi
50219
50220 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
50221 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50222 COND_SHARED_0_wxUSE_EXPAT_builtin=""
50223 fi
50224
50225 COND_SHARED_0_wxUSE_REGEX_builtin="#"
50226 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50227 COND_SHARED_0_wxUSE_REGEX_builtin=""
50228 fi
50229
50230 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
50231 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50232 COND_SHARED_0_wxUSE_ZLIB_builtin=""
50233 fi
50234
50235 COND_SHARED_1="#"
50236 if test "x$SHARED" = "x1" ; then
50237 COND_SHARED_1=""
50238 fi
50239
50240 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50241 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50242 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50243 fi
50244
50245 COND_TOOLKIT_="#"
50246 if test "x$TOOLKIT" = "x" ; then
50247 COND_TOOLKIT_=""
50248 fi
50249
50250 COND_TOOLKIT_COCOA="#"
50251 if test "x$TOOLKIT" = "xCOCOA" ; then
50252 COND_TOOLKIT_COCOA=""
50253 fi
50254
50255 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50256 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50257 COND_TOOLKIT_COCOA_USE_GUI_1=""
50258 fi
50259
50260 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50261 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50262 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50263 fi
50264
50265 COND_TOOLKIT_DFB="#"
50266 if test "x$TOOLKIT" = "xDFB" ; then
50267 COND_TOOLKIT_DFB=""
50268 fi
50269
50270 COND_TOOLKIT_DFB_USE_GUI_1="#"
50271 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50272 COND_TOOLKIT_DFB_USE_GUI_1=""
50273 fi
50274
50275 COND_TOOLKIT_GTK="#"
50276 if test "x$TOOLKIT" = "xGTK" ; then
50277 COND_TOOLKIT_GTK=""
50278 fi
50279
50280 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50281 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50282 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50283 fi
50284
50285 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50286 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50287 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50288 fi
50289
50290 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50291 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50292 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50293 fi
50294
50295 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50296 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50297 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50298 fi
50299
50300 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50301 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50302 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50303 fi
50304
50305 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50306 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50307 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50308 fi
50309
50310 COND_TOOLKIT_GTK_USE_GUI_1="#"
50311 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50312 COND_TOOLKIT_GTK_USE_GUI_1=""
50313 fi
50314
50315 COND_TOOLKIT_MAC="#"
50316 if test "x$TOOLKIT" = "xMAC" ; then
50317 COND_TOOLKIT_MAC=""
50318 fi
50319
50320 COND_TOOLKIT_MGL="#"
50321 if test "x$TOOLKIT" = "xMGL" ; then
50322 COND_TOOLKIT_MGL=""
50323 fi
50324
50325 COND_TOOLKIT_MGL_USE_GUI_1="#"
50326 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50327 COND_TOOLKIT_MGL_USE_GUI_1=""
50328 fi
50329
50330 COND_TOOLKIT_MOTIF="#"
50331 if test "x$TOOLKIT" = "xMOTIF" ; then
50332 COND_TOOLKIT_MOTIF=""
50333 fi
50334
50335 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50336 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50337 COND_TOOLKIT_MOTIF_USE_GUI_1=""
50338 fi
50339
50340 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50341 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50342 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50343 fi
50344
50345 COND_TOOLKIT_MSW="#"
50346 if test "x$TOOLKIT" = "xMSW" ; then
50347 COND_TOOLKIT_MSW=""
50348 fi
50349
50350 COND_TOOLKIT_MSW_USE_GUI_1="#"
50351 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50352 COND_TOOLKIT_MSW_USE_GUI_1=""
50353 fi
50354
50355 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50356 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50357 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50358 fi
50359
50360 COND_TOOLKIT_MSW_WXUNIV_0="#"
50361 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50362 COND_TOOLKIT_MSW_WXUNIV_0=""
50363 fi
50364
50365 COND_TOOLKIT_OSX_CARBON="#"
50366 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50367 COND_TOOLKIT_OSX_CARBON=""
50368 fi
50369
50370 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50371 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50372 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50373 fi
50374
50375 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50376 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50377 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50378 fi
50379
50380 COND_TOOLKIT_OSX_COCOA="#"
50381 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50382 COND_TOOLKIT_OSX_COCOA=""
50383 fi
50384
50385 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50386 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50387 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50388 fi
50389
50390 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50391 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50392 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50393 fi
50394
50395 COND_TOOLKIT_OSX_IPHONE="#"
50396 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50397 COND_TOOLKIT_OSX_IPHONE=""
50398 fi
50399
50400 COND_TOOLKIT_PM="#"
50401 if test "x$TOOLKIT" = "xPM" ; then
50402 COND_TOOLKIT_PM=""
50403 fi
50404
50405 COND_TOOLKIT_PM_USE_GUI_1="#"
50406 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50407 COND_TOOLKIT_PM_USE_GUI_1=""
50408 fi
50409
50410 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50411 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50412 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50413 fi
50414
50415 COND_TOOLKIT_WINCE="#"
50416 if test "x$TOOLKIT" = "xWINCE" ; then
50417 COND_TOOLKIT_WINCE=""
50418 fi
50419
50420 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50421 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50422 COND_TOOLKIT_WINCE_USE_GUI_1=""
50423 fi
50424
50425 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50426 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50427 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50428 fi
50429
50430 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50431 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50432 COND_TOOLKIT_WINCE_WXUNIV_0=""
50433 fi
50434
50435 COND_TOOLKIT_X11="#"
50436 if test "x$TOOLKIT" = "xX11" ; then
50437 COND_TOOLKIT_X11=""
50438 fi
50439
50440 COND_TOOLKIT_X11_USE_GUI_1="#"
50441 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50442 COND_TOOLKIT_X11_USE_GUI_1=""
50443 fi
50444
50445 COND_UNICODE_1="#"
50446 if test "x$UNICODE" = "x1" ; then
50447 COND_UNICODE_1=""
50448 fi
50449
50450 COND_USE_EXCEPTIONS_0="#"
50451 if test "x$USE_EXCEPTIONS" = "x0" ; then
50452 COND_USE_EXCEPTIONS_0=""
50453 fi
50454
50455 COND_USE_EXCEPTIONS_1="#"
50456 if test "x$USE_EXCEPTIONS" = "x1" ; then
50457 COND_USE_EXCEPTIONS_1=""
50458 fi
50459
50460 COND_USE_GUI_0="#"
50461 if test "x$USE_GUI" = "x0" ; then
50462 COND_USE_GUI_0=""
50463 fi
50464
50465 COND_USE_GUI_1="#"
50466 if test "x$USE_GUI" = "x1" ; then
50467 COND_USE_GUI_1=""
50468 fi
50469
50470 COND_USE_GUI_1_USE_OPENGL_1="#"
50471 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50472 COND_USE_GUI_1_USE_OPENGL_1=""
50473 fi
50474
50475 COND_USE_GUI_1_WXUNIV_0="#"
50476 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50477 COND_USE_GUI_1_WXUNIV_0=""
50478 fi
50479
50480 COND_USE_GUI_1_WXUNIV_1="#"
50481 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50482 COND_USE_GUI_1_WXUNIV_1=""
50483 fi
50484
50485 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50486 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50487 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50488 fi
50489
50490 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50491 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50492 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50493 fi
50494
50495 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50496 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50497 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50498 fi
50499
50500 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50501 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50502 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50503 fi
50504
50505 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50506 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50507 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50508 fi
50509
50510 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50511 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50512 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50513 fi
50514
50515 COND_USE_OPENGL_1="#"
50516 if test "x$USE_OPENGL" = "x1" ; then
50517 COND_USE_OPENGL_1=""
50518 fi
50519
50520 COND_USE_PCH_1="#"
50521 if test "x$USE_PCH" = "x1" ; then
50522 COND_USE_PCH_1=""
50523 fi
50524
50525 COND_USE_PLUGINS_0="#"
50526 if test "x$USE_PLUGINS" = "x0" ; then
50527 COND_USE_PLUGINS_0=""
50528 fi
50529
50530 COND_USE_RTTI_0="#"
50531 if test "x$USE_RTTI" = "x0" ; then
50532 COND_USE_RTTI_0=""
50533 fi
50534
50535 COND_USE_RTTI_1="#"
50536 if test "x$USE_RTTI" = "x1" ; then
50537 COND_USE_RTTI_1=""
50538 fi
50539
50540 COND_USE_SOSYMLINKS_1="#"
50541 if test "x$USE_SOSYMLINKS" = "x1" ; then
50542 COND_USE_SOSYMLINKS_1=""
50543 fi
50544
50545 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50546 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50547 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50548 fi
50549
50550 COND_USE_SOVERLINUX_1="#"
50551 if test "x$USE_SOVERLINUX" = "x1" ; then
50552 COND_USE_SOVERLINUX_1=""
50553 fi
50554
50555 COND_USE_SOVERSION_0="#"
50556 if test "x$USE_SOVERSION" = "x0" ; then
50557 COND_USE_SOVERSION_0=""
50558 fi
50559
50560 COND_USE_SOVERSOLARIS_1="#"
50561 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50562 COND_USE_SOVERSOLARIS_1=""
50563 fi
50564
50565 COND_USE_STC_1="#"
50566 if test "x$USE_STC" = "x1" ; then
50567 COND_USE_STC_1=""
50568 fi
50569
50570 COND_USE_THREADS_0="#"
50571 if test "x$USE_THREADS" = "x0" ; then
50572 COND_USE_THREADS_0=""
50573 fi
50574
50575 COND_USE_THREADS_1="#"
50576 if test "x$USE_THREADS" = "x1" ; then
50577 COND_USE_THREADS_1=""
50578 fi
50579
50580 COND_USE_XRC_1="#"
50581 if test "x$USE_XRC" = "x1" ; then
50582 COND_USE_XRC_1=""
50583 fi
50584
50585 COND_WINDOWS_IMPLIB_1="#"
50586 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50587 COND_WINDOWS_IMPLIB_1=""
50588 fi
50589
50590 COND_WITH_PLUGIN_SDL_1="#"
50591 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50592 COND_WITH_PLUGIN_SDL_1=""
50593 fi
50594
50595 COND_WXUNIV_0="#"
50596 if test "x$WXUNIV" = "x0" ; then
50597 COND_WXUNIV_0=""
50598 fi
50599
50600 COND_WXUNIV_1="#"
50601 if test "x$WXUNIV" = "x1" ; then
50602 COND_WXUNIV_1=""
50603 fi
50604
50605 COND_WXUSE_EXPAT_BUILTIN="#"
50606 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50607 COND_WXUSE_EXPAT_BUILTIN=""
50608 fi
50609
50610 COND_WXUSE_LIBJPEG_BUILTIN="#"
50611 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50612 COND_WXUSE_LIBJPEG_BUILTIN=""
50613 fi
50614
50615 COND_WXUSE_LIBPNG_BUILTIN="#"
50616 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50617 COND_WXUSE_LIBPNG_BUILTIN=""
50618 fi
50619
50620 COND_WXUSE_LIBTIFF_BUILTIN="#"
50621 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50622 COND_WXUSE_LIBTIFF_BUILTIN=""
50623 fi
50624
50625 COND_WXUSE_REGEX_BUILTIN="#"
50626 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50627 COND_WXUSE_REGEX_BUILTIN=""
50628 fi
50629
50630 COND_WXUSE_ZLIB_BUILTIN="#"
50631 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50632 COND_WXUSE_ZLIB_BUILTIN=""
50633 fi
50634
50635 COND_wxUSE_EXPAT_builtin="#"
50636 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50637 COND_wxUSE_EXPAT_builtin=""
50638 fi
50639
50640 COND_wxUSE_LIBJPEG_builtin="#"
50641 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50642 COND_wxUSE_LIBJPEG_builtin=""
50643 fi
50644
50645 COND_wxUSE_LIBPNG_builtin="#"
50646 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50647 COND_wxUSE_LIBPNG_builtin=""
50648 fi
50649
50650 COND_wxUSE_LIBTIFF_builtin="#"
50651 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50652 COND_wxUSE_LIBTIFF_builtin=""
50653 fi
50654
50655 COND_wxUSE_REGEX_builtin="#"
50656 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50657 COND_wxUSE_REGEX_builtin=""
50658 fi
50659
50660 COND_wxUSE_ZLIB_builtin="#"
50661 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50662 COND_wxUSE_ZLIB_builtin=""
50663 fi
50664
50665
50666
50667 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50668 { { 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
50669 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;}
50670 { (exit 1); exit 1; }; }
50671 fi
50672
50673 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50674 { { 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
50675 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;}
50676 { (exit 1); exit 1; }; }
50677 fi
50678
50679
50680 case ${INSTALL} in
50681 /* ) # Absolute
50682 ;;
50683 ?:* ) # Drive letter, considered as absolute.
50684 ;;
50685 *)
50686 INSTALL=`pwd`/${INSTALL} ;;
50687 esac
50688
50689 if test "$wxUSE_GUI" = "yes"; then
50690
50691 if test "$wxUSE_MSW" = 1 ; then
50692 if test "x$WINDRES" = "x"; then
50693 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50694 echo "$as_me: error: Required windres program not found" >&2;}
50695 { (exit 1); exit 1; }; }
50696 fi
50697
50698 RESCOMP="$WINDRES"
50699 fi
50700
50701 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50702 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50703 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50704
50705 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50706
50707 # Extract the first word of "DeRez", so it can be a program name with args.
50708 set dummy DeRez; ac_word=$2
50709 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50711 if test "${ac_cv_prog_DEREZ+set}" = set; then
50712 echo $ECHO_N "(cached) $ECHO_C" >&6
50713 else
50714 if test -n "$DEREZ"; then
50715 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
50716 else
50717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50718 for as_dir in $PATH
50719 do
50720 IFS=$as_save_IFS
50721 test -z "$as_dir" && as_dir=.
50722 for ac_exec_ext in '' $ac_executable_extensions; do
50723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50724 ac_cv_prog_DEREZ="DeRez"
50725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50726 break 2
50727 fi
50728 done
50729 done
50730 IFS=$as_save_IFS
50731
50732 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
50733 fi
50734 fi
50735 DEREZ=$ac_cv_prog_DEREZ
50736 if test -n "$DEREZ"; then
50737 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50738 echo "${ECHO_T}$DEREZ" >&6; }
50739 else
50740 { echo "$as_me:$LINENO: result: no" >&5
50741 echo "${ECHO_T}no" >&6; }
50742 fi
50743
50744
50745
50746 MACSETFILE="\$(SETFILE)"
50747
50748 if test "$wxUSE_OSX_CARBON" = 1; then
50749 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50750 RESCOMP="$REZ"
50751 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
50752 else
50753 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50754 RESCOMP="cat /dev/null \| $REZ"
50755 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50756 fi
50757
50758 else
50759 MACSETFILE="@true"
50760
50761 if test "$wxUSE_PM" = 1; then
50762 RESCOMP="emxbind"
50763 WXCONFIG_RESFLAGS="-ep"
50764
50765 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
50766 else
50767 POSTLINK_COMMAND="@true"
50768 fi
50769 fi
50770
50771 fi
50772
50773
50774 if test $GCC_PCH = 1
50775 then
50776 if test "$wx_cv_gcc_pch_bug" = yes; then
50777 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50778 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50779 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50780 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50781 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50782 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50783 fi
50784
50785 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50786 # the headers that benefit from precompilation are mostly C++ headers.
50787 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50788 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50789 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50790 fi
50791
50792
50793 if test "$wxUSE_MAC" = 1 ; then
50794 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50795 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50796 mv temp bk-deps
50797 chmod +x bk-deps
50798 fi
50799 fi
50800
50801 if test "$wxUSE_SHARED" = "yes"; then
50802 case "${host}" in
50803 *-pc-os2_emx | *-pc-os2-emx )
50804 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50805 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50806 cp -p ${srcdir}/src/os2/dllnames.sh .
50807 cp -p ${srcdir}/src/os2/dllar.sh .
50808 ;;
50809 esac
50810 fi
50811 if test "$wxUSE_OMF" = "yes"; then
50812 case "${host}" in
50813 *-pc-os2_emx | *-pc-os2-emx )
50814 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50815 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50816 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50817 ;;
50818 esac
50819 fi
50820
50821 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50822
50823
50824 case "${host}" in
50825 *-*-solaris2* )
50826 if test "$GCC" = yes; then
50827 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
50828 LIBS=`echo $LIBS | sed 's/-mt//'`
50829 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50830 fi
50831 ;;
50832
50833 *-*-linux* )
50834 if test "x$SUNCXX" = xyes; then
50835 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
50836 LIBS=`echo $LIBS | sed 's/-pthread//'`
50837 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50838 fi
50839 ;;
50840 esac
50841
50842 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
50843 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50844 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
50845 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
50846
50847 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50848
50849
50850
50851
50852
50853
50854
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 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50909 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50910 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50911 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
50912 echo $ECHO_N "(cached) $ECHO_C" >&6
50913 else
50914 cat >conftest.make <<\_ACEOF
50915 SHELL = /bin/sh
50916 all:
50917 @echo '@@@%%%=$(MAKE)=@@@%%%'
50918 _ACEOF
50919 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50920 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50921 *@@@%%%=?*=@@@%%%*)
50922 eval ac_cv_prog_make_${ac_make}_set=yes;;
50923 *)
50924 eval ac_cv_prog_make_${ac_make}_set=no;;
50925 esac
50926 rm -f conftest.make
50927 fi
50928 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
50929 { echo "$as_me:$LINENO: result: yes" >&5
50930 echo "${ECHO_T}yes" >&6; }
50931 SET_MAKE=
50932 else
50933 { echo "$as_me:$LINENO: result: no" >&5
50934 echo "${ECHO_T}no" >&6; }
50935 SET_MAKE="MAKE=${MAKE-make}"
50936 fi
50937
50938
50939
50940 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50941
50942
50943 if test "$USE_WIN32" = 1; then
50944 ac_config_commands="$ac_config_commands
50945 rcdefs.h
50946 "
50947
50948 fi
50949
50950 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50951
50952
50953 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50954
50955
50956 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
50957
50958
50959 if test "$wx_cv_version_script" = "yes"; then
50960 ac_config_files="$ac_config_files version-script"
50961
50962 fi
50963 ac_config_files="$ac_config_files Makefile"
50964
50965
50966 ac_config_commands="$ac_config_commands wx-config"
50967
50968
50969
50970 if test "$wxWITH_SUBDIRS" != "no"; then
50971 if test "$wxUSE_GUI" = "yes"; then
50972 SUBDIRS="samples demos utils"
50973 else
50974 SUBDIRS="samples utils"
50975 fi
50976
50977
50978
50979 # Check whether --with-cppunit-prefix was given.
50980 if test "${with_cppunit_prefix+set}" = set; then
50981 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
50982 else
50983 cppunit_config_prefix=""
50984 fi
50985
50986
50987 # Check whether --with-cppunit-exec-prefix was given.
50988 if test "${with_cppunit_exec_prefix+set}" = set; then
50989 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
50990 else
50991 cppunit_config_exec_prefix=""
50992 fi
50993
50994
50995 if test x$cppunit_config_exec_prefix != x ; then
50996 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50997 if test x${CPPUNIT_CONFIG+set} != xset ; then
50998 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50999 fi
51000 fi
51001 if test x$cppunit_config_prefix != x ; then
51002 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
51003 if test x${CPPUNIT_CONFIG+set} != xset ; then
51004 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
51005 fi
51006 fi
51007
51008 # Extract the first word of "cppunit-config", so it can be a program name with args.
51009 set dummy cppunit-config; ac_word=$2
51010 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51012 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51013 echo $ECHO_N "(cached) $ECHO_C" >&6
51014 else
51015 case $CPPUNIT_CONFIG in
51016 [\\/]* | ?:[\\/]*)
51017 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51018 ;;
51019 *)
51020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51021 for as_dir in $PATH
51022 do
51023 IFS=$as_save_IFS
51024 test -z "$as_dir" && as_dir=.
51025 for ac_exec_ext in '' $ac_executable_extensions; do
51026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51027 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
51028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51029 break 2
51030 fi
51031 done
51032 done
51033 IFS=$as_save_IFS
51034
51035 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
51036 ;;
51037 esac
51038 fi
51039 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
51040 if test -n "$CPPUNIT_CONFIG"; then
51041 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51042 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
51043 else
51044 { echo "$as_me:$LINENO: result: no" >&5
51045 echo "${ECHO_T}no" >&6; }
51046 fi
51047
51048
51049 cppunit_version_min=1.8.0
51050
51051 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51052 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51053 no_cppunit=""
51054 if test "$CPPUNIT_CONFIG" = "no" ; then
51055 { echo "$as_me:$LINENO: result: no" >&5
51056 echo "${ECHO_T}no" >&6; }
51057 no_cppunit=yes
51058 else
51059 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
51060 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
51061 cppunit_version=`$CPPUNIT_CONFIG --version`
51062
51063 cppunit_major_version=`echo $cppunit_version | \
51064 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51065 cppunit_minor_version=`echo $cppunit_version | \
51066 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51067 cppunit_micro_version=`echo $cppunit_version | \
51068 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51069
51070 cppunit_major_min=`echo $cppunit_version_min | \
51071 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51072 cppunit_minor_min=`echo $cppunit_version_min | \
51073 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51074 cppunit_micro_min=`echo $cppunit_version_min | \
51075 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51076
51077 cppunit_version_proper=`expr \
51078 $cppunit_major_version \> $cppunit_major_min \| \
51079 $cppunit_major_version \= $cppunit_major_min \& \
51080 $cppunit_minor_version \> $cppunit_minor_min \| \
51081 $cppunit_major_version \= $cppunit_major_min \& \
51082 $cppunit_minor_version \= $cppunit_minor_min \& \
51083 $cppunit_micro_version \>= $cppunit_micro_min `
51084
51085 if test "$cppunit_version_proper" = "1" ; then
51086 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51087 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51088 else
51089 { echo "$as_me:$LINENO: result: no" >&5
51090 echo "${ECHO_T}no" >&6; }
51091 no_cppunit=yes
51092 fi
51093 fi
51094
51095 if test "x$no_cppunit" = x ; then
51096 SUBDIRS="$SUBDIRS tests"
51097 else
51098 CPPUNIT_CFLAGS=""
51099 CPPUNIT_LIBS=""
51100 :
51101 fi
51102
51103
51104
51105
51106
51107 for subdir in $SUBDIRS; do
51108 if test -d ${srcdir}/${subdir} ; then
51109 if test "$wxUSE_GUI" = "yes"; then
51110 if test ${subdir} = "samples"; then
51111 makefiles="samples/Makefile.in $makefiles"
51112 for sample in $SAMPLES_SUBDIRS; do
51113 if test -d $srcdir/samples/$sample; then
51114 makefiles="samples/$sample/Makefile.in $makefiles"
51115 fi
51116 done
51117 else
51118 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
51119 eval "disabled=\$$disabled_var"
51120 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
51121 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51122 fi
51123 else
51124 if test ${subdir} = "samples"; then
51125 makefiles="samples/Makefile.in $makefiles"
51126 for sample in `echo $SAMPLES_SUBDIRS`; do
51127 if test -d $srcdir/samples/$sample; then
51128 makefiles="samples/$sample/Makefile.in $makefiles"
51129 fi
51130 done
51131 elif test ${subdir} = "utils"; then
51132 makefiles=""
51133 for util in ifacecheck ; do
51134 if test -d $srcdir/utils/$util ; then
51135 makefiles="utils/$util/src/Makefile.in \
51136 $makefiles"
51137 fi
51138 done
51139 else
51140 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
51141 fi
51142 fi
51143
51144 for mkin in $makefiles ; do
51145 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51146 ac_config_files="$ac_config_files $mk"
51147
51148 done
51149 fi
51150 done
51151 fi
51152 cat >confcache <<\_ACEOF
51153 # This file is a shell script that caches the results of configure
51154 # tests run on this system so they can be shared between configure
51155 # scripts and configure runs, see configure's option --config-cache.
51156 # It is not useful on other systems. If it contains results you don't
51157 # want to keep, you may remove or edit it.
51158 #
51159 # config.status only pays attention to the cache file if you give it
51160 # the --recheck option to rerun configure.
51161 #
51162 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51163 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51164 # following values.
51165
51166 _ACEOF
51167
51168 # The following way of writing the cache mishandles newlines in values,
51169 # but we know of no workaround that is simple, portable, and efficient.
51170 # So, we kill variables containing newlines.
51171 # Ultrix sh set writes to stderr and can't be redirected directly,
51172 # and sets the high bit in the cache file unless we assign to the vars.
51173 (
51174 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51175 eval ac_val=\$$ac_var
51176 case $ac_val in #(
51177 *${as_nl}*)
51178 case $ac_var in #(
51179 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51180 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51181 esac
51182 case $ac_var in #(
51183 _ | IFS | as_nl) ;; #(
51184 *) $as_unset $ac_var ;;
51185 esac ;;
51186 esac
51187 done
51188
51189 (set) 2>&1 |
51190 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51191 *${as_nl}ac_space=\ *)
51192 # `set' does not quote correctly, so add quotes (double-quote
51193 # substitution turns \\\\ into \\, and sed turns \\ into \).
51194 sed -n \
51195 "s/'/'\\\\''/g;
51196 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51197 ;; #(
51198 *)
51199 # `set' quotes correctly as required by POSIX, so do not add quotes.
51200 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51201 ;;
51202 esac |
51203 sort
51204 ) |
51205 sed '
51206 /^ac_cv_env_/b end
51207 t clear
51208 :clear
51209 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51210 t end
51211 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51212 :end' >>confcache
51213 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
51214 if test -w "$cache_file"; then
51215 test "x$cache_file" != "x/dev/null" &&
51216 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51217 echo "$as_me: updating cache $cache_file" >&6;}
51218 cat confcache >$cache_file
51219 else
51220 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51221 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51222 fi
51223 fi
51224 rm -f confcache
51225
51226 test "x$prefix" = xNONE && prefix=$ac_default_prefix
51227 # Let make expand exec_prefix.
51228 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
51229
51230 DEFS=-DHAVE_CONFIG_H
51231
51232 ac_libobjs=
51233 ac_ltlibobjs=
51234 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
51235 # 1. Remove the extension, and $U if already installed.
51236 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
51237 ac_i=`echo "$ac_i" | sed "$ac_script"`
51238 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51239 # will be set to the directory where LIBOBJS objects are built.
51240 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51241 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51242 done
51243 LIBOBJS=$ac_libobjs
51244
51245 LTLIBOBJS=$ac_ltlibobjs
51246
51247
51248
51249 : ${CONFIG_STATUS=./config.status}
51250 ac_clean_files_save=$ac_clean_files
51251 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
51252 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51253 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51254 cat >$CONFIG_STATUS <<_ACEOF
51255 #! $SHELL
51256 # Generated by $as_me.
51257 # Run this file to recreate the current configuration.
51258 # Compiler output produced by configure, useful for debugging
51259 # configure, is in config.log if it exists.
51260
51261 debug=false
51262 ac_cs_recheck=false
51263 ac_cs_silent=false
51264 SHELL=\${CONFIG_SHELL-$SHELL}
51265 _ACEOF
51266
51267 cat >>$CONFIG_STATUS <<\_ACEOF
51268 ## --------------------- ##
51269 ## M4sh Initialization. ##
51270 ## --------------------- ##
51271
51272 # Be more Bourne compatible
51273 DUALCASE=1; export DUALCASE # for MKS sh
51274 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
51275 emulate sh
51276 NULLCMD=:
51277 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51278 # is contrary to our usage. Disable this feature.
51279 alias -g '${1+"$@"}'='"$@"'
51280 setopt NO_GLOB_SUBST
51281 else
51282 case `(set -o) 2>/dev/null` in
51283 *posix*) set -o posix ;;
51284 esac
51285
51286 fi
51287
51288
51289
51290
51291 # PATH needs CR
51292 # Avoid depending upon Character Ranges.
51293 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
51294 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51295 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
51296 as_cr_digits='0123456789'
51297 as_cr_alnum=$as_cr_Letters$as_cr_digits
51298
51299 # The user is always right.
51300 if test "${PATH_SEPARATOR+set}" != set; then
51301 echo "#! /bin/sh" >conf$$.sh
51302 echo "exit 0" >>conf$$.sh
51303 chmod +x conf$$.sh
51304 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51305 PATH_SEPARATOR=';'
51306 else
51307 PATH_SEPARATOR=:
51308 fi
51309 rm -f conf$$.sh
51310 fi
51311
51312 # Support unset when possible.
51313 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51314 as_unset=unset
51315 else
51316 as_unset=false
51317 fi
51318
51319
51320 # IFS
51321 # We need space, tab and new line, in precisely that order. Quoting is
51322 # there to prevent editors from complaining about space-tab.
51323 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51324 # splitting by setting IFS to empty value.)
51325 as_nl='
51326 '
51327 IFS=" "" $as_nl"
51328
51329 # Find who we are. Look in the path if we contain no directory separator.
51330 case $0 in
51331 *[\\/]* ) as_myself=$0 ;;
51332 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51333 for as_dir in $PATH
51334 do
51335 IFS=$as_save_IFS
51336 test -z "$as_dir" && as_dir=.
51337 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
51338 done
51339 IFS=$as_save_IFS
51340
51341 ;;
51342 esac
51343 # We did not find ourselves, most probably we were run as `sh COMMAND'
51344 # in which case we are not to be found in the path.
51345 if test "x$as_myself" = x; then
51346 as_myself=$0
51347 fi
51348 if test ! -f "$as_myself"; then
51349 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51350 { (exit 1); exit 1; }
51351 fi
51352
51353 # Work around bugs in pre-3.0 UWIN ksh.
51354 for as_var in ENV MAIL MAILPATH
51355 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51356 done
51357 PS1='$ '
51358 PS2='> '
51359 PS4='+ '
51360
51361 # NLS nuisances.
51362 for as_var in \
51363 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51364 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51365 LC_TELEPHONE LC_TIME
51366 do
51367 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51368 eval $as_var=C; export $as_var
51369 else
51370 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51371 fi
51372 done
51373
51374 # Required to use basename.
51375 if expr a : '\(a\)' >/dev/null 2>&1 &&
51376 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51377 as_expr=expr
51378 else
51379 as_expr=false
51380 fi
51381
51382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51383 as_basename=basename
51384 else
51385 as_basename=false
51386 fi
51387
51388
51389 # Name of the executable.
51390 as_me=`$as_basename -- "$0" ||
51391 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51392 X"$0" : 'X\(//\)$' \| \
51393 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51394 echo X/"$0" |
51395 sed '/^.*\/\([^/][^/]*\)\/*$/{
51396 s//\1/
51397 q
51398 }
51399 /^X\/\(\/\/\)$/{
51400 s//\1/
51401 q
51402 }
51403 /^X\/\(\/\).*/{
51404 s//\1/
51405 q
51406 }
51407 s/.*/./; q'`
51408
51409 # CDPATH.
51410 $as_unset CDPATH
51411
51412
51413
51414 as_lineno_1=$LINENO
51415 as_lineno_2=$LINENO
51416 test "x$as_lineno_1" != "x$as_lineno_2" &&
51417 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51418
51419 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51420 # uniformly replaced by the line number. The first 'sed' inserts a
51421 # line-number line after each line using $LINENO; the second 'sed'
51422 # does the real work. The second script uses 'N' to pair each
51423 # line-number line with the line containing $LINENO, and appends
51424 # trailing '-' during substitution so that $LINENO is not a special
51425 # case at line end.
51426 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51427 # scripts with optimization help from Paolo Bonzini. Blame Lee
51428 # E. McMahon (1931-1989) for sed's syntax. :-)
51429 sed -n '
51430 p
51431 /[$]LINENO/=
51432 ' <$as_myself |
51433 sed '
51434 s/[$]LINENO.*/&-/
51435 t lineno
51436 b
51437 :lineno
51438 N
51439 :loop
51440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51441 t loop
51442 s/-\n.*//
51443 ' >$as_me.lineno &&
51444 chmod +x "$as_me.lineno" ||
51445 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51446 { (exit 1); exit 1; }; }
51447
51448 # Don't try to exec as it changes $[0], causing all sort of problems
51449 # (the dirname of $[0] is not the place where we might find the
51450 # original and so on. Autoconf is especially sensitive to this).
51451 . "./$as_me.lineno"
51452 # Exit status is that of the last command.
51453 exit
51454 }
51455
51456
51457 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
51458 as_dirname=dirname
51459 else
51460 as_dirname=false
51461 fi
51462
51463 ECHO_C= ECHO_N= ECHO_T=
51464 case `echo -n x` in
51465 -n*)
51466 case `echo 'x\c'` in
51467 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
51468 *) ECHO_C='\c';;
51469 esac;;
51470 *)
51471 ECHO_N='-n';;
51472 esac
51473
51474 if expr a : '\(a\)' >/dev/null 2>&1 &&
51475 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51476 as_expr=expr
51477 else
51478 as_expr=false
51479 fi
51480
51481 rm -f conf$$ conf$$.exe conf$$.file
51482 if test -d conf$$.dir; then
51483 rm -f conf$$.dir/conf$$.file
51484 else
51485 rm -f conf$$.dir
51486 mkdir conf$$.dir
51487 fi
51488 echo >conf$$.file
51489 if ln -s conf$$.file conf$$ 2>/dev/null; then
51490 as_ln_s='ln -s'
51491 # ... but there are two gotchas:
51492 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51493 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51494 # In both cases, we have to default to `cp -p'.
51495 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
51496 as_ln_s='cp -p'
51497 elif ln conf$$.file conf$$ 2>/dev/null; then
51498 as_ln_s=ln
51499 else
51500 as_ln_s='cp -p'
51501 fi
51502 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
51503 rmdir conf$$.dir 2>/dev/null
51504
51505 if mkdir -p . 2>/dev/null; then
51506 as_mkdir_p=:
51507 else
51508 test -d ./-p && rmdir ./-p
51509 as_mkdir_p=false
51510 fi
51511
51512 if test -x / >/dev/null 2>&1; then
51513 as_test_x='test -x'
51514 else
51515 if ls -dL / >/dev/null 2>&1; then
51516 as_ls_L_option=L
51517 else
51518 as_ls_L_option=
51519 fi
51520 as_test_x='
51521 eval sh -c '\''
51522 if test -d "$1"; then
51523 test -d "$1/.";
51524 else
51525 case $1 in
51526 -*)set "./$1";;
51527 esac;
51528 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51529 ???[sx]*):;;*)false;;esac;fi
51530 '\'' sh
51531 '
51532 fi
51533 as_executable_p=$as_test_x
51534
51535 # Sed expression to map a string onto a valid CPP name.
51536 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51537
51538 # Sed expression to map a string onto a valid variable name.
51539 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51540
51541
51542 exec 6>&1
51543
51544 # Save the log message, to keep $[0] and so on meaningful, and to
51545 # report actual input values of CONFIG_FILES etc. instead of their
51546 # values after options handling.
51547 ac_log="
51548 This file was extended by wxWidgets $as_me 2.9.0, which was
51549 generated by GNU Autoconf 2.61. Invocation command line was
51550
51551 CONFIG_FILES = $CONFIG_FILES
51552 CONFIG_HEADERS = $CONFIG_HEADERS
51553 CONFIG_LINKS = $CONFIG_LINKS
51554 CONFIG_COMMANDS = $CONFIG_COMMANDS
51555 $ $0 $@
51556
51557 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51558 "
51559
51560 _ACEOF
51561
51562 cat >>$CONFIG_STATUS <<_ACEOF
51563 # Files that config.status was made for.
51564 config_files="$ac_config_files"
51565 config_headers="$ac_config_headers"
51566 config_commands="$ac_config_commands"
51567
51568 _ACEOF
51569
51570 cat >>$CONFIG_STATUS <<\_ACEOF
51571 ac_cs_usage="\
51572 \`$as_me' instantiates files from templates according to the
51573 current configuration.
51574
51575 Usage: $0 [OPTIONS] [FILE]...
51576
51577 -h, --help print this help, then exit
51578 -V, --version print version number and configuration settings, then exit
51579 -q, --quiet do not print progress messages
51580 -d, --debug don't remove temporary files
51581 --recheck update $as_me by reconfiguring in the same conditions
51582 --file=FILE[:TEMPLATE]
51583 instantiate the configuration file FILE
51584 --header=FILE[:TEMPLATE]
51585 instantiate the configuration header FILE
51586
51587 Configuration files:
51588 $config_files
51589
51590 Configuration headers:
51591 $config_headers
51592
51593 Configuration commands:
51594 $config_commands
51595
51596 Report bugs to <bug-autoconf@gnu.org>."
51597
51598 _ACEOF
51599 cat >>$CONFIG_STATUS <<_ACEOF
51600 ac_cs_version="\\
51601 wxWidgets config.status 2.9.0
51602 configured by $0, generated by GNU Autoconf 2.61,
51603 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51604
51605 Copyright (C) 2006 Free Software Foundation, Inc.
51606 This config.status script is free software; the Free Software Foundation
51607 gives unlimited permission to copy, distribute and modify it."
51608
51609 ac_pwd='$ac_pwd'
51610 srcdir='$srcdir'
51611 INSTALL='$INSTALL'
51612 _ACEOF
51613
51614 cat >>$CONFIG_STATUS <<\_ACEOF
51615 # If no file are specified by the user, then we need to provide default
51616 # value. By we need to know if files were specified by the user.
51617 ac_need_defaults=:
51618 while test $# != 0
51619 do
51620 case $1 in
51621 --*=*)
51622 ac_option=`expr "X$1" : 'X\([^=]*\)='`
51623 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
51624 ac_shift=:
51625 ;;
51626 *)
51627 ac_option=$1
51628 ac_optarg=$2
51629 ac_shift=shift
51630 ;;
51631 esac
51632
51633 case $ac_option in
51634 # Handling of the options.
51635 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51636 ac_cs_recheck=: ;;
51637 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51638 echo "$ac_cs_version"; exit ;;
51639 --debug | --debu | --deb | --de | --d | -d )
51640 debug=: ;;
51641 --file | --fil | --fi | --f )
51642 $ac_shift
51643 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51644 ac_need_defaults=false;;
51645 --header | --heade | --head | --hea )
51646 $ac_shift
51647 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51648 ac_need_defaults=false;;
51649 --he | --h)
51650 # Conflict between --help and --header
51651 { echo "$as_me: error: ambiguous option: $1
51652 Try \`$0 --help' for more information." >&2
51653 { (exit 1); exit 1; }; };;
51654 --help | --hel | -h )
51655 echo "$ac_cs_usage"; exit ;;
51656 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51657 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51658 ac_cs_silent=: ;;
51659
51660 # This is an error.
51661 -*) { echo "$as_me: error: unrecognized option: $1
51662 Try \`$0 --help' for more information." >&2
51663 { (exit 1); exit 1; }; } ;;
51664
51665 *) ac_config_targets="$ac_config_targets $1"
51666 ac_need_defaults=false ;;
51667
51668 esac
51669 shift
51670 done
51671
51672 ac_configure_extra_args=
51673
51674 if $ac_cs_silent; then
51675 exec 6>/dev/null
51676 ac_configure_extra_args="$ac_configure_extra_args --silent"
51677 fi
51678
51679 _ACEOF
51680 cat >>$CONFIG_STATUS <<_ACEOF
51681 if \$ac_cs_recheck; then
51682 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51683 CONFIG_SHELL=$SHELL
51684 export CONFIG_SHELL
51685 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51686 fi
51687
51688 _ACEOF
51689 cat >>$CONFIG_STATUS <<\_ACEOF
51690 exec 5>>config.log
51691 {
51692 echo
51693 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51694 ## Running $as_me. ##
51695 _ASBOX
51696 echo "$ac_log"
51697 } >&5
51698
51699 _ACEOF
51700 cat >>$CONFIG_STATUS <<_ACEOF
51701 #
51702 # INIT-COMMANDS
51703 #
51704
51705 CPP="$CPP"
51706 infile="$srcdir/include/wx/msw/genrcdefs.h"
51707 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51708
51709
51710 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51711 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51712 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51713 LN_S="${LN_S}"
51714
51715
51716 _ACEOF
51717
51718 cat >>$CONFIG_STATUS <<\_ACEOF
51719
51720 # Handling of arguments.
51721 for ac_config_target in $ac_config_targets
51722 do
51723 case $ac_config_target in
51724 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51725 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51726 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51727 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51728 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51729 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
51730 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51731 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51732 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
51733
51734 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51735 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51736 { (exit 1); exit 1; }; };;
51737 esac
51738 done
51739
51740
51741 # If the user did not use the arguments to specify the items to instantiate,
51742 # then the envvar interface is used. Set only those that are not.
51743 # We use the long form for the default assignment because of an extremely
51744 # bizarre bug on SunOS 4.1.3.
51745 if $ac_need_defaults; then
51746 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51747 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51748 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51749 fi
51750
51751 # Have a temporary directory for convenience. Make it in the build tree
51752 # simply because there is no reason against having it here, and in addition,
51753 # creating and moving files from /tmp can sometimes cause problems.
51754 # Hook for its removal unless debugging.
51755 # Note that there is a small window in which the directory will not be cleaned:
51756 # after its creation but before its name has been assigned to `$tmp'.
51757 $debug ||
51758 {
51759 tmp=
51760 trap 'exit_status=$?
51761 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51762 ' 0
51763 trap '{ (exit 1); exit 1; }' 1 2 13 15
51764 }
51765 # Create a (secure) tmp directory for tmp files.
51766
51767 {
51768 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51769 test -n "$tmp" && test -d "$tmp"
51770 } ||
51771 {
51772 tmp=./conf$$-$RANDOM
51773 (umask 077 && mkdir "$tmp")
51774 } ||
51775 {
51776 echo "$me: cannot create a temporary directory in ." >&2
51777 { (exit 1); exit 1; }
51778 }
51779
51780 #
51781 # Set up the sed scripts for CONFIG_FILES section.
51782 #
51783
51784 # No need to generate the scripts if there are no CONFIG_FILES.
51785 # This happens for instance when ./config.status config.h
51786 if test -n "$CONFIG_FILES"; then
51787
51788 _ACEOF
51789
51790
51791
51792 ac_delim='%!_!# '
51793 for ac_last_try in false false false false false :; do
51794 cat >conf$$subs.sed <<_ACEOF
51795 SHELL!$SHELL$ac_delim
51796 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51797 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51798 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51799 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51800 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51801 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51802 exec_prefix!$exec_prefix$ac_delim
51803 prefix!$prefix$ac_delim
51804 program_transform_name!$program_transform_name$ac_delim
51805 bindir!$bindir$ac_delim
51806 sbindir!$sbindir$ac_delim
51807 libexecdir!$libexecdir$ac_delim
51808 datarootdir!$datarootdir$ac_delim
51809 datadir!$datadir$ac_delim
51810 sysconfdir!$sysconfdir$ac_delim
51811 sharedstatedir!$sharedstatedir$ac_delim
51812 localstatedir!$localstatedir$ac_delim
51813 includedir!$includedir$ac_delim
51814 oldincludedir!$oldincludedir$ac_delim
51815 docdir!$docdir$ac_delim
51816 infodir!$infodir$ac_delim
51817 htmldir!$htmldir$ac_delim
51818 dvidir!$dvidir$ac_delim
51819 pdfdir!$pdfdir$ac_delim
51820 psdir!$psdir$ac_delim
51821 libdir!$libdir$ac_delim
51822 localedir!$localedir$ac_delim
51823 mandir!$mandir$ac_delim
51824 DEFS!$DEFS$ac_delim
51825 ECHO_C!$ECHO_C$ac_delim
51826 ECHO_N!$ECHO_N$ac_delim
51827 ECHO_T!$ECHO_T$ac_delim
51828 LIBS!$LIBS$ac_delim
51829 build_alias!$build_alias$ac_delim
51830 host_alias!$host_alias$ac_delim
51831 target_alias!$target_alias$ac_delim
51832 build!$build$ac_delim
51833 build_cpu!$build_cpu$ac_delim
51834 build_vendor!$build_vendor$ac_delim
51835 build_os!$build_os$ac_delim
51836 host!$host$ac_delim
51837 host_cpu!$host_cpu$ac_delim
51838 host_vendor!$host_vendor$ac_delim
51839 host_os!$host_os$ac_delim
51840 wx_top_builddir!$wx_top_builddir$ac_delim
51841 CC!$CC$ac_delim
51842 CFLAGS!$CFLAGS$ac_delim
51843 LDFLAGS!$LDFLAGS$ac_delim
51844 CPPFLAGS!$CPPFLAGS$ac_delim
51845 ac_ct_CC!$ac_ct_CC$ac_delim
51846 EXEEXT!$EXEEXT$ac_delim
51847 OBJEXT!$OBJEXT$ac_delim
51848 CPP!$CPP$ac_delim
51849 GREP!$GREP$ac_delim
51850 EGREP!$EGREP$ac_delim
51851 CXX!$CXX$ac_delim
51852 CXXFLAGS!$CXXFLAGS$ac_delim
51853 ac_ct_CXX!$ac_ct_CXX$ac_delim
51854 AR!$AR$ac_delim
51855 subdirs!$subdirs$ac_delim
51856 PKG_CONFIG!$PKG_CONFIG$ac_delim
51857 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51858 GTK_LIBS!$GTK_LIBS$ac_delim
51859 GTK_CONFIG!$GTK_CONFIG$ac_delim
51860 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51861 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51862 XMKMF!$XMKMF$ac_delim
51863 X_CFLAGS!$X_CFLAGS$ac_delim
51864 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51865 X_LIBS!$X_LIBS$ac_delim
51866 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51867 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51868 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51869 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51870 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51871 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51872 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51873 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51874 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51875 LIBICONV!$LIBICONV$ac_delim
51876 GXX_VERSION!$GXX_VERSION$ac_delim
51877 SDL_CONFIG!$SDL_CONFIG$ac_delim
51878 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51879 SDL_LIBS!$SDL_LIBS$ac_delim
51880 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51881 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51882 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51883 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51884 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51885 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51886 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51887 HILDON_LIBS!$HILDON_LIBS$ac_delim
51888 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51889 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51890 GST_CFLAGS!$GST_CFLAGS$ac_delim
51891 GST_LIBS!$GST_LIBS$ac_delim
51892 _ACEOF
51893
51894 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51895 break
51896 elif $ac_last_try; then
51897 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51898 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51899 { (exit 1); exit 1; }; }
51900 else
51901 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51902 fi
51903 done
51904
51905 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51906 if test -n "$ac_eof"; then
51907 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51908 ac_eof=`expr $ac_eof + 1`
51909 fi
51910
51911 cat >>$CONFIG_STATUS <<_ACEOF
51912 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51913 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51914 _ACEOF
51915 sed '
51916 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51917 s/^/s,@/; s/!/@,|#_!!_#|/
51918 :n
51919 t n
51920 s/'"$ac_delim"'$/,g/; t
51921 s/$/\\/; p
51922 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51923 ' >>$CONFIG_STATUS <conf$$subs.sed
51924 rm -f conf$$subs.sed
51925 cat >>$CONFIG_STATUS <<_ACEOF
51926 CEOF$ac_eof
51927 _ACEOF
51928
51929
51930 ac_delim='%!_!# '
51931 for ac_last_try in false false false false false :; do
51932 cat >conf$$subs.sed <<_ACEOF
51933 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51934 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51935 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51936 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51937 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51938 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51939 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51940 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51941 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51942 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51943 VENDOR!$VENDOR$ac_delim
51944 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51945 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51946 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51947 WXUNIV!$WXUNIV$ac_delim
51948 MONOLITHIC!$MONOLITHIC$ac_delim
51949 USE_PLUGINS!$USE_PLUGINS$ac_delim
51950 CXXWARNINGS!$CXXWARNINGS$ac_delim
51951 EXTRALIBS!$EXTRALIBS$ac_delim
51952 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51953 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51954 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51955 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51956 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51957 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51958 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51959 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51960 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51961 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51962 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51963 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51964 UNICODE!$UNICODE$ac_delim
51965 BUILD!$BUILD$ac_delim
51966 DEBUG_INFO!$DEBUG_INFO$ac_delim
51967 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51968 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51969 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51970 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51971 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
51972 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
51973 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51974 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51975 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51976 RANLIB!$RANLIB$ac_delim
51977 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51978 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51979 INSTALL_DATA!$INSTALL_DATA$ac_delim
51980 LN_S!$LN_S$ac_delim
51981 SET_MAKE!$SET_MAKE$ac_delim
51982 MAKE_SET!$MAKE_SET$ac_delim
51983 AROPTIONS!$AROPTIONS$ac_delim
51984 STRIP!$STRIP$ac_delim
51985 NM!$NM$ac_delim
51986 INSTALL_DIR!$INSTALL_DIR$ac_delim
51987 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51988 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51989 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51990 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51991 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51992 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51993 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51994 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51995 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51996 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51997 SO_SUFFIX!$SO_SUFFIX$ac_delim
51998 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
51999 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
52000 LIBPREFIX!$LIBPREFIX$ac_delim
52001 LIBEXT!$LIBEXT$ac_delim
52002 DLLPREFIX!$DLLPREFIX$ac_delim
52003 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
52004 dlldir!$dlldir$ac_delim
52005 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
52006 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
52007 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
52008 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
52009 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
52010 PIC_FLAG!$PIC_FLAG$ac_delim
52011 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
52012 USE_SOVERSION!$USE_SOVERSION$ac_delim
52013 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
52014 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
52015 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
52016 USE_MACVERSION!$USE_MACVERSION$ac_delim
52017 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
52018 SONAME_FLAG!$SONAME_FLAG$ac_delim
52019 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
52020 BK_DEPS!$BK_DEPS$ac_delim
52021 WINDRES!$WINDRES$ac_delim
52022 REZ!$REZ$ac_delim
52023 SETFILE!$SETFILE$ac_delim
52024 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
52025 GCC_PCH!$GCC_PCH$ac_delim
52026 ICC_PCH!$ICC_PCH$ac_delim
52027 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
52028 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
52029 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52030 _ACEOF
52031
52032 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52033 break
52034 elif $ac_last_try; then
52035 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52036 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52037 { (exit 1); exit 1; }; }
52038 else
52039 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52040 fi
52041 done
52042
52043 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52044 if test -n "$ac_eof"; then
52045 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52046 ac_eof=`expr $ac_eof + 1`
52047 fi
52048
52049 cat >>$CONFIG_STATUS <<_ACEOF
52050 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52051 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52052 _ACEOF
52053 sed '
52054 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52055 s/^/s,@/; s/!/@,|#_!!_#|/
52056 :n
52057 t n
52058 s/'"$ac_delim"'$/,g/; t
52059 s/$/\\/; p
52060 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52061 ' >>$CONFIG_STATUS <conf$$subs.sed
52062 rm -f conf$$subs.sed
52063 cat >>$CONFIG_STATUS <<_ACEOF
52064 CEOF$ac_eof
52065 _ACEOF
52066
52067
52068 ac_delim='%!_!# '
52069 for ac_last_try in false false false false false :; do
52070 cat >conf$$subs.sed <<_ACEOF
52071 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52072 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52073 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52074 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52075 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52076 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52077 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52078 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52079 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52080 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
52081 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
52082 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
52083 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
52084 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
52085 COND_BUILD_release!$COND_BUILD_release$ac_delim
52086 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
52087 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
52088 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
52089 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
52090 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
52091 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
52092 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
52093 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
52094 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52095 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52096 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
52097 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
52098 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
52099 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
52100 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52101 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52102 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52103 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
52104 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52105 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
52106 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52107 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52108 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52109 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52110 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52111 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52112 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52113 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
52114 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52115 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
52116 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52117 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
52118 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
52119 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52120 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
52121 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52122 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
52123 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
52124 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
52125 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
52126 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
52127 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52128 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52129 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52130 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52131 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52132 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52133 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52134 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52135 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52136 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52137 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
52138 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52139 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
52140 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52141 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52142 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52143 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52144 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52145 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52146 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52147 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52148 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52149 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52150 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52151 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52152 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52153 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52154 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52155 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52156 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52157 COND_SHARED_0!$COND_SHARED_0$ac_delim
52158 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52159 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52160 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52161 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52162 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52163 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52164 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52165 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52166 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52167 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52168 _ACEOF
52169
52170 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52171 break
52172 elif $ac_last_try; then
52173 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52174 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52175 { (exit 1); exit 1; }; }
52176 else
52177 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52178 fi
52179 done
52180
52181 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52182 if test -n "$ac_eof"; then
52183 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52184 ac_eof=`expr $ac_eof + 1`
52185 fi
52186
52187 cat >>$CONFIG_STATUS <<_ACEOF
52188 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52189 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52190 _ACEOF
52191 sed '
52192 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52193 s/^/s,@/; s/!/@,|#_!!_#|/
52194 :n
52195 t n
52196 s/'"$ac_delim"'$/,g/; t
52197 s/$/\\/; p
52198 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52199 ' >>$CONFIG_STATUS <conf$$subs.sed
52200 rm -f conf$$subs.sed
52201 cat >>$CONFIG_STATUS <<_ACEOF
52202 CEOF$ac_eof
52203 _ACEOF
52204
52205
52206 ac_delim='%!_!# '
52207 for ac_last_try in false false false false false :; do
52208 cat >conf$$subs.sed <<_ACEOF
52209 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52210 COND_SHARED_1!$COND_SHARED_1$ac_delim
52211 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52212 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52213 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52214 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52215 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52216 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52217 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52218 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52219 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52220 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52221 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52222 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52223 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52224 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52225 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52226 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52227 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52228 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52229 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52230 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52231 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52232 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52233 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52234 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52235 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52236 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52237 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52238 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0$ac_delim
52239 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52240 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52241 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52242 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52243 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52244 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52245 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52246 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52247 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52248 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52249 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52250 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52251 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52252 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52253 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52254 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52255 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52256 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52257 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52258 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52259 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52260 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52261 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52262 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52263 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52264 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52265 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52266 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52267 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52268 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52269 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52270 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52271 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
52272 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52273 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52274 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52275 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52276 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52277 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52278 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52279 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52280 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52281 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52282 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52283 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52284 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52285 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52286 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52287 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52288 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52289 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52290 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52291 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52292 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52293 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52294 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52295 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52296 DEREZ!$DEREZ$ac_delim
52297 SHARED!$SHARED$ac_delim
52298 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52299 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52300 USE_GUI!$USE_GUI$ac_delim
52301 AFMINSTALL!$AFMINSTALL$ac_delim
52302 WIN32INSTALL!$WIN32INSTALL$ac_delim
52303 TOOLKIT!$TOOLKIT$ac_delim
52304 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52305 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52306 _ACEOF
52307
52308 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52309 break
52310 elif $ac_last_try; then
52311 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52312 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52313 { (exit 1); exit 1; }; }
52314 else
52315 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52316 fi
52317 done
52318
52319 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52320 if test -n "$ac_eof"; then
52321 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52322 ac_eof=`expr $ac_eof + 1`
52323 fi
52324
52325 cat >>$CONFIG_STATUS <<_ACEOF
52326 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52327 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52328 _ACEOF
52329 sed '
52330 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52331 s/^/s,@/; s/!/@,|#_!!_#|/
52332 :n
52333 t n
52334 s/'"$ac_delim"'$/,g/; t
52335 s/$/\\/; p
52336 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52337 ' >>$CONFIG_STATUS <conf$$subs.sed
52338 rm -f conf$$subs.sed
52339 cat >>$CONFIG_STATUS <<_ACEOF
52340 CEOF$ac_eof
52341 _ACEOF
52342
52343
52344 ac_delim='%!_!# '
52345 for ac_last_try in false false false false false :; do
52346 cat >conf$$subs.sed <<_ACEOF
52347 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52348 cross_compiling!$cross_compiling$ac_delim
52349 WIDGET_SET!$WIDGET_SET$ac_delim
52350 WX_RELEASE!$WX_RELEASE$ac_delim
52351 WX_VERSION!$WX_VERSION$ac_delim
52352 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52353 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52354 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
52355 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52356 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52357 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52358 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52359 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52360 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52361 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52362 GUIDIST!$GUIDIST$ac_delim
52363 DISTDIR!$DISTDIR$ac_delim
52364 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52365 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52366 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52367 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52368 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52369 RESCOMP!$RESCOMP$ac_delim
52370 RESFLAGS!$RESFLAGS$ac_delim
52371 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52372 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52373 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52374 LIBWXMACRES!$LIBWXMACRES$ac_delim
52375 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52376 MACSETFILE!$MACSETFILE$ac_delim
52377 GCC!$GCC$ac_delim
52378 DLLTOOL!$DLLTOOL$ac_delim
52379 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52380 LIBOBJS!$LIBOBJS$ac_delim
52381 LTLIBOBJS!$LTLIBOBJS$ac_delim
52382 _ACEOF
52383
52384 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 35; then
52385 break
52386 elif $ac_last_try; then
52387 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52388 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52389 { (exit 1); exit 1; }; }
52390 else
52391 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52392 fi
52393 done
52394
52395 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52396 if test -n "$ac_eof"; then
52397 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52398 ac_eof=`expr $ac_eof + 1`
52399 fi
52400
52401 cat >>$CONFIG_STATUS <<_ACEOF
52402 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52403 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52404 _ACEOF
52405 sed '
52406 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52407 s/^/s,@/; s/!/@,|#_!!_#|/
52408 :n
52409 t n
52410 s/'"$ac_delim"'$/,g/; t
52411 s/$/\\/; p
52412 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52413 ' >>$CONFIG_STATUS <conf$$subs.sed
52414 rm -f conf$$subs.sed
52415 cat >>$CONFIG_STATUS <<_ACEOF
52416 :end
52417 s/|#_!!_#|//g
52418 CEOF$ac_eof
52419 _ACEOF
52420
52421
52422 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52423 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52424 # trailing colons and then remove the whole line if VPATH becomes empty
52425 # (actually we leave an empty line to preserve line numbers).
52426 if test "x$srcdir" = x.; then
52427 ac_vpsub='/^[ ]*VPATH[ ]*=/{
52428 s/:*\$(srcdir):*/:/
52429 s/:*\${srcdir}:*/:/
52430 s/:*@srcdir@:*/:/
52431 s/^\([^=]*=[ ]*\):*/\1/
52432 s/:*$//
52433 s/^[^=]*=[ ]*$//
52434 }'
52435 fi
52436
52437 cat >>$CONFIG_STATUS <<\_ACEOF
52438 fi # test -n "$CONFIG_FILES"
52439
52440
52441 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
52442 do
52443 case $ac_tag in
52444 :[FHLC]) ac_mode=$ac_tag; continue;;
52445 esac
52446 case $ac_mode$ac_tag in
52447 :[FHL]*:*);;
52448 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52449 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52450 { (exit 1); exit 1; }; };;
52451 :[FH]-) ac_tag=-:-;;
52452 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
52453 esac
52454 ac_save_IFS=$IFS
52455 IFS=:
52456 set x $ac_tag
52457 IFS=$ac_save_IFS
52458 shift
52459 ac_file=$1
52460 shift
52461
52462 case $ac_mode in
52463 :L) ac_source=$1;;
52464 :[FH])
52465 ac_file_inputs=
52466 for ac_f
52467 do
52468 case $ac_f in
52469 -) ac_f="$tmp/stdin";;
52470 *) # Look for the file first in the build tree, then in the source tree
52471 # (if the path is not absolute). The absolute path cannot be DOS-style,
52472 # because $ac_f cannot contain `:'.
52473 test -f "$ac_f" ||
52474 case $ac_f in
52475 [\\/$]*) false;;
52476 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
52477 esac ||
52478 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52479 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52480 { (exit 1); exit 1; }; };;
52481 esac
52482 ac_file_inputs="$ac_file_inputs $ac_f"
52483 done
52484
52485 # Let's still pretend it is `configure' which instantiates (i.e., don't
52486 # use $as_me), people would be surprised to read:
52487 # /* config.h. Generated by config.status. */
52488 configure_input="Generated from "`IFS=:
52489 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52490 if test x"$ac_file" != x-; then
52491 configure_input="$ac_file. $configure_input"
52492 { echo "$as_me:$LINENO: creating $ac_file" >&5
52493 echo "$as_me: creating $ac_file" >&6;}
52494 fi
52495
52496 case $ac_tag in
52497 *:-:* | *:-) cat >"$tmp/stdin";;
52498 esac
52499 ;;
52500 esac
52501
52502 ac_dir=`$as_dirname -- "$ac_file" ||
52503 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52504 X"$ac_file" : 'X\(//\)[^/]' \| \
52505 X"$ac_file" : 'X\(//\)$' \| \
52506 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52507 echo X"$ac_file" |
52508 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52509 s//\1/
52510 q
52511 }
52512 /^X\(\/\/\)[^/].*/{
52513 s//\1/
52514 q
52515 }
52516 /^X\(\/\/\)$/{
52517 s//\1/
52518 q
52519 }
52520 /^X\(\/\).*/{
52521 s//\1/
52522 q
52523 }
52524 s/.*/./; q'`
52525 { as_dir="$ac_dir"
52526 case $as_dir in #(
52527 -*) as_dir=./$as_dir;;
52528 esac
52529 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52530 as_dirs=
52531 while :; do
52532 case $as_dir in #(
52533 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52534 *) as_qdir=$as_dir;;
52535 esac
52536 as_dirs="'$as_qdir' $as_dirs"
52537 as_dir=`$as_dirname -- "$as_dir" ||
52538 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52539 X"$as_dir" : 'X\(//\)[^/]' \| \
52540 X"$as_dir" : 'X\(//\)$' \| \
52541 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52542 echo X"$as_dir" |
52543 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52544 s//\1/
52545 q
52546 }
52547 /^X\(\/\/\)[^/].*/{
52548 s//\1/
52549 q
52550 }
52551 /^X\(\/\/\)$/{
52552 s//\1/
52553 q
52554 }
52555 /^X\(\/\).*/{
52556 s//\1/
52557 q
52558 }
52559 s/.*/./; q'`
52560 test -d "$as_dir" && break
52561 done
52562 test -z "$as_dirs" || eval "mkdir $as_dirs"
52563 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52564 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52565 { (exit 1); exit 1; }; }; }
52566 ac_builddir=.
52567
52568 case "$ac_dir" in
52569 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52570 *)
52571 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52572 # A ".." for each directory in $ac_dir_suffix.
52573 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52574 case $ac_top_builddir_sub in
52575 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52576 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52577 esac ;;
52578 esac
52579 ac_abs_top_builddir=$ac_pwd
52580 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52581 # for backward compatibility:
52582 ac_top_builddir=$ac_top_build_prefix
52583
52584 case $srcdir in
52585 .) # We are building in place.
52586 ac_srcdir=.
52587 ac_top_srcdir=$ac_top_builddir_sub
52588 ac_abs_top_srcdir=$ac_pwd ;;
52589 [\\/]* | ?:[\\/]* ) # Absolute name.
52590 ac_srcdir=$srcdir$ac_dir_suffix;
52591 ac_top_srcdir=$srcdir
52592 ac_abs_top_srcdir=$srcdir ;;
52593 *) # Relative name.
52594 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52595 ac_top_srcdir=$ac_top_build_prefix$srcdir
52596 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52597 esac
52598 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52599
52600
52601 case $ac_mode in
52602 :F)
52603 #
52604 # CONFIG_FILE
52605 #
52606
52607 case $INSTALL in
52608 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
52609 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
52610 esac
52611 _ACEOF
52612
52613 cat >>$CONFIG_STATUS <<\_ACEOF
52614 # If the template does not know about datarootdir, expand it.
52615 # FIXME: This hack should be removed a few years after 2.60.
52616 ac_datarootdir_hack=; ac_datarootdir_seen=
52617
52618 case `sed -n '/datarootdir/ {
52619 p
52620 q
52621 }
52622 /@datadir@/p
52623 /@docdir@/p
52624 /@infodir@/p
52625 /@localedir@/p
52626 /@mandir@/p
52627 ' $ac_file_inputs` in
52628 *datarootdir*) ac_datarootdir_seen=yes;;
52629 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
52630 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52631 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52632 _ACEOF
52633 cat >>$CONFIG_STATUS <<_ACEOF
52634 ac_datarootdir_hack='
52635 s&@datadir@&$datadir&g
52636 s&@docdir@&$docdir&g
52637 s&@infodir@&$infodir&g
52638 s&@localedir@&$localedir&g
52639 s&@mandir@&$mandir&g
52640 s&\\\${datarootdir}&$datarootdir&g' ;;
52641 esac
52642 _ACEOF
52643
52644 # Neutralize VPATH when `$srcdir' = `.'.
52645 # Shell code in configure.ac might set extrasub.
52646 # FIXME: do we really want to maintain this feature?
52647 cat >>$CONFIG_STATUS <<_ACEOF
52648 sed "$ac_vpsub
52649 $extrasub
52650 _ACEOF
52651 cat >>$CONFIG_STATUS <<\_ACEOF
52652 :t
52653 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52654 s&@configure_input@&$configure_input&;t t
52655 s&@top_builddir@&$ac_top_builddir_sub&;t t
52656 s&@srcdir@&$ac_srcdir&;t t
52657 s&@abs_srcdir@&$ac_abs_srcdir&;t t
52658 s&@top_srcdir@&$ac_top_srcdir&;t t
52659 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
52660 s&@builddir@&$ac_builddir&;t t
52661 s&@abs_builddir@&$ac_abs_builddir&;t t
52662 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
52663 s&@INSTALL@&$ac_INSTALL&;t t
52664 $ac_datarootdir_hack
52665 " $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
52666
52667 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52668 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
52669 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
52670 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52671 which seems to be undefined. Please make sure it is defined." >&5
52672 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52673 which seems to be undefined. Please make sure it is defined." >&2;}
52674
52675 rm -f "$tmp/stdin"
52676 case $ac_file in
52677 -) cat "$tmp/out"; rm -f "$tmp/out";;
52678 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52679 esac
52680 ;;
52681 :H)
52682 #
52683 # CONFIG_HEADER
52684 #
52685 _ACEOF
52686
52687 # Transform confdefs.h into a sed script `conftest.defines', that
52688 # substitutes the proper values into config.h.in to produce config.h.
52689 rm -f conftest.defines conftest.tail
52690 # First, append a space to every undef/define line, to ease matching.
52691 echo 's/$/ /' >conftest.defines
52692 # Then, protect against being on the right side of a sed subst, or in
52693 # an unquoted here document, in config.status. If some macros were
52694 # called several times there might be several #defines for the same
52695 # symbol, which is useless. But do not sort them, since the last
52696 # AC_DEFINE must be honored.
52697 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
52698 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52699 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52700 # PARAMS is the parameter list in the macro definition--in most cases, it's
52701 # just an empty string.
52702 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52703 ac_dB='\\)[ (].*,\\1define\\2'
52704 ac_dC=' '
52705 ac_dD=' ,'
52706
52707 uniq confdefs.h |
52708 sed -n '
52709 t rset
52710 :rset
52711 s/^[ ]*#[ ]*define[ ][ ]*//
52712 t ok
52713 d
52714 :ok
52715 s/[\\&,]/\\&/g
52716 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52717 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52718 ' >>conftest.defines
52719
52720 # Remove the space that was appended to ease matching.
52721 # Then replace #undef with comments. This is necessary, for
52722 # example, in the case of _POSIX_SOURCE, which is predefined and required
52723 # on some systems where configure will not decide to define it.
52724 # (The regexp can be short, since the line contains either #define or #undef.)
52725 echo 's/ $//
52726 s,^[ #]*u.*,/* & */,' >>conftest.defines
52727
52728 # Break up conftest.defines:
52729 ac_max_sed_lines=50
52730
52731 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52732 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52733 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52734 # et cetera.
52735 ac_in='$ac_file_inputs'
52736 ac_out='"$tmp/out1"'
52737 ac_nxt='"$tmp/out2"'
52738
52739 while :
52740 do
52741 # Write a here document:
52742 cat >>$CONFIG_STATUS <<_ACEOF
52743 # First, check the format of the line:
52744 cat >"\$tmp/defines.sed" <<\\CEOF
52745 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52746 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52747 b
52748 :def
52749 _ACEOF
52750 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
52751 echo 'CEOF
52752 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52753 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
52754 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
52755 grep . conftest.tail >/dev/null || break
52756 rm -f conftest.defines
52757 mv conftest.tail conftest.defines
52758 done
52759 rm -f conftest.defines conftest.tail
52760
52761 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52762 cat >>$CONFIG_STATUS <<\_ACEOF
52763 if test x"$ac_file" != x-; then
52764 echo "/* $configure_input */" >"$tmp/config.h"
52765 cat "$ac_result" >>"$tmp/config.h"
52766 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
52767 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52768 echo "$as_me: $ac_file is unchanged" >&6;}
52769 else
52770 rm -f $ac_file
52771 mv "$tmp/config.h" $ac_file
52772 fi
52773 else
52774 echo "/* $configure_input */"
52775 cat "$ac_result"
52776 fi
52777 rm -f "$tmp/out12"
52778 ;;
52779
52780 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52781 echo "$as_me: executing $ac_file commands" >&6;}
52782 ;;
52783 esac
52784
52785
52786 case $ac_file$ac_mode in
52787 "rcdefs.h":C)
52788 mkdir -p $outdir &&
52789 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52790 ;;
52791 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52792 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52793 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
52794 "wx-config":C) rm -f wx-config
52795 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52796 ;;
52797
52798 esac
52799 done # for ac_tag
52800
52801
52802 { (exit 0); exit 0; }
52803 _ACEOF
52804 chmod +x $CONFIG_STATUS
52805 ac_clean_files=$ac_clean_files_save
52806
52807
52808 # configure is writing to config.log, and then calls config.status.
52809 # config.status does its own redirection, appending to config.log.
52810 # Unfortunately, on DOS this fails, as config.log is still kept open
52811 # by configure, so config.status won't be able to write to it; its
52812 # output is simply discarded. So we exec the FD to /dev/null,
52813 # effectively closing config.log, so it can be properly (re)opened and
52814 # appended to by config.status. When coming back to configure, we
52815 # need to make the FD available again.
52816 if test "$no_create" != yes; then
52817 ac_cs_success=:
52818 ac_config_status_args=
52819 test "$silent" = yes &&
52820 ac_config_status_args="$ac_config_status_args --quiet"
52821 exec 5>/dev/null
52822 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52823 exec 5>>config.log
52824 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52825 # would make configure fail if this is the last instruction.
52826 $ac_cs_success || { (exit 1); exit 1; }
52827 fi
52828
52829 #
52830 # CONFIG_SUBDIRS section.
52831 #
52832 if test "$no_recursion" != yes; then
52833
52834 # Remove --cache-file and --srcdir arguments so they do not pile up.
52835 ac_sub_configure_args=
52836 ac_prev=
52837 eval "set x $ac_configure_args"
52838 shift
52839 for ac_arg
52840 do
52841 if test -n "$ac_prev"; then
52842 ac_prev=
52843 continue
52844 fi
52845 case $ac_arg in
52846 -cache-file | --cache-file | --cache-fil | --cache-fi \
52847 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52848 ac_prev=cache_file ;;
52849 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52850 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52851 | --c=*)
52852 ;;
52853 --config-cache | -C)
52854 ;;
52855 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52856 ac_prev=srcdir ;;
52857 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52858 ;;
52859 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52860 ac_prev=prefix ;;
52861 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52862 ;;
52863 *)
52864 case $ac_arg in
52865 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52866 esac
52867 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
52868 esac
52869 done
52870
52871 # Always prepend --prefix to ensure using the same prefix
52872 # in subdir configurations.
52873 ac_arg="--prefix=$prefix"
52874 case $ac_arg in
52875 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52876 esac
52877 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
52878
52879 # Pass --silent
52880 if test "$silent" = yes; then
52881 ac_sub_configure_args="--silent $ac_sub_configure_args"
52882 fi
52883
52884 ac_popdir=`pwd`
52885 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52886
52887 # Do not complain, so a configure script can configure whichever
52888 # parts of a large source tree are present.
52889 test -d "$srcdir/$ac_dir" || continue
52890
52891 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52892 echo "$as_me:$LINENO: $ac_msg" >&5
52893 echo "$ac_msg" >&6
52894 { as_dir="$ac_dir"
52895 case $as_dir in #(
52896 -*) as_dir=./$as_dir;;
52897 esac
52898 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52899 as_dirs=
52900 while :; do
52901 case $as_dir in #(
52902 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52903 *) as_qdir=$as_dir;;
52904 esac
52905 as_dirs="'$as_qdir' $as_dirs"
52906 as_dir=`$as_dirname -- "$as_dir" ||
52907 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52908 X"$as_dir" : 'X\(//\)[^/]' \| \
52909 X"$as_dir" : 'X\(//\)$' \| \
52910 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52911 echo X"$as_dir" |
52912 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52913 s//\1/
52914 q
52915 }
52916 /^X\(\/\/\)[^/].*/{
52917 s//\1/
52918 q
52919 }
52920 /^X\(\/\/\)$/{
52921 s//\1/
52922 q
52923 }
52924 /^X\(\/\).*/{
52925 s//\1/
52926 q
52927 }
52928 s/.*/./; q'`
52929 test -d "$as_dir" && break
52930 done
52931 test -z "$as_dirs" || eval "mkdir $as_dirs"
52932 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52933 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52934 { (exit 1); exit 1; }; }; }
52935 ac_builddir=.
52936
52937 case "$ac_dir" in
52938 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52939 *)
52940 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52941 # A ".." for each directory in $ac_dir_suffix.
52942 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52943 case $ac_top_builddir_sub in
52944 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52945 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52946 esac ;;
52947 esac
52948 ac_abs_top_builddir=$ac_pwd
52949 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52950 # for backward compatibility:
52951 ac_top_builddir=$ac_top_build_prefix
52952
52953 case $srcdir in
52954 .) # We are building in place.
52955 ac_srcdir=.
52956 ac_top_srcdir=$ac_top_builddir_sub
52957 ac_abs_top_srcdir=$ac_pwd ;;
52958 [\\/]* | ?:[\\/]* ) # Absolute name.
52959 ac_srcdir=$srcdir$ac_dir_suffix;
52960 ac_top_srcdir=$srcdir
52961 ac_abs_top_srcdir=$srcdir ;;
52962 *) # Relative name.
52963 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52964 ac_top_srcdir=$ac_top_build_prefix$srcdir
52965 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52966 esac
52967 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52968
52969
52970 cd "$ac_dir"
52971
52972 # Check for guested configure; otherwise get Cygnus style configure.
52973 if test -f "$ac_srcdir/configure.gnu"; then
52974 ac_sub_configure=$ac_srcdir/configure.gnu
52975 elif test -f "$ac_srcdir/configure"; then
52976 ac_sub_configure=$ac_srcdir/configure
52977 elif test -f "$ac_srcdir/configure.in"; then
52978 # This should be Cygnus configure.
52979 ac_sub_configure=$ac_aux_dir/configure
52980 else
52981 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52982 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52983 ac_sub_configure=
52984 fi
52985
52986 # The recursion is here.
52987 if test -n "$ac_sub_configure"; then
52988 # Make the cache file name correct relative to the subdirectory.
52989 case $cache_file in
52990 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52991 *) # Relative name.
52992 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
52993 esac
52994
52995 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52996 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52997 # The eval makes quoting arguments work.
52998 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
52999 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
53000 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
53001 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
53002 { (exit 1); exit 1; }; }
53003 fi
53004
53005 cd "$ac_popdir"
53006 done
53007 fi
53008
53009
53010 echo
53011 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53012 echo ""
53013 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53014 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53015
53016 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
53017 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53018 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
53019 if test "$wxUSE_UNICODE" = "yes"; then
53020 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
53021 echo " (using UTF-8)"
53022 else
53023 echo " (using wchar_t)"
53024 fi
53025 else
53026 echo
53027 fi
53028
53029 echo " What level of wxWidgets compatibility should be enabled?"
53030 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53031 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53032
53033 echo " Which libraries should wxWidgets use?"
53034 echo " STL ${wxUSE_STL}"
53035 echo " jpeg ${wxUSE_LIBJPEG-none}"
53036 echo " png ${wxUSE_LIBPNG-none}"
53037 echo " regex ${wxUSE_REGEX}"
53038 echo " tiff ${wxUSE_LIBTIFF-none}"
53039 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53040 echo " xpm ${wxUSE_LIBXPM-none}"
53041 fi
53042 echo " zlib ${wxUSE_ZLIB}"
53043 echo " expat ${wxUSE_EXPAT}"
53044 echo " libmspack ${wxUSE_LIBMSPACK}"
53045 echo " sdl ${wxUSE_LIBSDL}"
53046
53047 echo ""
53048