]> git.saurik.com Git - wxWidgets.git/blob - configure
check for wxUSE_REARRANGECTRL being defined
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 57865 2009-01-06 22:28:16Z VS .
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-hyperlink use wxHyperlinkCtrl class
1809 --enable-imaglist use wxImageList class
1810 --enable-listbook use wxListbook class
1811 --enable-listbox use wxListBox class
1812 --enable-listctrl use wxListCtrl class
1813 --enable-notebook use wxNotebook class
1814 --enable-notifmsg use wxNotificationMessage class
1815 --enable-odcombobox use wxOwnerDrawnComboBox class
1816 --enable-popupwin use wxPopUpWindow class
1817 --enable-radiobox use wxRadioBox class
1818 --enable-radiobtn use wxRadioButton class
1819 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1820 --enable-sash use wxSashWindow class
1821 --enable-scrollbar use wxScrollBar class and scrollable windows
1822 --enable-searchctrl use wxSearchCtrl class
1823 --enable-slider use wxSlider class
1824 --enable-spinbtn use wxSpinButton class
1825 --enable-spinctrl use wxSpinCtrl class
1826 --enable-splitter use wxSplitterWindow class
1827 --enable-statbmp use wxStaticBitmap class
1828 --enable-statbox use wxStaticBox class
1829 --enable-statline use wxStaticLine class
1830 --enable-stattext use wxStaticText class
1831 --enable-statusbar use wxStatusBar class
1832 --enable-taskbaricon use wxTaskBarIcon class
1833 --enable-tbarnative use native wxToolBar class
1834 --enable-textctrl use wxTextCtrl class
1835 --enable-tipwindow use wxTipWindow class
1836 --enable-togglebtn use wxToggleButton class
1837 --enable-toolbar use wxToolBar class
1838 --enable-toolbook use wxToolbook class
1839 --enable-treebook use wxTreebook class
1840 --enable-treectrl use wxTreeCtrl class
1841 --enable-commondlg use all common dialogs
1842 --enable-aboutdlg use wxAboutBox
1843 --enable-choicedlg use wxChoiceDialog
1844 --enable-coldlg use wxColourDialog
1845 --enable-filedlg use wxFileDialog
1846 --enable-finddlg use wxFindReplaceDialog
1847 --enable-fontdlg use wxFontDialog
1848 --enable-dirdlg use wxDirDialog
1849 --enable-msgdlg use wxMessageDialog
1850 --enable-numberdlg use wxNumberEntryDialog
1851 --enable-splash use wxSplashScreen
1852 --enable-textdlg use wxTextDialog
1853 --enable-tipdlg use startup tips
1854 --enable-progressdlg use wxProgressDialog
1855 --enable-wizarddlg use wxWizard
1856 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1857 --enable-miniframe use wxMiniFrame class
1858 --enable-tooltips use wxToolTip class
1859 --enable-splines use spline drawing code
1860 --enable-mousewheel use mousewheel
1861 --enable-validators use wxValidator and derived classes
1862 --enable-busyinfo use wxBusyInfo
1863 --enable-joystick use wxJoystick
1864 --enable-metafiles use wxMetaFile (Win32 only)
1865 --enable-dragimage use wxDragImage
1866 --enable-accessibility enable accessibility support
1867 --enable-palette use wxPalette class
1868 --enable-image use wxImage class
1869 --enable-gif use gif images (GIF file format)
1870 --enable-pcx use pcx images (PCX file format)
1871 --enable-tga use tga images (TGA file format)
1872 --enable-iff use iff images (IFF file format)
1873 --enable-pnm use pnm images (PNM file format)
1874 --enable-xpm use xpm images (XPM file format)
1875 --enable-ico_cur use Windows ICO and CUR formats
1876 --enable-dccache cache temporary wxDC objects (Win32 only)
1877 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1878 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1879 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1880 --enable-wxdib use wxDIB class (Win32 only)
1881 --enable-autoidman use automatic ids management
1882 --disable-largefile omit support for large files
1883 --disable-gtktest do not try to compile and run a test GTK+ program
1884 --disable-gtktest Do not try to compile and run a test GTK program
1885 --disable-sdltest Do not try to compile and run a test SDL program
1886 --enable-omf use OMF object format (OS/2)
1887 --disable-dependency-tracking
1888 don't use dependency tracking even if the compiler
1889 can
1890 --disable-precomp-headers
1891 don't use precompiled headers even if compiler can
1892
1893 Optional Packages:
1894 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1895 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1896 --without-subdirs don't generate makefiles for samples/demos/...
1897 --with-flavour=NAME specify a name to identify this build
1898 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1899 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1900 --with-motif use Motif/Lesstif
1901 --with-osx_carbon use Mac OS X (Carbon)
1902 --with-osx_cocoa use Mac OS X (Cocoa)
1903 --with-mac use Mac OS X (Default)
1904 --with-cocoa use Cocoa
1905 --with-wine use Wine
1906 --with-msw use MS-Windows
1907 --with-pm use OS/2 Presentation Manager
1908 --with-mgl use SciTech MGL
1909 --with-directfb use DirectFB
1910 --with-microwin use MicroWindows
1911 --with-x11 use X11
1912 --with-libpng use libpng (PNG image format)
1913 --with-libjpeg use libjpeg (JPEG file format)
1914 --with-libtiff use libtiff (TIFF file format)
1915 --with-libxpm use libxpm (XPM file format)
1916 --with-libiconv use libiconv (character conversion)
1917 --with-libmspack use libmspack (CHM help files loading)
1918 --without-gtkprint don't use GTK printing support
1919 --without-gnomeprint don't use GNOME printing libraries
1920 --with-gnomevfs use GNOME VFS for associating MIME types
1921 --with-hildon use Hildon framework for Nokia 770
1922 --with-opengl use OpenGL (or Mesa)
1923 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1924 --with-sdl use SDL for audio on Unix
1925 --with-regex enable support for wxRegEx class
1926 --with-zlib use zlib for LZW compression
1927 --with-expat enable XML support using expat parser
1928 --with-macosx-sdk=PATH use an OS X SDK at PATH
1929 --with-macosx-version-min=VER build binaries which require at least this OS X version
1930 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1931 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1932 --with-x use the X Window System
1933 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1934 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1935 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1936 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1937 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1938
1939 Some influential environment variables:
1940 CC C compiler command
1941 CFLAGS C compiler flags
1942 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1943 nonstandard directory <lib dir>
1944 LIBS libraries to pass to the linker, e.g. -l<library>
1945 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1946 you have headers in a nonstandard directory <include dir>
1947 CPP C preprocessor
1948 CXX C++ compiler command
1949 CXXFLAGS C++ compiler flags
1950 PKG_CONFIG path to pkg-config utility
1951 DIRECTFB_CFLAGS
1952 C compiler flags for DIRECTFB, overriding pkg-config
1953 DIRECTFB_LIBS
1954 linker flags for DIRECTFB, overriding pkg-config
1955 XMKMF Path to xmkmf, Makefile generator for X Window System
1956 PANGOX_CFLAGS
1957 C compiler flags for PANGOX, overriding pkg-config
1958 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1959 PANGOFT2_CFLAGS
1960 C compiler flags for PANGOFT2, overriding pkg-config
1961 PANGOFT2_LIBS
1962 linker flags for PANGOFT2, overriding pkg-config
1963 PANGOXFT_CFLAGS
1964 C compiler flags for PANGOXFT, overriding pkg-config
1965 PANGOXFT_LIBS
1966 linker flags for PANGOXFT, overriding pkg-config
1967 GTKPRINT_CFLAGS
1968 C compiler flags for GTKPRINT, overriding pkg-config
1969 GTKPRINT_LIBS
1970 linker flags for GTKPRINT, overriding pkg-config
1971 LIBGNOMEPRINTUI_CFLAGS
1972 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1973 LIBGNOMEPRINTUI_LIBS
1974 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1975 GNOMEVFS_CFLAGS
1976 C compiler flags for GNOMEVFS, overriding pkg-config
1977 GNOMEVFS_LIBS
1978 linker flags for GNOMEVFS, overriding pkg-config
1979 HILDON_CFLAGS
1980 C compiler flags for HILDON, overriding pkg-config
1981 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1982 CAIRO_CFLAGS
1983 C compiler flags for CAIRO, overriding pkg-config
1984 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1985 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1986 GST_LIBS linker flags for GST, overriding pkg-config
1987
1988 Use these variables to override the choices made by `configure' or to help
1989 it to find libraries and programs with nonstandard names/locations.
1990
1991 Report bugs to <wx-dev@lists.wxwidgets.org>.
1992 _ACEOF
1993 ac_status=$?
1994 fi
1995
1996 if test "$ac_init_help" = "recursive"; then
1997 # If there are subdirs, report their specific --help.
1998 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1999 test -d "$ac_dir" || continue
2000 ac_builddir=.
2001
2002 case "$ac_dir" in
2003 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2004 *)
2005 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2006 # A ".." for each directory in $ac_dir_suffix.
2007 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2008 case $ac_top_builddir_sub in
2009 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2010 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2011 esac ;;
2012 esac
2013 ac_abs_top_builddir=$ac_pwd
2014 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2015 # for backward compatibility:
2016 ac_top_builddir=$ac_top_build_prefix
2017
2018 case $srcdir in
2019 .) # We are building in place.
2020 ac_srcdir=.
2021 ac_top_srcdir=$ac_top_builddir_sub
2022 ac_abs_top_srcdir=$ac_pwd ;;
2023 [\\/]* | ?:[\\/]* ) # Absolute name.
2024 ac_srcdir=$srcdir$ac_dir_suffix;
2025 ac_top_srcdir=$srcdir
2026 ac_abs_top_srcdir=$srcdir ;;
2027 *) # Relative name.
2028 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2029 ac_top_srcdir=$ac_top_build_prefix$srcdir
2030 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2031 esac
2032 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2033
2034 cd "$ac_dir" || { ac_status=$?; continue; }
2035 # Check for guested configure.
2036 if test -f "$ac_srcdir/configure.gnu"; then
2037 echo &&
2038 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2039 elif test -f "$ac_srcdir/configure"; then
2040 echo &&
2041 $SHELL "$ac_srcdir/configure" --help=recursive
2042 else
2043 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2044 fi || ac_status=$?
2045 cd "$ac_pwd" || { ac_status=$?; break; }
2046 done
2047 fi
2048
2049 test -n "$ac_init_help" && exit $ac_status
2050 if $ac_init_version; then
2051 cat <<\_ACEOF
2052 wxWidgets configure 2.9.0
2053 generated by GNU Autoconf 2.61
2054
2055 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2056 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2057 This configure script is free software; the Free Software Foundation
2058 gives unlimited permission to copy, distribute and modify it.
2059 _ACEOF
2060 exit
2061 fi
2062 cat >config.log <<_ACEOF
2063 This file contains any messages produced by compilers while
2064 running configure, to aid debugging if configure makes a mistake.
2065
2066 It was created by wxWidgets $as_me 2.9.0, which was
2067 generated by GNU Autoconf 2.61. Invocation command line was
2068
2069 $ $0 $@
2070
2071 _ACEOF
2072 exec 5>>config.log
2073 {
2074 cat <<_ASUNAME
2075 ## --------- ##
2076 ## Platform. ##
2077 ## --------- ##
2078
2079 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2080 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2081 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2082 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2083 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2084
2085 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2086 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2087
2088 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2089 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2090 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2091 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2092 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2093 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2094 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2095
2096 _ASUNAME
2097
2098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2099 for as_dir in $PATH
2100 do
2101 IFS=$as_save_IFS
2102 test -z "$as_dir" && as_dir=.
2103 echo "PATH: $as_dir"
2104 done
2105 IFS=$as_save_IFS
2106
2107 } >&5
2108
2109 cat >&5 <<_ACEOF
2110
2111
2112 ## ----------- ##
2113 ## Core tests. ##
2114 ## ----------- ##
2115
2116 _ACEOF
2117
2118
2119 # Keep a trace of the command line.
2120 # Strip out --no-create and --no-recursion so they do not pile up.
2121 # Strip out --silent because we don't want to record it for future runs.
2122 # Also quote any args containing shell meta-characters.
2123 # Make two passes to allow for proper duplicate-argument suppression.
2124 ac_configure_args=
2125 ac_configure_args0=
2126 ac_configure_args1=
2127 ac_must_keep_next=false
2128 for ac_pass in 1 2
2129 do
2130 for ac_arg
2131 do
2132 case $ac_arg in
2133 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2134 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2135 | -silent | --silent | --silen | --sile | --sil)
2136 continue ;;
2137 *\'*)
2138 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2139 esac
2140 case $ac_pass in
2141 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2142 2)
2143 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2144 if test $ac_must_keep_next = true; then
2145 ac_must_keep_next=false # Got value, back to normal.
2146 else
2147 case $ac_arg in
2148 *=* | --config-cache | -C | -disable-* | --disable-* \
2149 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2150 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2151 | -with-* | --with-* | -without-* | --without-* | --x)
2152 case "$ac_configure_args0 " in
2153 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2154 esac
2155 ;;
2156 -* ) ac_must_keep_next=true ;;
2157 esac
2158 fi
2159 ac_configure_args="$ac_configure_args '$ac_arg'"
2160 ;;
2161 esac
2162 done
2163 done
2164 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2165 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2166
2167 # When interrupted or exit'd, cleanup temporary files, and complete
2168 # config.log. We remove comments because anyway the quotes in there
2169 # would cause problems or look ugly.
2170 # WARNING: Use '\'' to represent an apostrophe within the trap.
2171 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2172 trap 'exit_status=$?
2173 # Save into config.log some information that might help in debugging.
2174 {
2175 echo
2176
2177 cat <<\_ASBOX
2178 ## ---------------- ##
2179 ## Cache variables. ##
2180 ## ---------------- ##
2181 _ASBOX
2182 echo
2183 # The following way of writing the cache mishandles newlines in values,
2184 (
2185 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2186 eval ac_val=\$$ac_var
2187 case $ac_val in #(
2188 *${as_nl}*)
2189 case $ac_var in #(
2190 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2191 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2192 esac
2193 case $ac_var in #(
2194 _ | IFS | as_nl) ;; #(
2195 *) $as_unset $ac_var ;;
2196 esac ;;
2197 esac
2198 done
2199 (set) 2>&1 |
2200 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2201 *${as_nl}ac_space=\ *)
2202 sed -n \
2203 "s/'\''/'\''\\\\'\'''\''/g;
2204 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2205 ;; #(
2206 *)
2207 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2208 ;;
2209 esac |
2210 sort
2211 )
2212 echo
2213
2214 cat <<\_ASBOX
2215 ## ----------------- ##
2216 ## Output variables. ##
2217 ## ----------------- ##
2218 _ASBOX
2219 echo
2220 for ac_var in $ac_subst_vars
2221 do
2222 eval ac_val=\$$ac_var
2223 case $ac_val in
2224 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2225 esac
2226 echo "$ac_var='\''$ac_val'\''"
2227 done | sort
2228 echo
2229
2230 if test -n "$ac_subst_files"; then
2231 cat <<\_ASBOX
2232 ## ------------------- ##
2233 ## File substitutions. ##
2234 ## ------------------- ##
2235 _ASBOX
2236 echo
2237 for ac_var in $ac_subst_files
2238 do
2239 eval ac_val=\$$ac_var
2240 case $ac_val in
2241 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2242 esac
2243 echo "$ac_var='\''$ac_val'\''"
2244 done | sort
2245 echo
2246 fi
2247
2248 if test -s confdefs.h; then
2249 cat <<\_ASBOX
2250 ## ----------- ##
2251 ## confdefs.h. ##
2252 ## ----------- ##
2253 _ASBOX
2254 echo
2255 cat confdefs.h
2256 echo
2257 fi
2258 test "$ac_signal" != 0 &&
2259 echo "$as_me: caught signal $ac_signal"
2260 echo "$as_me: exit $exit_status"
2261 } >&5
2262 rm -f core *.core core.conftest.* &&
2263 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2264 exit $exit_status
2265 ' 0
2266 for ac_signal in 1 2 13 15; do
2267 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2268 done
2269 ac_signal=0
2270
2271 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2272 rm -f -r conftest* confdefs.h
2273
2274 # Predefined preprocessor variables.
2275
2276 cat >>confdefs.h <<_ACEOF
2277 #define PACKAGE_NAME "$PACKAGE_NAME"
2278 _ACEOF
2279
2280
2281 cat >>confdefs.h <<_ACEOF
2282 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2283 _ACEOF
2284
2285
2286 cat >>confdefs.h <<_ACEOF
2287 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2288 _ACEOF
2289
2290
2291 cat >>confdefs.h <<_ACEOF
2292 #define PACKAGE_STRING "$PACKAGE_STRING"
2293 _ACEOF
2294
2295
2296 cat >>confdefs.h <<_ACEOF
2297 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2298 _ACEOF
2299
2300
2301 # Let the site file select an alternate cache file if it wants to.
2302 # Prefer explicitly selected file to automatically selected ones.
2303 if test -n "$CONFIG_SITE"; then
2304 set x "$CONFIG_SITE"
2305 elif test "x$prefix" != xNONE; then
2306 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2307 else
2308 set x "$ac_default_prefix/share/config.site" \
2309 "$ac_default_prefix/etc/config.site"
2310 fi
2311 shift
2312 for ac_site_file
2313 do
2314 if test -r "$ac_site_file"; then
2315 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2316 echo "$as_me: loading site script $ac_site_file" >&6;}
2317 sed 's/^/| /' "$ac_site_file" >&5
2318 . "$ac_site_file"
2319 fi
2320 done
2321
2322 if test -r "$cache_file"; then
2323 # Some versions of bash will fail to source /dev/null (special
2324 # files actually), so we avoid doing that.
2325 if test -f "$cache_file"; then
2326 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2327 echo "$as_me: loading cache $cache_file" >&6;}
2328 case $cache_file in
2329 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2330 *) . "./$cache_file";;
2331 esac
2332 fi
2333 else
2334 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2335 echo "$as_me: creating cache $cache_file" >&6;}
2336 >$cache_file
2337 fi
2338
2339 # Check that the precious variables saved in the cache have kept the same
2340 # value.
2341 ac_cache_corrupted=false
2342 for ac_var in $ac_precious_vars; do
2343 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2344 eval ac_new_set=\$ac_env_${ac_var}_set
2345 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2346 eval ac_new_val=\$ac_env_${ac_var}_value
2347 case $ac_old_set,$ac_new_set in
2348 set,)
2349 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2350 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2351 ac_cache_corrupted=: ;;
2352 ,set)
2353 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2354 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2355 ac_cache_corrupted=: ;;
2356 ,);;
2357 *)
2358 if test "x$ac_old_val" != "x$ac_new_val"; then
2359 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2360 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2361 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2362 echo "$as_me: former value: $ac_old_val" >&2;}
2363 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2364 echo "$as_me: current value: $ac_new_val" >&2;}
2365 ac_cache_corrupted=:
2366 fi;;
2367 esac
2368 # Pass precious variables to config.status.
2369 if test "$ac_new_set" = set; then
2370 case $ac_new_val in
2371 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2372 *) ac_arg=$ac_var=$ac_new_val ;;
2373 esac
2374 case " $ac_configure_args " in
2375 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2376 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2377 esac
2378 fi
2379 done
2380 if $ac_cache_corrupted; then
2381 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2382 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2383 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2384 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2385 { (exit 1); exit 1; }; }
2386 fi
2387
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 ac_ext=c
2413 ac_cpp='$CPP $CPPFLAGS'
2414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2417
2418
2419
2420
2421
2422 ac_aux_dir=
2423 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2424 if test -f "$ac_dir/install-sh"; then
2425 ac_aux_dir=$ac_dir
2426 ac_install_sh="$ac_aux_dir/install-sh -c"
2427 break
2428 elif test -f "$ac_dir/install.sh"; then
2429 ac_aux_dir=$ac_dir
2430 ac_install_sh="$ac_aux_dir/install.sh -c"
2431 break
2432 elif test -f "$ac_dir/shtool"; then
2433 ac_aux_dir=$ac_dir
2434 ac_install_sh="$ac_aux_dir/shtool install -c"
2435 break
2436 fi
2437 done
2438 if test -z "$ac_aux_dir"; then
2439 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2440 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2441 { (exit 1); exit 1; }; }
2442 fi
2443
2444 # These three variables are undocumented and unsupported,
2445 # and are intended to be withdrawn in a future Autoconf release.
2446 # They can cause serious problems if a builder's source tree is in a directory
2447 # whose full name contains unusual characters.
2448 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2449 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2450 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2451
2452
2453 # Make sure we can run config.sub.
2454 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2455 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2456 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2457 { (exit 1); exit 1; }; }
2458
2459 { echo "$as_me:$LINENO: checking build system type" >&5
2460 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2461 if test "${ac_cv_build+set}" = set; then
2462 echo $ECHO_N "(cached) $ECHO_C" >&6
2463 else
2464 ac_build_alias=$build_alias
2465 test "x$ac_build_alias" = x &&
2466 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2467 test "x$ac_build_alias" = x &&
2468 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2469 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2470 { (exit 1); exit 1; }; }
2471 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2472 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2473 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2474 { (exit 1); exit 1; }; }
2475
2476 fi
2477 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2478 echo "${ECHO_T}$ac_cv_build" >&6; }
2479 case $ac_cv_build in
2480 *-*-*) ;;
2481 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2482 echo "$as_me: error: invalid value of canonical build" >&2;}
2483 { (exit 1); exit 1; }; };;
2484 esac
2485 build=$ac_cv_build
2486 ac_save_IFS=$IFS; IFS='-'
2487 set x $ac_cv_build
2488 shift
2489 build_cpu=$1
2490 build_vendor=$2
2491 shift; shift
2492 # Remember, the first character of IFS is used to create $*,
2493 # except with old shells:
2494 build_os=$*
2495 IFS=$ac_save_IFS
2496 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2497
2498
2499 { echo "$as_me:$LINENO: checking host system type" >&5
2500 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2501 if test "${ac_cv_host+set}" = set; then
2502 echo $ECHO_N "(cached) $ECHO_C" >&6
2503 else
2504 if test "x$host_alias" = x; then
2505 ac_cv_host=$ac_cv_build
2506 else
2507 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2508 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2509 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2510 { (exit 1); exit 1; }; }
2511 fi
2512
2513 fi
2514 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2515 echo "${ECHO_T}$ac_cv_host" >&6; }
2516 case $ac_cv_host in
2517 *-*-*) ;;
2518 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2519 echo "$as_me: error: invalid value of canonical host" >&2;}
2520 { (exit 1); exit 1; }; };;
2521 esac
2522 host=$ac_cv_host
2523 ac_save_IFS=$IFS; IFS='-'
2524 set x $ac_cv_host
2525 shift
2526 host_cpu=$1
2527 host_vendor=$2
2528 shift; shift
2529 # Remember, the first character of IFS is used to create $*,
2530 # except with old shells:
2531 host_os=$*
2532 IFS=$ac_save_IFS
2533 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2534
2535
2536
2537
2538
2539 wx_major_version_number=2
2540 wx_minor_version_number=9
2541 wx_release_number=0
2542 wx_subrelease_number=0
2543
2544 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2545 WX_VERSION=$WX_RELEASE.$wx_release_number
2546 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2547
2548 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2549
2550
2551 wx_top_builddir="`pwd`"
2552
2553
2554
2555
2556 USE_UNIX=1
2557 USE_OS2=0
2558 USE_WIN32=0
2559 USE_DOS=0
2560 USE_BEOS=0
2561 USE_MAC=0
2562
2563 USE_AIX=
2564 USE_BSD= USE_DARWIN= USE_FREEBSD=
2565 USE_GNU= USE_HPUX=
2566 USE_LINUX=
2567 USE_NETBSD=
2568 USE_OPENBSD=
2569 USE_OSF= USE_SGI=
2570 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2571 USE_ULTRIX=
2572 USE_UNIXWARE=
2573
2574 USE_ALPHA=
2575
2576 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2577
2578 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2579
2580 DEFAULT_wxUSE_COCOA=0
2581 DEFAULT_wxUSE_GTK=0
2582 DEFAULT_wxUSE_OSX_CARBON=0
2583 DEFAULT_wxUSE_OSX_COCOA=0
2584 DEFAULT_wxUSE_MGL=0
2585 DEFAULT_wxUSE_MICROWIN=0
2586 DEFAULT_wxUSE_MOTIF=0
2587 DEFAULT_wxUSE_MSW=0
2588 DEFAULT_wxUSE_PM=0
2589 DEFAULT_wxUSE_X11=0
2590 DEFAULT_wxUSE_DFB=0
2591
2592 DEFAULT_DEFAULT_wxUSE_COCOA=0
2593 DEFAULT_DEFAULT_wxUSE_GTK=0
2594 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2595 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2596 DEFAULT_DEFAULT_wxUSE_MGL=0
2597 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2598 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2599 DEFAULT_DEFAULT_wxUSE_MSW=0
2600 DEFAULT_DEFAULT_wxUSE_PM=0
2601 DEFAULT_DEFAULT_wxUSE_X11=0
2602 DEFAULT_DEFAULT_wxUSE_DFB=0
2603
2604 PROGRAM_EXT=
2605 SAMPLES_RPATH_FLAG=
2606 SAMPLES_RPATH_POSTLINK=
2607
2608 DEFAULT_STD_FLAG=yes
2609
2610 case "${host}" in
2611 *-hp-hpux* )
2612 USE_HPUX=1
2613 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2614 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2615 cat >>confdefs.h <<\_ACEOF
2616 #define __HPUX__ 1
2617 _ACEOF
2618
2619
2620 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2621 ;;
2622 *-*-linux* )
2623 USE_LINUX=1
2624 cat >>confdefs.h <<\_ACEOF
2625 #define __LINUX__ 1
2626 _ACEOF
2627
2628 TMP=`uname -m`
2629 if test "x$TMP" = "xalpha"; then
2630 USE_ALPHA=1
2631 cat >>confdefs.h <<\_ACEOF
2632 #define __ALPHA__ 1
2633 _ACEOF
2634
2635 fi
2636 DEFAULT_DEFAULT_wxUSE_GTK=1
2637 ;;
2638 *-*-gnu* | *-*-k*bsd*-gnu )
2639 USE_GNU=1
2640 TMP=`uname -m`
2641 if test "x$TMP" = "xalpha"; then
2642 USE_ALPHA=1
2643 cat >>confdefs.h <<\_ACEOF
2644 #define __ALPHA__ 1
2645 _ACEOF
2646
2647 fi
2648 DEFAULT_DEFAULT_wxUSE_GTK=1
2649 ;;
2650 *-*-irix5* | *-*-irix6* )
2651 USE_SGI=1
2652 USE_SVR4=1
2653 cat >>confdefs.h <<\_ACEOF
2654 #define __SGI__ 1
2655 _ACEOF
2656
2657 cat >>confdefs.h <<\_ACEOF
2658 #define __SVR4__ 1
2659 _ACEOF
2660
2661 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2662 ;;
2663 *-*-solaris2* )
2664 USE_SUN=1
2665 USE_SOLARIS=1
2666 USE_SVR4=1
2667 cat >>confdefs.h <<\_ACEOF
2668 #define __SUN__ 1
2669 _ACEOF
2670
2671 cat >>confdefs.h <<\_ACEOF
2672 #define __SOLARIS__ 1
2673 _ACEOF
2674
2675 cat >>confdefs.h <<\_ACEOF
2676 #define __SVR4__ 1
2677 _ACEOF
2678
2679 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2680 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2681 ;;
2682 *-*-sunos4* )
2683 USE_SUN=1
2684 USE_SUNOS=1
2685 USE_BSD=1
2686 cat >>confdefs.h <<\_ACEOF
2687 #define __SUN__ 1
2688 _ACEOF
2689
2690 cat >>confdefs.h <<\_ACEOF
2691 #define __SUNOS__ 1
2692 _ACEOF
2693
2694 cat >>confdefs.h <<\_ACEOF
2695 #define __BSD__ 1
2696 _ACEOF
2697
2698 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2699 ;;
2700 *-*-freebsd*)
2701 USE_BSD=1
2702 USE_FREEBSD=1
2703 cat >>confdefs.h <<\_ACEOF
2704 #define __FREEBSD__ 1
2705 _ACEOF
2706
2707 cat >>confdefs.h <<\_ACEOF
2708 #define __BSD__ 1
2709 _ACEOF
2710
2711 DEFAULT_DEFAULT_wxUSE_GTK=1
2712 ;;
2713 *-*-openbsd*|*-*-mirbsd*)
2714 USE_BSD=1
2715 USE_OPENBSD=1
2716 cat >>confdefs.h <<\_ACEOF
2717 #define __OPENBSD__ 1
2718 _ACEOF
2719
2720 cat >>confdefs.h <<\_ACEOF
2721 #define __BSD__ 1
2722 _ACEOF
2723
2724 DEFAULT_DEFAULT_wxUSE_GTK=1
2725 ;;
2726 *-*-netbsd*)
2727 USE_BSD=1
2728 USE_NETBSD=1
2729 cat >>confdefs.h <<\_ACEOF
2730 #define __NETBSD__ 1
2731 _ACEOF
2732
2733 cat >>confdefs.h <<\_ACEOF
2734 #define __BSD__ 1
2735 _ACEOF
2736
2737 DEFAULT_DEFAULT_wxUSE_GTK=1
2738 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2739
2740 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2741 ;;
2742 *-*-osf* )
2743 USE_ALPHA=1
2744 USE_OSF=1
2745 cat >>confdefs.h <<\_ACEOF
2746 #define __ALPHA__ 1
2747 _ACEOF
2748
2749 cat >>confdefs.h <<\_ACEOF
2750 #define __OSF__ 1
2751 _ACEOF
2752
2753 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2754 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2755 ;;
2756 *-*-dgux5* )
2757 USE_ALPHA=1
2758 USE_SVR4=1
2759 cat >>confdefs.h <<\_ACEOF
2760 #define __ALPHA__ 1
2761 _ACEOF
2762
2763 cat >>confdefs.h <<\_ACEOF
2764 #define __SVR4__ 1
2765 _ACEOF
2766
2767 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2768 ;;
2769 *-*-sysv5* )
2770 USE_SYSV=1
2771 USE_SVR4=1
2772 cat >>confdefs.h <<\_ACEOF
2773 #define __SYSV__ 1
2774 _ACEOF
2775
2776 cat >>confdefs.h <<\_ACEOF
2777 #define __SVR4__ 1
2778 _ACEOF
2779
2780 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2781 ;;
2782 *-*-aix* )
2783 USE_AIX=1
2784 USE_SYSV=1
2785 USE_SVR4=1
2786 cat >>confdefs.h <<\_ACEOF
2787 #define __AIX__ 1
2788 _ACEOF
2789
2790 cat >>confdefs.h <<\_ACEOF
2791 #define __SYSV__ 1
2792 _ACEOF
2793
2794 cat >>confdefs.h <<\_ACEOF
2795 #define __SVR4__ 1
2796 _ACEOF
2797
2798 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2799 ;;
2800
2801 *-*-*UnixWare*)
2802 USE_SYSV=1
2803 USE_SVR4=1
2804 USE_UNIXWARE=1
2805 cat >>confdefs.h <<\_ACEOF
2806 #define __UNIXWARE__ 1
2807 _ACEOF
2808
2809 ;;
2810
2811 *-*-cygwin* | *-*-mingw32* )
2812 PROGRAM_EXT=".exe"
2813 DEFAULT_DEFAULT_wxUSE_MSW=1
2814 ;;
2815
2816 *-pc-msdosdjgpp )
2817 USE_UNIX=0
2818 USE_DOS=1
2819 cat >>confdefs.h <<\_ACEOF
2820 #define __DOS__ 1
2821 _ACEOF
2822
2823 PROGRAM_EXT=".exe"
2824 DEFAULT_DEFAULT_wxUSE_MGL=1
2825 ;;
2826
2827 *-pc-os2_emx | *-pc-os2-emx )
2828 cat >>confdefs.h <<\_ACEOF
2829 #define __EMX__ 1
2830 _ACEOF
2831
2832 USE_OS2=1
2833 cat >>confdefs.h <<\_ACEOF
2834 #define __OS2__ 1
2835 _ACEOF
2836
2837 PROGRAM_EXT=".exe"
2838 DEFAULT_DEFAULT_wxUSE_PM=1
2839 CXX=gcc
2840 LDFLAGS="$LDFLAGS -Zcrtdll"
2841 ac_executable_extensions=".exe"
2842 export ac_executable_extensions
2843 ac_save_IFS="$IFS"
2844 IFS='\\'
2845 ac_TEMP_PATH=
2846 for ac_dir in $PATH; do
2847 IFS=$ac_save_IFS
2848 if test -z "$ac_TEMP_PATH"; then
2849 ac_TEMP_PATH="$ac_dir"
2850 else
2851 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2852 fi
2853 done
2854 export PATH="$ac_TEMP_PATH"
2855 unset ac_TEMP_PATH
2856 DEFAULT_STD_FLAG=no
2857 ;;
2858
2859 *-*-darwin* )
2860 USE_BSD=1
2861 USE_DARWIN=1
2862 cat >>confdefs.h <<\_ACEOF
2863 #define __BSD__ 1
2864 _ACEOF
2865
2866 cat >>confdefs.h <<\_ACEOF
2867 #define __DARWIN__ 1
2868 _ACEOF
2869
2870 cat >>confdefs.h <<\_ACEOF
2871 #define TARGET_CARBON 1
2872 _ACEOF
2873
2874 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2875 DEFAULT_STD_FLAG=no
2876 ;;
2877 powerpc-apple-macos* )
2878 USE_UNIX=0
2879 ac_cv_c_bigendian=yes
2880 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2881 DEFAULT_STD_FLAG=no
2882 ;;
2883
2884 *-*-beos* )
2885 USE_BEOS=1
2886 cat >>confdefs.h <<\_ACEOF
2887 #define __BEOS__ 1
2888 _ACEOF
2889
2890 ;;
2891
2892 *)
2893 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2894 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2895 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2896 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2897
2898 DEFAULT_DEFAULT_wxUSE_X11=1
2899 DEFAULT_wxUSE_SHARED=no
2900 esac
2901
2902
2903
2904 DEFAULT_wxUSE_ALL_FEATURES=yes
2905
2906 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2907 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2908
2909 DEFAULT_wxUSE_DMALLOC=no
2910 DEFAULT_wxUSE_LIBGNOMEVFS=no
2911 DEFAULT_wxUSE_LIBHILDON=no
2912 DEFAULT_wxUSE_LIBMSPACK=no
2913 DEFAULT_wxUSE_LIBSDL=no
2914
2915 DEFAULT_wxUSE_ACCESSIBILITY=no
2916 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2917 DEFAULT_wxUSE_IPV6=no
2918 DEFAULT_wxUSE_GSTREAMER8=no
2919
2920 DEFAULT_wxUSE_UNICODE_UTF8=auto
2921 DEFAULT_wxUSE_OPENGL=auto
2922 DEFAULT_wxUSE_MEDIACTRL=auto
2923
2924 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2925
2926 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2927
2928 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2929
2930 DEFAULT_wxUSE_GTK2=yes
2931
2932 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2933
2934
2935
2936
2937
2938 enablestring=disable
2939 defaultval=
2940 if test -z "$defaultval"; then
2941 if test x"$enablestring" = xdisable; then
2942 defaultval=yes
2943 else
2944 defaultval=no
2945 fi
2946 fi
2947
2948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2949 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2950 # Check whether --enable-gui was given.
2951 if test "${enable_gui+set}" = set; then
2952 enableval=$enable_gui;
2953 if test "$enableval" = yes; then
2954 wx_cv_use_gui='wxUSE_GUI=yes'
2955 else
2956 wx_cv_use_gui='wxUSE_GUI=no'
2957 fi
2958
2959 else
2960
2961 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2962
2963 fi
2964
2965
2966 eval "$wx_cv_use_gui"
2967
2968 if test x"$enablestring" = xdisable; then
2969 if test $wxUSE_GUI = yes; then
2970 result=no
2971 else
2972 result=yes
2973 fi
2974 else
2975 result=$wxUSE_GUI
2976 fi
2977
2978 { echo "$as_me:$LINENO: result: $result" >&5
2979 echo "${ECHO_T}$result" >&6; }
2980
2981
2982 enablestring=
2983 defaultval=
2984 if test -z "$defaultval"; then
2985 if test x"$enablestring" = xdisable; then
2986 defaultval=yes
2987 else
2988 defaultval=no
2989 fi
2990 fi
2991
2992 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2993 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
2994 # Check whether --enable-monolithic was given.
2995 if test "${enable_monolithic+set}" = set; then
2996 enableval=$enable_monolithic;
2997 if test "$enableval" = yes; then
2998 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2999 else
3000 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3001 fi
3002
3003 else
3004
3005 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3006
3007 fi
3008
3009
3010 eval "$wx_cv_use_monolithic"
3011
3012 if test x"$enablestring" = xdisable; then
3013 if test $wxUSE_MONOLITHIC = yes; then
3014 result=no
3015 else
3016 result=yes
3017 fi
3018 else
3019 result=$wxUSE_MONOLITHIC
3020 fi
3021
3022 { echo "$as_me:$LINENO: result: $result" >&5
3023 echo "${ECHO_T}$result" >&6; }
3024
3025
3026 enablestring=
3027 defaultval=
3028 if test -z "$defaultval"; then
3029 if test x"$enablestring" = xdisable; then
3030 defaultval=yes
3031 else
3032 defaultval=no
3033 fi
3034 fi
3035
3036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3037 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3038 # Check whether --enable-plugins was given.
3039 if test "${enable_plugins+set}" = set; then
3040 enableval=$enable_plugins;
3041 if test "$enableval" = yes; then
3042 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3043 else
3044 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3045 fi
3046
3047 else
3048
3049 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3050
3051 fi
3052
3053
3054 eval "$wx_cv_use_plugins"
3055
3056 if test x"$enablestring" = xdisable; then
3057 if test $wxUSE_PLUGINS = yes; then
3058 result=no
3059 else
3060 result=yes
3061 fi
3062 else
3063 result=$wxUSE_PLUGINS
3064 fi
3065
3066 { echo "$as_me:$LINENO: result: $result" >&5
3067 echo "${ECHO_T}$result" >&6; }
3068
3069
3070 withstring=without
3071 defaultval=$wxUSE_ALL_FEATURES
3072 if test -z "$defaultval"; then
3073 if test x"$withstring" = xwithout; then
3074 defaultval=yes
3075 else
3076 defaultval=no
3077 fi
3078 fi
3079 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3080 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3081
3082 # Check whether --with-subdirs was given.
3083 if test "${with_subdirs+set}" = set; then
3084 withval=$with_subdirs;
3085 if test "$withval" = yes; then
3086 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3087 else
3088 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3089 fi
3090
3091 else
3092
3093 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3094
3095 fi
3096
3097
3098 eval "$wx_cv_use_subdirs"
3099
3100 if test x"$withstring" = xwithout; then
3101 if test $wxWITH_SUBDIRS = yes; then
3102 result=no
3103 else
3104 result=yes
3105 fi
3106 else
3107 result=$wxWITH_SUBDIRS
3108 fi
3109
3110 { echo "$as_me:$LINENO: result: $result" >&5
3111 echo "${ECHO_T}$result" >&6; }
3112
3113
3114 # Check whether --with-flavour was given.
3115 if test "${with_flavour+set}" = set; then
3116 withval=$with_flavour; WX_FLAVOUR="$withval"
3117 fi
3118
3119
3120 enablestring=
3121 defaultval=
3122 if test -z "$defaultval"; then
3123 if test x"$enablestring" = xdisable; then
3124 defaultval=yes
3125 else
3126 defaultval=no
3127 fi
3128 fi
3129
3130 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3131 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3132 # Check whether --enable-official_build was given.
3133 if test "${enable_official_build+set}" = set; then
3134 enableval=$enable_official_build;
3135 if test "$enableval" = yes; then
3136 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3137 else
3138 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3139 fi
3140
3141 else
3142
3143 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3144
3145 fi
3146
3147
3148 eval "$wx_cv_use_official_build"
3149
3150 if test x"$enablestring" = xdisable; then
3151 if test $wxUSE_OFFICIAL_BUILD = yes; then
3152 result=no
3153 else
3154 result=yes
3155 fi
3156 else
3157 result=$wxUSE_OFFICIAL_BUILD
3158 fi
3159
3160 { echo "$as_me:$LINENO: result: $result" >&5
3161 echo "${ECHO_T}$result" >&6; }
3162
3163 # Check whether --enable-vendor was given.
3164 if test "${enable_vendor+set}" = set; then
3165 enableval=$enable_vendor; VENDOR="$enableval"
3166 fi
3167
3168 if test "x$VENDOR" = "x"; then
3169 VENDOR="custom"
3170 fi
3171
3172
3173 enablestring=disable
3174 defaultval=
3175 if test -z "$defaultval"; then
3176 if test x"$enablestring" = xdisable; then
3177 defaultval=yes
3178 else
3179 defaultval=no
3180 fi
3181 fi
3182
3183 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3184 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3185 # Check whether --enable-all-features was given.
3186 if test "${enable_all_features+set}" = set; then
3187 enableval=$enable_all_features;
3188 if test "$enableval" = yes; then
3189 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3190 else
3191 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3192 fi
3193
3194 else
3195
3196 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3197
3198 fi
3199
3200
3201 eval "$wx_cv_use_all_features"
3202
3203 if test x"$enablestring" = xdisable; then
3204 if test $wxUSE_ALL_FEATURES = yes; then
3205 result=no
3206 else
3207 result=yes
3208 fi
3209 else
3210 result=$wxUSE_ALL_FEATURES
3211 fi
3212
3213 { echo "$as_me:$LINENO: result: $result" >&5
3214 echo "${ECHO_T}$result" >&6; }
3215
3216
3217
3218 if test "$wxUSE_GUI" = "yes"; then
3219
3220
3221 enablestring=
3222 defaultval=
3223 if test -z "$defaultval"; then
3224 if test x"$enablestring" = xdisable; then
3225 defaultval=yes
3226 else
3227 defaultval=no
3228 fi
3229 fi
3230
3231 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3232 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3233 # Check whether --enable-universal was given.
3234 if test "${enable_universal+set}" = set; then
3235 enableval=$enable_universal;
3236 if test "$enableval" = yes; then
3237 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3238 else
3239 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3240 fi
3241
3242 else
3243
3244 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3245
3246 fi
3247
3248
3249 eval "$wx_cv_use_universal"
3250
3251 if test x"$enablestring" = xdisable; then
3252 if test $wxUSE_UNIVERSAL = yes; then
3253 result=no
3254 else
3255 result=yes
3256 fi
3257 else
3258 result=$wxUSE_UNIVERSAL
3259 fi
3260
3261 { echo "$as_me:$LINENO: result: $result" >&5
3262 echo "${ECHO_T}$result" >&6; }
3263
3264 if test "$wxUSE_UNIVERSAL" = "yes"; then
3265
3266 # Check whether --with-themes was given.
3267 if test "${with_themes+set}" = set; then
3268 withval=$with_themes; wxUNIV_THEMES="$withval"
3269 fi
3270
3271 fi
3272
3273
3274 # Check whether --with-gtk was given.
3275 if test "${with_gtk+set}" = set; then
3276 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3277 fi
3278
3279
3280 # Check whether --with-motif was given.
3281 if test "${with_motif+set}" = set; then
3282 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3283 fi
3284
3285
3286 # Check whether --with-osx_carbon was given.
3287 if test "${with_osx_carbon+set}" = set; then
3288 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3289 fi
3290
3291
3292 # Check whether --with-osx_cocoa was given.
3293 if test "${with_osx_cocoa+set}" = set; then
3294 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3295 fi
3296
3297
3298 # Check whether --with-mac was given.
3299 if test "${with_mac+set}" = set; then
3300 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3301 fi
3302
3303
3304 # Check whether --with-cocoa was given.
3305 if test "${with_cocoa+set}" = set; then
3306 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3307 fi
3308
3309
3310 # Check whether --with-wine was given.
3311 if test "${with_wine+set}" = set; then
3312 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3313 fi
3314
3315
3316 # Check whether --with-msw was given.
3317 if test "${with_msw+set}" = set; then
3318 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3319 fi
3320
3321
3322 # Check whether --with-pm was given.
3323 if test "${with_pm+set}" = set; then
3324 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3325 fi
3326
3327
3328 # Check whether --with-mgl was given.
3329 if test "${with_mgl+set}" = set; then
3330 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3331 fi
3332
3333
3334 # Check whether --with-directfb was given.
3335 if test "${with_directfb+set}" = set; then
3336 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3337 fi
3338
3339
3340 # Check whether --with-microwin was given.
3341 if test "${with_microwin+set}" = set; then
3342 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3343 fi
3344
3345
3346 # Check whether --with-x11 was given.
3347 if test "${with_x11+set}" = set; then
3348 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3349 fi
3350
3351
3352 enablestring=
3353 defaultval=
3354 if test -z "$defaultval"; then
3355 if test x"$enablestring" = xdisable; then
3356 defaultval=yes
3357 else
3358 defaultval=no
3359 fi
3360 fi
3361
3362 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3363 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3364 # Check whether --enable-nanox was given.
3365 if test "${enable_nanox+set}" = set; then
3366 enableval=$enable_nanox;
3367 if test "$enableval" = yes; then
3368 wx_cv_use_nanox='wxUSE_NANOX=yes'
3369 else
3370 wx_cv_use_nanox='wxUSE_NANOX=no'
3371 fi
3372
3373 else
3374
3375 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3376
3377 fi
3378
3379
3380 eval "$wx_cv_use_nanox"
3381
3382 if test x"$enablestring" = xdisable; then
3383 if test $wxUSE_NANOX = yes; then
3384 result=no
3385 else
3386 result=yes
3387 fi
3388 else
3389 result=$wxUSE_NANOX
3390 fi
3391
3392 { echo "$as_me:$LINENO: result: $result" >&5
3393 echo "${ECHO_T}$result" >&6; }
3394
3395
3396 # Check whether --enable-gtk2 was given.
3397 if test "${enable_gtk2+set}" = set; then
3398 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3399 fi
3400
3401
3402 enablestring=
3403 defaultval=
3404 if test -z "$defaultval"; then
3405 if test x"$enablestring" = xdisable; then
3406 defaultval=yes
3407 else
3408 defaultval=no
3409 fi
3410 fi
3411
3412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3413 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3414 # Check whether --enable-gpe was given.
3415 if test "${enable_gpe+set}" = set; then
3416 enableval=$enable_gpe;
3417 if test "$enableval" = yes; then
3418 wx_cv_use_gpe='wxUSE_GPE=yes'
3419 else
3420 wx_cv_use_gpe='wxUSE_GPE=no'
3421 fi
3422
3423 else
3424
3425 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3426
3427 fi
3428
3429
3430 eval "$wx_cv_use_gpe"
3431
3432 if test x"$enablestring" = xdisable; then
3433 if test $wxUSE_GPE = yes; then
3434 result=no
3435 else
3436 result=yes
3437 fi
3438 else
3439 result=$wxUSE_GPE
3440 fi
3441
3442 { echo "$as_me:$LINENO: result: $result" >&5
3443 echo "${ECHO_T}$result" >&6; }
3444
3445
3446
3447 { echo "$as_me:$LINENO: checking for toolkit" >&5
3448 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3449
3450
3451
3452 # In Wine, we need to default to MSW, not GTK or MOTIF
3453 if test "$wxUSE_WINE" = "yes"; then
3454 DEFAULT_DEFAULT_wxUSE_GTK=0
3455 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3456 DEFAULT_DEFAULT_wxUSE_MSW=1
3457 wxUSE_SHARED=no
3458 CC=${CC:-winegcc}
3459 CXX=${CXX:-wineg++}
3460 fi
3461
3462
3463 if test "$wxUSE_GUI" = "yes"; then
3464
3465 if test "$USE_BEOS" = 1; then
3466 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3467 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3468 { (exit 1); exit 1; }; }
3469 fi
3470
3471 if test "$TOOLKIT_GIVEN" = 1; then
3472 for toolkit in $ALL_TOOLKITS; do
3473 var=wxUSE_$toolkit
3474 eval "value=\$${var}"
3475 if test "x$value" = "xno"; then
3476 eval "$var=0"
3477 elif test "x$value" != "x"; then
3478 eval "$var=1"
3479 fi
3480
3481 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3482 eval "wx${toolkit}_VERSION=$value"
3483 fi
3484 done
3485 else
3486 for toolkit in $ALL_TOOLKITS; do
3487 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3488 eval "wxUSE_$toolkit=\$${var}"
3489 done
3490 fi
3491
3492 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3493 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3494 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3495
3496 case "${host}" in
3497 *-pc-os2_emx | *-pc-os2-emx )
3498 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3499 esac
3500
3501 case "$NUM_TOOLKITS" in
3502 1)
3503 ;;
3504 0)
3505 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3506 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3507 { (exit 1); exit 1; }; }
3508 ;;
3509 *)
3510 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3511 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3512 { (exit 1); exit 1; }; }
3513 esac
3514
3515 # to be removed when --disable-gtk2 isn't needed
3516 if test "x$wxUSE_GTK2" = "xyes"; then
3517 wxGTK_VERSION=2
3518 elif test "x$wxUSE_GTK2" = "xno"; then
3519 wxGTK_VERSION=1
3520 fi
3521
3522 for toolkit in $ALL_TOOLKITS; do
3523 var=wxUSE_$toolkit
3524 eval "value=\$${var}"
3525 if test "$value" = 1; then
3526 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3527 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3528 echo "${ECHO_T}$toolkit_echo" >&6; }
3529 fi
3530 done
3531 else
3532 if test "x$host_alias" != "x"; then
3533 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3534 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3535 else
3536 { echo "$as_me:$LINENO: result: base only" >&5
3537 echo "${ECHO_T}base only" >&6; }
3538 fi
3539 fi
3540
3541 wxUSE_MAC=0
3542 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3543 wxUSE_MAC=1
3544 fi
3545
3546
3547
3548 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3549 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3550
3551 # Check whether --with-libpng was given.
3552 if test "${with_libpng+set}" = set; then
3553 withval=$with_libpng;
3554 if test "$withval" = yes; then
3555 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3556 elif test "$withval" = no; then
3557 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3558 elif test "$withval" = sys; then
3559 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3560 elif test "$withval" = builtin; then
3561 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3562 else
3563 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3564 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3565 { (exit 1); exit 1; }; }
3566 fi
3567
3568 else
3569
3570 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3571
3572 fi
3573
3574
3575 eval "$wx_cv_use_libpng"
3576
3577 if test "$wxUSE_LIBPNG" = yes; then
3578 { echo "$as_me:$LINENO: result: yes" >&5
3579 echo "${ECHO_T}yes" >&6; }
3580 elif test "$wxUSE_LIBPNG" = no; then
3581 { echo "$as_me:$LINENO: result: no" >&5
3582 echo "${ECHO_T}no" >&6; }
3583 elif test "$wxUSE_LIBPNG" = sys; then
3584 { echo "$as_me:$LINENO: result: system version" >&5
3585 echo "${ECHO_T}system version" >&6; }
3586 elif test "$wxUSE_LIBPNG" = builtin; then
3587 { echo "$as_me:$LINENO: result: builtin version" >&5
3588 echo "${ECHO_T}builtin version" >&6; }
3589 else
3590 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3591 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3592 { (exit 1); exit 1; }; }
3593 fi
3594
3595
3596 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3597 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3598
3599 # Check whether --with-libjpeg was given.
3600 if test "${with_libjpeg+set}" = set; then
3601 withval=$with_libjpeg;
3602 if test "$withval" = yes; then
3603 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3604 elif test "$withval" = no; then
3605 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3606 elif test "$withval" = sys; then
3607 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3608 elif test "$withval" = builtin; then
3609 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3610 else
3611 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3612 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3613 { (exit 1); exit 1; }; }
3614 fi
3615
3616 else
3617
3618 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3619
3620 fi
3621
3622
3623 eval "$wx_cv_use_libjpeg"
3624
3625 if test "$wxUSE_LIBJPEG" = yes; then
3626 { echo "$as_me:$LINENO: result: yes" >&5
3627 echo "${ECHO_T}yes" >&6; }
3628 elif test "$wxUSE_LIBJPEG" = no; then
3629 { echo "$as_me:$LINENO: result: no" >&5
3630 echo "${ECHO_T}no" >&6; }
3631 elif test "$wxUSE_LIBJPEG" = sys; then
3632 { echo "$as_me:$LINENO: result: system version" >&5
3633 echo "${ECHO_T}system version" >&6; }
3634 elif test "$wxUSE_LIBJPEG" = builtin; then
3635 { echo "$as_me:$LINENO: result: builtin version" >&5
3636 echo "${ECHO_T}builtin version" >&6; }
3637 else
3638 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3639 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3640 { (exit 1); exit 1; }; }
3641 fi
3642
3643
3644 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3645 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3646
3647 # Check whether --with-libtiff was given.
3648 if test "${with_libtiff+set}" = set; then
3649 withval=$with_libtiff;
3650 if test "$withval" = yes; then
3651 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3652 elif test "$withval" = no; then
3653 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3654 elif test "$withval" = sys; then
3655 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3656 elif test "$withval" = builtin; then
3657 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3658 else
3659 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3660 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3661 { (exit 1); exit 1; }; }
3662 fi
3663
3664 else
3665
3666 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3667
3668 fi
3669
3670
3671 eval "$wx_cv_use_libtiff"
3672
3673 if test "$wxUSE_LIBTIFF" = yes; then
3674 { echo "$as_me:$LINENO: result: yes" >&5
3675 echo "${ECHO_T}yes" >&6; }
3676 elif test "$wxUSE_LIBTIFF" = no; then
3677 { echo "$as_me:$LINENO: result: no" >&5
3678 echo "${ECHO_T}no" >&6; }
3679 elif test "$wxUSE_LIBTIFF" = sys; then
3680 { echo "$as_me:$LINENO: result: system version" >&5
3681 echo "${ECHO_T}system version" >&6; }
3682 elif test "$wxUSE_LIBTIFF" = builtin; then
3683 { echo "$as_me:$LINENO: result: builtin version" >&5
3684 echo "${ECHO_T}builtin version" >&6; }
3685 else
3686 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3687 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3688 { (exit 1); exit 1; }; }
3689 fi
3690
3691
3692 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3693 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3694
3695 # Check whether --with-libxpm was given.
3696 if test "${with_libxpm+set}" = set; then
3697 withval=$with_libxpm;
3698 if test "$withval" = yes; then
3699 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3700 elif test "$withval" = no; then
3701 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3702 elif test "$withval" = sys; then
3703 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3704 elif test "$withval" = builtin; then
3705 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3706 else
3707 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3708 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3709 { (exit 1); exit 1; }; }
3710 fi
3711
3712 else
3713
3714 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3715
3716 fi
3717
3718
3719 eval "$wx_cv_use_libxpm"
3720
3721 if test "$wxUSE_LIBXPM" = yes; then
3722 { echo "$as_me:$LINENO: result: yes" >&5
3723 echo "${ECHO_T}yes" >&6; }
3724 elif test "$wxUSE_LIBXPM" = no; then
3725 { echo "$as_me:$LINENO: result: no" >&5
3726 echo "${ECHO_T}no" >&6; }
3727 elif test "$wxUSE_LIBXPM" = sys; then
3728 { echo "$as_me:$LINENO: result: system version" >&5
3729 echo "${ECHO_T}system version" >&6; }
3730 elif test "$wxUSE_LIBXPM" = builtin; then
3731 { echo "$as_me:$LINENO: result: builtin version" >&5
3732 echo "${ECHO_T}builtin version" >&6; }
3733 else
3734 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3735 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3736 { (exit 1); exit 1; }; }
3737 fi
3738
3739
3740 withstring=
3741 defaultval=$wxUSE_ALL_FEATURES
3742 if test -z "$defaultval"; then
3743 if test x"$withstring" = xwithout; then
3744 defaultval=yes
3745 else
3746 defaultval=no
3747 fi
3748 fi
3749 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3750 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3751
3752 # Check whether --with-libiconv was given.
3753 if test "${with_libiconv+set}" = set; then
3754 withval=$with_libiconv;
3755 if test "$withval" = yes; then
3756 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3757 else
3758 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3759 fi
3760
3761 else
3762
3763 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3764
3765 fi
3766
3767
3768 eval "$wx_cv_use_libiconv"
3769
3770 if test x"$withstring" = xwithout; then
3771 if test $wxUSE_LIBICONV = yes; then
3772 result=no
3773 else
3774 result=yes
3775 fi
3776 else
3777 result=$wxUSE_LIBICONV
3778 fi
3779
3780 { echo "$as_me:$LINENO: result: $result" >&5
3781 echo "${ECHO_T}$result" >&6; }
3782
3783
3784 withstring=
3785 defaultval=$wxUSE_ALL_FEATURES
3786 if test -z "$defaultval"; then
3787 if test x"$withstring" = xwithout; then
3788 defaultval=yes
3789 else
3790 defaultval=no
3791 fi
3792 fi
3793 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3794 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3795
3796 # Check whether --with-libmspack was given.
3797 if test "${with_libmspack+set}" = set; then
3798 withval=$with_libmspack;
3799 if test "$withval" = yes; then
3800 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3801 else
3802 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3803 fi
3804
3805 else
3806
3807 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3808
3809 fi
3810
3811
3812 eval "$wx_cv_use_libmspack"
3813
3814 if test x"$withstring" = xwithout; then
3815 if test $wxUSE_LIBMSPACK = yes; then
3816 result=no
3817 else
3818 result=yes
3819 fi
3820 else
3821 result=$wxUSE_LIBMSPACK
3822 fi
3823
3824 { echo "$as_me:$LINENO: result: $result" >&5
3825 echo "${ECHO_T}$result" >&6; }
3826
3827
3828 withstring=without
3829 defaultval=$wxUSE_ALL_FEATURES
3830 if test -z "$defaultval"; then
3831 if test x"$withstring" = xwithout; then
3832 defaultval=yes
3833 else
3834 defaultval=no
3835 fi
3836 fi
3837 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3838 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3839
3840 # Check whether --with-gtkprint was given.
3841 if test "${with_gtkprint+set}" = set; then
3842 withval=$with_gtkprint;
3843 if test "$withval" = yes; then
3844 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3845 else
3846 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3847 fi
3848
3849 else
3850
3851 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3852
3853 fi
3854
3855
3856 eval "$wx_cv_use_gtkprint"
3857
3858 if test x"$withstring" = xwithout; then
3859 if test $wxUSE_GTKPRINT = yes; then
3860 result=no
3861 else
3862 result=yes
3863 fi
3864 else
3865 result=$wxUSE_GTKPRINT
3866 fi
3867
3868 { echo "$as_me:$LINENO: result: $result" >&5
3869 echo "${ECHO_T}$result" >&6; }
3870
3871
3872 withstring=without
3873 defaultval=$wxUSE_ALL_FEATURES
3874 if test -z "$defaultval"; then
3875 if test x"$withstring" = xwithout; then
3876 defaultval=yes
3877 else
3878 defaultval=no
3879 fi
3880 fi
3881 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3882 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3883
3884 # Check whether --with-gnomeprint was given.
3885 if test "${with_gnomeprint+set}" = set; then
3886 withval=$with_gnomeprint;
3887 if test "$withval" = yes; then
3888 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3889 else
3890 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3891 fi
3892
3893 else
3894
3895 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3896
3897 fi
3898
3899
3900 eval "$wx_cv_use_gnomeprint"
3901
3902 if test x"$withstring" = xwithout; then
3903 if test $wxUSE_LIBGNOMEPRINT = yes; then
3904 result=no
3905 else
3906 result=yes
3907 fi
3908 else
3909 result=$wxUSE_LIBGNOMEPRINT
3910 fi
3911
3912 { echo "$as_me:$LINENO: result: $result" >&5
3913 echo "${ECHO_T}$result" >&6; }
3914
3915
3916 withstring=
3917 defaultval=$wxUSE_ALL_FEATURES
3918 if test -z "$defaultval"; then
3919 if test x"$withstring" = xwithout; then
3920 defaultval=yes
3921 else
3922 defaultval=no
3923 fi
3924 fi
3925 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3926 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3927
3928 # Check whether --with-gnomevfs was given.
3929 if test "${with_gnomevfs+set}" = set; then
3930 withval=$with_gnomevfs;
3931 if test "$withval" = yes; then
3932 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3933 else
3934 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3935 fi
3936
3937 else
3938
3939 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3940
3941 fi
3942
3943
3944 eval "$wx_cv_use_gnomevfs"
3945
3946 if test x"$withstring" = xwithout; then
3947 if test $wxUSE_LIBGNOMEVFS = yes; then
3948 result=no
3949 else
3950 result=yes
3951 fi
3952 else
3953 result=$wxUSE_LIBGNOMEVFS
3954 fi
3955
3956 { echo "$as_me:$LINENO: result: $result" >&5
3957 echo "${ECHO_T}$result" >&6; }
3958
3959
3960 withstring=
3961 defaultval=$wxUSE_ALL_FEATURES
3962 if test -z "$defaultval"; then
3963 if test x"$withstring" = xwithout; then
3964 defaultval=yes
3965 else
3966 defaultval=no
3967 fi
3968 fi
3969 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3970 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3971
3972 # Check whether --with-hildon was given.
3973 if test "${with_hildon+set}" = set; then
3974 withval=$with_hildon;
3975 if test "$withval" = yes; then
3976 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3977 else
3978 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3979 fi
3980
3981 else
3982
3983 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3984
3985 fi
3986
3987
3988 eval "$wx_cv_use_hildon"
3989
3990 if test x"$withstring" = xwithout; then
3991 if test $wxUSE_LIBHILDON = yes; then
3992 result=no
3993 else
3994 result=yes
3995 fi
3996 else
3997 result=$wxUSE_LIBHILDON
3998 fi
3999
4000 { echo "$as_me:$LINENO: result: $result" >&5
4001 echo "${ECHO_T}$result" >&6; }
4002
4003
4004 withstring=
4005 defaultval=$wxUSE_ALL_FEATURES
4006 if test -z "$defaultval"; then
4007 if test x"$withstring" = xwithout; then
4008 defaultval=yes
4009 else
4010 defaultval=no
4011 fi
4012 fi
4013 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4014 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4015
4016 # Check whether --with-opengl was given.
4017 if test "${with_opengl+set}" = set; then
4018 withval=$with_opengl;
4019 if test "$withval" = yes; then
4020 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4021 else
4022 wx_cv_use_opengl='wxUSE_OPENGL=no'
4023 fi
4024
4025 else
4026
4027 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4028
4029 fi
4030
4031
4032 eval "$wx_cv_use_opengl"
4033
4034 if test x"$withstring" = xwithout; then
4035 if test $wxUSE_OPENGL = yes; then
4036 result=no
4037 else
4038 result=yes
4039 fi
4040 else
4041 result=$wxUSE_OPENGL
4042 fi
4043
4044 { echo "$as_me:$LINENO: result: $result" >&5
4045 echo "${ECHO_T}$result" >&6; }
4046
4047
4048 fi
4049
4050
4051 withstring=
4052 defaultval=$wxUSE_ALL_FEATURES
4053 if test -z "$defaultval"; then
4054 if test x"$withstring" = xwithout; then
4055 defaultval=yes
4056 else
4057 defaultval=no
4058 fi
4059 fi
4060 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4061 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4062
4063 # Check whether --with-dmalloc was given.
4064 if test "${with_dmalloc+set}" = set; then
4065 withval=$with_dmalloc;
4066 if test "$withval" = yes; then
4067 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4068 else
4069 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4070 fi
4071
4072 else
4073
4074 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4075
4076 fi
4077
4078
4079 eval "$wx_cv_use_dmalloc"
4080
4081 if test x"$withstring" = xwithout; then
4082 if test $wxUSE_DMALLOC = yes; then
4083 result=no
4084 else
4085 result=yes
4086 fi
4087 else
4088 result=$wxUSE_DMALLOC
4089 fi
4090
4091 { echo "$as_me:$LINENO: result: $result" >&5
4092 echo "${ECHO_T}$result" >&6; }
4093
4094
4095 withstring=
4096 defaultval=$wxUSE_ALL_FEATURES
4097 if test -z "$defaultval"; then
4098 if test x"$withstring" = xwithout; then
4099 defaultval=yes
4100 else
4101 defaultval=no
4102 fi
4103 fi
4104 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4105 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4106
4107 # Check whether --with-sdl was given.
4108 if test "${with_sdl+set}" = set; then
4109 withval=$with_sdl;
4110 if test "$withval" = yes; then
4111 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4112 else
4113 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4114 fi
4115
4116 else
4117
4118 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4119
4120 fi
4121
4122
4123 eval "$wx_cv_use_sdl"
4124
4125 if test x"$withstring" = xwithout; then
4126 if test $wxUSE_LIBSDL = yes; then
4127 result=no
4128 else
4129 result=yes
4130 fi
4131 else
4132 result=$wxUSE_LIBSDL
4133 fi
4134
4135 { echo "$as_me:$LINENO: result: $result" >&5
4136 echo "${ECHO_T}$result" >&6; }
4137
4138
4139 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4140 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4141
4142 # Check whether --with-regex was given.
4143 if test "${with_regex+set}" = set; then
4144 withval=$with_regex;
4145 if test "$withval" = yes; then
4146 wx_cv_use_regex='wxUSE_REGEX=yes'
4147 elif test "$withval" = no; then
4148 wx_cv_use_regex='wxUSE_REGEX=no'
4149 elif test "$withval" = sys; then
4150 wx_cv_use_regex='wxUSE_REGEX=sys'
4151 elif test "$withval" = builtin; then
4152 wx_cv_use_regex='wxUSE_REGEX=builtin'
4153 else
4154 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4155 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4156 { (exit 1); exit 1; }; }
4157 fi
4158
4159 else
4160
4161 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4162
4163 fi
4164
4165
4166 eval "$wx_cv_use_regex"
4167
4168 if test "$wxUSE_REGEX" = yes; then
4169 { echo "$as_me:$LINENO: result: yes" >&5
4170 echo "${ECHO_T}yes" >&6; }
4171 elif test "$wxUSE_REGEX" = no; then
4172 { echo "$as_me:$LINENO: result: no" >&5
4173 echo "${ECHO_T}no" >&6; }
4174 elif test "$wxUSE_REGEX" = sys; then
4175 { echo "$as_me:$LINENO: result: system version" >&5
4176 echo "${ECHO_T}system version" >&6; }
4177 elif test "$wxUSE_REGEX" = builtin; then
4178 { echo "$as_me:$LINENO: result: builtin version" >&5
4179 echo "${ECHO_T}builtin version" >&6; }
4180 else
4181 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4182 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4183 { (exit 1); exit 1; }; }
4184 fi
4185
4186
4187 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4188 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4189
4190 # Check whether --with-zlib was given.
4191 if test "${with_zlib+set}" = set; then
4192 withval=$with_zlib;
4193 if test "$withval" = yes; then
4194 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4195 elif test "$withval" = no; then
4196 wx_cv_use_zlib='wxUSE_ZLIB=no'
4197 elif test "$withval" = sys; then
4198 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4199 elif test "$withval" = builtin; then
4200 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4201 else
4202 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4203 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4204 { (exit 1); exit 1; }; }
4205 fi
4206
4207 else
4208
4209 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4210
4211 fi
4212
4213
4214 eval "$wx_cv_use_zlib"
4215
4216 if test "$wxUSE_ZLIB" = yes; then
4217 { echo "$as_me:$LINENO: result: yes" >&5
4218 echo "${ECHO_T}yes" >&6; }
4219 elif test "$wxUSE_ZLIB" = no; then
4220 { echo "$as_me:$LINENO: result: no" >&5
4221 echo "${ECHO_T}no" >&6; }
4222 elif test "$wxUSE_ZLIB" = sys; then
4223 { echo "$as_me:$LINENO: result: system version" >&5
4224 echo "${ECHO_T}system version" >&6; }
4225 elif test "$wxUSE_ZLIB" = builtin; then
4226 { echo "$as_me:$LINENO: result: builtin version" >&5
4227 echo "${ECHO_T}builtin version" >&6; }
4228 else
4229 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4230 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4231 { (exit 1); exit 1; }; }
4232 fi
4233
4234
4235 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4236 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4237
4238 # Check whether --with-expat was given.
4239 if test "${with_expat+set}" = set; then
4240 withval=$with_expat;
4241 if test "$withval" = yes; then
4242 wx_cv_use_expat='wxUSE_EXPAT=yes'
4243 elif test "$withval" = no; then
4244 wx_cv_use_expat='wxUSE_EXPAT=no'
4245 elif test "$withval" = sys; then
4246 wx_cv_use_expat='wxUSE_EXPAT=sys'
4247 elif test "$withval" = builtin; then
4248 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4249 else
4250 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4251 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4252 { (exit 1); exit 1; }; }
4253 fi
4254
4255 else
4256
4257 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4258
4259 fi
4260
4261
4262 eval "$wx_cv_use_expat"
4263
4264 if test "$wxUSE_EXPAT" = yes; then
4265 { echo "$as_me:$LINENO: result: yes" >&5
4266 echo "${ECHO_T}yes" >&6; }
4267 elif test "$wxUSE_EXPAT" = no; then
4268 { echo "$as_me:$LINENO: result: no" >&5
4269 echo "${ECHO_T}no" >&6; }
4270 elif test "$wxUSE_EXPAT" = sys; then
4271 { echo "$as_me:$LINENO: result: system version" >&5
4272 echo "${ECHO_T}system version" >&6; }
4273 elif test "$wxUSE_EXPAT" = builtin; then
4274 { echo "$as_me:$LINENO: result: builtin version" >&5
4275 echo "${ECHO_T}builtin version" >&6; }
4276 else
4277 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4278 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4279 { (exit 1); exit 1; }; }
4280 fi
4281
4282
4283 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4284 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4285
4286 # Check whether --with-macosx-sdk was given.
4287 if test "${with_macosx_sdk+set}" = set; then
4288 withval=$with_macosx_sdk;
4289 wxUSE_MACOSX_SDK=$withval
4290 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4291
4292 fi
4293
4294 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4295 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4296
4297 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4298 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4299
4300 # Check whether --with-macosx-version-min was given.
4301 if test "${with_macosx_version_min+set}" = set; then
4302 withval=$with_macosx_version_min;
4303 wxUSE_MACOSX_VERSION_MIN=$withval
4304 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4305
4306 fi
4307
4308 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4309 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4310
4311
4312
4313 enablestring=disable
4314 defaultval=
4315 if test -z "$defaultval"; then
4316 if test x"$enablestring" = xdisable; then
4317 defaultval=yes
4318 else
4319 defaultval=no
4320 fi
4321 fi
4322
4323 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4324 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4325 # Check whether --enable-shared was given.
4326 if test "${enable_shared+set}" = set; then
4327 enableval=$enable_shared;
4328 if test "$enableval" = yes; then
4329 wx_cv_use_shared='wxUSE_SHARED=yes'
4330 else
4331 wx_cv_use_shared='wxUSE_SHARED=no'
4332 fi
4333
4334 else
4335
4336 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4337
4338 fi
4339
4340
4341 eval "$wx_cv_use_shared"
4342
4343 if test x"$enablestring" = xdisable; then
4344 if test $wxUSE_SHARED = yes; then
4345 result=no
4346 else
4347 result=yes
4348 fi
4349 else
4350 result=$wxUSE_SHARED
4351 fi
4352
4353 { echo "$as_me:$LINENO: result: $result" >&5
4354 echo "${ECHO_T}$result" >&6; }
4355
4356
4357 enablestring=
4358 defaultval=
4359 if test -z "$defaultval"; then
4360 if test x"$enablestring" = xdisable; then
4361 defaultval=yes
4362 else
4363 defaultval=no
4364 fi
4365 fi
4366
4367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4368 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4369 # Check whether --enable-debug was given.
4370 if test "${enable_debug+set}" = set; then
4371 enableval=$enable_debug;
4372 if test "$enableval" = yes; then
4373 wx_cv_use_debug='wxUSE_DEBUG=yes'
4374 else
4375 wx_cv_use_debug='wxUSE_DEBUG=no'
4376 fi
4377
4378 else
4379
4380 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4381
4382 fi
4383
4384
4385 eval "$wx_cv_use_debug"
4386
4387 if test x"$enablestring" = xdisable; then
4388 if test $wxUSE_DEBUG = yes; then
4389 result=no
4390 else
4391 result=yes
4392 fi
4393 else
4394 result=$wxUSE_DEBUG
4395 fi
4396
4397 { echo "$as_me:$LINENO: result: $result" >&5
4398 echo "${ECHO_T}$result" >&6; }
4399
4400
4401 enablestring=
4402 defaultval=
4403 if test -z "$defaultval"; then
4404 if test x"$enablestring" = xdisable; then
4405 defaultval=yes
4406 else
4407 defaultval=no
4408 fi
4409 fi
4410
4411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4412 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4413 # Check whether --enable-stl was given.
4414 if test "${enable_stl+set}" = set; then
4415 enableval=$enable_stl;
4416 if test "$enableval" = yes; then
4417 wx_cv_use_stl='wxUSE_STL=yes'
4418 else
4419 wx_cv_use_stl='wxUSE_STL=no'
4420 fi
4421
4422 else
4423
4424 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4425
4426 fi
4427
4428
4429 eval "$wx_cv_use_stl"
4430
4431 if test x"$enablestring" = xdisable; then
4432 if test $wxUSE_STL = yes; then
4433 result=no
4434 else
4435 result=yes
4436 fi
4437 else
4438 result=$wxUSE_STL
4439 fi
4440
4441 { echo "$as_me:$LINENO: result: $result" >&5
4442 echo "${ECHO_T}$result" >&6; }
4443
4444
4445 enablestring=
4446 defaultval=
4447 if test -z "$defaultval"; then
4448 if test x"$enablestring" = xdisable; then
4449 defaultval=yes
4450 else
4451 defaultval=no
4452 fi
4453 fi
4454
4455 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4456 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4457 # Check whether --enable-std_iostreams was given.
4458 if test "${enable_std_iostreams+set}" = set; then
4459 enableval=$enable_std_iostreams;
4460 if test "$enableval" = yes; then
4461 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4462 else
4463 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4464 fi
4465
4466 else
4467
4468 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4469
4470 fi
4471
4472
4473 eval "$wx_cv_use_std_iostreams"
4474
4475 if test x"$enablestring" = xdisable; then
4476 if test $wxUSE_STD_IOSTREAM = yes; then
4477 result=no
4478 else
4479 result=yes
4480 fi
4481 else
4482 result=$wxUSE_STD_IOSTREAM
4483 fi
4484
4485 { echo "$as_me:$LINENO: result: $result" >&5
4486 echo "${ECHO_T}$result" >&6; }
4487
4488
4489 enablestring=
4490 defaultval=
4491 if test -z "$defaultval"; then
4492 if test x"$enablestring" = xdisable; then
4493 defaultval=yes
4494 else
4495 defaultval=no
4496 fi
4497 fi
4498
4499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4500 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4501 # Check whether --enable-std_string was given.
4502 if test "${enable_std_string+set}" = set; then
4503 enableval=$enable_std_string;
4504 if test "$enableval" = yes; then
4505 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4506 else
4507 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4508 fi
4509
4510 else
4511
4512 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4513
4514 fi
4515
4516
4517 eval "$wx_cv_use_std_string"
4518
4519 if test x"$enablestring" = xdisable; then
4520 if test $wxUSE_STD_STRING = yes; then
4521 result=no
4522 else
4523 result=yes
4524 fi
4525 else
4526 result=$wxUSE_STD_STRING
4527 fi
4528
4529 { echo "$as_me:$LINENO: result: $result" >&5
4530 echo "${ECHO_T}$result" >&6; }
4531
4532
4533 enablestring=disable
4534 defaultval=
4535 if test -z "$defaultval"; then
4536 if test x"$enablestring" = xdisable; then
4537 defaultval=yes
4538 else
4539 defaultval=no
4540 fi
4541 fi
4542
4543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4544 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4545 # Check whether --enable-unicode was given.
4546 if test "${enable_unicode+set}" = set; then
4547 enableval=$enable_unicode;
4548 if test "$enableval" = yes; then
4549 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4550 else
4551 wx_cv_use_unicode='wxUSE_UNICODE=no'
4552 fi
4553
4554 else
4555
4556 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4557
4558 fi
4559
4560
4561 eval "$wx_cv_use_unicode"
4562
4563 if test x"$enablestring" = xdisable; then
4564 if test $wxUSE_UNICODE = yes; then
4565 result=no
4566 else
4567 result=yes
4568 fi
4569 else
4570 result=$wxUSE_UNICODE
4571 fi
4572
4573 { echo "$as_me:$LINENO: result: $result" >&5
4574 echo "${ECHO_T}$result" >&6; }
4575
4576
4577 enablestring=
4578 defaultval=
4579 if test -z "$defaultval"; then
4580 if test x"$enablestring" = xdisable; then
4581 defaultval=yes
4582 else
4583 defaultval=no
4584 fi
4585 fi
4586
4587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4588 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4589 # Check whether --enable-mslu was given.
4590 if test "${enable_mslu+set}" = set; then
4591 enableval=$enable_mslu;
4592 if test "$enableval" = yes; then
4593 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4594 else
4595 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4596 fi
4597
4598 else
4599
4600 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4601
4602 fi
4603
4604
4605 eval "$wx_cv_use_mslu"
4606
4607 if test x"$enablestring" = xdisable; then
4608 if test $wxUSE_UNICODE_MSLU = yes; then
4609 result=no
4610 else
4611 result=yes
4612 fi
4613 else
4614 result=$wxUSE_UNICODE_MSLU
4615 fi
4616
4617 { echo "$as_me:$LINENO: result: $result" >&5
4618 echo "${ECHO_T}$result" >&6; }
4619
4620
4621 enablestring=
4622 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4623 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4624 # Check whether --enable-utf8 was given.
4625 if test "${enable_utf8+set}" = set; then
4626 enableval=$enable_utf8;
4627 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4628
4629 else
4630
4631 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4632
4633 fi
4634
4635
4636 eval "$wx_cv_use_utf8"
4637
4638 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4639 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4640
4641
4642 enablestring=
4643 defaultval=
4644 if test -z "$defaultval"; then
4645 if test x"$enablestring" = xdisable; then
4646 defaultval=yes
4647 else
4648 defaultval=no
4649 fi
4650 fi
4651
4652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4653 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4654 # Check whether --enable-utf8only was given.
4655 if test "${enable_utf8only+set}" = set; then
4656 enableval=$enable_utf8only;
4657 if test "$enableval" = yes; then
4658 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4659 else
4660 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4661 fi
4662
4663 else
4664
4665 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4666
4667 fi
4668
4669
4670 eval "$wx_cv_use_utf8only"
4671
4672 if test x"$enablestring" = xdisable; then
4673 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4674 result=no
4675 else
4676 result=yes
4677 fi
4678 else
4679 result=$wxUSE_UNICODE_UTF8_LOCALE
4680 fi
4681
4682 { echo "$as_me:$LINENO: result: $result" >&5
4683 echo "${ECHO_T}$result" >&6; }
4684
4685
4686 enablestring=
4687 defaultval=
4688 if test -z "$defaultval"; then
4689 if test x"$enablestring" = xdisable; then
4690 defaultval=yes
4691 else
4692 defaultval=no
4693 fi
4694 fi
4695
4696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4697 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4698 # Check whether --enable-extended_rtti was given.
4699 if test "${enable_extended_rtti+set}" = set; then
4700 enableval=$enable_extended_rtti;
4701 if test "$enableval" = yes; then
4702 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4703 else
4704 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4705 fi
4706
4707 else
4708
4709 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4710
4711 fi
4712
4713
4714 eval "$wx_cv_use_extended_rtti"
4715
4716 if test x"$enablestring" = xdisable; then
4717 if test $wxUSE_EXTENDED_RTTI = yes; then
4718 result=no
4719 else
4720 result=yes
4721 fi
4722 else
4723 result=$wxUSE_EXTENDED_RTTI
4724 fi
4725
4726 { echo "$as_me:$LINENO: result: $result" >&5
4727 echo "${ECHO_T}$result" >&6; }
4728
4729 if test "$USE_OS2" = 1; then
4730 DEFAULT_wxUSE_OMF=no
4731
4732 enablestring=
4733 defaultval=
4734 if test -z "$defaultval"; then
4735 if test x"$enablestring" = xdisable; then
4736 defaultval=yes
4737 else
4738 defaultval=no
4739 fi
4740 fi
4741
4742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4743 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4744 # Check whether --enable-omf was given.
4745 if test "${enable_omf+set}" = set; then
4746 enableval=$enable_omf;
4747 if test "$enableval" = yes; then
4748 wx_cv_use_omf='wxUSE_OMF=yes'
4749 else
4750 wx_cv_use_omf='wxUSE_OMF=no'
4751 fi
4752
4753 else
4754
4755 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4756
4757 fi
4758
4759
4760 eval "$wx_cv_use_omf"
4761
4762 if test x"$enablestring" = xdisable; then
4763 if test $wxUSE_OMF = yes; then
4764 result=no
4765 else
4766 result=yes
4767 fi
4768 else
4769 result=$wxUSE_OMF
4770 fi
4771
4772 { echo "$as_me:$LINENO: result: $result" >&5
4773 echo "${ECHO_T}$result" >&6; }
4774
4775 fi
4776
4777 if test "$wxUSE_DEBUG" = "yes"; then
4778 DEFAULT_wxUSE_DEBUG_FLAG=yes
4779 DEFAULT_wxUSE_DEBUG_INFO=yes
4780 BUILD=debug
4781 elif test "$wxUSE_DEBUG" = "no"; then
4782 DEFAULT_wxUSE_DEBUG_FLAG=no
4783 DEFAULT_wxUSE_DEBUG_INFO=no
4784 BUILD=release
4785 fi
4786
4787
4788 enablestring=
4789 defaultval=
4790 if test -z "$defaultval"; then
4791 if test x"$enablestring" = xdisable; then
4792 defaultval=yes
4793 else
4794 defaultval=no
4795 fi
4796 fi
4797
4798 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4799 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4800 # Check whether --enable-debug_flag was given.
4801 if test "${enable_debug_flag+set}" = set; then
4802 enableval=$enable_debug_flag;
4803 if test "$enableval" = yes; then
4804 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4805 else
4806 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4807 fi
4808
4809 else
4810
4811 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4812
4813 fi
4814
4815
4816 eval "$wx_cv_use_debug_flag"
4817
4818 if test x"$enablestring" = xdisable; then
4819 if test $wxUSE_DEBUG_FLAG = yes; then
4820 result=no
4821 else
4822 result=yes
4823 fi
4824 else
4825 result=$wxUSE_DEBUG_FLAG
4826 fi
4827
4828 { echo "$as_me:$LINENO: result: $result" >&5
4829 echo "${ECHO_T}$result" >&6; }
4830
4831
4832 enablestring=
4833 defaultval=
4834 if test -z "$defaultval"; then
4835 if test x"$enablestring" = xdisable; then
4836 defaultval=yes
4837 else
4838 defaultval=no
4839 fi
4840 fi
4841
4842 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4843 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4844 # Check whether --enable-debug_info was given.
4845 if test "${enable_debug_info+set}" = set; then
4846 enableval=$enable_debug_info;
4847 if test "$enableval" = yes; then
4848 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4849 else
4850 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4851 fi
4852
4853 else
4854
4855 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4856
4857 fi
4858
4859
4860 eval "$wx_cv_use_debug_info"
4861
4862 if test x"$enablestring" = xdisable; then
4863 if test $wxUSE_DEBUG_INFO = yes; then
4864 result=no
4865 else
4866 result=yes
4867 fi
4868 else
4869 result=$wxUSE_DEBUG_INFO
4870 fi
4871
4872 { echo "$as_me:$LINENO: result: $result" >&5
4873 echo "${ECHO_T}$result" >&6; }
4874
4875
4876 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4877 wxUSE_DEBUG=yes
4878 BUILD=debug
4879 fi
4880
4881 if test "$wxUSE_DEBUG" = "yes"; then
4882 DEFAULT_wxUSE_OPTIMISE=no
4883 fi
4884
4885
4886 enablestring=disable
4887 defaultval=
4888 if test -z "$defaultval"; then
4889 if test x"$enablestring" = xdisable; then
4890 defaultval=yes
4891 else
4892 defaultval=no
4893 fi
4894 fi
4895
4896 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4897 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4898 # Check whether --enable-optimise was given.
4899 if test "${enable_optimise+set}" = set; then
4900 enableval=$enable_optimise;
4901 if test "$enableval" = yes; then
4902 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4903 else
4904 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4905 fi
4906
4907 else
4908
4909 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4910
4911 fi
4912
4913
4914 eval "$wx_cv_use_optimise"
4915
4916 if test x"$enablestring" = xdisable; then
4917 if test $wxUSE_OPTIMISE = yes; then
4918 result=no
4919 else
4920 result=yes
4921 fi
4922 else
4923 result=$wxUSE_OPTIMISE
4924 fi
4925
4926 { echo "$as_me:$LINENO: result: $result" >&5
4927 echo "${ECHO_T}$result" >&6; }
4928
4929
4930
4931 enablestring=
4932 defaultval=
4933 if test -z "$defaultval"; then
4934 if test x"$enablestring" = xdisable; then
4935 defaultval=yes
4936 else
4937 defaultval=no
4938 fi
4939 fi
4940
4941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4942 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4943 # Check whether --enable-debug_gdb was given.
4944 if test "${enable_debug_gdb+set}" = set; then
4945 enableval=$enable_debug_gdb;
4946 if test "$enableval" = yes; then
4947 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4948 else
4949 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4950 fi
4951
4952 else
4953
4954 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4955
4956 fi
4957
4958
4959 eval "$wx_cv_use_debug_gdb"
4960
4961 if test x"$enablestring" = xdisable; then
4962 if test $wxUSE_DEBUG_GDB = yes; then
4963 result=no
4964 else
4965 result=yes
4966 fi
4967 else
4968 result=$wxUSE_DEBUG_GDB
4969 fi
4970
4971 { echo "$as_me:$LINENO: result: $result" >&5
4972 echo "${ECHO_T}$result" >&6; }
4973
4974
4975 enablestring=
4976 defaultval=
4977 if test -z "$defaultval"; then
4978 if test x"$enablestring" = xdisable; then
4979 defaultval=yes
4980 else
4981 defaultval=no
4982 fi
4983 fi
4984
4985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4986 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4987 # Check whether --enable-debug_cntxt was given.
4988 if test "${enable_debug_cntxt+set}" = set; then
4989 enableval=$enable_debug_cntxt;
4990 if test "$enableval" = yes; then
4991 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4992 else
4993 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4994 fi
4995
4996 else
4997
4998 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4999
5000 fi
5001
5002
5003 eval "$wx_cv_use_debug_cntxt"
5004
5005 if test x"$enablestring" = xdisable; then
5006 if test $wxUSE_DEBUG_CONTEXT = yes; then
5007 result=no
5008 else
5009 result=yes
5010 fi
5011 else
5012 result=$wxUSE_DEBUG_CONTEXT
5013 fi
5014
5015 { echo "$as_me:$LINENO: result: $result" >&5
5016 echo "${ECHO_T}$result" >&6; }
5017
5018
5019 enablestring=
5020 defaultval=
5021 if test -z "$defaultval"; then
5022 if test x"$enablestring" = xdisable; then
5023 defaultval=yes
5024 else
5025 defaultval=no
5026 fi
5027 fi
5028
5029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5030 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5031 # Check whether --enable-mem_tracing was given.
5032 if test "${enable_mem_tracing+set}" = set; then
5033 enableval=$enable_mem_tracing;
5034 if test "$enableval" = yes; then
5035 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5036 else
5037 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5038 fi
5039
5040 else
5041
5042 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5043
5044 fi
5045
5046
5047 eval "$wx_cv_use_mem_tracing"
5048
5049 if test x"$enablestring" = xdisable; then
5050 if test $wxUSE_MEM_TRACING = yes; then
5051 result=no
5052 else
5053 result=yes
5054 fi
5055 else
5056 result=$wxUSE_MEM_TRACING
5057 fi
5058
5059 { echo "$as_me:$LINENO: result: $result" >&5
5060 echo "${ECHO_T}$result" >&6; }
5061
5062
5063 enablestring=
5064 defaultval=
5065 if test -z "$defaultval"; then
5066 if test x"$enablestring" = xdisable; then
5067 defaultval=yes
5068 else
5069 defaultval=no
5070 fi
5071 fi
5072
5073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5074 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5075 # Check whether --enable-profile was given.
5076 if test "${enable_profile+set}" = set; then
5077 enableval=$enable_profile;
5078 if test "$enableval" = yes; then
5079 wx_cv_use_profile='wxUSE_PROFILE=yes'
5080 else
5081 wx_cv_use_profile='wxUSE_PROFILE=no'
5082 fi
5083
5084 else
5085
5086 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5087
5088 fi
5089
5090
5091 eval "$wx_cv_use_profile"
5092
5093 if test x"$enablestring" = xdisable; then
5094 if test $wxUSE_PROFILE = yes; then
5095 result=no
5096 else
5097 result=yes
5098 fi
5099 else
5100 result=$wxUSE_PROFILE
5101 fi
5102
5103 { echo "$as_me:$LINENO: result: $result" >&5
5104 echo "${ECHO_T}$result" >&6; }
5105
5106
5107 enablestring=
5108 defaultval=
5109 if test -z "$defaultval"; then
5110 if test x"$enablestring" = xdisable; then
5111 defaultval=yes
5112 else
5113 defaultval=no
5114 fi
5115 fi
5116
5117 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5118 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5119 # Check whether --enable-no_rtti was given.
5120 if test "${enable_no_rtti+set}" = set; then
5121 enableval=$enable_no_rtti;
5122 if test "$enableval" = yes; then
5123 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5124 else
5125 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5126 fi
5127
5128 else
5129
5130 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5131
5132 fi
5133
5134
5135 eval "$wx_cv_use_no_rtti"
5136
5137 if test x"$enablestring" = xdisable; then
5138 if test $wxUSE_NO_RTTI = yes; then
5139 result=no
5140 else
5141 result=yes
5142 fi
5143 else
5144 result=$wxUSE_NO_RTTI
5145 fi
5146
5147 { echo "$as_me:$LINENO: result: $result" >&5
5148 echo "${ECHO_T}$result" >&6; }
5149
5150
5151 enablestring=
5152 defaultval=
5153 if test -z "$defaultval"; then
5154 if test x"$enablestring" = xdisable; then
5155 defaultval=yes
5156 else
5157 defaultval=no
5158 fi
5159 fi
5160
5161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5162 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5163 # Check whether --enable-no_exceptions was given.
5164 if test "${enable_no_exceptions+set}" = set; then
5165 enableval=$enable_no_exceptions;
5166 if test "$enableval" = yes; then
5167 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5168 else
5169 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5170 fi
5171
5172 else
5173
5174 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5175
5176 fi
5177
5178
5179 eval "$wx_cv_use_no_exceptions"
5180
5181 if test x"$enablestring" = xdisable; then
5182 if test $wxUSE_NO_EXCEPTIONS = yes; then
5183 result=no
5184 else
5185 result=yes
5186 fi
5187 else
5188 result=$wxUSE_NO_EXCEPTIONS
5189 fi
5190
5191 { echo "$as_me:$LINENO: result: $result" >&5
5192 echo "${ECHO_T}$result" >&6; }
5193
5194
5195 enablestring=
5196 defaultval=
5197 if test -z "$defaultval"; then
5198 if test x"$enablestring" = xdisable; then
5199 defaultval=yes
5200 else
5201 defaultval=no
5202 fi
5203 fi
5204
5205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5206 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5207 # Check whether --enable-permissive was given.
5208 if test "${enable_permissive+set}" = set; then
5209 enableval=$enable_permissive;
5210 if test "$enableval" = yes; then
5211 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5212 else
5213 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5214 fi
5215
5216 else
5217
5218 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5219
5220 fi
5221
5222
5223 eval "$wx_cv_use_permissive"
5224
5225 if test x"$enablestring" = xdisable; then
5226 if test $wxUSE_PERMISSIVE = yes; then
5227 result=no
5228 else
5229 result=yes
5230 fi
5231 else
5232 result=$wxUSE_PERMISSIVE
5233 fi
5234
5235 { echo "$as_me:$LINENO: result: $result" >&5
5236 echo "${ECHO_T}$result" >&6; }
5237
5238
5239 enablestring=
5240 defaultval=
5241 if test -z "$defaultval"; then
5242 if test x"$enablestring" = xdisable; then
5243 defaultval=yes
5244 else
5245 defaultval=no
5246 fi
5247 fi
5248
5249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5250 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5251 # Check whether --enable-no_deps was given.
5252 if test "${enable_no_deps+set}" = set; then
5253 enableval=$enable_no_deps;
5254 if test "$enableval" = yes; then
5255 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5256 else
5257 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5258 fi
5259
5260 else
5261
5262 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5263
5264 fi
5265
5266
5267 eval "$wx_cv_use_no_deps"
5268
5269 if test x"$enablestring" = xdisable; then
5270 if test $wxUSE_NO_DEPS = yes; then
5271 result=no
5272 else
5273 result=yes
5274 fi
5275 else
5276 result=$wxUSE_NO_DEPS
5277 fi
5278
5279 { echo "$as_me:$LINENO: result: $result" >&5
5280 echo "${ECHO_T}$result" >&6; }
5281
5282
5283 enablestring=disable
5284 defaultval=
5285 if test -z "$defaultval"; then
5286 if test x"$enablestring" = xdisable; then
5287 defaultval=yes
5288 else
5289 defaultval=no
5290 fi
5291 fi
5292
5293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5294 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5295 # Check whether --enable-vararg_macros was given.
5296 if test "${enable_vararg_macros+set}" = set; then
5297 enableval=$enable_vararg_macros;
5298 if test "$enableval" = yes; then
5299 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5300 else
5301 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5302 fi
5303
5304 else
5305
5306 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5307
5308 fi
5309
5310
5311 eval "$wx_cv_use_vararg_macros"
5312
5313 if test x"$enablestring" = xdisable; then
5314 if test $wxUSE_VARARG_MACROS = yes; then
5315 result=no
5316 else
5317 result=yes
5318 fi
5319 else
5320 result=$wxUSE_VARARG_MACROS
5321 fi
5322
5323 { echo "$as_me:$LINENO: result: $result" >&5
5324 echo "${ECHO_T}$result" >&6; }
5325
5326
5327 enablestring=
5328 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5329 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5330 # Check whether --enable-universal_binary was given.
5331 if test "${enable_universal_binary+set}" = set; then
5332 enableval=$enable_universal_binary;
5333 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5334
5335 else
5336
5337 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5338
5339 fi
5340
5341
5342 eval "$wx_cv_use_universal_binary"
5343
5344 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5345 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5346
5347
5348
5349 enablestring=
5350 defaultval=
5351 if test -z "$defaultval"; then
5352 if test x"$enablestring" = xdisable; then
5353 defaultval=yes
5354 else
5355 defaultval=no
5356 fi
5357 fi
5358
5359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5360 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5361 # Check whether --enable-compat26 was given.
5362 if test "${enable_compat26+set}" = set; then
5363 enableval=$enable_compat26;
5364 if test "$enableval" = yes; then
5365 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5366 else
5367 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5368 fi
5369
5370 else
5371
5372 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5373
5374 fi
5375
5376
5377 eval "$wx_cv_use_compat26"
5378
5379 if test x"$enablestring" = xdisable; then
5380 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5381 result=no
5382 else
5383 result=yes
5384 fi
5385 else
5386 result=$WXWIN_COMPATIBILITY_2_6
5387 fi
5388
5389 { echo "$as_me:$LINENO: result: $result" >&5
5390 echo "${ECHO_T}$result" >&6; }
5391
5392
5393 enablestring=disable
5394 defaultval=
5395 if test -z "$defaultval"; then
5396 if test x"$enablestring" = xdisable; then
5397 defaultval=yes
5398 else
5399 defaultval=no
5400 fi
5401 fi
5402
5403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5404 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5405 # Check whether --enable-compat28 was given.
5406 if test "${enable_compat28+set}" = set; then
5407 enableval=$enable_compat28;
5408 if test "$enableval" = yes; then
5409 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5410 else
5411 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5412 fi
5413
5414 else
5415
5416 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5417
5418 fi
5419
5420
5421 eval "$wx_cv_use_compat28"
5422
5423 if test x"$enablestring" = xdisable; then
5424 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5425 result=no
5426 else
5427 result=yes
5428 fi
5429 else
5430 result=$WXWIN_COMPATIBILITY_2_8
5431 fi
5432
5433 { echo "$as_me:$LINENO: result: $result" >&5
5434 echo "${ECHO_T}$result" >&6; }
5435
5436
5437
5438 enablestring=disable
5439 defaultval=
5440 if test -z "$defaultval"; then
5441 if test x"$enablestring" = xdisable; then
5442 defaultval=yes
5443 else
5444 defaultval=no
5445 fi
5446 fi
5447
5448 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5449 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5450 # Check whether --enable-rpath was given.
5451 if test "${enable_rpath+set}" = set; then
5452 enableval=$enable_rpath;
5453 if test "$enableval" = yes; then
5454 wx_cv_use_rpath='wxUSE_RPATH=yes'
5455 else
5456 wx_cv_use_rpath='wxUSE_RPATH=no'
5457 fi
5458
5459 else
5460
5461 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5462
5463 fi
5464
5465
5466 eval "$wx_cv_use_rpath"
5467
5468 if test x"$enablestring" = xdisable; then
5469 if test $wxUSE_RPATH = yes; then
5470 result=no
5471 else
5472 result=yes
5473 fi
5474 else
5475 result=$wxUSE_RPATH
5476 fi
5477
5478 { echo "$as_me:$LINENO: result: $result" >&5
5479 echo "${ECHO_T}$result" >&6; }
5480
5481
5482
5483 enablestring=
5484 defaultval=
5485 if test -z "$defaultval"; then
5486 if test x"$enablestring" = xdisable; then
5487 defaultval=yes
5488 else
5489 defaultval=no
5490 fi
5491 fi
5492
5493 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5494 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5495 # Check whether --enable-objc_uniquifying was given.
5496 if test "${enable_objc_uniquifying+set}" = set; then
5497 enableval=$enable_objc_uniquifying;
5498 if test "$enableval" = yes; then
5499 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5500 else
5501 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5502 fi
5503
5504 else
5505
5506 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5507
5508 fi
5509
5510
5511 eval "$wx_cv_use_objc_uniquifying"
5512
5513 if test x"$enablestring" = xdisable; then
5514 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5515 result=no
5516 else
5517 result=yes
5518 fi
5519 else
5520 result=$wxUSE_OBJC_UNIQUIFYING
5521 fi
5522
5523 { echo "$as_me:$LINENO: result: $result" >&5
5524 echo "${ECHO_T}$result" >&6; }
5525
5526
5527
5528 enablestring=disable
5529 defaultval=
5530 if test -z "$defaultval"; then
5531 if test x"$enablestring" = xdisable; then
5532 defaultval=yes
5533 else
5534 defaultval=no
5535 fi
5536 fi
5537
5538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5539 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5540 # Check whether --enable-visibility was given.
5541 if test "${enable_visibility+set}" = set; then
5542 enableval=$enable_visibility;
5543 if test "$enableval" = yes; then
5544 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5545 else
5546 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5547 fi
5548
5549 else
5550
5551 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5552
5553 fi
5554
5555
5556 eval "$wx_cv_use_visibility"
5557
5558 if test x"$enablestring" = xdisable; then
5559 if test $wxUSE_VISIBILITY = yes; then
5560 result=no
5561 else
5562 result=yes
5563 fi
5564 else
5565 result=$wxUSE_VISIBILITY
5566 fi
5567
5568 { echo "$as_me:$LINENO: result: $result" >&5
5569 echo "${ECHO_T}$result" >&6; }
5570
5571
5572
5573
5574 enablestring=
5575 defaultval=$wxUSE_ALL_FEATURES
5576 if test -z "$defaultval"; then
5577 if test x"$enablestring" = xdisable; then
5578 defaultval=yes
5579 else
5580 defaultval=no
5581 fi
5582 fi
5583
5584 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5585 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5586 # Check whether --enable-intl was given.
5587 if test "${enable_intl+set}" = set; then
5588 enableval=$enable_intl;
5589 if test "$enableval" = yes; then
5590 wx_cv_use_intl='wxUSE_INTL=yes'
5591 else
5592 wx_cv_use_intl='wxUSE_INTL=no'
5593 fi
5594
5595 else
5596
5597 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5598
5599 fi
5600
5601
5602 eval "$wx_cv_use_intl"
5603
5604 if test x"$enablestring" = xdisable; then
5605 if test $wxUSE_INTL = yes; then
5606 result=no
5607 else
5608 result=yes
5609 fi
5610 else
5611 result=$wxUSE_INTL
5612 fi
5613
5614 { echo "$as_me:$LINENO: result: $result" >&5
5615 echo "${ECHO_T}$result" >&6; }
5616
5617
5618 enablestring=
5619 defaultval=$wxUSE_ALL_FEATURES
5620 if test -z "$defaultval"; then
5621 if test x"$enablestring" = xdisable; then
5622 defaultval=yes
5623 else
5624 defaultval=no
5625 fi
5626 fi
5627
5628 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5629 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5630 # Check whether --enable-xlocale was given.
5631 if test "${enable_xlocale+set}" = set; then
5632 enableval=$enable_xlocale;
5633 if test "$enableval" = yes; then
5634 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5635 else
5636 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5637 fi
5638
5639 else
5640
5641 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5642
5643 fi
5644
5645
5646 eval "$wx_cv_use_xlocale"
5647
5648 if test x"$enablestring" = xdisable; then
5649 if test $wxUSE_XLOCALE = yes; then
5650 result=no
5651 else
5652 result=yes
5653 fi
5654 else
5655 result=$wxUSE_XLOCALE
5656 fi
5657
5658 { echo "$as_me:$LINENO: result: $result" >&5
5659 echo "${ECHO_T}$result" >&6; }
5660
5661
5662 enablestring=
5663 defaultval=$wxUSE_ALL_FEATURES
5664 if test -z "$defaultval"; then
5665 if test x"$enablestring" = xdisable; then
5666 defaultval=yes
5667 else
5668 defaultval=no
5669 fi
5670 fi
5671
5672 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5673 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5674 # Check whether --enable-config was given.
5675 if test "${enable_config+set}" = set; then
5676 enableval=$enable_config;
5677 if test "$enableval" = yes; then
5678 wx_cv_use_config='wxUSE_CONFIG=yes'
5679 else
5680 wx_cv_use_config='wxUSE_CONFIG=no'
5681 fi
5682
5683 else
5684
5685 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5686
5687 fi
5688
5689
5690 eval "$wx_cv_use_config"
5691
5692 if test x"$enablestring" = xdisable; then
5693 if test $wxUSE_CONFIG = yes; then
5694 result=no
5695 else
5696 result=yes
5697 fi
5698 else
5699 result=$wxUSE_CONFIG
5700 fi
5701
5702 { echo "$as_me:$LINENO: result: $result" >&5
5703 echo "${ECHO_T}$result" >&6; }
5704
5705
5706
5707 enablestring=
5708 defaultval=$wxUSE_ALL_FEATURES
5709 if test -z "$defaultval"; then
5710 if test x"$enablestring" = xdisable; then
5711 defaultval=yes
5712 else
5713 defaultval=no
5714 fi
5715 fi
5716
5717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5718 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5719 # Check whether --enable-protocols was given.
5720 if test "${enable_protocols+set}" = set; then
5721 enableval=$enable_protocols;
5722 if test "$enableval" = yes; then
5723 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5724 else
5725 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5726 fi
5727
5728 else
5729
5730 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5731
5732 fi
5733
5734
5735 eval "$wx_cv_use_protocols"
5736
5737 if test x"$enablestring" = xdisable; then
5738 if test $wxUSE_PROTOCOL = yes; then
5739 result=no
5740 else
5741 result=yes
5742 fi
5743 else
5744 result=$wxUSE_PROTOCOL
5745 fi
5746
5747 { echo "$as_me:$LINENO: result: $result" >&5
5748 echo "${ECHO_T}$result" >&6; }
5749
5750
5751 enablestring=
5752 defaultval=$wxUSE_ALL_FEATURES
5753 if test -z "$defaultval"; then
5754 if test x"$enablestring" = xdisable; then
5755 defaultval=yes
5756 else
5757 defaultval=no
5758 fi
5759 fi
5760
5761 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5762 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5763 # Check whether --enable-ftp was given.
5764 if test "${enable_ftp+set}" = set; then
5765 enableval=$enable_ftp;
5766 if test "$enableval" = yes; then
5767 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5768 else
5769 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5770 fi
5771
5772 else
5773
5774 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5775
5776 fi
5777
5778
5779 eval "$wx_cv_use_ftp"
5780
5781 if test x"$enablestring" = xdisable; then
5782 if test $wxUSE_PROTOCOL_FTP = yes; then
5783 result=no
5784 else
5785 result=yes
5786 fi
5787 else
5788 result=$wxUSE_PROTOCOL_FTP
5789 fi
5790
5791 { echo "$as_me:$LINENO: result: $result" >&5
5792 echo "${ECHO_T}$result" >&6; }
5793
5794
5795 enablestring=
5796 defaultval=$wxUSE_ALL_FEATURES
5797 if test -z "$defaultval"; then
5798 if test x"$enablestring" = xdisable; then
5799 defaultval=yes
5800 else
5801 defaultval=no
5802 fi
5803 fi
5804
5805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5806 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5807 # Check whether --enable-http was given.
5808 if test "${enable_http+set}" = set; then
5809 enableval=$enable_http;
5810 if test "$enableval" = yes; then
5811 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5812 else
5813 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5814 fi
5815
5816 else
5817
5818 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5819
5820 fi
5821
5822
5823 eval "$wx_cv_use_http"
5824
5825 if test x"$enablestring" = xdisable; then
5826 if test $wxUSE_PROTOCOL_HTTP = yes; then
5827 result=no
5828 else
5829 result=yes
5830 fi
5831 else
5832 result=$wxUSE_PROTOCOL_HTTP
5833 fi
5834
5835 { echo "$as_me:$LINENO: result: $result" >&5
5836 echo "${ECHO_T}$result" >&6; }
5837
5838
5839 enablestring=
5840 defaultval=$wxUSE_ALL_FEATURES
5841 if test -z "$defaultval"; then
5842 if test x"$enablestring" = xdisable; then
5843 defaultval=yes
5844 else
5845 defaultval=no
5846 fi
5847 fi
5848
5849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5850 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5851 # Check whether --enable-fileproto was given.
5852 if test "${enable_fileproto+set}" = set; then
5853 enableval=$enable_fileproto;
5854 if test "$enableval" = yes; then
5855 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5856 else
5857 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5858 fi
5859
5860 else
5861
5862 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5863
5864 fi
5865
5866
5867 eval "$wx_cv_use_fileproto"
5868
5869 if test x"$enablestring" = xdisable; then
5870 if test $wxUSE_PROTOCOL_FILE = yes; then
5871 result=no
5872 else
5873 result=yes
5874 fi
5875 else
5876 result=$wxUSE_PROTOCOL_FILE
5877 fi
5878
5879 { echo "$as_me:$LINENO: result: $result" >&5
5880 echo "${ECHO_T}$result" >&6; }
5881
5882
5883 enablestring=
5884 defaultval=$wxUSE_ALL_FEATURES
5885 if test -z "$defaultval"; then
5886 if test x"$enablestring" = xdisable; then
5887 defaultval=yes
5888 else
5889 defaultval=no
5890 fi
5891 fi
5892
5893 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5894 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5895 # Check whether --enable-sockets was given.
5896 if test "${enable_sockets+set}" = set; then
5897 enableval=$enable_sockets;
5898 if test "$enableval" = yes; then
5899 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5900 else
5901 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5902 fi
5903
5904 else
5905
5906 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5907
5908 fi
5909
5910
5911 eval "$wx_cv_use_sockets"
5912
5913 if test x"$enablestring" = xdisable; then
5914 if test $wxUSE_SOCKETS = yes; then
5915 result=no
5916 else
5917 result=yes
5918 fi
5919 else
5920 result=$wxUSE_SOCKETS
5921 fi
5922
5923 { echo "$as_me:$LINENO: result: $result" >&5
5924 echo "${ECHO_T}$result" >&6; }
5925
5926
5927 enablestring=
5928 defaultval=$wxUSE_ALL_FEATURES
5929 if test -z "$defaultval"; then
5930 if test x"$enablestring" = xdisable; then
5931 defaultval=yes
5932 else
5933 defaultval=no
5934 fi
5935 fi
5936
5937 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5938 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5939 # Check whether --enable-ipv6 was given.
5940 if test "${enable_ipv6+set}" = set; then
5941 enableval=$enable_ipv6;
5942 if test "$enableval" = yes; then
5943 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5944 else
5945 wx_cv_use_ipv6='wxUSE_IPV6=no'
5946 fi
5947
5948 else
5949
5950 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5951
5952 fi
5953
5954
5955 eval "$wx_cv_use_ipv6"
5956
5957 if test x"$enablestring" = xdisable; then
5958 if test $wxUSE_IPV6 = yes; then
5959 result=no
5960 else
5961 result=yes
5962 fi
5963 else
5964 result=$wxUSE_IPV6
5965 fi
5966
5967 { echo "$as_me:$LINENO: result: $result" >&5
5968 echo "${ECHO_T}$result" >&6; }
5969
5970
5971 enablestring=
5972 defaultval=$wxUSE_ALL_FEATURES
5973 if test -z "$defaultval"; then
5974 if test x"$enablestring" = xdisable; then
5975 defaultval=yes
5976 else
5977 defaultval=no
5978 fi
5979 fi
5980
5981 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5982 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5983 # Check whether --enable-ole was given.
5984 if test "${enable_ole+set}" = set; then
5985 enableval=$enable_ole;
5986 if test "$enableval" = yes; then
5987 wx_cv_use_ole='wxUSE_OLE=yes'
5988 else
5989 wx_cv_use_ole='wxUSE_OLE=no'
5990 fi
5991
5992 else
5993
5994 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
5995
5996 fi
5997
5998
5999 eval "$wx_cv_use_ole"
6000
6001 if test x"$enablestring" = xdisable; then
6002 if test $wxUSE_OLE = yes; then
6003 result=no
6004 else
6005 result=yes
6006 fi
6007 else
6008 result=$wxUSE_OLE
6009 fi
6010
6011 { echo "$as_me:$LINENO: result: $result" >&5
6012 echo "${ECHO_T}$result" >&6; }
6013
6014
6015 enablestring=
6016 defaultval=$wxUSE_ALL_FEATURES
6017 if test -z "$defaultval"; then
6018 if test x"$enablestring" = xdisable; then
6019 defaultval=yes
6020 else
6021 defaultval=no
6022 fi
6023 fi
6024
6025 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6026 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6027 # Check whether --enable-dataobj was given.
6028 if test "${enable_dataobj+set}" = set; then
6029 enableval=$enable_dataobj;
6030 if test "$enableval" = yes; then
6031 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6032 else
6033 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6034 fi
6035
6036 else
6037
6038 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6039
6040 fi
6041
6042
6043 eval "$wx_cv_use_dataobj"
6044
6045 if test x"$enablestring" = xdisable; then
6046 if test $wxUSE_DATAOBJ = yes; then
6047 result=no
6048 else
6049 result=yes
6050 fi
6051 else
6052 result=$wxUSE_DATAOBJ
6053 fi
6054
6055 { echo "$as_me:$LINENO: result: $result" >&5
6056 echo "${ECHO_T}$result" >&6; }
6057
6058
6059
6060 enablestring=
6061 defaultval=$wxUSE_ALL_FEATURES
6062 if test -z "$defaultval"; then
6063 if test x"$enablestring" = xdisable; then
6064 defaultval=yes
6065 else
6066 defaultval=no
6067 fi
6068 fi
6069
6070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6071 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6072 # Check whether --enable-ipc was given.
6073 if test "${enable_ipc+set}" = set; then
6074 enableval=$enable_ipc;
6075 if test "$enableval" = yes; then
6076 wx_cv_use_ipc='wxUSE_IPC=yes'
6077 else
6078 wx_cv_use_ipc='wxUSE_IPC=no'
6079 fi
6080
6081 else
6082
6083 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6084
6085 fi
6086
6087
6088 eval "$wx_cv_use_ipc"
6089
6090 if test x"$enablestring" = xdisable; then
6091 if test $wxUSE_IPC = yes; then
6092 result=no
6093 else
6094 result=yes
6095 fi
6096 else
6097 result=$wxUSE_IPC
6098 fi
6099
6100 { echo "$as_me:$LINENO: result: $result" >&5
6101 echo "${ECHO_T}$result" >&6; }
6102
6103
6104
6105 enablestring=
6106 defaultval=$wxUSE_ALL_FEATURES
6107 if test -z "$defaultval"; then
6108 if test x"$enablestring" = xdisable; then
6109 defaultval=yes
6110 else
6111 defaultval=no
6112 fi
6113 fi
6114
6115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6116 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6117 # Check whether --enable-baseevtloop was given.
6118 if test "${enable_baseevtloop+set}" = set; then
6119 enableval=$enable_baseevtloop;
6120 if test "$enableval" = yes; then
6121 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6122 else
6123 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6124 fi
6125
6126 else
6127
6128 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6129
6130 fi
6131
6132
6133 eval "$wx_cv_use_baseevtloop"
6134
6135 if test x"$enablestring" = xdisable; then
6136 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6137 result=no
6138 else
6139 result=yes
6140 fi
6141 else
6142 result=$wxUSE_CONSOLE_EVENTLOOP
6143 fi
6144
6145 { echo "$as_me:$LINENO: result: $result" >&5
6146 echo "${ECHO_T}$result" >&6; }
6147
6148
6149 enablestring=
6150 defaultval=$wxUSE_ALL_FEATURES
6151 if test -z "$defaultval"; then
6152 if test x"$enablestring" = xdisable; then
6153 defaultval=yes
6154 else
6155 defaultval=no
6156 fi
6157 fi
6158
6159 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6160 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6161 # Check whether --enable-epollloop was given.
6162 if test "${enable_epollloop+set}" = set; then
6163 enableval=$enable_epollloop;
6164 if test "$enableval" = yes; then
6165 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6166 else
6167 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6168 fi
6169
6170 else
6171
6172 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6173
6174 fi
6175
6176
6177 eval "$wx_cv_use_epollloop"
6178
6179 if test x"$enablestring" = xdisable; then
6180 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6181 result=no
6182 else
6183 result=yes
6184 fi
6185 else
6186 result=$wxUSE_EPOLL_DISPATCHER
6187 fi
6188
6189 { echo "$as_me:$LINENO: result: $result" >&5
6190 echo "${ECHO_T}$result" >&6; }
6191
6192
6193 enablestring=
6194 defaultval=$wxUSE_ALL_FEATURES
6195 if test -z "$defaultval"; then
6196 if test x"$enablestring" = xdisable; then
6197 defaultval=yes
6198 else
6199 defaultval=no
6200 fi
6201 fi
6202
6203 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6204 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6205 # Check whether --enable-selectloop was given.
6206 if test "${enable_selectloop+set}" = set; then
6207 enableval=$enable_selectloop;
6208 if test "$enableval" = yes; then
6209 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6210 else
6211 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6212 fi
6213
6214 else
6215
6216 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6217
6218 fi
6219
6220
6221 eval "$wx_cv_use_selectloop"
6222
6223 if test x"$enablestring" = xdisable; then
6224 if test $wxUSE_SELECT_DISPATCHER = yes; then
6225 result=no
6226 else
6227 result=yes
6228 fi
6229 else
6230 result=$wxUSE_SELECT_DISPATCHER
6231 fi
6232
6233 { echo "$as_me:$LINENO: result: $result" >&5
6234 echo "${ECHO_T}$result" >&6; }
6235
6236
6237
6238 enablestring=
6239 defaultval=$wxUSE_ALL_FEATURES
6240 if test -z "$defaultval"; then
6241 if test x"$enablestring" = xdisable; then
6242 defaultval=yes
6243 else
6244 defaultval=no
6245 fi
6246 fi
6247
6248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6249 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6250 # Check whether --enable-apple_ieee was given.
6251 if test "${enable_apple_ieee+set}" = set; then
6252 enableval=$enable_apple_ieee;
6253 if test "$enableval" = yes; then
6254 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6255 else
6256 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6257 fi
6258
6259 else
6260
6261 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6262
6263 fi
6264
6265
6266 eval "$wx_cv_use_apple_ieee"
6267
6268 if test x"$enablestring" = xdisable; then
6269 if test $wxUSE_APPLE_IEEE = yes; then
6270 result=no
6271 else
6272 result=yes
6273 fi
6274 else
6275 result=$wxUSE_APPLE_IEEE
6276 fi
6277
6278 { echo "$as_me:$LINENO: result: $result" >&5
6279 echo "${ECHO_T}$result" >&6; }
6280
6281
6282 enablestring=
6283 defaultval=$wxUSE_ALL_FEATURES
6284 if test -z "$defaultval"; then
6285 if test x"$enablestring" = xdisable; then
6286 defaultval=yes
6287 else
6288 defaultval=no
6289 fi
6290 fi
6291
6292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6293 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6294 # Check whether --enable-arcstream was given.
6295 if test "${enable_arcstream+set}" = set; then
6296 enableval=$enable_arcstream;
6297 if test "$enableval" = yes; then
6298 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6299 else
6300 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6301 fi
6302
6303 else
6304
6305 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6306
6307 fi
6308
6309
6310 eval "$wx_cv_use_arcstream"
6311
6312 if test x"$enablestring" = xdisable; then
6313 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6314 result=no
6315 else
6316 result=yes
6317 fi
6318 else
6319 result=$wxUSE_ARCHIVE_STREAMS
6320 fi
6321
6322 { echo "$as_me:$LINENO: result: $result" >&5
6323 echo "${ECHO_T}$result" >&6; }
6324
6325
6326 enablestring=
6327 defaultval=$wxUSE_ALL_FEATURES
6328 if test -z "$defaultval"; then
6329 if test x"$enablestring" = xdisable; then
6330 defaultval=yes
6331 else
6332 defaultval=no
6333 fi
6334 fi
6335
6336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6337 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6338 # Check whether --enable-base64 was given.
6339 if test "${enable_base64+set}" = set; then
6340 enableval=$enable_base64;
6341 if test "$enableval" = yes; then
6342 wx_cv_use_base64='wxUSE_BASE64=yes'
6343 else
6344 wx_cv_use_base64='wxUSE_BASE64=no'
6345 fi
6346
6347 else
6348
6349 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6350
6351 fi
6352
6353
6354 eval "$wx_cv_use_base64"
6355
6356 if test x"$enablestring" = xdisable; then
6357 if test $wxUSE_BASE64 = yes; then
6358 result=no
6359 else
6360 result=yes
6361 fi
6362 else
6363 result=$wxUSE_BASE64
6364 fi
6365
6366 { echo "$as_me:$LINENO: result: $result" >&5
6367 echo "${ECHO_T}$result" >&6; }
6368
6369
6370 enablestring=
6371 defaultval=$wxUSE_ALL_FEATURES
6372 if test -z "$defaultval"; then
6373 if test x"$enablestring" = xdisable; then
6374 defaultval=yes
6375 else
6376 defaultval=no
6377 fi
6378 fi
6379
6380 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6381 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6382 # Check whether --enable-backtrace was given.
6383 if test "${enable_backtrace+set}" = set; then
6384 enableval=$enable_backtrace;
6385 if test "$enableval" = yes; then
6386 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6387 else
6388 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6389 fi
6390
6391 else
6392
6393 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6394
6395 fi
6396
6397
6398 eval "$wx_cv_use_backtrace"
6399
6400 if test x"$enablestring" = xdisable; then
6401 if test $wxUSE_STACKWALKER = yes; then
6402 result=no
6403 else
6404 result=yes
6405 fi
6406 else
6407 result=$wxUSE_STACKWALKER
6408 fi
6409
6410 { echo "$as_me:$LINENO: result: $result" >&5
6411 echo "${ECHO_T}$result" >&6; }
6412
6413
6414 enablestring=
6415 defaultval=$wxUSE_ALL_FEATURES
6416 if test -z "$defaultval"; then
6417 if test x"$enablestring" = xdisable; then
6418 defaultval=yes
6419 else
6420 defaultval=no
6421 fi
6422 fi
6423
6424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6425 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6426 # Check whether --enable-catch_segvs was given.
6427 if test "${enable_catch_segvs+set}" = set; then
6428 enableval=$enable_catch_segvs;
6429 if test "$enableval" = yes; then
6430 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6431 else
6432 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6433 fi
6434
6435 else
6436
6437 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6438
6439 fi
6440
6441
6442 eval "$wx_cv_use_catch_segvs"
6443
6444 if test x"$enablestring" = xdisable; then
6445 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6446 result=no
6447 else
6448 result=yes
6449 fi
6450 else
6451 result=$wxUSE_ON_FATAL_EXCEPTION
6452 fi
6453
6454 { echo "$as_me:$LINENO: result: $result" >&5
6455 echo "${ECHO_T}$result" >&6; }
6456
6457
6458 enablestring=
6459 defaultval=$wxUSE_ALL_FEATURES
6460 if test -z "$defaultval"; then
6461 if test x"$enablestring" = xdisable; then
6462 defaultval=yes
6463 else
6464 defaultval=no
6465 fi
6466 fi
6467
6468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6469 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6470 # Check whether --enable-cmdline was given.
6471 if test "${enable_cmdline+set}" = set; then
6472 enableval=$enable_cmdline;
6473 if test "$enableval" = yes; then
6474 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6475 else
6476 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6477 fi
6478
6479 else
6480
6481 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6482
6483 fi
6484
6485
6486 eval "$wx_cv_use_cmdline"
6487
6488 if test x"$enablestring" = xdisable; then
6489 if test $wxUSE_CMDLINE_PARSER = yes; then
6490 result=no
6491 else
6492 result=yes
6493 fi
6494 else
6495 result=$wxUSE_CMDLINE_PARSER
6496 fi
6497
6498 { echo "$as_me:$LINENO: result: $result" >&5
6499 echo "${ECHO_T}$result" >&6; }
6500
6501
6502 enablestring=
6503 defaultval=$wxUSE_ALL_FEATURES
6504 if test -z "$defaultval"; then
6505 if test x"$enablestring" = xdisable; then
6506 defaultval=yes
6507 else
6508 defaultval=no
6509 fi
6510 fi
6511
6512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6513 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6514 # Check whether --enable-datetime was given.
6515 if test "${enable_datetime+set}" = set; then
6516 enableval=$enable_datetime;
6517 if test "$enableval" = yes; then
6518 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6519 else
6520 wx_cv_use_datetime='wxUSE_DATETIME=no'
6521 fi
6522
6523 else
6524
6525 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6526
6527 fi
6528
6529
6530 eval "$wx_cv_use_datetime"
6531
6532 if test x"$enablestring" = xdisable; then
6533 if test $wxUSE_DATETIME = yes; then
6534 result=no
6535 else
6536 result=yes
6537 fi
6538 else
6539 result=$wxUSE_DATETIME
6540 fi
6541
6542 { echo "$as_me:$LINENO: result: $result" >&5
6543 echo "${ECHO_T}$result" >&6; }
6544
6545
6546 enablestring=
6547 defaultval=$wxUSE_ALL_FEATURES
6548 if test -z "$defaultval"; then
6549 if test x"$enablestring" = xdisable; then
6550 defaultval=yes
6551 else
6552 defaultval=no
6553 fi
6554 fi
6555
6556 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6557 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6558 # Check whether --enable-debugreport was given.
6559 if test "${enable_debugreport+set}" = set; then
6560 enableval=$enable_debugreport;
6561 if test "$enableval" = yes; then
6562 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6563 else
6564 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6565 fi
6566
6567 else
6568
6569 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6570
6571 fi
6572
6573
6574 eval "$wx_cv_use_debugreport"
6575
6576 if test x"$enablestring" = xdisable; then
6577 if test $wxUSE_DEBUGREPORT = yes; then
6578 result=no
6579 else
6580 result=yes
6581 fi
6582 else
6583 result=$wxUSE_DEBUGREPORT
6584 fi
6585
6586 { echo "$as_me:$LINENO: result: $result" >&5
6587 echo "${ECHO_T}$result" >&6; }
6588
6589
6590 enablestring=
6591 defaultval=$wxUSE_ALL_FEATURES
6592 if test -z "$defaultval"; then
6593 if test x"$enablestring" = xdisable; then
6594 defaultval=yes
6595 else
6596 defaultval=no
6597 fi
6598 fi
6599
6600 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6601 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6602 # Check whether --enable-dialupman was given.
6603 if test "${enable_dialupman+set}" = set; then
6604 enableval=$enable_dialupman;
6605 if test "$enableval" = yes; then
6606 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6607 else
6608 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6609 fi
6610
6611 else
6612
6613 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6614
6615 fi
6616
6617
6618 eval "$wx_cv_use_dialupman"
6619
6620 if test x"$enablestring" = xdisable; then
6621 if test $wxUSE_DIALUP_MANAGER = yes; then
6622 result=no
6623 else
6624 result=yes
6625 fi
6626 else
6627 result=$wxUSE_DIALUP_MANAGER
6628 fi
6629
6630 { echo "$as_me:$LINENO: result: $result" >&5
6631 echo "${ECHO_T}$result" >&6; }
6632
6633
6634 enablestring=
6635 defaultval=$wxUSE_ALL_FEATURES
6636 if test -z "$defaultval"; then
6637 if test x"$enablestring" = xdisable; then
6638 defaultval=yes
6639 else
6640 defaultval=no
6641 fi
6642 fi
6643
6644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6645 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6646 # Check whether --enable-dynlib was given.
6647 if test "${enable_dynlib+set}" = set; then
6648 enableval=$enable_dynlib;
6649 if test "$enableval" = yes; then
6650 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6651 else
6652 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6653 fi
6654
6655 else
6656
6657 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6658
6659 fi
6660
6661
6662 eval "$wx_cv_use_dynlib"
6663
6664 if test x"$enablestring" = xdisable; then
6665 if test $wxUSE_DYNLIB_CLASS = yes; then
6666 result=no
6667 else
6668 result=yes
6669 fi
6670 else
6671 result=$wxUSE_DYNLIB_CLASS
6672 fi
6673
6674 { echo "$as_me:$LINENO: result: $result" >&5
6675 echo "${ECHO_T}$result" >&6; }
6676
6677
6678 enablestring=
6679 defaultval=$wxUSE_ALL_FEATURES
6680 if test -z "$defaultval"; then
6681 if test x"$enablestring" = xdisable; then
6682 defaultval=yes
6683 else
6684 defaultval=no
6685 fi
6686 fi
6687
6688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6689 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6690 # Check whether --enable-dynamicloader was given.
6691 if test "${enable_dynamicloader+set}" = set; then
6692 enableval=$enable_dynamicloader;
6693 if test "$enableval" = yes; then
6694 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6695 else
6696 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6697 fi
6698
6699 else
6700
6701 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6702
6703 fi
6704
6705
6706 eval "$wx_cv_use_dynamicloader"
6707
6708 if test x"$enablestring" = xdisable; then
6709 if test $wxUSE_DYNAMIC_LOADER = yes; then
6710 result=no
6711 else
6712 result=yes
6713 fi
6714 else
6715 result=$wxUSE_DYNAMIC_LOADER
6716 fi
6717
6718 { echo "$as_me:$LINENO: result: $result" >&5
6719 echo "${ECHO_T}$result" >&6; }
6720
6721
6722 enablestring=
6723 defaultval=$wxUSE_ALL_FEATURES
6724 if test -z "$defaultval"; then
6725 if test x"$enablestring" = xdisable; then
6726 defaultval=yes
6727 else
6728 defaultval=no
6729 fi
6730 fi
6731
6732 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6733 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6734 # Check whether --enable-exceptions was given.
6735 if test "${enable_exceptions+set}" = set; then
6736 enableval=$enable_exceptions;
6737 if test "$enableval" = yes; then
6738 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6739 else
6740 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6741 fi
6742
6743 else
6744
6745 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6746
6747 fi
6748
6749
6750 eval "$wx_cv_use_exceptions"
6751
6752 if test x"$enablestring" = xdisable; then
6753 if test $wxUSE_EXCEPTIONS = yes; then
6754 result=no
6755 else
6756 result=yes
6757 fi
6758 else
6759 result=$wxUSE_EXCEPTIONS
6760 fi
6761
6762 { echo "$as_me:$LINENO: result: $result" >&5
6763 echo "${ECHO_T}$result" >&6; }
6764
6765
6766 enablestring=
6767 defaultval=$wxUSE_ALL_FEATURES
6768 if test -z "$defaultval"; then
6769 if test x"$enablestring" = xdisable; then
6770 defaultval=yes
6771 else
6772 defaultval=no
6773 fi
6774 fi
6775
6776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6777 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6778 # Check whether --enable-ffile was given.
6779 if test "${enable_ffile+set}" = set; then
6780 enableval=$enable_ffile;
6781 if test "$enableval" = yes; then
6782 wx_cv_use_ffile='wxUSE_FFILE=yes'
6783 else
6784 wx_cv_use_ffile='wxUSE_FFILE=no'
6785 fi
6786
6787 else
6788
6789 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6790
6791 fi
6792
6793
6794 eval "$wx_cv_use_ffile"
6795
6796 if test x"$enablestring" = xdisable; then
6797 if test $wxUSE_FFILE = yes; then
6798 result=no
6799 else
6800 result=yes
6801 fi
6802 else
6803 result=$wxUSE_FFILE
6804 fi
6805
6806 { echo "$as_me:$LINENO: result: $result" >&5
6807 echo "${ECHO_T}$result" >&6; }
6808
6809
6810 enablestring=
6811 defaultval=$wxUSE_ALL_FEATURES
6812 if test -z "$defaultval"; then
6813 if test x"$enablestring" = xdisable; then
6814 defaultval=yes
6815 else
6816 defaultval=no
6817 fi
6818 fi
6819
6820 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6821 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6822 # Check whether --enable-file was given.
6823 if test "${enable_file+set}" = set; then
6824 enableval=$enable_file;
6825 if test "$enableval" = yes; then
6826 wx_cv_use_file='wxUSE_FILE=yes'
6827 else
6828 wx_cv_use_file='wxUSE_FILE=no'
6829 fi
6830
6831 else
6832
6833 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6834
6835 fi
6836
6837
6838 eval "$wx_cv_use_file"
6839
6840 if test x"$enablestring" = xdisable; then
6841 if test $wxUSE_FILE = yes; then
6842 result=no
6843 else
6844 result=yes
6845 fi
6846 else
6847 result=$wxUSE_FILE
6848 fi
6849
6850 { echo "$as_me:$LINENO: result: $result" >&5
6851 echo "${ECHO_T}$result" >&6; }
6852
6853
6854 enablestring=
6855 defaultval=$wxUSE_ALL_FEATURES
6856 if test -z "$defaultval"; then
6857 if test x"$enablestring" = xdisable; then
6858 defaultval=yes
6859 else
6860 defaultval=no
6861 fi
6862 fi
6863
6864 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6865 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6866 # Check whether --enable-filesystem was given.
6867 if test "${enable_filesystem+set}" = set; then
6868 enableval=$enable_filesystem;
6869 if test "$enableval" = yes; then
6870 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6871 else
6872 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6873 fi
6874
6875 else
6876
6877 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6878
6879 fi
6880
6881
6882 eval "$wx_cv_use_filesystem"
6883
6884 if test x"$enablestring" = xdisable; then
6885 if test $wxUSE_FILESYSTEM = yes; then
6886 result=no
6887 else
6888 result=yes
6889 fi
6890 else
6891 result=$wxUSE_FILESYSTEM
6892 fi
6893
6894 { echo "$as_me:$LINENO: result: $result" >&5
6895 echo "${ECHO_T}$result" >&6; }
6896
6897
6898 enablestring=
6899 defaultval=$wxUSE_ALL_FEATURES
6900 if test -z "$defaultval"; then
6901 if test x"$enablestring" = xdisable; then
6902 defaultval=yes
6903 else
6904 defaultval=no
6905 fi
6906 fi
6907
6908 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6909 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6910 # Check whether --enable-fontenum was given.
6911 if test "${enable_fontenum+set}" = set; then
6912 enableval=$enable_fontenum;
6913 if test "$enableval" = yes; then
6914 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6915 else
6916 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6917 fi
6918
6919 else
6920
6921 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6922
6923 fi
6924
6925
6926 eval "$wx_cv_use_fontenum"
6927
6928 if test x"$enablestring" = xdisable; then
6929 if test $wxUSE_FONTENUM = yes; then
6930 result=no
6931 else
6932 result=yes
6933 fi
6934 else
6935 result=$wxUSE_FONTENUM
6936 fi
6937
6938 { echo "$as_me:$LINENO: result: $result" >&5
6939 echo "${ECHO_T}$result" >&6; }
6940
6941
6942 enablestring=
6943 defaultval=$wxUSE_ALL_FEATURES
6944 if test -z "$defaultval"; then
6945 if test x"$enablestring" = xdisable; then
6946 defaultval=yes
6947 else
6948 defaultval=no
6949 fi
6950 fi
6951
6952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6953 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6954 # Check whether --enable-fontmap was given.
6955 if test "${enable_fontmap+set}" = set; then
6956 enableval=$enable_fontmap;
6957 if test "$enableval" = yes; then
6958 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
6959 else
6960 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
6961 fi
6962
6963 else
6964
6965 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6966
6967 fi
6968
6969
6970 eval "$wx_cv_use_fontmap"
6971
6972 if test x"$enablestring" = xdisable; then
6973 if test $wxUSE_FONTMAP = yes; then
6974 result=no
6975 else
6976 result=yes
6977 fi
6978 else
6979 result=$wxUSE_FONTMAP
6980 fi
6981
6982 { echo "$as_me:$LINENO: result: $result" >&5
6983 echo "${ECHO_T}$result" >&6; }
6984
6985
6986 enablestring=
6987 defaultval=$wxUSE_ALL_FEATURES
6988 if test -z "$defaultval"; then
6989 if test x"$enablestring" = xdisable; then
6990 defaultval=yes
6991 else
6992 defaultval=no
6993 fi
6994 fi
6995
6996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6997 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6998 # Check whether --enable-fs_archive was given.
6999 if test "${enable_fs_archive+set}" = set; then
7000 enableval=$enable_fs_archive;
7001 if test "$enableval" = yes; then
7002 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7003 else
7004 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7005 fi
7006
7007 else
7008
7009 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7010
7011 fi
7012
7013
7014 eval "$wx_cv_use_fs_archive"
7015
7016 if test x"$enablestring" = xdisable; then
7017 if test $wxUSE_FS_ARCHIVE = yes; then
7018 result=no
7019 else
7020 result=yes
7021 fi
7022 else
7023 result=$wxUSE_FS_ARCHIVE
7024 fi
7025
7026 { echo "$as_me:$LINENO: result: $result" >&5
7027 echo "${ECHO_T}$result" >&6; }
7028
7029
7030 enablestring=
7031 defaultval=$wxUSE_ALL_FEATURES
7032 if test -z "$defaultval"; then
7033 if test x"$enablestring" = xdisable; then
7034 defaultval=yes
7035 else
7036 defaultval=no
7037 fi
7038 fi
7039
7040 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7041 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7042 # Check whether --enable-fs_inet was given.
7043 if test "${enable_fs_inet+set}" = set; then
7044 enableval=$enable_fs_inet;
7045 if test "$enableval" = yes; then
7046 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7047 else
7048 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7049 fi
7050
7051 else
7052
7053 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7054
7055 fi
7056
7057
7058 eval "$wx_cv_use_fs_inet"
7059
7060 if test x"$enablestring" = xdisable; then
7061 if test $wxUSE_FS_INET = yes; then
7062 result=no
7063 else
7064 result=yes
7065 fi
7066 else
7067 result=$wxUSE_FS_INET
7068 fi
7069
7070 { echo "$as_me:$LINENO: result: $result" >&5
7071 echo "${ECHO_T}$result" >&6; }
7072
7073
7074 enablestring=
7075 defaultval=$wxUSE_ALL_FEATURES
7076 if test -z "$defaultval"; then
7077 if test x"$enablestring" = xdisable; then
7078 defaultval=yes
7079 else
7080 defaultval=no
7081 fi
7082 fi
7083
7084 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7085 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7086 # Check whether --enable-fs_zip was given.
7087 if test "${enable_fs_zip+set}" = set; then
7088 enableval=$enable_fs_zip;
7089 if test "$enableval" = yes; then
7090 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7091 else
7092 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7093 fi
7094
7095 else
7096
7097 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7098
7099 fi
7100
7101
7102 eval "$wx_cv_use_fs_zip"
7103
7104 if test x"$enablestring" = xdisable; then
7105 if test $wxUSE_FS_ZIP = yes; then
7106 result=no
7107 else
7108 result=yes
7109 fi
7110 else
7111 result=$wxUSE_FS_ZIP
7112 fi
7113
7114 { echo "$as_me:$LINENO: result: $result" >&5
7115 echo "${ECHO_T}$result" >&6; }
7116
7117
7118 enablestring=
7119 defaultval=$wxUSE_ALL_FEATURES
7120 if test -z "$defaultval"; then
7121 if test x"$enablestring" = xdisable; then
7122 defaultval=yes
7123 else
7124 defaultval=no
7125 fi
7126 fi
7127
7128 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7129 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7130 # Check whether --enable-geometry was given.
7131 if test "${enable_geometry+set}" = set; then
7132 enableval=$enable_geometry;
7133 if test "$enableval" = yes; then
7134 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7135 else
7136 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7137 fi
7138
7139 else
7140
7141 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7142
7143 fi
7144
7145
7146 eval "$wx_cv_use_geometry"
7147
7148 if test x"$enablestring" = xdisable; then
7149 if test $wxUSE_GEOMETRY = yes; then
7150 result=no
7151 else
7152 result=yes
7153 fi
7154 else
7155 result=$wxUSE_GEOMETRY
7156 fi
7157
7158 { echo "$as_me:$LINENO: result: $result" >&5
7159 echo "${ECHO_T}$result" >&6; }
7160
7161
7162 enablestring=
7163 defaultval=$wxUSE_ALL_FEATURES
7164 if test -z "$defaultval"; then
7165 if test x"$enablestring" = xdisable; then
7166 defaultval=yes
7167 else
7168 defaultval=no
7169 fi
7170 fi
7171
7172 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7173 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7174 # Check whether --enable-log was given.
7175 if test "${enable_log+set}" = set; then
7176 enableval=$enable_log;
7177 if test "$enableval" = yes; then
7178 wx_cv_use_log='wxUSE_LOG=yes'
7179 else
7180 wx_cv_use_log='wxUSE_LOG=no'
7181 fi
7182
7183 else
7184
7185 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7186
7187 fi
7188
7189
7190 eval "$wx_cv_use_log"
7191
7192 if test x"$enablestring" = xdisable; then
7193 if test $wxUSE_LOG = yes; then
7194 result=no
7195 else
7196 result=yes
7197 fi
7198 else
7199 result=$wxUSE_LOG
7200 fi
7201
7202 { echo "$as_me:$LINENO: result: $result" >&5
7203 echo "${ECHO_T}$result" >&6; }
7204
7205
7206 enablestring=
7207 defaultval=$wxUSE_ALL_FEATURES
7208 if test -z "$defaultval"; then
7209 if test x"$enablestring" = xdisable; then
7210 defaultval=yes
7211 else
7212 defaultval=no
7213 fi
7214 fi
7215
7216 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7217 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7218 # Check whether --enable-longlong was given.
7219 if test "${enable_longlong+set}" = set; then
7220 enableval=$enable_longlong;
7221 if test "$enableval" = yes; then
7222 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7223 else
7224 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7225 fi
7226
7227 else
7228
7229 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7230
7231 fi
7232
7233
7234 eval "$wx_cv_use_longlong"
7235
7236 if test x"$enablestring" = xdisable; then
7237 if test $wxUSE_LONGLONG = yes; then
7238 result=no
7239 else
7240 result=yes
7241 fi
7242 else
7243 result=$wxUSE_LONGLONG
7244 fi
7245
7246 { echo "$as_me:$LINENO: result: $result" >&5
7247 echo "${ECHO_T}$result" >&6; }
7248
7249
7250 enablestring=
7251 defaultval=$wxUSE_ALL_FEATURES
7252 if test -z "$defaultval"; then
7253 if test x"$enablestring" = xdisable; then
7254 defaultval=yes
7255 else
7256 defaultval=no
7257 fi
7258 fi
7259
7260 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7261 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7262 # Check whether --enable-mimetype was given.
7263 if test "${enable_mimetype+set}" = set; then
7264 enableval=$enable_mimetype;
7265 if test "$enableval" = yes; then
7266 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7267 else
7268 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7269 fi
7270
7271 else
7272
7273 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7274
7275 fi
7276
7277
7278 eval "$wx_cv_use_mimetype"
7279
7280 if test x"$enablestring" = xdisable; then
7281 if test $wxUSE_MIMETYPE = yes; then
7282 result=no
7283 else
7284 result=yes
7285 fi
7286 else
7287 result=$wxUSE_MIMETYPE
7288 fi
7289
7290 { echo "$as_me:$LINENO: result: $result" >&5
7291 echo "${ECHO_T}$result" >&6; }
7292
7293
7294 enablestring=
7295 defaultval=$wxUSE_ALL_FEATURES
7296 if test -z "$defaultval"; then
7297 if test x"$enablestring" = xdisable; then
7298 defaultval=yes
7299 else
7300 defaultval=no
7301 fi
7302 fi
7303
7304 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7305 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7306 # Check whether --enable-printfposparam was given.
7307 if test "${enable_printfposparam+set}" = set; then
7308 enableval=$enable_printfposparam;
7309 if test "$enableval" = yes; then
7310 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7311 else
7312 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7313 fi
7314
7315 else
7316
7317 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7318
7319 fi
7320
7321
7322 eval "$wx_cv_use_printfposparam"
7323
7324 if test x"$enablestring" = xdisable; then
7325 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7326 result=no
7327 else
7328 result=yes
7329 fi
7330 else
7331 result=$wxUSE_PRINTF_POS_PARAMS
7332 fi
7333
7334 { echo "$as_me:$LINENO: result: $result" >&5
7335 echo "${ECHO_T}$result" >&6; }
7336
7337
7338 enablestring=
7339 defaultval=$wxUSE_ALL_FEATURES
7340 if test -z "$defaultval"; then
7341 if test x"$enablestring" = xdisable; then
7342 defaultval=yes
7343 else
7344 defaultval=no
7345 fi
7346 fi
7347
7348 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7349 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7350 # Check whether --enable-snglinst was given.
7351 if test "${enable_snglinst+set}" = set; then
7352 enableval=$enable_snglinst;
7353 if test "$enableval" = yes; then
7354 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7355 else
7356 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7357 fi
7358
7359 else
7360
7361 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7362
7363 fi
7364
7365
7366 eval "$wx_cv_use_snglinst"
7367
7368 if test x"$enablestring" = xdisable; then
7369 if test $wxUSE_SNGLINST_CHECKER = yes; then
7370 result=no
7371 else
7372 result=yes
7373 fi
7374 else
7375 result=$wxUSE_SNGLINST_CHECKER
7376 fi
7377
7378 { echo "$as_me:$LINENO: result: $result" >&5
7379 echo "${ECHO_T}$result" >&6; }
7380
7381
7382 enablestring=
7383 defaultval=$wxUSE_ALL_FEATURES
7384 if test -z "$defaultval"; then
7385 if test x"$enablestring" = xdisable; then
7386 defaultval=yes
7387 else
7388 defaultval=no
7389 fi
7390 fi
7391
7392 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7393 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7394 # Check whether --enable-sound was given.
7395 if test "${enable_sound+set}" = set; then
7396 enableval=$enable_sound;
7397 if test "$enableval" = yes; then
7398 wx_cv_use_sound='wxUSE_SOUND=yes'
7399 else
7400 wx_cv_use_sound='wxUSE_SOUND=no'
7401 fi
7402
7403 else
7404
7405 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7406
7407 fi
7408
7409
7410 eval "$wx_cv_use_sound"
7411
7412 if test x"$enablestring" = xdisable; then
7413 if test $wxUSE_SOUND = yes; then
7414 result=no
7415 else
7416 result=yes
7417 fi
7418 else
7419 result=$wxUSE_SOUND
7420 fi
7421
7422 { echo "$as_me:$LINENO: result: $result" >&5
7423 echo "${ECHO_T}$result" >&6; }
7424
7425
7426 enablestring=
7427 defaultval=$wxUSE_ALL_FEATURES
7428 if test -z "$defaultval"; then
7429 if test x"$enablestring" = xdisable; then
7430 defaultval=yes
7431 else
7432 defaultval=no
7433 fi
7434 fi
7435
7436 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7437 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7438 # Check whether --enable-stdpaths was given.
7439 if test "${enable_stdpaths+set}" = set; then
7440 enableval=$enable_stdpaths;
7441 if test "$enableval" = yes; then
7442 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7443 else
7444 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7445 fi
7446
7447 else
7448
7449 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7450
7451 fi
7452
7453
7454 eval "$wx_cv_use_stdpaths"
7455
7456 if test x"$enablestring" = xdisable; then
7457 if test $wxUSE_STDPATHS = yes; then
7458 result=no
7459 else
7460 result=yes
7461 fi
7462 else
7463 result=$wxUSE_STDPATHS
7464 fi
7465
7466 { echo "$as_me:$LINENO: result: $result" >&5
7467 echo "${ECHO_T}$result" >&6; }
7468
7469
7470 enablestring=
7471 defaultval=$wxUSE_ALL_FEATURES
7472 if test -z "$defaultval"; then
7473 if test x"$enablestring" = xdisable; then
7474 defaultval=yes
7475 else
7476 defaultval=no
7477 fi
7478 fi
7479
7480 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7481 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7482 # Check whether --enable-stopwatch was given.
7483 if test "${enable_stopwatch+set}" = set; then
7484 enableval=$enable_stopwatch;
7485 if test "$enableval" = yes; then
7486 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7487 else
7488 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7489 fi
7490
7491 else
7492
7493 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7494
7495 fi
7496
7497
7498 eval "$wx_cv_use_stopwatch"
7499
7500 if test x"$enablestring" = xdisable; then
7501 if test $wxUSE_STOPWATCH = yes; then
7502 result=no
7503 else
7504 result=yes
7505 fi
7506 else
7507 result=$wxUSE_STOPWATCH
7508 fi
7509
7510 { echo "$as_me:$LINENO: result: $result" >&5
7511 echo "${ECHO_T}$result" >&6; }
7512
7513
7514 enablestring=
7515 defaultval=$wxUSE_ALL_FEATURES
7516 if test -z "$defaultval"; then
7517 if test x"$enablestring" = xdisable; then
7518 defaultval=yes
7519 else
7520 defaultval=no
7521 fi
7522 fi
7523
7524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7525 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7526 # Check whether --enable-streams was given.
7527 if test "${enable_streams+set}" = set; then
7528 enableval=$enable_streams;
7529 if test "$enableval" = yes; then
7530 wx_cv_use_streams='wxUSE_STREAMS=yes'
7531 else
7532 wx_cv_use_streams='wxUSE_STREAMS=no'
7533 fi
7534
7535 else
7536
7537 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7538
7539 fi
7540
7541
7542 eval "$wx_cv_use_streams"
7543
7544 if test x"$enablestring" = xdisable; then
7545 if test $wxUSE_STREAMS = yes; then
7546 result=no
7547 else
7548 result=yes
7549 fi
7550 else
7551 result=$wxUSE_STREAMS
7552 fi
7553
7554 { echo "$as_me:$LINENO: result: $result" >&5
7555 echo "${ECHO_T}$result" >&6; }
7556
7557
7558 enablestring=
7559 defaultval=$wxUSE_ALL_FEATURES
7560 if test -z "$defaultval"; then
7561 if test x"$enablestring" = xdisable; then
7562 defaultval=yes
7563 else
7564 defaultval=no
7565 fi
7566 fi
7567
7568 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7569 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7570 # Check whether --enable-system_options was given.
7571 if test "${enable_system_options+set}" = set; then
7572 enableval=$enable_system_options;
7573 if test "$enableval" = yes; then
7574 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7575 else
7576 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7577 fi
7578
7579 else
7580
7581 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7582
7583 fi
7584
7585
7586 eval "$wx_cv_use_system_options"
7587
7588 if test x"$enablestring" = xdisable; then
7589 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7590 result=no
7591 else
7592 result=yes
7593 fi
7594 else
7595 result=$wxUSE_SYSTEM_OPTIONS
7596 fi
7597
7598 { echo "$as_me:$LINENO: result: $result" >&5
7599 echo "${ECHO_T}$result" >&6; }
7600
7601
7602 enablestring=
7603 defaultval=$wxUSE_ALL_FEATURES
7604 if test -z "$defaultval"; then
7605 if test x"$enablestring" = xdisable; then
7606 defaultval=yes
7607 else
7608 defaultval=no
7609 fi
7610 fi
7611
7612 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7613 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7614 # Check whether --enable-tarstream was given.
7615 if test "${enable_tarstream+set}" = set; then
7616 enableval=$enable_tarstream;
7617 if test "$enableval" = yes; then
7618 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7619 else
7620 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7621 fi
7622
7623 else
7624
7625 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7626
7627 fi
7628
7629
7630 eval "$wx_cv_use_tarstream"
7631
7632 if test x"$enablestring" = xdisable; then
7633 if test $wxUSE_TARSTREAM = yes; then
7634 result=no
7635 else
7636 result=yes
7637 fi
7638 else
7639 result=$wxUSE_TARSTREAM
7640 fi
7641
7642 { echo "$as_me:$LINENO: result: $result" >&5
7643 echo "${ECHO_T}$result" >&6; }
7644
7645
7646 enablestring=
7647 defaultval=$wxUSE_ALL_FEATURES
7648 if test -z "$defaultval"; then
7649 if test x"$enablestring" = xdisable; then
7650 defaultval=yes
7651 else
7652 defaultval=no
7653 fi
7654 fi
7655
7656 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7657 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7658 # Check whether --enable-textbuf was given.
7659 if test "${enable_textbuf+set}" = set; then
7660 enableval=$enable_textbuf;
7661 if test "$enableval" = yes; then
7662 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7663 else
7664 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7665 fi
7666
7667 else
7668
7669 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7670
7671 fi
7672
7673
7674 eval "$wx_cv_use_textbuf"
7675
7676 if test x"$enablestring" = xdisable; then
7677 if test $wxUSE_TEXTBUFFER = yes; then
7678 result=no
7679 else
7680 result=yes
7681 fi
7682 else
7683 result=$wxUSE_TEXTBUFFER
7684 fi
7685
7686 { echo "$as_me:$LINENO: result: $result" >&5
7687 echo "${ECHO_T}$result" >&6; }
7688
7689
7690 enablestring=
7691 defaultval=$wxUSE_ALL_FEATURES
7692 if test -z "$defaultval"; then
7693 if test x"$enablestring" = xdisable; then
7694 defaultval=yes
7695 else
7696 defaultval=no
7697 fi
7698 fi
7699
7700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7701 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7702 # Check whether --enable-textfile was given.
7703 if test "${enable_textfile+set}" = set; then
7704 enableval=$enable_textfile;
7705 if test "$enableval" = yes; then
7706 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7707 else
7708 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7709 fi
7710
7711 else
7712
7713 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7714
7715 fi
7716
7717
7718 eval "$wx_cv_use_textfile"
7719
7720 if test x"$enablestring" = xdisable; then
7721 if test $wxUSE_TEXTFILE = yes; then
7722 result=no
7723 else
7724 result=yes
7725 fi
7726 else
7727 result=$wxUSE_TEXTFILE
7728 fi
7729
7730 { echo "$as_me:$LINENO: result: $result" >&5
7731 echo "${ECHO_T}$result" >&6; }
7732
7733
7734 enablestring=
7735 defaultval=$wxUSE_ALL_FEATURES
7736 if test -z "$defaultval"; then
7737 if test x"$enablestring" = xdisable; then
7738 defaultval=yes
7739 else
7740 defaultval=no
7741 fi
7742 fi
7743
7744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7745 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7746 # Check whether --enable-timer was given.
7747 if test "${enable_timer+set}" = set; then
7748 enableval=$enable_timer;
7749 if test "$enableval" = yes; then
7750 wx_cv_use_timer='wxUSE_TIMER=yes'
7751 else
7752 wx_cv_use_timer='wxUSE_TIMER=no'
7753 fi
7754
7755 else
7756
7757 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7758
7759 fi
7760
7761
7762 eval "$wx_cv_use_timer"
7763
7764 if test x"$enablestring" = xdisable; then
7765 if test $wxUSE_TIMER = yes; then
7766 result=no
7767 else
7768 result=yes
7769 fi
7770 else
7771 result=$wxUSE_TIMER
7772 fi
7773
7774 { echo "$as_me:$LINENO: result: $result" >&5
7775 echo "${ECHO_T}$result" >&6; }
7776
7777
7778 enablestring=
7779 defaultval=$wxUSE_ALL_FEATURES
7780 if test -z "$defaultval"; then
7781 if test x"$enablestring" = xdisable; then
7782 defaultval=yes
7783 else
7784 defaultval=no
7785 fi
7786 fi
7787
7788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7789 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7790 # Check whether --enable-variant was given.
7791 if test "${enable_variant+set}" = set; then
7792 enableval=$enable_variant;
7793 if test "$enableval" = yes; then
7794 wx_cv_use_variant='wxUSE_VARIANT=yes'
7795 else
7796 wx_cv_use_variant='wxUSE_VARIANT=no'
7797 fi
7798
7799 else
7800
7801 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7802
7803 fi
7804
7805
7806 eval "$wx_cv_use_variant"
7807
7808 if test x"$enablestring" = xdisable; then
7809 if test $wxUSE_VARIANT = yes; then
7810 result=no
7811 else
7812 result=yes
7813 fi
7814 else
7815 result=$wxUSE_VARIANT
7816 fi
7817
7818 { echo "$as_me:$LINENO: result: $result" >&5
7819 echo "${ECHO_T}$result" >&6; }
7820
7821
7822 enablestring=
7823 defaultval=$wxUSE_ALL_FEATURES
7824 if test -z "$defaultval"; then
7825 if test x"$enablestring" = xdisable; then
7826 defaultval=yes
7827 else
7828 defaultval=no
7829 fi
7830 fi
7831
7832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7833 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7834 # Check whether --enable-zipstream was given.
7835 if test "${enable_zipstream+set}" = set; then
7836 enableval=$enable_zipstream;
7837 if test "$enableval" = yes; then
7838 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7839 else
7840 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7841 fi
7842
7843 else
7844
7845 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7846
7847 fi
7848
7849
7850 eval "$wx_cv_use_zipstream"
7851
7852 if test x"$enablestring" = xdisable; then
7853 if test $wxUSE_ZIPSTREAM = yes; then
7854 result=no
7855 else
7856 result=yes
7857 fi
7858 else
7859 result=$wxUSE_ZIPSTREAM
7860 fi
7861
7862 { echo "$as_me:$LINENO: result: $result" >&5
7863 echo "${ECHO_T}$result" >&6; }
7864
7865
7866
7867 enablestring=
7868 defaultval=$wxUSE_ALL_FEATURES
7869 if test -z "$defaultval"; then
7870 if test x"$enablestring" = xdisable; then
7871 defaultval=yes
7872 else
7873 defaultval=no
7874 fi
7875 fi
7876
7877 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7878 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7879 # Check whether --enable-url was given.
7880 if test "${enable_url+set}" = set; then
7881 enableval=$enable_url;
7882 if test "$enableval" = yes; then
7883 wx_cv_use_url='wxUSE_URL=yes'
7884 else
7885 wx_cv_use_url='wxUSE_URL=no'
7886 fi
7887
7888 else
7889
7890 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7891
7892 fi
7893
7894
7895 eval "$wx_cv_use_url"
7896
7897 if test x"$enablestring" = xdisable; then
7898 if test $wxUSE_URL = yes; then
7899 result=no
7900 else
7901 result=yes
7902 fi
7903 else
7904 result=$wxUSE_URL
7905 fi
7906
7907 { echo "$as_me:$LINENO: result: $result" >&5
7908 echo "${ECHO_T}$result" >&6; }
7909
7910
7911 enablestring=
7912 defaultval=$wxUSE_ALL_FEATURES
7913 if test -z "$defaultval"; then
7914 if test x"$enablestring" = xdisable; then
7915 defaultval=yes
7916 else
7917 defaultval=no
7918 fi
7919 fi
7920
7921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7922 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7923 # Check whether --enable-protocol was given.
7924 if test "${enable_protocol+set}" = set; then
7925 enableval=$enable_protocol;
7926 if test "$enableval" = yes; then
7927 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
7928 else
7929 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
7930 fi
7931
7932 else
7933
7934 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7935
7936 fi
7937
7938
7939 eval "$wx_cv_use_protocol"
7940
7941 if test x"$enablestring" = xdisable; then
7942 if test $wxUSE_PROTOCOL = yes; then
7943 result=no
7944 else
7945 result=yes
7946 fi
7947 else
7948 result=$wxUSE_PROTOCOL
7949 fi
7950
7951 { echo "$as_me:$LINENO: result: $result" >&5
7952 echo "${ECHO_T}$result" >&6; }
7953
7954
7955 enablestring=
7956 defaultval=$wxUSE_ALL_FEATURES
7957 if test -z "$defaultval"; then
7958 if test x"$enablestring" = xdisable; then
7959 defaultval=yes
7960 else
7961 defaultval=no
7962 fi
7963 fi
7964
7965 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7966 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7967 # Check whether --enable-protocol_http was given.
7968 if test "${enable_protocol_http+set}" = set; then
7969 enableval=$enable_protocol_http;
7970 if test "$enableval" = yes; then
7971 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7972 else
7973 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7974 fi
7975
7976 else
7977
7978 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7979
7980 fi
7981
7982
7983 eval "$wx_cv_use_protocol_http"
7984
7985 if test x"$enablestring" = xdisable; then
7986 if test $wxUSE_PROTOCOL_HTTP = yes; then
7987 result=no
7988 else
7989 result=yes
7990 fi
7991 else
7992 result=$wxUSE_PROTOCOL_HTTP
7993 fi
7994
7995 { echo "$as_me:$LINENO: result: $result" >&5
7996 echo "${ECHO_T}$result" >&6; }
7997
7998
7999 enablestring=
8000 defaultval=$wxUSE_ALL_FEATURES
8001 if test -z "$defaultval"; then
8002 if test x"$enablestring" = xdisable; then
8003 defaultval=yes
8004 else
8005 defaultval=no
8006 fi
8007 fi
8008
8009 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8010 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8011 # Check whether --enable-protocol_ftp was given.
8012 if test "${enable_protocol_ftp+set}" = set; then
8013 enableval=$enable_protocol_ftp;
8014 if test "$enableval" = yes; then
8015 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8016 else
8017 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8018 fi
8019
8020 else
8021
8022 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8023
8024 fi
8025
8026
8027 eval "$wx_cv_use_protocol_ftp"
8028
8029 if test x"$enablestring" = xdisable; then
8030 if test $wxUSE_PROTOCOL_FTP = yes; then
8031 result=no
8032 else
8033 result=yes
8034 fi
8035 else
8036 result=$wxUSE_PROTOCOL_FTP
8037 fi
8038
8039 { echo "$as_me:$LINENO: result: $result" >&5
8040 echo "${ECHO_T}$result" >&6; }
8041
8042
8043 enablestring=
8044 defaultval=$wxUSE_ALL_FEATURES
8045 if test -z "$defaultval"; then
8046 if test x"$enablestring" = xdisable; then
8047 defaultval=yes
8048 else
8049 defaultval=no
8050 fi
8051 fi
8052
8053 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8054 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8055 # Check whether --enable-protocol_file was given.
8056 if test "${enable_protocol_file+set}" = set; then
8057 enableval=$enable_protocol_file;
8058 if test "$enableval" = yes; then
8059 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8060 else
8061 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8062 fi
8063
8064 else
8065
8066 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8067
8068 fi
8069
8070
8071 eval "$wx_cv_use_protocol_file"
8072
8073 if test x"$enablestring" = xdisable; then
8074 if test $wxUSE_PROTOCOL_FILE = yes; then
8075 result=no
8076 else
8077 result=yes
8078 fi
8079 else
8080 result=$wxUSE_PROTOCOL_FILE
8081 fi
8082
8083 { echo "$as_me:$LINENO: result: $result" >&5
8084 echo "${ECHO_T}$result" >&6; }
8085
8086
8087
8088 enablestring=
8089 defaultval=$wxUSE_ALL_FEATURES
8090 if test -z "$defaultval"; then
8091 if test x"$enablestring" = xdisable; then
8092 defaultval=yes
8093 else
8094 defaultval=no
8095 fi
8096 fi
8097
8098 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8099 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8100 # Check whether --enable-threads was given.
8101 if test "${enable_threads+set}" = set; then
8102 enableval=$enable_threads;
8103 if test "$enableval" = yes; then
8104 wx_cv_use_threads='wxUSE_THREADS=yes'
8105 else
8106 wx_cv_use_threads='wxUSE_THREADS=no'
8107 fi
8108
8109 else
8110
8111 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8112
8113 fi
8114
8115
8116 eval "$wx_cv_use_threads"
8117
8118 if test x"$enablestring" = xdisable; then
8119 if test $wxUSE_THREADS = yes; then
8120 result=no
8121 else
8122 result=yes
8123 fi
8124 else
8125 result=$wxUSE_THREADS
8126 fi
8127
8128 { echo "$as_me:$LINENO: result: $result" >&5
8129 echo "${ECHO_T}$result" >&6; }
8130
8131
8132
8133 enablestring=
8134 defaultval=
8135 if test -z "$defaultval"; then
8136 if test x"$enablestring" = xdisable; then
8137 defaultval=yes
8138 else
8139 defaultval=no
8140 fi
8141 fi
8142
8143 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8144 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8145 # Check whether --enable-iniconf was given.
8146 if test "${enable_iniconf+set}" = set; then
8147 enableval=$enable_iniconf;
8148 if test "$enableval" = yes; then
8149 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8150 else
8151 wx_cv_use_iniconf='wxUSE_INICONF=no'
8152 fi
8153
8154 else
8155
8156 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8157
8158 fi
8159
8160
8161 eval "$wx_cv_use_iniconf"
8162
8163 if test x"$enablestring" = xdisable; then
8164 if test $wxUSE_INICONF = yes; then
8165 result=no
8166 else
8167 result=yes
8168 fi
8169 else
8170 result=$wxUSE_INICONF
8171 fi
8172
8173 { echo "$as_me:$LINENO: result: $result" >&5
8174 echo "${ECHO_T}$result" >&6; }
8175
8176
8177 enablestring=
8178 defaultval=$wxUSE_ALL_FEATURES
8179 if test -z "$defaultval"; then
8180 if test x"$enablestring" = xdisable; then
8181 defaultval=yes
8182 else
8183 defaultval=no
8184 fi
8185 fi
8186
8187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8188 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8189 # Check whether --enable-regkey was given.
8190 if test "${enable_regkey+set}" = set; then
8191 enableval=$enable_regkey;
8192 if test "$enableval" = yes; then
8193 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8194 else
8195 wx_cv_use_regkey='wxUSE_REGKEY=no'
8196 fi
8197
8198 else
8199
8200 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8201
8202 fi
8203
8204
8205 eval "$wx_cv_use_regkey"
8206
8207 if test x"$enablestring" = xdisable; then
8208 if test $wxUSE_REGKEY = yes; then
8209 result=no
8210 else
8211 result=yes
8212 fi
8213 else
8214 result=$wxUSE_REGKEY
8215 fi
8216
8217 { echo "$as_me:$LINENO: result: $result" >&5
8218 echo "${ECHO_T}$result" >&6; }
8219
8220
8221 if test "$wxUSE_GUI" = "yes"; then
8222
8223
8224
8225 enablestring=
8226 defaultval=$wxUSE_ALL_FEATURES
8227 if test -z "$defaultval"; then
8228 if test x"$enablestring" = xdisable; then
8229 defaultval=yes
8230 else
8231 defaultval=no
8232 fi
8233 fi
8234
8235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8236 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8237 # Check whether --enable-docview was given.
8238 if test "${enable_docview+set}" = set; then
8239 enableval=$enable_docview;
8240 if test "$enableval" = yes; then
8241 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8242 else
8243 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8244 fi
8245
8246 else
8247
8248 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8249
8250 fi
8251
8252
8253 eval "$wx_cv_use_docview"
8254
8255 if test x"$enablestring" = xdisable; then
8256 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8257 result=no
8258 else
8259 result=yes
8260 fi
8261 else
8262 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8263 fi
8264
8265 { echo "$as_me:$LINENO: result: $result" >&5
8266 echo "${ECHO_T}$result" >&6; }
8267
8268
8269 enablestring=
8270 defaultval=$wxUSE_ALL_FEATURES
8271 if test -z "$defaultval"; then
8272 if test x"$enablestring" = xdisable; then
8273 defaultval=yes
8274 else
8275 defaultval=no
8276 fi
8277 fi
8278
8279 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8280 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8281 # Check whether --enable-help was given.
8282 if test "${enable_help+set}" = set; then
8283 enableval=$enable_help;
8284 if test "$enableval" = yes; then
8285 wx_cv_use_help='wxUSE_HELP=yes'
8286 else
8287 wx_cv_use_help='wxUSE_HELP=no'
8288 fi
8289
8290 else
8291
8292 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8293
8294 fi
8295
8296
8297 eval "$wx_cv_use_help"
8298
8299 if test x"$enablestring" = xdisable; then
8300 if test $wxUSE_HELP = yes; then
8301 result=no
8302 else
8303 result=yes
8304 fi
8305 else
8306 result=$wxUSE_HELP
8307 fi
8308
8309 { echo "$as_me:$LINENO: result: $result" >&5
8310 echo "${ECHO_T}$result" >&6; }
8311
8312
8313 enablestring=
8314 defaultval=$wxUSE_ALL_FEATURES
8315 if test -z "$defaultval"; then
8316 if test x"$enablestring" = xdisable; then
8317 defaultval=yes
8318 else
8319 defaultval=no
8320 fi
8321 fi
8322
8323 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8324 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8325 # Check whether --enable-mshtmlhelp was given.
8326 if test "${enable_mshtmlhelp+set}" = set; then
8327 enableval=$enable_mshtmlhelp;
8328 if test "$enableval" = yes; then
8329 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8330 else
8331 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8332 fi
8333
8334 else
8335
8336 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8337
8338 fi
8339
8340
8341 eval "$wx_cv_use_mshtmlhelp"
8342
8343 if test x"$enablestring" = xdisable; then
8344 if test $wxUSE_MS_HTML_HELP = yes; then
8345 result=no
8346 else
8347 result=yes
8348 fi
8349 else
8350 result=$wxUSE_MS_HTML_HELP
8351 fi
8352
8353 { echo "$as_me:$LINENO: result: $result" >&5
8354 echo "${ECHO_T}$result" >&6; }
8355
8356
8357 enablestring=
8358 defaultval=$wxUSE_ALL_FEATURES
8359 if test -z "$defaultval"; then
8360 if test x"$enablestring" = xdisable; then
8361 defaultval=yes
8362 else
8363 defaultval=no
8364 fi
8365 fi
8366
8367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8368 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8369 # Check whether --enable-html was given.
8370 if test "${enable_html+set}" = set; then
8371 enableval=$enable_html;
8372 if test "$enableval" = yes; then
8373 wx_cv_use_html='wxUSE_HTML=yes'
8374 else
8375 wx_cv_use_html='wxUSE_HTML=no'
8376 fi
8377
8378 else
8379
8380 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8381
8382 fi
8383
8384
8385 eval "$wx_cv_use_html"
8386
8387 if test x"$enablestring" = xdisable; then
8388 if test $wxUSE_HTML = yes; then
8389 result=no
8390 else
8391 result=yes
8392 fi
8393 else
8394 result=$wxUSE_HTML
8395 fi
8396
8397 { echo "$as_me:$LINENO: result: $result" >&5
8398 echo "${ECHO_T}$result" >&6; }
8399
8400
8401 enablestring=
8402 defaultval=$wxUSE_ALL_FEATURES
8403 if test -z "$defaultval"; then
8404 if test x"$enablestring" = xdisable; then
8405 defaultval=yes
8406 else
8407 defaultval=no
8408 fi
8409 fi
8410
8411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8412 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8413 # Check whether --enable-htmlhelp was given.
8414 if test "${enable_htmlhelp+set}" = set; then
8415 enableval=$enable_htmlhelp;
8416 if test "$enableval" = yes; then
8417 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8418 else
8419 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8420 fi
8421
8422 else
8423
8424 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8425
8426 fi
8427
8428
8429 eval "$wx_cv_use_htmlhelp"
8430
8431 if test x"$enablestring" = xdisable; then
8432 if test $wxUSE_WXHTML_HELP = yes; then
8433 result=no
8434 else
8435 result=yes
8436 fi
8437 else
8438 result=$wxUSE_WXHTML_HELP
8439 fi
8440
8441 { echo "$as_me:$LINENO: result: $result" >&5
8442 echo "${ECHO_T}$result" >&6; }
8443
8444
8445 enablestring=
8446 defaultval=$wxUSE_ALL_FEATURES
8447 if test -z "$defaultval"; then
8448 if test x"$enablestring" = xdisable; then
8449 defaultval=yes
8450 else
8451 defaultval=no
8452 fi
8453 fi
8454
8455 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8456 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8457 # Check whether --enable-xrc was given.
8458 if test "${enable_xrc+set}" = set; then
8459 enableval=$enable_xrc;
8460 if test "$enableval" = yes; then
8461 wx_cv_use_xrc='wxUSE_XRC=yes'
8462 else
8463 wx_cv_use_xrc='wxUSE_XRC=no'
8464 fi
8465
8466 else
8467
8468 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8469
8470 fi
8471
8472
8473 eval "$wx_cv_use_xrc"
8474
8475 if test x"$enablestring" = xdisable; then
8476 if test $wxUSE_XRC = yes; then
8477 result=no
8478 else
8479 result=yes
8480 fi
8481 else
8482 result=$wxUSE_XRC
8483 fi
8484
8485 { echo "$as_me:$LINENO: result: $result" >&5
8486 echo "${ECHO_T}$result" >&6; }
8487
8488
8489 enablestring=
8490 defaultval=$wxUSE_ALL_FEATURES
8491 if test -z "$defaultval"; then
8492 if test x"$enablestring" = xdisable; then
8493 defaultval=yes
8494 else
8495 defaultval=no
8496 fi
8497 fi
8498
8499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8500 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8501 # Check whether --enable-aui was given.
8502 if test "${enable_aui+set}" = set; then
8503 enableval=$enable_aui;
8504 if test "$enableval" = yes; then
8505 wx_cv_use_aui='wxUSE_AUI=yes'
8506 else
8507 wx_cv_use_aui='wxUSE_AUI=no'
8508 fi
8509
8510 else
8511
8512 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8513
8514 fi
8515
8516
8517 eval "$wx_cv_use_aui"
8518
8519 if test x"$enablestring" = xdisable; then
8520 if test $wxUSE_AUI = yes; then
8521 result=no
8522 else
8523 result=yes
8524 fi
8525 else
8526 result=$wxUSE_AUI
8527 fi
8528
8529 { echo "$as_me:$LINENO: result: $result" >&5
8530 echo "${ECHO_T}$result" >&6; }
8531
8532
8533 enablestring=
8534 defaultval=$wxUSE_ALL_FEATURES
8535 if test -z "$defaultval"; then
8536 if test x"$enablestring" = xdisable; then
8537 defaultval=yes
8538 else
8539 defaultval=no
8540 fi
8541 fi
8542
8543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8544 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8545 # Check whether --enable-propgrid was given.
8546 if test "${enable_propgrid+set}" = set; then
8547 enableval=$enable_propgrid;
8548 if test "$enableval" = yes; then
8549 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8550 else
8551 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8552 fi
8553
8554 else
8555
8556 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8557
8558 fi
8559
8560
8561 eval "$wx_cv_use_propgrid"
8562
8563 if test x"$enablestring" = xdisable; then
8564 if test $wxUSE_PROPGRID = yes; then
8565 result=no
8566 else
8567 result=yes
8568 fi
8569 else
8570 result=$wxUSE_PROPGRID
8571 fi
8572
8573 { echo "$as_me:$LINENO: result: $result" >&5
8574 echo "${ECHO_T}$result" >&6; }
8575
8576
8577 enablestring=
8578 defaultval=$wxUSE_ALL_FEATURES
8579 if test -z "$defaultval"; then
8580 if test x"$enablestring" = xdisable; then
8581 defaultval=yes
8582 else
8583 defaultval=no
8584 fi
8585 fi
8586
8587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8588 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8589 # Check whether --enable-stc was given.
8590 if test "${enable_stc+set}" = set; then
8591 enableval=$enable_stc;
8592 if test "$enableval" = yes; then
8593 wx_cv_use_stc='wxUSE_STC=yes'
8594 else
8595 wx_cv_use_stc='wxUSE_STC=no'
8596 fi
8597
8598 else
8599
8600 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8601
8602 fi
8603
8604
8605 eval "$wx_cv_use_stc"
8606
8607 if test x"$enablestring" = xdisable; then
8608 if test $wxUSE_STC = yes; then
8609 result=no
8610 else
8611 result=yes
8612 fi
8613 else
8614 result=$wxUSE_STC
8615 fi
8616
8617 { echo "$as_me:$LINENO: result: $result" >&5
8618 echo "${ECHO_T}$result" >&6; }
8619
8620
8621 enablestring=
8622 defaultval=$wxUSE_ALL_FEATURES
8623 if test -z "$defaultval"; then
8624 if test x"$enablestring" = xdisable; then
8625 defaultval=yes
8626 else
8627 defaultval=no
8628 fi
8629 fi
8630
8631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8632 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8633 # Check whether --enable-constraints was given.
8634 if test "${enable_constraints+set}" = set; then
8635 enableval=$enable_constraints;
8636 if test "$enableval" = yes; then
8637 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8638 else
8639 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8640 fi
8641
8642 else
8643
8644 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8645
8646 fi
8647
8648
8649 eval "$wx_cv_use_constraints"
8650
8651 if test x"$enablestring" = xdisable; then
8652 if test $wxUSE_CONSTRAINTS = yes; then
8653 result=no
8654 else
8655 result=yes
8656 fi
8657 else
8658 result=$wxUSE_CONSTRAINTS
8659 fi
8660
8661 { echo "$as_me:$LINENO: result: $result" >&5
8662 echo "${ECHO_T}$result" >&6; }
8663
8664
8665 enablestring=
8666 defaultval=$wxUSE_ALL_FEATURES
8667 if test -z "$defaultval"; then
8668 if test x"$enablestring" = xdisable; then
8669 defaultval=yes
8670 else
8671 defaultval=no
8672 fi
8673 fi
8674
8675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8676 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8677 # Check whether --enable-loggui was given.
8678 if test "${enable_loggui+set}" = set; then
8679 enableval=$enable_loggui;
8680 if test "$enableval" = yes; then
8681 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8682 else
8683 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8684 fi
8685
8686 else
8687
8688 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8689
8690 fi
8691
8692
8693 eval "$wx_cv_use_loggui"
8694
8695 if test x"$enablestring" = xdisable; then
8696 if test $wxUSE_LOGGUI = yes; then
8697 result=no
8698 else
8699 result=yes
8700 fi
8701 else
8702 result=$wxUSE_LOGGUI
8703 fi
8704
8705 { echo "$as_me:$LINENO: result: $result" >&5
8706 echo "${ECHO_T}$result" >&6; }
8707
8708
8709 enablestring=
8710 defaultval=$wxUSE_ALL_FEATURES
8711 if test -z "$defaultval"; then
8712 if test x"$enablestring" = xdisable; then
8713 defaultval=yes
8714 else
8715 defaultval=no
8716 fi
8717 fi
8718
8719 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8720 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8721 # Check whether --enable-logwin was given.
8722 if test "${enable_logwin+set}" = set; then
8723 enableval=$enable_logwin;
8724 if test "$enableval" = yes; then
8725 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8726 else
8727 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8728 fi
8729
8730 else
8731
8732 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8733
8734 fi
8735
8736
8737 eval "$wx_cv_use_logwin"
8738
8739 if test x"$enablestring" = xdisable; then
8740 if test $wxUSE_LOGWINDOW = yes; then
8741 result=no
8742 else
8743 result=yes
8744 fi
8745 else
8746 result=$wxUSE_LOGWINDOW
8747 fi
8748
8749 { echo "$as_me:$LINENO: result: $result" >&5
8750 echo "${ECHO_T}$result" >&6; }
8751
8752
8753 enablestring=
8754 defaultval=$wxUSE_ALL_FEATURES
8755 if test -z "$defaultval"; then
8756 if test x"$enablestring" = xdisable; then
8757 defaultval=yes
8758 else
8759 defaultval=no
8760 fi
8761 fi
8762
8763 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8764 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8765 # Check whether --enable-logdialog was given.
8766 if test "${enable_logdialog+set}" = set; then
8767 enableval=$enable_logdialog;
8768 if test "$enableval" = yes; then
8769 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8770 else
8771 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8772 fi
8773
8774 else
8775
8776 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8777
8778 fi
8779
8780
8781 eval "$wx_cv_use_logdialog"
8782
8783 if test x"$enablestring" = xdisable; then
8784 if test $wxUSE_LOGDIALOG = yes; then
8785 result=no
8786 else
8787 result=yes
8788 fi
8789 else
8790 result=$wxUSE_LOGDIALOG
8791 fi
8792
8793 { echo "$as_me:$LINENO: result: $result" >&5
8794 echo "${ECHO_T}$result" >&6; }
8795
8796
8797 enablestring=
8798 defaultval=$wxUSE_ALL_FEATURES
8799 if test -z "$defaultval"; then
8800 if test x"$enablestring" = xdisable; then
8801 defaultval=yes
8802 else
8803 defaultval=no
8804 fi
8805 fi
8806
8807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8808 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8809 # Check whether --enable-mdi was given.
8810 if test "${enable_mdi+set}" = set; then
8811 enableval=$enable_mdi;
8812 if test "$enableval" = yes; then
8813 wx_cv_use_mdi='wxUSE_MDI=yes'
8814 else
8815 wx_cv_use_mdi='wxUSE_MDI=no'
8816 fi
8817
8818 else
8819
8820 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8821
8822 fi
8823
8824
8825 eval "$wx_cv_use_mdi"
8826
8827 if test x"$enablestring" = xdisable; then
8828 if test $wxUSE_MDI = yes; then
8829 result=no
8830 else
8831 result=yes
8832 fi
8833 else
8834 result=$wxUSE_MDI
8835 fi
8836
8837 { echo "$as_me:$LINENO: result: $result" >&5
8838 echo "${ECHO_T}$result" >&6; }
8839
8840
8841 enablestring=
8842 defaultval=$wxUSE_ALL_FEATURES
8843 if test -z "$defaultval"; then
8844 if test x"$enablestring" = xdisable; then
8845 defaultval=yes
8846 else
8847 defaultval=no
8848 fi
8849 fi
8850
8851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8852 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8853 # Check whether --enable-mdidoc was given.
8854 if test "${enable_mdidoc+set}" = set; then
8855 enableval=$enable_mdidoc;
8856 if test "$enableval" = yes; then
8857 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8858 else
8859 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8860 fi
8861
8862 else
8863
8864 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8865
8866 fi
8867
8868
8869 eval "$wx_cv_use_mdidoc"
8870
8871 if test x"$enablestring" = xdisable; then
8872 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8873 result=no
8874 else
8875 result=yes
8876 fi
8877 else
8878 result=$wxUSE_MDI_ARCHITECTURE
8879 fi
8880
8881 { echo "$as_me:$LINENO: result: $result" >&5
8882 echo "${ECHO_T}$result" >&6; }
8883
8884
8885 enablestring=
8886 defaultval=$wxUSE_ALL_FEATURES
8887 if test -z "$defaultval"; then
8888 if test x"$enablestring" = xdisable; then
8889 defaultval=yes
8890 else
8891 defaultval=no
8892 fi
8893 fi
8894
8895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8896 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8897 # Check whether --enable-mediactrl was given.
8898 if test "${enable_mediactrl+set}" = set; then
8899 enableval=$enable_mediactrl;
8900 if test "$enableval" = yes; then
8901 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8902 else
8903 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8904 fi
8905
8906 else
8907
8908 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8909
8910 fi
8911
8912
8913 eval "$wx_cv_use_mediactrl"
8914
8915 if test x"$enablestring" = xdisable; then
8916 if test $wxUSE_MEDIACTRL = yes; then
8917 result=no
8918 else
8919 result=yes
8920 fi
8921 else
8922 result=$wxUSE_MEDIACTRL
8923 fi
8924
8925 { echo "$as_me:$LINENO: result: $result" >&5
8926 echo "${ECHO_T}$result" >&6; }
8927
8928
8929 enablestring=
8930 defaultval=$wxUSE_ALL_FEATURES
8931 if test -z "$defaultval"; then
8932 if test x"$enablestring" = xdisable; then
8933 defaultval=yes
8934 else
8935 defaultval=no
8936 fi
8937 fi
8938
8939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8940 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8941 # Check whether --enable-gstreamer8 was given.
8942 if test "${enable_gstreamer8+set}" = set; then
8943 enableval=$enable_gstreamer8;
8944 if test "$enableval" = yes; then
8945 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8946 else
8947 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8948 fi
8949
8950 else
8951
8952 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8953
8954 fi
8955
8956
8957 eval "$wx_cv_use_gstreamer8"
8958
8959 if test x"$enablestring" = xdisable; then
8960 if test $wxUSE_GSTREAMER8 = yes; then
8961 result=no
8962 else
8963 result=yes
8964 fi
8965 else
8966 result=$wxUSE_GSTREAMER8
8967 fi
8968
8969 { echo "$as_me:$LINENO: result: $result" >&5
8970 echo "${ECHO_T}$result" >&6; }
8971
8972
8973 enablestring=
8974 defaultval=$wxUSE_ALL_FEATURES
8975 if test -z "$defaultval"; then
8976 if test x"$enablestring" = xdisable; then
8977 defaultval=yes
8978 else
8979 defaultval=no
8980 fi
8981 fi
8982
8983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8984 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8985 # Check whether --enable-webkit was given.
8986 if test "${enable_webkit+set}" = set; then
8987 enableval=$enable_webkit;
8988 if test "$enableval" = yes; then
8989 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
8990 else
8991 wx_cv_use_webkit='wxUSE_WEBKIT=no'
8992 fi
8993
8994 else
8995
8996 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
8997
8998 fi
8999
9000
9001 eval "$wx_cv_use_webkit"
9002
9003 if test x"$enablestring" = xdisable; then
9004 if test $wxUSE_WEBKIT = yes; then
9005 result=no
9006 else
9007 result=yes
9008 fi
9009 else
9010 result=$wxUSE_WEBKIT
9011 fi
9012
9013 { echo "$as_me:$LINENO: result: $result" >&5
9014 echo "${ECHO_T}$result" >&6; }
9015
9016
9017 enablestring=
9018 defaultval=$wxUSE_ALL_FEATURES
9019 if test -z "$defaultval"; then
9020 if test x"$enablestring" = xdisable; then
9021 defaultval=yes
9022 else
9023 defaultval=no
9024 fi
9025 fi
9026
9027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9028 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9029 # Check whether --enable-richtext was given.
9030 if test "${enable_richtext+set}" = set; then
9031 enableval=$enable_richtext;
9032 if test "$enableval" = yes; then
9033 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9034 else
9035 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9036 fi
9037
9038 else
9039
9040 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9041
9042 fi
9043
9044
9045 eval "$wx_cv_use_richtext"
9046
9047 if test x"$enablestring" = xdisable; then
9048 if test $wxUSE_RICHTEXT = yes; then
9049 result=no
9050 else
9051 result=yes
9052 fi
9053 else
9054 result=$wxUSE_RICHTEXT
9055 fi
9056
9057 { echo "$as_me:$LINENO: result: $result" >&5
9058 echo "${ECHO_T}$result" >&6; }
9059
9060
9061 enablestring=
9062 defaultval=$wxUSE_ALL_FEATURES
9063 if test -z "$defaultval"; then
9064 if test x"$enablestring" = xdisable; then
9065 defaultval=yes
9066 else
9067 defaultval=no
9068 fi
9069 fi
9070
9071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9072 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9073 # Check whether --enable-graphics_ctx was given.
9074 if test "${enable_graphics_ctx+set}" = set; then
9075 enableval=$enable_graphics_ctx;
9076 if test "$enableval" = yes; then
9077 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9078 else
9079 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9080 fi
9081
9082 else
9083
9084 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9085
9086 fi
9087
9088
9089 eval "$wx_cv_use_graphics_ctx"
9090
9091 if test x"$enablestring" = xdisable; then
9092 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9093 result=no
9094 else
9095 result=yes
9096 fi
9097 else
9098 result=$wxUSE_GRAPHICS_CONTEXT
9099 fi
9100
9101 { echo "$as_me:$LINENO: result: $result" >&5
9102 echo "${ECHO_T}$result" >&6; }
9103
9104
9105 enablestring=
9106 defaultval=$wxUSE_ALL_FEATURES
9107 if test -z "$defaultval"; then
9108 if test x"$enablestring" = xdisable; then
9109 defaultval=yes
9110 else
9111 defaultval=no
9112 fi
9113 fi
9114
9115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9116 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9117 # Check whether --enable-postscript was given.
9118 if test "${enable_postscript+set}" = set; then
9119 enableval=$enable_postscript;
9120 if test "$enableval" = yes; then
9121 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9122 else
9123 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9124 fi
9125
9126 else
9127
9128 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9129
9130 fi
9131
9132
9133 eval "$wx_cv_use_postscript"
9134
9135 if test x"$enablestring" = xdisable; then
9136 if test $wxUSE_POSTSCRIPT = yes; then
9137 result=no
9138 else
9139 result=yes
9140 fi
9141 else
9142 result=$wxUSE_POSTSCRIPT
9143 fi
9144
9145 { echo "$as_me:$LINENO: result: $result" >&5
9146 echo "${ECHO_T}$result" >&6; }
9147
9148
9149 enablestring=
9150 defaultval=$wxUSE_ALL_FEATURES
9151 if test -z "$defaultval"; then
9152 if test x"$enablestring" = xdisable; then
9153 defaultval=yes
9154 else
9155 defaultval=no
9156 fi
9157 fi
9158
9159 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9160 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9161 # Check whether --enable-printarch was given.
9162 if test "${enable_printarch+set}" = set; then
9163 enableval=$enable_printarch;
9164 if test "$enableval" = yes; then
9165 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9166 else
9167 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9168 fi
9169
9170 else
9171
9172 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9173
9174 fi
9175
9176
9177 eval "$wx_cv_use_printarch"
9178
9179 if test x"$enablestring" = xdisable; then
9180 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9181 result=no
9182 else
9183 result=yes
9184 fi
9185 else
9186 result=$wxUSE_PRINTING_ARCHITECTURE
9187 fi
9188
9189 { echo "$as_me:$LINENO: result: $result" >&5
9190 echo "${ECHO_T}$result" >&6; }
9191
9192
9193 enablestring=
9194 defaultval=$wxUSE_ALL_FEATURES
9195 if test -z "$defaultval"; then
9196 if test x"$enablestring" = xdisable; then
9197 defaultval=yes
9198 else
9199 defaultval=no
9200 fi
9201 fi
9202
9203 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9204 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9205 # Check whether --enable-svg was given.
9206 if test "${enable_svg+set}" = set; then
9207 enableval=$enable_svg;
9208 if test "$enableval" = yes; then
9209 wx_cv_use_svg='wxUSE_SVG=yes'
9210 else
9211 wx_cv_use_svg='wxUSE_SVG=no'
9212 fi
9213
9214 else
9215
9216 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9217
9218 fi
9219
9220
9221 eval "$wx_cv_use_svg"
9222
9223 if test x"$enablestring" = xdisable; then
9224 if test $wxUSE_SVG = yes; then
9225 result=no
9226 else
9227 result=yes
9228 fi
9229 else
9230 result=$wxUSE_SVG
9231 fi
9232
9233 { echo "$as_me:$LINENO: result: $result" >&5
9234 echo "${ECHO_T}$result" >&6; }
9235
9236
9237
9238
9239 enablestring=
9240 defaultval=$wxUSE_ALL_FEATURES
9241 if test -z "$defaultval"; then
9242 if test x"$enablestring" = xdisable; then
9243 defaultval=yes
9244 else
9245 defaultval=no
9246 fi
9247 fi
9248
9249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9250 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9251 # Check whether --enable-clipboard was given.
9252 if test "${enable_clipboard+set}" = set; then
9253 enableval=$enable_clipboard;
9254 if test "$enableval" = yes; then
9255 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9256 else
9257 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9258 fi
9259
9260 else
9261
9262 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9263
9264 fi
9265
9266
9267 eval "$wx_cv_use_clipboard"
9268
9269 if test x"$enablestring" = xdisable; then
9270 if test $wxUSE_CLIPBOARD = yes; then
9271 result=no
9272 else
9273 result=yes
9274 fi
9275 else
9276 result=$wxUSE_CLIPBOARD
9277 fi
9278
9279 { echo "$as_me:$LINENO: result: $result" >&5
9280 echo "${ECHO_T}$result" >&6; }
9281
9282
9283 enablestring=
9284 defaultval=$wxUSE_ALL_FEATURES
9285 if test -z "$defaultval"; then
9286 if test x"$enablestring" = xdisable; then
9287 defaultval=yes
9288 else
9289 defaultval=no
9290 fi
9291 fi
9292
9293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9294 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9295 # Check whether --enable-dnd was given.
9296 if test "${enable_dnd+set}" = set; then
9297 enableval=$enable_dnd;
9298 if test "$enableval" = yes; then
9299 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9300 else
9301 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9302 fi
9303
9304 else
9305
9306 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9307
9308 fi
9309
9310
9311 eval "$wx_cv_use_dnd"
9312
9313 if test x"$enablestring" = xdisable; then
9314 if test $wxUSE_DRAG_AND_DROP = yes; then
9315 result=no
9316 else
9317 result=yes
9318 fi
9319 else
9320 result=$wxUSE_DRAG_AND_DROP
9321 fi
9322
9323 { echo "$as_me:$LINENO: result: $result" >&5
9324 echo "${ECHO_T}$result" >&6; }
9325
9326
9327 enablestring=
9328 defaultval=$wxUSE_ALL_FEATURES
9329 if test -z "$defaultval"; then
9330 if test x"$enablestring" = xdisable; then
9331 defaultval=yes
9332 else
9333 defaultval=no
9334 fi
9335 fi
9336
9337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9338 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9339 # Check whether --enable-metafile was given.
9340 if test "${enable_metafile+set}" = set; then
9341 enableval=$enable_metafile;
9342 if test "$enableval" = yes; then
9343 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9344 else
9345 wx_cv_use_metafile='wxUSE_METAFILE=no'
9346 fi
9347
9348 else
9349
9350 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9351
9352 fi
9353
9354
9355 eval "$wx_cv_use_metafile"
9356
9357 if test x"$enablestring" = xdisable; then
9358 if test $wxUSE_METAFILE = yes; then
9359 result=no
9360 else
9361 result=yes
9362 fi
9363 else
9364 result=$wxUSE_METAFILE
9365 fi
9366
9367 { echo "$as_me:$LINENO: result: $result" >&5
9368 echo "${ECHO_T}$result" >&6; }
9369
9370
9371
9372 DEFAULT_wxUSE_CONTROLS=none
9373
9374 enablestring=disable
9375 defaultval=
9376 if test -z "$defaultval"; then
9377 if test x"$enablestring" = xdisable; then
9378 defaultval=yes
9379 else
9380 defaultval=no
9381 fi
9382 fi
9383
9384 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9385 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9386 # Check whether --enable-controls was given.
9387 if test "${enable_controls+set}" = set; then
9388 enableval=$enable_controls;
9389 if test "$enableval" = yes; then
9390 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9391 else
9392 wx_cv_use_controls='wxUSE_CONTROLS=no'
9393 fi
9394
9395 else
9396
9397 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9398
9399 fi
9400
9401
9402 eval "$wx_cv_use_controls"
9403
9404 if test x"$enablestring" = xdisable; then
9405 if test $wxUSE_CONTROLS = yes; then
9406 result=no
9407 else
9408 result=yes
9409 fi
9410 else
9411 result=$wxUSE_CONTROLS
9412 fi
9413
9414 { echo "$as_me:$LINENO: result: $result" >&5
9415 echo "${ECHO_T}$result" >&6; }
9416
9417
9418 if test "$wxUSE_CONTROLS" = "no"; then
9419 DEFAULT_wxUSE_ACCEL=no
9420 DEFAULT_wxUSE_ANIMATIONCTRL=no
9421 DEFAULT_wxUSE_BMPBUTTON=no
9422 DEFAULT_wxUSE_BUTTON=no
9423 DEFAULT_wxUSE_CALCTRL=no
9424 DEFAULT_wxUSE_CARET=no
9425 DEFAULT_wxUSE_CHECKBOX=no
9426 DEFAULT_wxUSE_CHECKLISTBOX=no
9427 DEFAULT_wxUSE_CHOICE=no
9428 DEFAULT_wxUSE_CHOICEBOOK=no
9429 DEFAULT_wxUSE_COLLPANE=no
9430 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9431 DEFAULT_wxUSE_COMBOBOX=no
9432 DEFAULT_wxUSE_COMBOBOX=no
9433 DEFAULT_wxUSE_DATAVIEWCTRL=no
9434 DEFAULT_wxUSE_DATEPICKCTRL=no
9435 DEFAULT_wxUSE_DETECT_SM=no
9436 DEFAULT_wxUSE_DIRPICKERCTRL=no
9437 DEFAULT_wxUSE_DISPLAY=no
9438 DEFAULT_wxUSE_FILECTRL=no
9439 DEFAULT_wxUSE_FILEPICKERCTRL=no
9440 DEFAULT_wxUSE_FONTPICKERCTRL=no
9441 DEFAULT_wxUSE_GAUGE=no
9442 DEFAULT_wxUSE_GRID=no
9443 DEFAULT_wxUSE_HYPERLINKCTRL=no
9444 DEFAULT_wxUSE_IMAGLIST=no
9445 DEFAULT_wxUSE_LISTBOOK=no
9446 DEFAULT_wxUSE_LISTBOX=no
9447 DEFAULT_wxUSE_LISTCTRL=no
9448 DEFAULT_wxUSE_NOTEBOOK=no
9449 DEFAULT_wxUSE_POPUPWIN=no
9450 DEFAULT_wxUSE_RADIOBOX=no
9451 DEFAULT_wxUSE_RADIOBTN=no
9452 DEFAULT_wxUSE_REARRANGECTRL=no
9453 DEFAULT_wxUSE_SASH=no
9454 DEFAULT_wxUSE_SCROLLBAR=no
9455 DEFAULT_wxUSE_SEARCHCTRL=no
9456 DEFAULT_wxUSE_SLIDER=no
9457 DEFAULT_wxUSE_SPINBTN=no
9458 DEFAULT_wxUSE_SPINCTRL=no
9459 DEFAULT_wxUSE_SPLITTER=no
9460 DEFAULT_wxUSE_STATBMP=no
9461 DEFAULT_wxUSE_STATBOX=no
9462 DEFAULT_wxUSE_STATLINE=no
9463 DEFAULT_wxUSE_STATUSBAR=no
9464 DEFAULT_wxUSE_TIPWINDOW=no
9465 DEFAULT_wxUSE_TOGGLEBTN=no
9466 DEFAULT_wxUSE_TOOLBAR=no
9467 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9468 DEFAULT_wxUSE_TOOLBOOK=no
9469 DEFAULT_wxUSE_TOOLTIPS=no
9470 DEFAULT_wxUSE_TREEBOOK=no
9471 DEFAULT_wxUSE_TREECTRL=no
9472 fi
9473
9474
9475 enablestring=
9476 defaultval=$wxUSE_ALL_FEATURES
9477 if test -z "$defaultval"; then
9478 if test x"$enablestring" = xdisable; then
9479 defaultval=yes
9480 else
9481 defaultval=no
9482 fi
9483 fi
9484
9485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9486 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9487 # Check whether --enable-accel was given.
9488 if test "${enable_accel+set}" = set; then
9489 enableval=$enable_accel;
9490 if test "$enableval" = yes; then
9491 wx_cv_use_accel='wxUSE_ACCEL=yes'
9492 else
9493 wx_cv_use_accel='wxUSE_ACCEL=no'
9494 fi
9495
9496 else
9497
9498 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9499
9500 fi
9501
9502
9503 eval "$wx_cv_use_accel"
9504
9505 if test x"$enablestring" = xdisable; then
9506 if test $wxUSE_ACCEL = yes; then
9507 result=no
9508 else
9509 result=yes
9510 fi
9511 else
9512 result=$wxUSE_ACCEL
9513 fi
9514
9515 { echo "$as_me:$LINENO: result: $result" >&5
9516 echo "${ECHO_T}$result" >&6; }
9517
9518
9519 enablestring=
9520 defaultval=$wxUSE_ALL_FEATURES
9521 if test -z "$defaultval"; then
9522 if test x"$enablestring" = xdisable; then
9523 defaultval=yes
9524 else
9525 defaultval=no
9526 fi
9527 fi
9528
9529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9530 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9531 # Check whether --enable-animatectrl was given.
9532 if test "${enable_animatectrl+set}" = set; then
9533 enableval=$enable_animatectrl;
9534 if test "$enableval" = yes; then
9535 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9536 else
9537 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9538 fi
9539
9540 else
9541
9542 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9543
9544 fi
9545
9546
9547 eval "$wx_cv_use_animatectrl"
9548
9549 if test x"$enablestring" = xdisable; then
9550 if test $wxUSE_ANIMATIONCTRL = yes; then
9551 result=no
9552 else
9553 result=yes
9554 fi
9555 else
9556 result=$wxUSE_ANIMATIONCTRL
9557 fi
9558
9559 { echo "$as_me:$LINENO: result: $result" >&5
9560 echo "${ECHO_T}$result" >&6; }
9561
9562
9563 enablestring=
9564 defaultval=$wxUSE_ALL_FEATURES
9565 if test -z "$defaultval"; then
9566 if test x"$enablestring" = xdisable; then
9567 defaultval=yes
9568 else
9569 defaultval=no
9570 fi
9571 fi
9572
9573 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9574 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9575 # Check whether --enable-bmpbutton was given.
9576 if test "${enable_bmpbutton+set}" = set; then
9577 enableval=$enable_bmpbutton;
9578 if test "$enableval" = yes; then
9579 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9580 else
9581 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9582 fi
9583
9584 else
9585
9586 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9587
9588 fi
9589
9590
9591 eval "$wx_cv_use_bmpbutton"
9592
9593 if test x"$enablestring" = xdisable; then
9594 if test $wxUSE_BMPBUTTON = yes; then
9595 result=no
9596 else
9597 result=yes
9598 fi
9599 else
9600 result=$wxUSE_BMPBUTTON
9601 fi
9602
9603 { echo "$as_me:$LINENO: result: $result" >&5
9604 echo "${ECHO_T}$result" >&6; }
9605
9606
9607 enablestring=
9608 defaultval=$wxUSE_ALL_FEATURES
9609 if test -z "$defaultval"; then
9610 if test x"$enablestring" = xdisable; then
9611 defaultval=yes
9612 else
9613 defaultval=no
9614 fi
9615 fi
9616
9617 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9618 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9619 # Check whether --enable-bmpcombobox was given.
9620 if test "${enable_bmpcombobox+set}" = set; then
9621 enableval=$enable_bmpcombobox;
9622 if test "$enableval" = yes; then
9623 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9624 else
9625 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9626 fi
9627
9628 else
9629
9630 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9631
9632 fi
9633
9634
9635 eval "$wx_cv_use_bmpcombobox"
9636
9637 if test x"$enablestring" = xdisable; then
9638 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9639 result=no
9640 else
9641 result=yes
9642 fi
9643 else
9644 result=$wxUSE_BITMAPCOMBOBOX
9645 fi
9646
9647 { echo "$as_me:$LINENO: result: $result" >&5
9648 echo "${ECHO_T}$result" >&6; }
9649
9650
9651 enablestring=
9652 defaultval=$wxUSE_ALL_FEATURES
9653 if test -z "$defaultval"; then
9654 if test x"$enablestring" = xdisable; then
9655 defaultval=yes
9656 else
9657 defaultval=no
9658 fi
9659 fi
9660
9661 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9662 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9663 # Check whether --enable-button was given.
9664 if test "${enable_button+set}" = set; then
9665 enableval=$enable_button;
9666 if test "$enableval" = yes; then
9667 wx_cv_use_button='wxUSE_BUTTON=yes'
9668 else
9669 wx_cv_use_button='wxUSE_BUTTON=no'
9670 fi
9671
9672 else
9673
9674 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9675
9676 fi
9677
9678
9679 eval "$wx_cv_use_button"
9680
9681 if test x"$enablestring" = xdisable; then
9682 if test $wxUSE_BUTTON = yes; then
9683 result=no
9684 else
9685 result=yes
9686 fi
9687 else
9688 result=$wxUSE_BUTTON
9689 fi
9690
9691 { echo "$as_me:$LINENO: result: $result" >&5
9692 echo "${ECHO_T}$result" >&6; }
9693
9694
9695 enablestring=
9696 defaultval=$wxUSE_ALL_FEATURES
9697 if test -z "$defaultval"; then
9698 if test x"$enablestring" = xdisable; then
9699 defaultval=yes
9700 else
9701 defaultval=no
9702 fi
9703 fi
9704
9705 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9706 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9707 # Check whether --enable-calendar was given.
9708 if test "${enable_calendar+set}" = set; then
9709 enableval=$enable_calendar;
9710 if test "$enableval" = yes; then
9711 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9712 else
9713 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9714 fi
9715
9716 else
9717
9718 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9719
9720 fi
9721
9722
9723 eval "$wx_cv_use_calendar"
9724
9725 if test x"$enablestring" = xdisable; then
9726 if test $wxUSE_CALCTRL = yes; then
9727 result=no
9728 else
9729 result=yes
9730 fi
9731 else
9732 result=$wxUSE_CALCTRL
9733 fi
9734
9735 { echo "$as_me:$LINENO: result: $result" >&5
9736 echo "${ECHO_T}$result" >&6; }
9737
9738
9739 enablestring=
9740 defaultval=$wxUSE_ALL_FEATURES
9741 if test -z "$defaultval"; then
9742 if test x"$enablestring" = xdisable; then
9743 defaultval=yes
9744 else
9745 defaultval=no
9746 fi
9747 fi
9748
9749 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9750 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9751 # Check whether --enable-caret was given.
9752 if test "${enable_caret+set}" = set; then
9753 enableval=$enable_caret;
9754 if test "$enableval" = yes; then
9755 wx_cv_use_caret='wxUSE_CARET=yes'
9756 else
9757 wx_cv_use_caret='wxUSE_CARET=no'
9758 fi
9759
9760 else
9761
9762 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9763
9764 fi
9765
9766
9767 eval "$wx_cv_use_caret"
9768
9769 if test x"$enablestring" = xdisable; then
9770 if test $wxUSE_CARET = yes; then
9771 result=no
9772 else
9773 result=yes
9774 fi
9775 else
9776 result=$wxUSE_CARET
9777 fi
9778
9779 { echo "$as_me:$LINENO: result: $result" >&5
9780 echo "${ECHO_T}$result" >&6; }
9781
9782
9783 enablestring=
9784 defaultval=$wxUSE_ALL_FEATURES
9785 if test -z "$defaultval"; then
9786 if test x"$enablestring" = xdisable; then
9787 defaultval=yes
9788 else
9789 defaultval=no
9790 fi
9791 fi
9792
9793 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9794 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9795 # Check whether --enable-checkbox was given.
9796 if test "${enable_checkbox+set}" = set; then
9797 enableval=$enable_checkbox;
9798 if test "$enableval" = yes; then
9799 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9800 else
9801 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9802 fi
9803
9804 else
9805
9806 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9807
9808 fi
9809
9810
9811 eval "$wx_cv_use_checkbox"
9812
9813 if test x"$enablestring" = xdisable; then
9814 if test $wxUSE_CHECKBOX = yes; then
9815 result=no
9816 else
9817 result=yes
9818 fi
9819 else
9820 result=$wxUSE_CHECKBOX
9821 fi
9822
9823 { echo "$as_me:$LINENO: result: $result" >&5
9824 echo "${ECHO_T}$result" >&6; }
9825
9826
9827 enablestring=
9828 defaultval=$wxUSE_ALL_FEATURES
9829 if test -z "$defaultval"; then
9830 if test x"$enablestring" = xdisable; then
9831 defaultval=yes
9832 else
9833 defaultval=no
9834 fi
9835 fi
9836
9837 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9838 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9839 # Check whether --enable-checklst was given.
9840 if test "${enable_checklst+set}" = set; then
9841 enableval=$enable_checklst;
9842 if test "$enableval" = yes; then
9843 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9844 else
9845 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9846 fi
9847
9848 else
9849
9850 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9851
9852 fi
9853
9854
9855 eval "$wx_cv_use_checklst"
9856
9857 if test x"$enablestring" = xdisable; then
9858 if test $wxUSE_CHECKLST = yes; then
9859 result=no
9860 else
9861 result=yes
9862 fi
9863 else
9864 result=$wxUSE_CHECKLST
9865 fi
9866
9867 { echo "$as_me:$LINENO: result: $result" >&5
9868 echo "${ECHO_T}$result" >&6; }
9869
9870
9871 enablestring=
9872 defaultval=$wxUSE_ALL_FEATURES
9873 if test -z "$defaultval"; then
9874 if test x"$enablestring" = xdisable; then
9875 defaultval=yes
9876 else
9877 defaultval=no
9878 fi
9879 fi
9880
9881 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9882 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9883 # Check whether --enable-choice was given.
9884 if test "${enable_choice+set}" = set; then
9885 enableval=$enable_choice;
9886 if test "$enableval" = yes; then
9887 wx_cv_use_choice='wxUSE_CHOICE=yes'
9888 else
9889 wx_cv_use_choice='wxUSE_CHOICE=no'
9890 fi
9891
9892 else
9893
9894 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9895
9896 fi
9897
9898
9899 eval "$wx_cv_use_choice"
9900
9901 if test x"$enablestring" = xdisable; then
9902 if test $wxUSE_CHOICE = yes; then
9903 result=no
9904 else
9905 result=yes
9906 fi
9907 else
9908 result=$wxUSE_CHOICE
9909 fi
9910
9911 { echo "$as_me:$LINENO: result: $result" >&5
9912 echo "${ECHO_T}$result" >&6; }
9913
9914
9915 enablestring=
9916 defaultval=$wxUSE_ALL_FEATURES
9917 if test -z "$defaultval"; then
9918 if test x"$enablestring" = xdisable; then
9919 defaultval=yes
9920 else
9921 defaultval=no
9922 fi
9923 fi
9924
9925 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9926 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9927 # Check whether --enable-choicebook was given.
9928 if test "${enable_choicebook+set}" = set; then
9929 enableval=$enable_choicebook;
9930 if test "$enableval" = yes; then
9931 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9932 else
9933 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9934 fi
9935
9936 else
9937
9938 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9939
9940 fi
9941
9942
9943 eval "$wx_cv_use_choicebook"
9944
9945 if test x"$enablestring" = xdisable; then
9946 if test $wxUSE_CHOICEBOOK = yes; then
9947 result=no
9948 else
9949 result=yes
9950 fi
9951 else
9952 result=$wxUSE_CHOICEBOOK
9953 fi
9954
9955 { echo "$as_me:$LINENO: result: $result" >&5
9956 echo "${ECHO_T}$result" >&6; }
9957
9958
9959 enablestring=
9960 defaultval=$wxUSE_ALL_FEATURES
9961 if test -z "$defaultval"; then
9962 if test x"$enablestring" = xdisable; then
9963 defaultval=yes
9964 else
9965 defaultval=no
9966 fi
9967 fi
9968
9969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9970 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9971 # Check whether --enable-collpane was given.
9972 if test "${enable_collpane+set}" = set; then
9973 enableval=$enable_collpane;
9974 if test "$enableval" = yes; then
9975 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
9976 else
9977 wx_cv_use_collpane='wxUSE_COLLPANE=no'
9978 fi
9979
9980 else
9981
9982 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
9983
9984 fi
9985
9986
9987 eval "$wx_cv_use_collpane"
9988
9989 if test x"$enablestring" = xdisable; then
9990 if test $wxUSE_COLLPANE = yes; then
9991 result=no
9992 else
9993 result=yes
9994 fi
9995 else
9996 result=$wxUSE_COLLPANE
9997 fi
9998
9999 { echo "$as_me:$LINENO: result: $result" >&5
10000 echo "${ECHO_T}$result" >&6; }
10001
10002
10003 enablestring=
10004 defaultval=$wxUSE_ALL_FEATURES
10005 if test -z "$defaultval"; then
10006 if test x"$enablestring" = xdisable; then
10007 defaultval=yes
10008 else
10009 defaultval=no
10010 fi
10011 fi
10012
10013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10014 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10015 # Check whether --enable-colourpicker was given.
10016 if test "${enable_colourpicker+set}" = set; then
10017 enableval=$enable_colourpicker;
10018 if test "$enableval" = yes; then
10019 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10020 else
10021 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10022 fi
10023
10024 else
10025
10026 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10027
10028 fi
10029
10030
10031 eval "$wx_cv_use_colourpicker"
10032
10033 if test x"$enablestring" = xdisable; then
10034 if test $wxUSE_COLOURPICKERCTRL = yes; then
10035 result=no
10036 else
10037 result=yes
10038 fi
10039 else
10040 result=$wxUSE_COLOURPICKERCTRL
10041 fi
10042
10043 { echo "$as_me:$LINENO: result: $result" >&5
10044 echo "${ECHO_T}$result" >&6; }
10045
10046
10047 enablestring=
10048 defaultval=$wxUSE_ALL_FEATURES
10049 if test -z "$defaultval"; then
10050 if test x"$enablestring" = xdisable; then
10051 defaultval=yes
10052 else
10053 defaultval=no
10054 fi
10055 fi
10056
10057 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10058 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10059 # Check whether --enable-combobox was given.
10060 if test "${enable_combobox+set}" = set; then
10061 enableval=$enable_combobox;
10062 if test "$enableval" = yes; then
10063 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10064 else
10065 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10066 fi
10067
10068 else
10069
10070 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10071
10072 fi
10073
10074
10075 eval "$wx_cv_use_combobox"
10076
10077 if test x"$enablestring" = xdisable; then
10078 if test $wxUSE_COMBOBOX = yes; then
10079 result=no
10080 else
10081 result=yes
10082 fi
10083 else
10084 result=$wxUSE_COMBOBOX
10085 fi
10086
10087 { echo "$as_me:$LINENO: result: $result" >&5
10088 echo "${ECHO_T}$result" >&6; }
10089
10090
10091 enablestring=
10092 defaultval=$wxUSE_ALL_FEATURES
10093 if test -z "$defaultval"; then
10094 if test x"$enablestring" = xdisable; then
10095 defaultval=yes
10096 else
10097 defaultval=no
10098 fi
10099 fi
10100
10101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10102 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10103 # Check whether --enable-comboctrl was given.
10104 if test "${enable_comboctrl+set}" = set; then
10105 enableval=$enable_comboctrl;
10106 if test "$enableval" = yes; then
10107 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10108 else
10109 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10110 fi
10111
10112 else
10113
10114 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10115
10116 fi
10117
10118
10119 eval "$wx_cv_use_comboctrl"
10120
10121 if test x"$enablestring" = xdisable; then
10122 if test $wxUSE_COMBOCTRL = yes; then
10123 result=no
10124 else
10125 result=yes
10126 fi
10127 else
10128 result=$wxUSE_COMBOCTRL
10129 fi
10130
10131 { echo "$as_me:$LINENO: result: $result" >&5
10132 echo "${ECHO_T}$result" >&6; }
10133
10134
10135 enablestring=
10136 defaultval=$wxUSE_ALL_FEATURES
10137 if test -z "$defaultval"; then
10138 if test x"$enablestring" = xdisable; then
10139 defaultval=yes
10140 else
10141 defaultval=no
10142 fi
10143 fi
10144
10145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10146 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10147 # Check whether --enable-dataviewctrl was given.
10148 if test "${enable_dataviewctrl+set}" = set; then
10149 enableval=$enable_dataviewctrl;
10150 if test "$enableval" = yes; then
10151 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10152 else
10153 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10154 fi
10155
10156 else
10157
10158 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10159
10160 fi
10161
10162
10163 eval "$wx_cv_use_dataviewctrl"
10164
10165 if test x"$enablestring" = xdisable; then
10166 if test $wxUSE_DATAVIEWCTRL = yes; then
10167 result=no
10168 else
10169 result=yes
10170 fi
10171 else
10172 result=$wxUSE_DATAVIEWCTRL
10173 fi
10174
10175 { echo "$as_me:$LINENO: result: $result" >&5
10176 echo "${ECHO_T}$result" >&6; }
10177
10178
10179 enablestring=
10180 defaultval=$wxUSE_ALL_FEATURES
10181 if test -z "$defaultval"; then
10182 if test x"$enablestring" = xdisable; then
10183 defaultval=yes
10184 else
10185 defaultval=no
10186 fi
10187 fi
10188
10189 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10190 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10191 # Check whether --enable-datepick was given.
10192 if test "${enable_datepick+set}" = set; then
10193 enableval=$enable_datepick;
10194 if test "$enableval" = yes; then
10195 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10196 else
10197 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10198 fi
10199
10200 else
10201
10202 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10203
10204 fi
10205
10206
10207 eval "$wx_cv_use_datepick"
10208
10209 if test x"$enablestring" = xdisable; then
10210 if test $wxUSE_DATEPICKCTRL = yes; then
10211 result=no
10212 else
10213 result=yes
10214 fi
10215 else
10216 result=$wxUSE_DATEPICKCTRL
10217 fi
10218
10219 { echo "$as_me:$LINENO: result: $result" >&5
10220 echo "${ECHO_T}$result" >&6; }
10221
10222
10223 enablestring=
10224 defaultval=$wxUSE_ALL_FEATURES
10225 if test -z "$defaultval"; then
10226 if test x"$enablestring" = xdisable; then
10227 defaultval=yes
10228 else
10229 defaultval=no
10230 fi
10231 fi
10232
10233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10234 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10235 # Check whether --enable-detect_sm was given.
10236 if test "${enable_detect_sm+set}" = set; then
10237 enableval=$enable_detect_sm;
10238 if test "$enableval" = yes; then
10239 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10240 else
10241 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10242 fi
10243
10244 else
10245
10246 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10247
10248 fi
10249
10250
10251 eval "$wx_cv_use_detect_sm"
10252
10253 if test x"$enablestring" = xdisable; then
10254 if test $wxUSE_DETECT_SM = yes; then
10255 result=no
10256 else
10257 result=yes
10258 fi
10259 else
10260 result=$wxUSE_DETECT_SM
10261 fi
10262
10263 { echo "$as_me:$LINENO: result: $result" >&5
10264 echo "${ECHO_T}$result" >&6; }
10265
10266
10267 enablestring=
10268 defaultval=$wxUSE_ALL_FEATURES
10269 if test -z "$defaultval"; then
10270 if test x"$enablestring" = xdisable; then
10271 defaultval=yes
10272 else
10273 defaultval=no
10274 fi
10275 fi
10276
10277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10278 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10279 # Check whether --enable-dirpicker was given.
10280 if test "${enable_dirpicker+set}" = set; then
10281 enableval=$enable_dirpicker;
10282 if test "$enableval" = yes; then
10283 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10284 else
10285 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10286 fi
10287
10288 else
10289
10290 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10291
10292 fi
10293
10294
10295 eval "$wx_cv_use_dirpicker"
10296
10297 if test x"$enablestring" = xdisable; then
10298 if test $wxUSE_DIRPICKERCTRL = yes; then
10299 result=no
10300 else
10301 result=yes
10302 fi
10303 else
10304 result=$wxUSE_DIRPICKERCTRL
10305 fi
10306
10307 { echo "$as_me:$LINENO: result: $result" >&5
10308 echo "${ECHO_T}$result" >&6; }
10309
10310
10311 enablestring=
10312 defaultval=$wxUSE_ALL_FEATURES
10313 if test -z "$defaultval"; then
10314 if test x"$enablestring" = xdisable; then
10315 defaultval=yes
10316 else
10317 defaultval=no
10318 fi
10319 fi
10320
10321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10322 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10323 # Check whether --enable-display was given.
10324 if test "${enable_display+set}" = set; then
10325 enableval=$enable_display;
10326 if test "$enableval" = yes; then
10327 wx_cv_use_display='wxUSE_DISPLAY=yes'
10328 else
10329 wx_cv_use_display='wxUSE_DISPLAY=no'
10330 fi
10331
10332 else
10333
10334 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10335
10336 fi
10337
10338
10339 eval "$wx_cv_use_display"
10340
10341 if test x"$enablestring" = xdisable; then
10342 if test $wxUSE_DISPLAY = yes; then
10343 result=no
10344 else
10345 result=yes
10346 fi
10347 else
10348 result=$wxUSE_DISPLAY
10349 fi
10350
10351 { echo "$as_me:$LINENO: result: $result" >&5
10352 echo "${ECHO_T}$result" >&6; }
10353
10354
10355 enablestring=
10356 defaultval=$wxUSE_ALL_FEATURES
10357 if test -z "$defaultval"; then
10358 if test x"$enablestring" = xdisable; then
10359 defaultval=yes
10360 else
10361 defaultval=no
10362 fi
10363 fi
10364
10365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10366 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10367 # Check whether --enable-editablebox was given.
10368 if test "${enable_editablebox+set}" = set; then
10369 enableval=$enable_editablebox;
10370 if test "$enableval" = yes; then
10371 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10372 else
10373 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10374 fi
10375
10376 else
10377
10378 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10379
10380 fi
10381
10382
10383 eval "$wx_cv_use_editablebox"
10384
10385 if test x"$enablestring" = xdisable; then
10386 if test $wxUSE_EDITABLELISTBOX = yes; then
10387 result=no
10388 else
10389 result=yes
10390 fi
10391 else
10392 result=$wxUSE_EDITABLELISTBOX
10393 fi
10394
10395 { echo "$as_me:$LINENO: result: $result" >&5
10396 echo "${ECHO_T}$result" >&6; }
10397
10398
10399 enablestring=
10400 defaultval=$wxUSE_ALL_FEATURES
10401 if test -z "$defaultval"; then
10402 if test x"$enablestring" = xdisable; then
10403 defaultval=yes
10404 else
10405 defaultval=no
10406 fi
10407 fi
10408
10409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10410 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10411 # Check whether --enable-filectrl was given.
10412 if test "${enable_filectrl+set}" = set; then
10413 enableval=$enable_filectrl;
10414 if test "$enableval" = yes; then
10415 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10416 else
10417 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10418 fi
10419
10420 else
10421
10422 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10423
10424 fi
10425
10426
10427 eval "$wx_cv_use_filectrl"
10428
10429 if test x"$enablestring" = xdisable; then
10430 if test $wxUSE_FILECTRL = yes; then
10431 result=no
10432 else
10433 result=yes
10434 fi
10435 else
10436 result=$wxUSE_FILECTRL
10437 fi
10438
10439 { echo "$as_me:$LINENO: result: $result" >&5
10440 echo "${ECHO_T}$result" >&6; }
10441
10442
10443 enablestring=
10444 defaultval=$wxUSE_ALL_FEATURES
10445 if test -z "$defaultval"; then
10446 if test x"$enablestring" = xdisable; then
10447 defaultval=yes
10448 else
10449 defaultval=no
10450 fi
10451 fi
10452
10453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10454 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10455 # Check whether --enable-filepicker was given.
10456 if test "${enable_filepicker+set}" = set; then
10457 enableval=$enable_filepicker;
10458 if test "$enableval" = yes; then
10459 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10460 else
10461 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10462 fi
10463
10464 else
10465
10466 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10467
10468 fi
10469
10470
10471 eval "$wx_cv_use_filepicker"
10472
10473 if test x"$enablestring" = xdisable; then
10474 if test $wxUSE_FILEPICKERCTRL = yes; then
10475 result=no
10476 else
10477 result=yes
10478 fi
10479 else
10480 result=$wxUSE_FILEPICKERCTRL
10481 fi
10482
10483 { echo "$as_me:$LINENO: result: $result" >&5
10484 echo "${ECHO_T}$result" >&6; }
10485
10486
10487 enablestring=
10488 defaultval=$wxUSE_ALL_FEATURES
10489 if test -z "$defaultval"; then
10490 if test x"$enablestring" = xdisable; then
10491 defaultval=yes
10492 else
10493 defaultval=no
10494 fi
10495 fi
10496
10497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10498 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10499 # Check whether --enable-fontpicker was given.
10500 if test "${enable_fontpicker+set}" = set; then
10501 enableval=$enable_fontpicker;
10502 if test "$enableval" = yes; then
10503 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10504 else
10505 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10506 fi
10507
10508 else
10509
10510 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10511
10512 fi
10513
10514
10515 eval "$wx_cv_use_fontpicker"
10516
10517 if test x"$enablestring" = xdisable; then
10518 if test $wxUSE_FONTPICKERCTRL = yes; then
10519 result=no
10520 else
10521 result=yes
10522 fi
10523 else
10524 result=$wxUSE_FONTPICKERCTRL
10525 fi
10526
10527 { echo "$as_me:$LINENO: result: $result" >&5
10528 echo "${ECHO_T}$result" >&6; }
10529
10530
10531 enablestring=
10532 defaultval=$wxUSE_ALL_FEATURES
10533 if test -z "$defaultval"; then
10534 if test x"$enablestring" = xdisable; then
10535 defaultval=yes
10536 else
10537 defaultval=no
10538 fi
10539 fi
10540
10541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10542 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10543 # Check whether --enable-gauge was given.
10544 if test "${enable_gauge+set}" = set; then
10545 enableval=$enable_gauge;
10546 if test "$enableval" = yes; then
10547 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10548 else
10549 wx_cv_use_gauge='wxUSE_GAUGE=no'
10550 fi
10551
10552 else
10553
10554 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10555
10556 fi
10557
10558
10559 eval "$wx_cv_use_gauge"
10560
10561 if test x"$enablestring" = xdisable; then
10562 if test $wxUSE_GAUGE = yes; then
10563 result=no
10564 else
10565 result=yes
10566 fi
10567 else
10568 result=$wxUSE_GAUGE
10569 fi
10570
10571 { echo "$as_me:$LINENO: result: $result" >&5
10572 echo "${ECHO_T}$result" >&6; }
10573
10574
10575 enablestring=
10576 defaultval=$wxUSE_ALL_FEATURES
10577 if test -z "$defaultval"; then
10578 if test x"$enablestring" = xdisable; then
10579 defaultval=yes
10580 else
10581 defaultval=no
10582 fi
10583 fi
10584
10585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10586 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10587 # Check whether --enable-grid was given.
10588 if test "${enable_grid+set}" = set; then
10589 enableval=$enable_grid;
10590 if test "$enableval" = yes; then
10591 wx_cv_use_grid='wxUSE_GRID=yes'
10592 else
10593 wx_cv_use_grid='wxUSE_GRID=no'
10594 fi
10595
10596 else
10597
10598 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10599
10600 fi
10601
10602
10603 eval "$wx_cv_use_grid"
10604
10605 if test x"$enablestring" = xdisable; then
10606 if test $wxUSE_GRID = yes; then
10607 result=no
10608 else
10609 result=yes
10610 fi
10611 else
10612 result=$wxUSE_GRID
10613 fi
10614
10615 { echo "$as_me:$LINENO: result: $result" >&5
10616 echo "${ECHO_T}$result" >&6; }
10617
10618
10619 enablestring=
10620 defaultval=$wxUSE_ALL_FEATURES
10621 if test -z "$defaultval"; then
10622 if test x"$enablestring" = xdisable; then
10623 defaultval=yes
10624 else
10625 defaultval=no
10626 fi
10627 fi
10628
10629 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10630 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10631 # Check whether --enable-hyperlink was given.
10632 if test "${enable_hyperlink+set}" = set; then
10633 enableval=$enable_hyperlink;
10634 if test "$enableval" = yes; then
10635 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10636 else
10637 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10638 fi
10639
10640 else
10641
10642 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10643
10644 fi
10645
10646
10647 eval "$wx_cv_use_hyperlink"
10648
10649 if test x"$enablestring" = xdisable; then
10650 if test $wxUSE_HYPERLINKCTRL = yes; then
10651 result=no
10652 else
10653 result=yes
10654 fi
10655 else
10656 result=$wxUSE_HYPERLINKCTRL
10657 fi
10658
10659 { echo "$as_me:$LINENO: result: $result" >&5
10660 echo "${ECHO_T}$result" >&6; }
10661
10662
10663 enablestring=
10664 defaultval=$wxUSE_ALL_FEATURES
10665 if test -z "$defaultval"; then
10666 if test x"$enablestring" = xdisable; then
10667 defaultval=yes
10668 else
10669 defaultval=no
10670 fi
10671 fi
10672
10673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10674 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10675 # Check whether --enable-imaglist was given.
10676 if test "${enable_imaglist+set}" = set; then
10677 enableval=$enable_imaglist;
10678 if test "$enableval" = yes; then
10679 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10680 else
10681 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10682 fi
10683
10684 else
10685
10686 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10687
10688 fi
10689
10690
10691 eval "$wx_cv_use_imaglist"
10692
10693 if test x"$enablestring" = xdisable; then
10694 if test $wxUSE_IMAGLIST = yes; then
10695 result=no
10696 else
10697 result=yes
10698 fi
10699 else
10700 result=$wxUSE_IMAGLIST
10701 fi
10702
10703 { echo "$as_me:$LINENO: result: $result" >&5
10704 echo "${ECHO_T}$result" >&6; }
10705
10706
10707 enablestring=
10708 defaultval=$wxUSE_ALL_FEATURES
10709 if test -z "$defaultval"; then
10710 if test x"$enablestring" = xdisable; then
10711 defaultval=yes
10712 else
10713 defaultval=no
10714 fi
10715 fi
10716
10717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10718 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10719 # Check whether --enable-listbook was given.
10720 if test "${enable_listbook+set}" = set; then
10721 enableval=$enable_listbook;
10722 if test "$enableval" = yes; then
10723 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10724 else
10725 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10726 fi
10727
10728 else
10729
10730 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10731
10732 fi
10733
10734
10735 eval "$wx_cv_use_listbook"
10736
10737 if test x"$enablestring" = xdisable; then
10738 if test $wxUSE_LISTBOOK = yes; then
10739 result=no
10740 else
10741 result=yes
10742 fi
10743 else
10744 result=$wxUSE_LISTBOOK
10745 fi
10746
10747 { echo "$as_me:$LINENO: result: $result" >&5
10748 echo "${ECHO_T}$result" >&6; }
10749
10750
10751 enablestring=
10752 defaultval=$wxUSE_ALL_FEATURES
10753 if test -z "$defaultval"; then
10754 if test x"$enablestring" = xdisable; then
10755 defaultval=yes
10756 else
10757 defaultval=no
10758 fi
10759 fi
10760
10761 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10762 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10763 # Check whether --enable-listbox was given.
10764 if test "${enable_listbox+set}" = set; then
10765 enableval=$enable_listbox;
10766 if test "$enableval" = yes; then
10767 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10768 else
10769 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10770 fi
10771
10772 else
10773
10774 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10775
10776 fi
10777
10778
10779 eval "$wx_cv_use_listbox"
10780
10781 if test x"$enablestring" = xdisable; then
10782 if test $wxUSE_LISTBOX = yes; then
10783 result=no
10784 else
10785 result=yes
10786 fi
10787 else
10788 result=$wxUSE_LISTBOX
10789 fi
10790
10791 { echo "$as_me:$LINENO: result: $result" >&5
10792 echo "${ECHO_T}$result" >&6; }
10793
10794
10795 enablestring=
10796 defaultval=$wxUSE_ALL_FEATURES
10797 if test -z "$defaultval"; then
10798 if test x"$enablestring" = xdisable; then
10799 defaultval=yes
10800 else
10801 defaultval=no
10802 fi
10803 fi
10804
10805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10806 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10807 # Check whether --enable-listctrl was given.
10808 if test "${enable_listctrl+set}" = set; then
10809 enableval=$enable_listctrl;
10810 if test "$enableval" = yes; then
10811 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10812 else
10813 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10814 fi
10815
10816 else
10817
10818 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10819
10820 fi
10821
10822
10823 eval "$wx_cv_use_listctrl"
10824
10825 if test x"$enablestring" = xdisable; then
10826 if test $wxUSE_LISTCTRL = yes; then
10827 result=no
10828 else
10829 result=yes
10830 fi
10831 else
10832 result=$wxUSE_LISTCTRL
10833 fi
10834
10835 { echo "$as_me:$LINENO: result: $result" >&5
10836 echo "${ECHO_T}$result" >&6; }
10837
10838
10839 enablestring=
10840 defaultval=$wxUSE_ALL_FEATURES
10841 if test -z "$defaultval"; then
10842 if test x"$enablestring" = xdisable; then
10843 defaultval=yes
10844 else
10845 defaultval=no
10846 fi
10847 fi
10848
10849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10850 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10851 # Check whether --enable-notebook was given.
10852 if test "${enable_notebook+set}" = set; then
10853 enableval=$enable_notebook;
10854 if test "$enableval" = yes; then
10855 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10856 else
10857 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10858 fi
10859
10860 else
10861
10862 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10863
10864 fi
10865
10866
10867 eval "$wx_cv_use_notebook"
10868
10869 if test x"$enablestring" = xdisable; then
10870 if test $wxUSE_NOTEBOOK = yes; then
10871 result=no
10872 else
10873 result=yes
10874 fi
10875 else
10876 result=$wxUSE_NOTEBOOK
10877 fi
10878
10879 { echo "$as_me:$LINENO: result: $result" >&5
10880 echo "${ECHO_T}$result" >&6; }
10881
10882
10883 enablestring=
10884 defaultval=$wxUSE_ALL_FEATURES
10885 if test -z "$defaultval"; then
10886 if test x"$enablestring" = xdisable; then
10887 defaultval=yes
10888 else
10889 defaultval=no
10890 fi
10891 fi
10892
10893 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10894 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10895 # Check whether --enable-notifmsg was given.
10896 if test "${enable_notifmsg+set}" = set; then
10897 enableval=$enable_notifmsg;
10898 if test "$enableval" = yes; then
10899 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
10900 else
10901 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
10902 fi
10903
10904 else
10905
10906 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
10907
10908 fi
10909
10910
10911 eval "$wx_cv_use_notifmsg"
10912
10913 if test x"$enablestring" = xdisable; then
10914 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
10915 result=no
10916 else
10917 result=yes
10918 fi
10919 else
10920 result=$wxUSE_NOTIFICATION_MESSAGE
10921 fi
10922
10923 { echo "$as_me:$LINENO: result: $result" >&5
10924 echo "${ECHO_T}$result" >&6; }
10925
10926
10927 enablestring=
10928 defaultval=$wxUSE_ALL_FEATURES
10929 if test -z "$defaultval"; then
10930 if test x"$enablestring" = xdisable; then
10931 defaultval=yes
10932 else
10933 defaultval=no
10934 fi
10935 fi
10936
10937 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10938 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10939 # Check whether --enable-odcombobox was given.
10940 if test "${enable_odcombobox+set}" = set; then
10941 enableval=$enable_odcombobox;
10942 if test "$enableval" = yes; then
10943 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10944 else
10945 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10946 fi
10947
10948 else
10949
10950 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
10951
10952 fi
10953
10954
10955 eval "$wx_cv_use_odcombobox"
10956
10957 if test x"$enablestring" = xdisable; then
10958 if test $wxUSE_ODCOMBOBOX = yes; then
10959 result=no
10960 else
10961 result=yes
10962 fi
10963 else
10964 result=$wxUSE_ODCOMBOBOX
10965 fi
10966
10967 { echo "$as_me:$LINENO: result: $result" >&5
10968 echo "${ECHO_T}$result" >&6; }
10969
10970
10971 enablestring=
10972 defaultval=$wxUSE_ALL_FEATURES
10973 if test -z "$defaultval"; then
10974 if test x"$enablestring" = xdisable; then
10975 defaultval=yes
10976 else
10977 defaultval=no
10978 fi
10979 fi
10980
10981 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10982 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
10983 # Check whether --enable-popupwin was given.
10984 if test "${enable_popupwin+set}" = set; then
10985 enableval=$enable_popupwin;
10986 if test "$enableval" = yes; then
10987 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
10988 else
10989 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
10990 fi
10991
10992 else
10993
10994 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
10995
10996 fi
10997
10998
10999 eval "$wx_cv_use_popupwin"
11000
11001 if test x"$enablestring" = xdisable; then
11002 if test $wxUSE_POPUPWIN = yes; then
11003 result=no
11004 else
11005 result=yes
11006 fi
11007 else
11008 result=$wxUSE_POPUPWIN
11009 fi
11010
11011 { echo "$as_me:$LINENO: result: $result" >&5
11012 echo "${ECHO_T}$result" >&6; }
11013
11014
11015 enablestring=
11016 defaultval=$wxUSE_ALL_FEATURES
11017 if test -z "$defaultval"; then
11018 if test x"$enablestring" = xdisable; then
11019 defaultval=yes
11020 else
11021 defaultval=no
11022 fi
11023 fi
11024
11025 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11026 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11027 # Check whether --enable-radiobox was given.
11028 if test "${enable_radiobox+set}" = set; then
11029 enableval=$enable_radiobox;
11030 if test "$enableval" = yes; then
11031 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11032 else
11033 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11034 fi
11035
11036 else
11037
11038 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11039
11040 fi
11041
11042
11043 eval "$wx_cv_use_radiobox"
11044
11045 if test x"$enablestring" = xdisable; then
11046 if test $wxUSE_RADIOBOX = yes; then
11047 result=no
11048 else
11049 result=yes
11050 fi
11051 else
11052 result=$wxUSE_RADIOBOX
11053 fi
11054
11055 { echo "$as_me:$LINENO: result: $result" >&5
11056 echo "${ECHO_T}$result" >&6; }
11057
11058
11059 enablestring=
11060 defaultval=$wxUSE_ALL_FEATURES
11061 if test -z "$defaultval"; then
11062 if test x"$enablestring" = xdisable; then
11063 defaultval=yes
11064 else
11065 defaultval=no
11066 fi
11067 fi
11068
11069 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11070 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11071 # Check whether --enable-radiobtn was given.
11072 if test "${enable_radiobtn+set}" = set; then
11073 enableval=$enable_radiobtn;
11074 if test "$enableval" = yes; then
11075 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11076 else
11077 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11078 fi
11079
11080 else
11081
11082 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11083
11084 fi
11085
11086
11087 eval "$wx_cv_use_radiobtn"
11088
11089 if test x"$enablestring" = xdisable; then
11090 if test $wxUSE_RADIOBTN = yes; then
11091 result=no
11092 else
11093 result=yes
11094 fi
11095 else
11096 result=$wxUSE_RADIOBTN
11097 fi
11098
11099 { echo "$as_me:$LINENO: result: $result" >&5
11100 echo "${ECHO_T}$result" >&6; }
11101
11102
11103 enablestring=
11104 defaultval=$wxUSE_ALL_FEATURES
11105 if test -z "$defaultval"; then
11106 if test x"$enablestring" = xdisable; then
11107 defaultval=yes
11108 else
11109 defaultval=no
11110 fi
11111 fi
11112
11113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11114 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11115 # Check whether --enable-rearrangectrl was given.
11116 if test "${enable_rearrangectrl+set}" = set; then
11117 enableval=$enable_rearrangectrl;
11118 if test "$enableval" = yes; then
11119 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11120 else
11121 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11122 fi
11123
11124 else
11125
11126 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11127
11128 fi
11129
11130
11131 eval "$wx_cv_use_rearrangectrl"
11132
11133 if test x"$enablestring" = xdisable; then
11134 if test $wxUSE_REARRANGECTRL = yes; then
11135 result=no
11136 else
11137 result=yes
11138 fi
11139 else
11140 result=$wxUSE_REARRANGECTRL
11141 fi
11142
11143 { echo "$as_me:$LINENO: result: $result" >&5
11144 echo "${ECHO_T}$result" >&6; }
11145
11146
11147 enablestring=
11148 defaultval=$wxUSE_ALL_FEATURES
11149 if test -z "$defaultval"; then
11150 if test x"$enablestring" = xdisable; then
11151 defaultval=yes
11152 else
11153 defaultval=no
11154 fi
11155 fi
11156
11157 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11158 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11159 # Check whether --enable-sash was given.
11160 if test "${enable_sash+set}" = set; then
11161 enableval=$enable_sash;
11162 if test "$enableval" = yes; then
11163 wx_cv_use_sash='wxUSE_SASH=yes'
11164 else
11165 wx_cv_use_sash='wxUSE_SASH=no'
11166 fi
11167
11168 else
11169
11170 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11171
11172 fi
11173
11174
11175 eval "$wx_cv_use_sash"
11176
11177 if test x"$enablestring" = xdisable; then
11178 if test $wxUSE_SASH = yes; then
11179 result=no
11180 else
11181 result=yes
11182 fi
11183 else
11184 result=$wxUSE_SASH
11185 fi
11186
11187 { echo "$as_me:$LINENO: result: $result" >&5
11188 echo "${ECHO_T}$result" >&6; }
11189
11190
11191 enablestring=
11192 defaultval=$wxUSE_ALL_FEATURES
11193 if test -z "$defaultval"; then
11194 if test x"$enablestring" = xdisable; then
11195 defaultval=yes
11196 else
11197 defaultval=no
11198 fi
11199 fi
11200
11201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11202 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11203 # Check whether --enable-scrollbar was given.
11204 if test "${enable_scrollbar+set}" = set; then
11205 enableval=$enable_scrollbar;
11206 if test "$enableval" = yes; then
11207 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11208 else
11209 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11210 fi
11211
11212 else
11213
11214 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11215
11216 fi
11217
11218
11219 eval "$wx_cv_use_scrollbar"
11220
11221 if test x"$enablestring" = xdisable; then
11222 if test $wxUSE_SCROLLBAR = yes; then
11223 result=no
11224 else
11225 result=yes
11226 fi
11227 else
11228 result=$wxUSE_SCROLLBAR
11229 fi
11230
11231 { echo "$as_me:$LINENO: result: $result" >&5
11232 echo "${ECHO_T}$result" >&6; }
11233
11234
11235 enablestring=
11236 defaultval=$wxUSE_ALL_FEATURES
11237 if test -z "$defaultval"; then
11238 if test x"$enablestring" = xdisable; then
11239 defaultval=yes
11240 else
11241 defaultval=no
11242 fi
11243 fi
11244
11245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11246 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11247 # Check whether --enable-searchctrl was given.
11248 if test "${enable_searchctrl+set}" = set; then
11249 enableval=$enable_searchctrl;
11250 if test "$enableval" = yes; then
11251 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11252 else
11253 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11254 fi
11255
11256 else
11257
11258 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11259
11260 fi
11261
11262
11263 eval "$wx_cv_use_searchctrl"
11264
11265 if test x"$enablestring" = xdisable; then
11266 if test $wxUSE_SEARCHCTRL = yes; then
11267 result=no
11268 else
11269 result=yes
11270 fi
11271 else
11272 result=$wxUSE_SEARCHCTRL
11273 fi
11274
11275 { echo "$as_me:$LINENO: result: $result" >&5
11276 echo "${ECHO_T}$result" >&6; }
11277
11278
11279 enablestring=
11280 defaultval=$wxUSE_ALL_FEATURES
11281 if test -z "$defaultval"; then
11282 if test x"$enablestring" = xdisable; then
11283 defaultval=yes
11284 else
11285 defaultval=no
11286 fi
11287 fi
11288
11289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11290 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11291 # Check whether --enable-slider was given.
11292 if test "${enable_slider+set}" = set; then
11293 enableval=$enable_slider;
11294 if test "$enableval" = yes; then
11295 wx_cv_use_slider='wxUSE_SLIDER=yes'
11296 else
11297 wx_cv_use_slider='wxUSE_SLIDER=no'
11298 fi
11299
11300 else
11301
11302 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11303
11304 fi
11305
11306
11307 eval "$wx_cv_use_slider"
11308
11309 if test x"$enablestring" = xdisable; then
11310 if test $wxUSE_SLIDER = yes; then
11311 result=no
11312 else
11313 result=yes
11314 fi
11315 else
11316 result=$wxUSE_SLIDER
11317 fi
11318
11319 { echo "$as_me:$LINENO: result: $result" >&5
11320 echo "${ECHO_T}$result" >&6; }
11321
11322
11323 enablestring=
11324 defaultval=$wxUSE_ALL_FEATURES
11325 if test -z "$defaultval"; then
11326 if test x"$enablestring" = xdisable; then
11327 defaultval=yes
11328 else
11329 defaultval=no
11330 fi
11331 fi
11332
11333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11334 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11335 # Check whether --enable-spinbtn was given.
11336 if test "${enable_spinbtn+set}" = set; then
11337 enableval=$enable_spinbtn;
11338 if test "$enableval" = yes; then
11339 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11340 else
11341 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11342 fi
11343
11344 else
11345
11346 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11347
11348 fi
11349
11350
11351 eval "$wx_cv_use_spinbtn"
11352
11353 if test x"$enablestring" = xdisable; then
11354 if test $wxUSE_SPINBTN = yes; then
11355 result=no
11356 else
11357 result=yes
11358 fi
11359 else
11360 result=$wxUSE_SPINBTN
11361 fi
11362
11363 { echo "$as_me:$LINENO: result: $result" >&5
11364 echo "${ECHO_T}$result" >&6; }
11365
11366
11367 enablestring=
11368 defaultval=$wxUSE_ALL_FEATURES
11369 if test -z "$defaultval"; then
11370 if test x"$enablestring" = xdisable; then
11371 defaultval=yes
11372 else
11373 defaultval=no
11374 fi
11375 fi
11376
11377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11378 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11379 # Check whether --enable-spinctrl was given.
11380 if test "${enable_spinctrl+set}" = set; then
11381 enableval=$enable_spinctrl;
11382 if test "$enableval" = yes; then
11383 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11384 else
11385 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11386 fi
11387
11388 else
11389
11390 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11391
11392 fi
11393
11394
11395 eval "$wx_cv_use_spinctrl"
11396
11397 if test x"$enablestring" = xdisable; then
11398 if test $wxUSE_SPINCTRL = yes; then
11399 result=no
11400 else
11401 result=yes
11402 fi
11403 else
11404 result=$wxUSE_SPINCTRL
11405 fi
11406
11407 { echo "$as_me:$LINENO: result: $result" >&5
11408 echo "${ECHO_T}$result" >&6; }
11409
11410
11411 enablestring=
11412 defaultval=$wxUSE_ALL_FEATURES
11413 if test -z "$defaultval"; then
11414 if test x"$enablestring" = xdisable; then
11415 defaultval=yes
11416 else
11417 defaultval=no
11418 fi
11419 fi
11420
11421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11422 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11423 # Check whether --enable-splitter was given.
11424 if test "${enable_splitter+set}" = set; then
11425 enableval=$enable_splitter;
11426 if test "$enableval" = yes; then
11427 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11428 else
11429 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11430 fi
11431
11432 else
11433
11434 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11435
11436 fi
11437
11438
11439 eval "$wx_cv_use_splitter"
11440
11441 if test x"$enablestring" = xdisable; then
11442 if test $wxUSE_SPLITTER = yes; then
11443 result=no
11444 else
11445 result=yes
11446 fi
11447 else
11448 result=$wxUSE_SPLITTER
11449 fi
11450
11451 { echo "$as_me:$LINENO: result: $result" >&5
11452 echo "${ECHO_T}$result" >&6; }
11453
11454
11455 enablestring=
11456 defaultval=$wxUSE_ALL_FEATURES
11457 if test -z "$defaultval"; then
11458 if test x"$enablestring" = xdisable; then
11459 defaultval=yes
11460 else
11461 defaultval=no
11462 fi
11463 fi
11464
11465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11466 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11467 # Check whether --enable-statbmp was given.
11468 if test "${enable_statbmp+set}" = set; then
11469 enableval=$enable_statbmp;
11470 if test "$enableval" = yes; then
11471 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11472 else
11473 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11474 fi
11475
11476 else
11477
11478 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11479
11480 fi
11481
11482
11483 eval "$wx_cv_use_statbmp"
11484
11485 if test x"$enablestring" = xdisable; then
11486 if test $wxUSE_STATBMP = yes; then
11487 result=no
11488 else
11489 result=yes
11490 fi
11491 else
11492 result=$wxUSE_STATBMP
11493 fi
11494
11495 { echo "$as_me:$LINENO: result: $result" >&5
11496 echo "${ECHO_T}$result" >&6; }
11497
11498
11499 enablestring=
11500 defaultval=$wxUSE_ALL_FEATURES
11501 if test -z "$defaultval"; then
11502 if test x"$enablestring" = xdisable; then
11503 defaultval=yes
11504 else
11505 defaultval=no
11506 fi
11507 fi
11508
11509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11510 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11511 # Check whether --enable-statbox was given.
11512 if test "${enable_statbox+set}" = set; then
11513 enableval=$enable_statbox;
11514 if test "$enableval" = yes; then
11515 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11516 else
11517 wx_cv_use_statbox='wxUSE_STATBOX=no'
11518 fi
11519
11520 else
11521
11522 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11523
11524 fi
11525
11526
11527 eval "$wx_cv_use_statbox"
11528
11529 if test x"$enablestring" = xdisable; then
11530 if test $wxUSE_STATBOX = yes; then
11531 result=no
11532 else
11533 result=yes
11534 fi
11535 else
11536 result=$wxUSE_STATBOX
11537 fi
11538
11539 { echo "$as_me:$LINENO: result: $result" >&5
11540 echo "${ECHO_T}$result" >&6; }
11541
11542
11543 enablestring=
11544 defaultval=$wxUSE_ALL_FEATURES
11545 if test -z "$defaultval"; then
11546 if test x"$enablestring" = xdisable; then
11547 defaultval=yes
11548 else
11549 defaultval=no
11550 fi
11551 fi
11552
11553 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11554 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11555 # Check whether --enable-statline was given.
11556 if test "${enable_statline+set}" = set; then
11557 enableval=$enable_statline;
11558 if test "$enableval" = yes; then
11559 wx_cv_use_statline='wxUSE_STATLINE=yes'
11560 else
11561 wx_cv_use_statline='wxUSE_STATLINE=no'
11562 fi
11563
11564 else
11565
11566 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11567
11568 fi
11569
11570
11571 eval "$wx_cv_use_statline"
11572
11573 if test x"$enablestring" = xdisable; then
11574 if test $wxUSE_STATLINE = yes; then
11575 result=no
11576 else
11577 result=yes
11578 fi
11579 else
11580 result=$wxUSE_STATLINE
11581 fi
11582
11583 { echo "$as_me:$LINENO: result: $result" >&5
11584 echo "${ECHO_T}$result" >&6; }
11585
11586
11587 enablestring=
11588 defaultval=$wxUSE_ALL_FEATURES
11589 if test -z "$defaultval"; then
11590 if test x"$enablestring" = xdisable; then
11591 defaultval=yes
11592 else
11593 defaultval=no
11594 fi
11595 fi
11596
11597 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11598 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11599 # Check whether --enable-stattext was given.
11600 if test "${enable_stattext+set}" = set; then
11601 enableval=$enable_stattext;
11602 if test "$enableval" = yes; then
11603 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11604 else
11605 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11606 fi
11607
11608 else
11609
11610 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11611
11612 fi
11613
11614
11615 eval "$wx_cv_use_stattext"
11616
11617 if test x"$enablestring" = xdisable; then
11618 if test $wxUSE_STATTEXT = yes; then
11619 result=no
11620 else
11621 result=yes
11622 fi
11623 else
11624 result=$wxUSE_STATTEXT
11625 fi
11626
11627 { echo "$as_me:$LINENO: result: $result" >&5
11628 echo "${ECHO_T}$result" >&6; }
11629
11630
11631 enablestring=
11632 defaultval=$wxUSE_ALL_FEATURES
11633 if test -z "$defaultval"; then
11634 if test x"$enablestring" = xdisable; then
11635 defaultval=yes
11636 else
11637 defaultval=no
11638 fi
11639 fi
11640
11641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11642 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11643 # Check whether --enable-statusbar was given.
11644 if test "${enable_statusbar+set}" = set; then
11645 enableval=$enable_statusbar;
11646 if test "$enableval" = yes; then
11647 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11648 else
11649 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11650 fi
11651
11652 else
11653
11654 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11655
11656 fi
11657
11658
11659 eval "$wx_cv_use_statusbar"
11660
11661 if test x"$enablestring" = xdisable; then
11662 if test $wxUSE_STATUSBAR = yes; then
11663 result=no
11664 else
11665 result=yes
11666 fi
11667 else
11668 result=$wxUSE_STATUSBAR
11669 fi
11670
11671 { echo "$as_me:$LINENO: result: $result" >&5
11672 echo "${ECHO_T}$result" >&6; }
11673
11674
11675 enablestring=
11676 defaultval=$wxUSE_ALL_FEATURES
11677 if test -z "$defaultval"; then
11678 if test x"$enablestring" = xdisable; then
11679 defaultval=yes
11680 else
11681 defaultval=no
11682 fi
11683 fi
11684
11685 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11686 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11687 # Check whether --enable-taskbaricon was given.
11688 if test "${enable_taskbaricon+set}" = set; then
11689 enableval=$enable_taskbaricon;
11690 if test "$enableval" = yes; then
11691 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11692 else
11693 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11694 fi
11695
11696 else
11697
11698 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11699
11700 fi
11701
11702
11703 eval "$wx_cv_use_taskbaricon"
11704
11705 if test x"$enablestring" = xdisable; then
11706 if test $wxUSE_TASKBARICON = yes; then
11707 result=no
11708 else
11709 result=yes
11710 fi
11711 else
11712 result=$wxUSE_TASKBARICON
11713 fi
11714
11715 { echo "$as_me:$LINENO: result: $result" >&5
11716 echo "${ECHO_T}$result" >&6; }
11717
11718
11719 enablestring=
11720 defaultval=$wxUSE_ALL_FEATURES
11721 if test -z "$defaultval"; then
11722 if test x"$enablestring" = xdisable; then
11723 defaultval=yes
11724 else
11725 defaultval=no
11726 fi
11727 fi
11728
11729 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11730 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11731 # Check whether --enable-tbarnative was given.
11732 if test "${enable_tbarnative+set}" = set; then
11733 enableval=$enable_tbarnative;
11734 if test "$enableval" = yes; then
11735 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11736 else
11737 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11738 fi
11739
11740 else
11741
11742 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11743
11744 fi
11745
11746
11747 eval "$wx_cv_use_tbarnative"
11748
11749 if test x"$enablestring" = xdisable; then
11750 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11751 result=no
11752 else
11753 result=yes
11754 fi
11755 else
11756 result=$wxUSE_TOOLBAR_NATIVE
11757 fi
11758
11759 { echo "$as_me:$LINENO: result: $result" >&5
11760 echo "${ECHO_T}$result" >&6; }
11761
11762
11763 enablestring=
11764 defaultval=$wxUSE_ALL_FEATURES
11765 if test -z "$defaultval"; then
11766 if test x"$enablestring" = xdisable; then
11767 defaultval=yes
11768 else
11769 defaultval=no
11770 fi
11771 fi
11772
11773 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11774 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11775 # Check whether --enable-textctrl was given.
11776 if test "${enable_textctrl+set}" = set; then
11777 enableval=$enable_textctrl;
11778 if test "$enableval" = yes; then
11779 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11780 else
11781 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11782 fi
11783
11784 else
11785
11786 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11787
11788 fi
11789
11790
11791 eval "$wx_cv_use_textctrl"
11792
11793 if test x"$enablestring" = xdisable; then
11794 if test $wxUSE_TEXTCTRL = yes; then
11795 result=no
11796 else
11797 result=yes
11798 fi
11799 else
11800 result=$wxUSE_TEXTCTRL
11801 fi
11802
11803 { echo "$as_me:$LINENO: result: $result" >&5
11804 echo "${ECHO_T}$result" >&6; }
11805
11806
11807 enablestring=
11808 defaultval=$wxUSE_ALL_FEATURES
11809 if test -z "$defaultval"; then
11810 if test x"$enablestring" = xdisable; then
11811 defaultval=yes
11812 else
11813 defaultval=no
11814 fi
11815 fi
11816
11817 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11818 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11819 # Check whether --enable-tipwindow was given.
11820 if test "${enable_tipwindow+set}" = set; then
11821 enableval=$enable_tipwindow;
11822 if test "$enableval" = yes; then
11823 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11824 else
11825 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11826 fi
11827
11828 else
11829
11830 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
11831
11832 fi
11833
11834
11835 eval "$wx_cv_use_tipwindow"
11836
11837 if test x"$enablestring" = xdisable; then
11838 if test $wxUSE_TIPWINDOW = yes; then
11839 result=no
11840 else
11841 result=yes
11842 fi
11843 else
11844 result=$wxUSE_TIPWINDOW
11845 fi
11846
11847 { echo "$as_me:$LINENO: result: $result" >&5
11848 echo "${ECHO_T}$result" >&6; }
11849
11850
11851 enablestring=
11852 defaultval=$wxUSE_ALL_FEATURES
11853 if test -z "$defaultval"; then
11854 if test x"$enablestring" = xdisable; then
11855 defaultval=yes
11856 else
11857 defaultval=no
11858 fi
11859 fi
11860
11861 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11862 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11863 # Check whether --enable-togglebtn was given.
11864 if test "${enable_togglebtn+set}" = set; then
11865 enableval=$enable_togglebtn;
11866 if test "$enableval" = yes; then
11867 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11868 else
11869 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11870 fi
11871
11872 else
11873
11874 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11875
11876 fi
11877
11878
11879 eval "$wx_cv_use_togglebtn"
11880
11881 if test x"$enablestring" = xdisable; then
11882 if test $wxUSE_TOGGLEBTN = yes; then
11883 result=no
11884 else
11885 result=yes
11886 fi
11887 else
11888 result=$wxUSE_TOGGLEBTN
11889 fi
11890
11891 { echo "$as_me:$LINENO: result: $result" >&5
11892 echo "${ECHO_T}$result" >&6; }
11893
11894
11895 enablestring=
11896 defaultval=$wxUSE_ALL_FEATURES
11897 if test -z "$defaultval"; then
11898 if test x"$enablestring" = xdisable; then
11899 defaultval=yes
11900 else
11901 defaultval=no
11902 fi
11903 fi
11904
11905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11906 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11907 # Check whether --enable-toolbar was given.
11908 if test "${enable_toolbar+set}" = set; then
11909 enableval=$enable_toolbar;
11910 if test "$enableval" = yes; then
11911 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11912 else
11913 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11914 fi
11915
11916 else
11917
11918 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11919
11920 fi
11921
11922
11923 eval "$wx_cv_use_toolbar"
11924
11925 if test x"$enablestring" = xdisable; then
11926 if test $wxUSE_TOOLBAR = yes; then
11927 result=no
11928 else
11929 result=yes
11930 fi
11931 else
11932 result=$wxUSE_TOOLBAR
11933 fi
11934
11935 { echo "$as_me:$LINENO: result: $result" >&5
11936 echo "${ECHO_T}$result" >&6; }
11937
11938
11939 enablestring=
11940 defaultval=$wxUSE_ALL_FEATURES
11941 if test -z "$defaultval"; then
11942 if test x"$enablestring" = xdisable; then
11943 defaultval=yes
11944 else
11945 defaultval=no
11946 fi
11947 fi
11948
11949 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11950 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11951 # Check whether --enable-toolbook was given.
11952 if test "${enable_toolbook+set}" = set; then
11953 enableval=$enable_toolbook;
11954 if test "$enableval" = yes; then
11955 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
11956 else
11957 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
11958 fi
11959
11960 else
11961
11962 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
11963
11964 fi
11965
11966
11967 eval "$wx_cv_use_toolbook"
11968
11969 if test x"$enablestring" = xdisable; then
11970 if test $wxUSE_TOOLBOOK = yes; then
11971 result=no
11972 else
11973 result=yes
11974 fi
11975 else
11976 result=$wxUSE_TOOLBOOK
11977 fi
11978
11979 { echo "$as_me:$LINENO: result: $result" >&5
11980 echo "${ECHO_T}$result" >&6; }
11981
11982
11983 enablestring=
11984 defaultval=$wxUSE_ALL_FEATURES
11985 if test -z "$defaultval"; then
11986 if test x"$enablestring" = xdisable; then
11987 defaultval=yes
11988 else
11989 defaultval=no
11990 fi
11991 fi
11992
11993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11994 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11995 # Check whether --enable-treebook was given.
11996 if test "${enable_treebook+set}" = set; then
11997 enableval=$enable_treebook;
11998 if test "$enableval" = yes; then
11999 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12000 else
12001 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12002 fi
12003
12004 else
12005
12006 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12007
12008 fi
12009
12010
12011 eval "$wx_cv_use_treebook"
12012
12013 if test x"$enablestring" = xdisable; then
12014 if test $wxUSE_TREEBOOK = yes; then
12015 result=no
12016 else
12017 result=yes
12018 fi
12019 else
12020 result=$wxUSE_TREEBOOK
12021 fi
12022
12023 { echo "$as_me:$LINENO: result: $result" >&5
12024 echo "${ECHO_T}$result" >&6; }
12025
12026
12027 enablestring=
12028 defaultval=$wxUSE_ALL_FEATURES
12029 if test -z "$defaultval"; then
12030 if test x"$enablestring" = xdisable; then
12031 defaultval=yes
12032 else
12033 defaultval=no
12034 fi
12035 fi
12036
12037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12038 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12039 # Check whether --enable-treectrl was given.
12040 if test "${enable_treectrl+set}" = set; then
12041 enableval=$enable_treectrl;
12042 if test "$enableval" = yes; then
12043 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12044 else
12045 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12046 fi
12047
12048 else
12049
12050 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12051
12052 fi
12053
12054
12055 eval "$wx_cv_use_treectrl"
12056
12057 if test x"$enablestring" = xdisable; then
12058 if test $wxUSE_TREECTRL = yes; then
12059 result=no
12060 else
12061 result=yes
12062 fi
12063 else
12064 result=$wxUSE_TREECTRL
12065 fi
12066
12067 { echo "$as_me:$LINENO: result: $result" >&5
12068 echo "${ECHO_T}$result" >&6; }
12069
12070
12071
12072
12073 enablestring=
12074 defaultval=$wxUSE_ALL_FEATURES
12075 if test -z "$defaultval"; then
12076 if test x"$enablestring" = xdisable; then
12077 defaultval=yes
12078 else
12079 defaultval=no
12080 fi
12081 fi
12082
12083 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12084 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12085 # Check whether --enable-commondlg was given.
12086 if test "${enable_commondlg+set}" = set; then
12087 enableval=$enable_commondlg;
12088 if test "$enableval" = yes; then
12089 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12090 else
12091 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12092 fi
12093
12094 else
12095
12096 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12097
12098 fi
12099
12100
12101 eval "$wx_cv_use_commondlg"
12102
12103 if test x"$enablestring" = xdisable; then
12104 if test $wxUSE_COMMONDLGS = yes; then
12105 result=no
12106 else
12107 result=yes
12108 fi
12109 else
12110 result=$wxUSE_COMMONDLGS
12111 fi
12112
12113 { echo "$as_me:$LINENO: result: $result" >&5
12114 echo "${ECHO_T}$result" >&6; }
12115
12116
12117 enablestring=
12118 defaultval=$wxUSE_ALL_FEATURES
12119 if test -z "$defaultval"; then
12120 if test x"$enablestring" = xdisable; then
12121 defaultval=yes
12122 else
12123 defaultval=no
12124 fi
12125 fi
12126
12127 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12128 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12129 # Check whether --enable-aboutdlg was given.
12130 if test "${enable_aboutdlg+set}" = set; then
12131 enableval=$enable_aboutdlg;
12132 if test "$enableval" = yes; then
12133 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12134 else
12135 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12136 fi
12137
12138 else
12139
12140 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12141
12142 fi
12143
12144
12145 eval "$wx_cv_use_aboutdlg"
12146
12147 if test x"$enablestring" = xdisable; then
12148 if test $wxUSE_ABOUTDLG = yes; then
12149 result=no
12150 else
12151 result=yes
12152 fi
12153 else
12154 result=$wxUSE_ABOUTDLG
12155 fi
12156
12157 { echo "$as_me:$LINENO: result: $result" >&5
12158 echo "${ECHO_T}$result" >&6; }
12159
12160
12161 enablestring=
12162 defaultval=$wxUSE_ALL_FEATURES
12163 if test -z "$defaultval"; then
12164 if test x"$enablestring" = xdisable; then
12165 defaultval=yes
12166 else
12167 defaultval=no
12168 fi
12169 fi
12170
12171 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12172 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12173 # Check whether --enable-choicedlg was given.
12174 if test "${enable_choicedlg+set}" = set; then
12175 enableval=$enable_choicedlg;
12176 if test "$enableval" = yes; then
12177 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12178 else
12179 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12180 fi
12181
12182 else
12183
12184 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12185
12186 fi
12187
12188
12189 eval "$wx_cv_use_choicedlg"
12190
12191 if test x"$enablestring" = xdisable; then
12192 if test $wxUSE_CHOICEDLG = yes; then
12193 result=no
12194 else
12195 result=yes
12196 fi
12197 else
12198 result=$wxUSE_CHOICEDLG
12199 fi
12200
12201 { echo "$as_me:$LINENO: result: $result" >&5
12202 echo "${ECHO_T}$result" >&6; }
12203
12204
12205 enablestring=
12206 defaultval=$wxUSE_ALL_FEATURES
12207 if test -z "$defaultval"; then
12208 if test x"$enablestring" = xdisable; then
12209 defaultval=yes
12210 else
12211 defaultval=no
12212 fi
12213 fi
12214
12215 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12216 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12217 # Check whether --enable-coldlg was given.
12218 if test "${enable_coldlg+set}" = set; then
12219 enableval=$enable_coldlg;
12220 if test "$enableval" = yes; then
12221 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12222 else
12223 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12224 fi
12225
12226 else
12227
12228 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12229
12230 fi
12231
12232
12233 eval "$wx_cv_use_coldlg"
12234
12235 if test x"$enablestring" = xdisable; then
12236 if test $wxUSE_COLOURDLG = yes; then
12237 result=no
12238 else
12239 result=yes
12240 fi
12241 else
12242 result=$wxUSE_COLOURDLG
12243 fi
12244
12245 { echo "$as_me:$LINENO: result: $result" >&5
12246 echo "${ECHO_T}$result" >&6; }
12247
12248
12249 enablestring=
12250 defaultval=$wxUSE_ALL_FEATURES
12251 if test -z "$defaultval"; then
12252 if test x"$enablestring" = xdisable; then
12253 defaultval=yes
12254 else
12255 defaultval=no
12256 fi
12257 fi
12258
12259 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12260 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12261 # Check whether --enable-filedlg was given.
12262 if test "${enable_filedlg+set}" = set; then
12263 enableval=$enable_filedlg;
12264 if test "$enableval" = yes; then
12265 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12266 else
12267 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12268 fi
12269
12270 else
12271
12272 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12273
12274 fi
12275
12276
12277 eval "$wx_cv_use_filedlg"
12278
12279 if test x"$enablestring" = xdisable; then
12280 if test $wxUSE_FILEDLG = yes; then
12281 result=no
12282 else
12283 result=yes
12284 fi
12285 else
12286 result=$wxUSE_FILEDLG
12287 fi
12288
12289 { echo "$as_me:$LINENO: result: $result" >&5
12290 echo "${ECHO_T}$result" >&6; }
12291
12292
12293 enablestring=
12294 defaultval=$wxUSE_ALL_FEATURES
12295 if test -z "$defaultval"; then
12296 if test x"$enablestring" = xdisable; then
12297 defaultval=yes
12298 else
12299 defaultval=no
12300 fi
12301 fi
12302
12303 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12304 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12305 # Check whether --enable-finddlg was given.
12306 if test "${enable_finddlg+set}" = set; then
12307 enableval=$enable_finddlg;
12308 if test "$enableval" = yes; then
12309 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12310 else
12311 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12312 fi
12313
12314 else
12315
12316 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12317
12318 fi
12319
12320
12321 eval "$wx_cv_use_finddlg"
12322
12323 if test x"$enablestring" = xdisable; then
12324 if test $wxUSE_FINDREPLDLG = yes; then
12325 result=no
12326 else
12327 result=yes
12328 fi
12329 else
12330 result=$wxUSE_FINDREPLDLG
12331 fi
12332
12333 { echo "$as_me:$LINENO: result: $result" >&5
12334 echo "${ECHO_T}$result" >&6; }
12335
12336
12337 enablestring=
12338 defaultval=$wxUSE_ALL_FEATURES
12339 if test -z "$defaultval"; then
12340 if test x"$enablestring" = xdisable; then
12341 defaultval=yes
12342 else
12343 defaultval=no
12344 fi
12345 fi
12346
12347 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12348 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12349 # Check whether --enable-fontdlg was given.
12350 if test "${enable_fontdlg+set}" = set; then
12351 enableval=$enable_fontdlg;
12352 if test "$enableval" = yes; then
12353 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12354 else
12355 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12356 fi
12357
12358 else
12359
12360 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12361
12362 fi
12363
12364
12365 eval "$wx_cv_use_fontdlg"
12366
12367 if test x"$enablestring" = xdisable; then
12368 if test $wxUSE_FONTDLG = yes; then
12369 result=no
12370 else
12371 result=yes
12372 fi
12373 else
12374 result=$wxUSE_FONTDLG
12375 fi
12376
12377 { echo "$as_me:$LINENO: result: $result" >&5
12378 echo "${ECHO_T}$result" >&6; }
12379
12380
12381 enablestring=
12382 defaultval=$wxUSE_ALL_FEATURES
12383 if test -z "$defaultval"; then
12384 if test x"$enablestring" = xdisable; then
12385 defaultval=yes
12386 else
12387 defaultval=no
12388 fi
12389 fi
12390
12391 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12392 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12393 # Check whether --enable-dirdlg was given.
12394 if test "${enable_dirdlg+set}" = set; then
12395 enableval=$enable_dirdlg;
12396 if test "$enableval" = yes; then
12397 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12398 else
12399 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12400 fi
12401
12402 else
12403
12404 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12405
12406 fi
12407
12408
12409 eval "$wx_cv_use_dirdlg"
12410
12411 if test x"$enablestring" = xdisable; then
12412 if test $wxUSE_DIRDLG = yes; then
12413 result=no
12414 else
12415 result=yes
12416 fi
12417 else
12418 result=$wxUSE_DIRDLG
12419 fi
12420
12421 { echo "$as_me:$LINENO: result: $result" >&5
12422 echo "${ECHO_T}$result" >&6; }
12423
12424
12425 enablestring=
12426 defaultval=$wxUSE_ALL_FEATURES
12427 if test -z "$defaultval"; then
12428 if test x"$enablestring" = xdisable; then
12429 defaultval=yes
12430 else
12431 defaultval=no
12432 fi
12433 fi
12434
12435 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12436 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12437 # Check whether --enable-msgdlg was given.
12438 if test "${enable_msgdlg+set}" = set; then
12439 enableval=$enable_msgdlg;
12440 if test "$enableval" = yes; then
12441 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12442 else
12443 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12444 fi
12445
12446 else
12447
12448 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12449
12450 fi
12451
12452
12453 eval "$wx_cv_use_msgdlg"
12454
12455 if test x"$enablestring" = xdisable; then
12456 if test $wxUSE_MSGDLG = yes; then
12457 result=no
12458 else
12459 result=yes
12460 fi
12461 else
12462 result=$wxUSE_MSGDLG
12463 fi
12464
12465 { echo "$as_me:$LINENO: result: $result" >&5
12466 echo "${ECHO_T}$result" >&6; }
12467
12468
12469 enablestring=
12470 defaultval=$wxUSE_ALL_FEATURES
12471 if test -z "$defaultval"; then
12472 if test x"$enablestring" = xdisable; then
12473 defaultval=yes
12474 else
12475 defaultval=no
12476 fi
12477 fi
12478
12479 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12480 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12481 # Check whether --enable-numberdlg was given.
12482 if test "${enable_numberdlg+set}" = set; then
12483 enableval=$enable_numberdlg;
12484 if test "$enableval" = yes; then
12485 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12486 else
12487 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12488 fi
12489
12490 else
12491
12492 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12493
12494 fi
12495
12496
12497 eval "$wx_cv_use_numberdlg"
12498
12499 if test x"$enablestring" = xdisable; then
12500 if test $wxUSE_NUMBERDLG = yes; then
12501 result=no
12502 else
12503 result=yes
12504 fi
12505 else
12506 result=$wxUSE_NUMBERDLG
12507 fi
12508
12509 { echo "$as_me:$LINENO: result: $result" >&5
12510 echo "${ECHO_T}$result" >&6; }
12511
12512
12513 enablestring=
12514 defaultval=$wxUSE_ALL_FEATURES
12515 if test -z "$defaultval"; then
12516 if test x"$enablestring" = xdisable; then
12517 defaultval=yes
12518 else
12519 defaultval=no
12520 fi
12521 fi
12522
12523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12524 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12525 # Check whether --enable-splash was given.
12526 if test "${enable_splash+set}" = set; then
12527 enableval=$enable_splash;
12528 if test "$enableval" = yes; then
12529 wx_cv_use_splash='wxUSE_SPLASH=yes'
12530 else
12531 wx_cv_use_splash='wxUSE_SPLASH=no'
12532 fi
12533
12534 else
12535
12536 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12537
12538 fi
12539
12540
12541 eval "$wx_cv_use_splash"
12542
12543 if test x"$enablestring" = xdisable; then
12544 if test $wxUSE_SPLASH = yes; then
12545 result=no
12546 else
12547 result=yes
12548 fi
12549 else
12550 result=$wxUSE_SPLASH
12551 fi
12552
12553 { echo "$as_me:$LINENO: result: $result" >&5
12554 echo "${ECHO_T}$result" >&6; }
12555
12556
12557 enablestring=
12558 defaultval=$wxUSE_ALL_FEATURES
12559 if test -z "$defaultval"; then
12560 if test x"$enablestring" = xdisable; then
12561 defaultval=yes
12562 else
12563 defaultval=no
12564 fi
12565 fi
12566
12567 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12568 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12569 # Check whether --enable-textdlg was given.
12570 if test "${enable_textdlg+set}" = set; then
12571 enableval=$enable_textdlg;
12572 if test "$enableval" = yes; then
12573 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12574 else
12575 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12576 fi
12577
12578 else
12579
12580 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12581
12582 fi
12583
12584
12585 eval "$wx_cv_use_textdlg"
12586
12587 if test x"$enablestring" = xdisable; then
12588 if test $wxUSE_TEXTDLG = yes; then
12589 result=no
12590 else
12591 result=yes
12592 fi
12593 else
12594 result=$wxUSE_TEXTDLG
12595 fi
12596
12597 { echo "$as_me:$LINENO: result: $result" >&5
12598 echo "${ECHO_T}$result" >&6; }
12599
12600
12601 enablestring=
12602 defaultval=$wxUSE_ALL_FEATURES
12603 if test -z "$defaultval"; then
12604 if test x"$enablestring" = xdisable; then
12605 defaultval=yes
12606 else
12607 defaultval=no
12608 fi
12609 fi
12610
12611 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12612 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12613 # Check whether --enable-tipdlg was given.
12614 if test "${enable_tipdlg+set}" = set; then
12615 enableval=$enable_tipdlg;
12616 if test "$enableval" = yes; then
12617 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12618 else
12619 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12620 fi
12621
12622 else
12623
12624 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12625
12626 fi
12627
12628
12629 eval "$wx_cv_use_tipdlg"
12630
12631 if test x"$enablestring" = xdisable; then
12632 if test $wxUSE_STARTUP_TIPS = yes; then
12633 result=no
12634 else
12635 result=yes
12636 fi
12637 else
12638 result=$wxUSE_STARTUP_TIPS
12639 fi
12640
12641 { echo "$as_me:$LINENO: result: $result" >&5
12642 echo "${ECHO_T}$result" >&6; }
12643
12644
12645 enablestring=
12646 defaultval=$wxUSE_ALL_FEATURES
12647 if test -z "$defaultval"; then
12648 if test x"$enablestring" = xdisable; then
12649 defaultval=yes
12650 else
12651 defaultval=no
12652 fi
12653 fi
12654
12655 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12656 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12657 # Check whether --enable-progressdlg was given.
12658 if test "${enable_progressdlg+set}" = set; then
12659 enableval=$enable_progressdlg;
12660 if test "$enableval" = yes; then
12661 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12662 else
12663 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12664 fi
12665
12666 else
12667
12668 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12669
12670 fi
12671
12672
12673 eval "$wx_cv_use_progressdlg"
12674
12675 if test x"$enablestring" = xdisable; then
12676 if test $wxUSE_PROGRESSDLG = yes; then
12677 result=no
12678 else
12679 result=yes
12680 fi
12681 else
12682 result=$wxUSE_PROGRESSDLG
12683 fi
12684
12685 { echo "$as_me:$LINENO: result: $result" >&5
12686 echo "${ECHO_T}$result" >&6; }
12687
12688
12689 enablestring=
12690 defaultval=$wxUSE_ALL_FEATURES
12691 if test -z "$defaultval"; then
12692 if test x"$enablestring" = xdisable; then
12693 defaultval=yes
12694 else
12695 defaultval=no
12696 fi
12697 fi
12698
12699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12700 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12701 # Check whether --enable-wizarddlg was given.
12702 if test "${enable_wizarddlg+set}" = set; then
12703 enableval=$enable_wizarddlg;
12704 if test "$enableval" = yes; then
12705 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12706 else
12707 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12708 fi
12709
12710 else
12711
12712 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12713
12714 fi
12715
12716
12717 eval "$wx_cv_use_wizarddlg"
12718
12719 if test x"$enablestring" = xdisable; then
12720 if test $wxUSE_WIZARDDLG = yes; then
12721 result=no
12722 else
12723 result=yes
12724 fi
12725 else
12726 result=$wxUSE_WIZARDDLG
12727 fi
12728
12729 { echo "$as_me:$LINENO: result: $result" >&5
12730 echo "${ECHO_T}$result" >&6; }
12731
12732
12733
12734
12735 enablestring=
12736 defaultval=$wxUSE_ALL_FEATURES
12737 if test -z "$defaultval"; then
12738 if test x"$enablestring" = xdisable; then
12739 defaultval=yes
12740 else
12741 defaultval=no
12742 fi
12743 fi
12744
12745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12746 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12747 # Check whether --enable-menus was given.
12748 if test "${enable_menus+set}" = set; then
12749 enableval=$enable_menus;
12750 if test "$enableval" = yes; then
12751 wx_cv_use_menus='wxUSE_MENUS=yes'
12752 else
12753 wx_cv_use_menus='wxUSE_MENUS=no'
12754 fi
12755
12756 else
12757
12758 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12759
12760 fi
12761
12762
12763 eval "$wx_cv_use_menus"
12764
12765 if test x"$enablestring" = xdisable; then
12766 if test $wxUSE_MENUS = yes; then
12767 result=no
12768 else
12769 result=yes
12770 fi
12771 else
12772 result=$wxUSE_MENUS
12773 fi
12774
12775 { echo "$as_me:$LINENO: result: $result" >&5
12776 echo "${ECHO_T}$result" >&6; }
12777
12778
12779 enablestring=
12780 defaultval=$wxUSE_ALL_FEATURES
12781 if test -z "$defaultval"; then
12782 if test x"$enablestring" = xdisable; then
12783 defaultval=yes
12784 else
12785 defaultval=no
12786 fi
12787 fi
12788
12789 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12790 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12791 # Check whether --enable-miniframe was given.
12792 if test "${enable_miniframe+set}" = set; then
12793 enableval=$enable_miniframe;
12794 if test "$enableval" = yes; then
12795 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12796 else
12797 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12798 fi
12799
12800 else
12801
12802 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12803
12804 fi
12805
12806
12807 eval "$wx_cv_use_miniframe"
12808
12809 if test x"$enablestring" = xdisable; then
12810 if test $wxUSE_MINIFRAME = yes; then
12811 result=no
12812 else
12813 result=yes
12814 fi
12815 else
12816 result=$wxUSE_MINIFRAME
12817 fi
12818
12819 { echo "$as_me:$LINENO: result: $result" >&5
12820 echo "${ECHO_T}$result" >&6; }
12821
12822
12823 enablestring=
12824 defaultval=$wxUSE_ALL_FEATURES
12825 if test -z "$defaultval"; then
12826 if test x"$enablestring" = xdisable; then
12827 defaultval=yes
12828 else
12829 defaultval=no
12830 fi
12831 fi
12832
12833 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12834 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12835 # Check whether --enable-tooltips was given.
12836 if test "${enable_tooltips+set}" = set; then
12837 enableval=$enable_tooltips;
12838 if test "$enableval" = yes; then
12839 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12840 else
12841 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12842 fi
12843
12844 else
12845
12846 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12847
12848 fi
12849
12850
12851 eval "$wx_cv_use_tooltips"
12852
12853 if test x"$enablestring" = xdisable; then
12854 if test $wxUSE_TOOLTIPS = yes; then
12855 result=no
12856 else
12857 result=yes
12858 fi
12859 else
12860 result=$wxUSE_TOOLTIPS
12861 fi
12862
12863 { echo "$as_me:$LINENO: result: $result" >&5
12864 echo "${ECHO_T}$result" >&6; }
12865
12866
12867 enablestring=
12868 defaultval=$wxUSE_ALL_FEATURES
12869 if test -z "$defaultval"; then
12870 if test x"$enablestring" = xdisable; then
12871 defaultval=yes
12872 else
12873 defaultval=no
12874 fi
12875 fi
12876
12877 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12878 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12879 # Check whether --enable-splines was given.
12880 if test "${enable_splines+set}" = set; then
12881 enableval=$enable_splines;
12882 if test "$enableval" = yes; then
12883 wx_cv_use_splines='wxUSE_SPLINES=yes'
12884 else
12885 wx_cv_use_splines='wxUSE_SPLINES=no'
12886 fi
12887
12888 else
12889
12890 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12891
12892 fi
12893
12894
12895 eval "$wx_cv_use_splines"
12896
12897 if test x"$enablestring" = xdisable; then
12898 if test $wxUSE_SPLINES = yes; then
12899 result=no
12900 else
12901 result=yes
12902 fi
12903 else
12904 result=$wxUSE_SPLINES
12905 fi
12906
12907 { echo "$as_me:$LINENO: result: $result" >&5
12908 echo "${ECHO_T}$result" >&6; }
12909
12910
12911 enablestring=
12912 defaultval=$wxUSE_ALL_FEATURES
12913 if test -z "$defaultval"; then
12914 if test x"$enablestring" = xdisable; then
12915 defaultval=yes
12916 else
12917 defaultval=no
12918 fi
12919 fi
12920
12921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
12922 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12923 # Check whether --enable-mousewheel was given.
12924 if test "${enable_mousewheel+set}" = set; then
12925 enableval=$enable_mousewheel;
12926 if test "$enableval" = yes; then
12927 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
12928 else
12929 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
12930 fi
12931
12932 else
12933
12934 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12935
12936 fi
12937
12938
12939 eval "$wx_cv_use_mousewheel"
12940
12941 if test x"$enablestring" = xdisable; then
12942 if test $wxUSE_MOUSEWHEEL = yes; then
12943 result=no
12944 else
12945 result=yes
12946 fi
12947 else
12948 result=$wxUSE_MOUSEWHEEL
12949 fi
12950
12951 { echo "$as_me:$LINENO: result: $result" >&5
12952 echo "${ECHO_T}$result" >&6; }
12953
12954
12955 enablestring=
12956 defaultval=$wxUSE_ALL_FEATURES
12957 if test -z "$defaultval"; then
12958 if test x"$enablestring" = xdisable; then
12959 defaultval=yes
12960 else
12961 defaultval=no
12962 fi
12963 fi
12964
12965 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
12966 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
12967 # Check whether --enable-validators was given.
12968 if test "${enable_validators+set}" = set; then
12969 enableval=$enable_validators;
12970 if test "$enableval" = yes; then
12971 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
12972 else
12973 wx_cv_use_validators='wxUSE_VALIDATORS=no'
12974 fi
12975
12976 else
12977
12978 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
12979
12980 fi
12981
12982
12983 eval "$wx_cv_use_validators"
12984
12985 if test x"$enablestring" = xdisable; then
12986 if test $wxUSE_VALIDATORS = yes; then
12987 result=no
12988 else
12989 result=yes
12990 fi
12991 else
12992 result=$wxUSE_VALIDATORS
12993 fi
12994
12995 { echo "$as_me:$LINENO: result: $result" >&5
12996 echo "${ECHO_T}$result" >&6; }
12997
12998
12999 enablestring=
13000 defaultval=$wxUSE_ALL_FEATURES
13001 if test -z "$defaultval"; then
13002 if test x"$enablestring" = xdisable; then
13003 defaultval=yes
13004 else
13005 defaultval=no
13006 fi
13007 fi
13008
13009 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13010 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13011 # Check whether --enable-busyinfo was given.
13012 if test "${enable_busyinfo+set}" = set; then
13013 enableval=$enable_busyinfo;
13014 if test "$enableval" = yes; then
13015 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13016 else
13017 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13018 fi
13019
13020 else
13021
13022 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13023
13024 fi
13025
13026
13027 eval "$wx_cv_use_busyinfo"
13028
13029 if test x"$enablestring" = xdisable; then
13030 if test $wxUSE_BUSYINFO = yes; then
13031 result=no
13032 else
13033 result=yes
13034 fi
13035 else
13036 result=$wxUSE_BUSYINFO
13037 fi
13038
13039 { echo "$as_me:$LINENO: result: $result" >&5
13040 echo "${ECHO_T}$result" >&6; }
13041
13042
13043 enablestring=
13044 defaultval=$wxUSE_ALL_FEATURES
13045 if test -z "$defaultval"; then
13046 if test x"$enablestring" = xdisable; then
13047 defaultval=yes
13048 else
13049 defaultval=no
13050 fi
13051 fi
13052
13053 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13054 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13055 # Check whether --enable-joystick was given.
13056 if test "${enable_joystick+set}" = set; then
13057 enableval=$enable_joystick;
13058 if test "$enableval" = yes; then
13059 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13060 else
13061 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13062 fi
13063
13064 else
13065
13066 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13067
13068 fi
13069
13070
13071 eval "$wx_cv_use_joystick"
13072
13073 if test x"$enablestring" = xdisable; then
13074 if test $wxUSE_JOYSTICK = yes; then
13075 result=no
13076 else
13077 result=yes
13078 fi
13079 else
13080 result=$wxUSE_JOYSTICK
13081 fi
13082
13083 { echo "$as_me:$LINENO: result: $result" >&5
13084 echo "${ECHO_T}$result" >&6; }
13085
13086
13087 enablestring=
13088 defaultval=$wxUSE_ALL_FEATURES
13089 if test -z "$defaultval"; then
13090 if test x"$enablestring" = xdisable; then
13091 defaultval=yes
13092 else
13093 defaultval=no
13094 fi
13095 fi
13096
13097 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13098 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13099 # Check whether --enable-metafile was given.
13100 if test "${enable_metafile+set}" = set; then
13101 enableval=$enable_metafile;
13102 if test "$enableval" = yes; then
13103 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13104 else
13105 wx_cv_use_metafile='wxUSE_METAFILE=no'
13106 fi
13107
13108 else
13109
13110 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13111
13112 fi
13113
13114
13115 eval "$wx_cv_use_metafile"
13116
13117 if test x"$enablestring" = xdisable; then
13118 if test $wxUSE_METAFILE = yes; then
13119 result=no
13120 else
13121 result=yes
13122 fi
13123 else
13124 result=$wxUSE_METAFILE
13125 fi
13126
13127 { echo "$as_me:$LINENO: result: $result" >&5
13128 echo "${ECHO_T}$result" >&6; }
13129
13130
13131 enablestring=
13132 defaultval=$wxUSE_ALL_FEATURES
13133 if test -z "$defaultval"; then
13134 if test x"$enablestring" = xdisable; then
13135 defaultval=yes
13136 else
13137 defaultval=no
13138 fi
13139 fi
13140
13141 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13142 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13143 # Check whether --enable-dragimage was given.
13144 if test "${enable_dragimage+set}" = set; then
13145 enableval=$enable_dragimage;
13146 if test "$enableval" = yes; then
13147 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13148 else
13149 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13150 fi
13151
13152 else
13153
13154 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13155
13156 fi
13157
13158
13159 eval "$wx_cv_use_dragimage"
13160
13161 if test x"$enablestring" = xdisable; then
13162 if test $wxUSE_DRAGIMAGE = yes; then
13163 result=no
13164 else
13165 result=yes
13166 fi
13167 else
13168 result=$wxUSE_DRAGIMAGE
13169 fi
13170
13171 { echo "$as_me:$LINENO: result: $result" >&5
13172 echo "${ECHO_T}$result" >&6; }
13173
13174
13175 enablestring=
13176 defaultval=$wxUSE_ALL_FEATURES
13177 if test -z "$defaultval"; then
13178 if test x"$enablestring" = xdisable; then
13179 defaultval=yes
13180 else
13181 defaultval=no
13182 fi
13183 fi
13184
13185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13186 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13187 # Check whether --enable-accessibility was given.
13188 if test "${enable_accessibility+set}" = set; then
13189 enableval=$enable_accessibility;
13190 if test "$enableval" = yes; then
13191 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13192 else
13193 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13194 fi
13195
13196 else
13197
13198 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13199
13200 fi
13201
13202
13203 eval "$wx_cv_use_accessibility"
13204
13205 if test x"$enablestring" = xdisable; then
13206 if test $wxUSE_ACCESSIBILITY = yes; then
13207 result=no
13208 else
13209 result=yes
13210 fi
13211 else
13212 result=$wxUSE_ACCESSIBILITY
13213 fi
13214
13215 { echo "$as_me:$LINENO: result: $result" >&5
13216 echo "${ECHO_T}$result" >&6; }
13217
13218
13219
13220
13221 enablestring=
13222 defaultval=$wxUSE_ALL_FEATURES
13223 if test -z "$defaultval"; then
13224 if test x"$enablestring" = xdisable; then
13225 defaultval=yes
13226 else
13227 defaultval=no
13228 fi
13229 fi
13230
13231 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13232 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13233 # Check whether --enable-palette was given.
13234 if test "${enable_palette+set}" = set; then
13235 enableval=$enable_palette;
13236 if test "$enableval" = yes; then
13237 wx_cv_use_palette='wxUSE_PALETTE=yes'
13238 else
13239 wx_cv_use_palette='wxUSE_PALETTE=no'
13240 fi
13241
13242 else
13243
13244 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13245
13246 fi
13247
13248
13249 eval "$wx_cv_use_palette"
13250
13251 if test x"$enablestring" = xdisable; then
13252 if test $wxUSE_PALETTE = yes; then
13253 result=no
13254 else
13255 result=yes
13256 fi
13257 else
13258 result=$wxUSE_PALETTE
13259 fi
13260
13261 { echo "$as_me:$LINENO: result: $result" >&5
13262 echo "${ECHO_T}$result" >&6; }
13263
13264
13265 enablestring=
13266 defaultval=$wxUSE_ALL_FEATURES
13267 if test -z "$defaultval"; then
13268 if test x"$enablestring" = xdisable; then
13269 defaultval=yes
13270 else
13271 defaultval=no
13272 fi
13273 fi
13274
13275 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13276 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13277 # Check whether --enable-image was given.
13278 if test "${enable_image+set}" = set; then
13279 enableval=$enable_image;
13280 if test "$enableval" = yes; then
13281 wx_cv_use_image='wxUSE_IMAGE=yes'
13282 else
13283 wx_cv_use_image='wxUSE_IMAGE=no'
13284 fi
13285
13286 else
13287
13288 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13289
13290 fi
13291
13292
13293 eval "$wx_cv_use_image"
13294
13295 if test x"$enablestring" = xdisable; then
13296 if test $wxUSE_IMAGE = yes; then
13297 result=no
13298 else
13299 result=yes
13300 fi
13301 else
13302 result=$wxUSE_IMAGE
13303 fi
13304
13305 { echo "$as_me:$LINENO: result: $result" >&5
13306 echo "${ECHO_T}$result" >&6; }
13307
13308
13309 enablestring=
13310 defaultval=$wxUSE_ALL_FEATURES
13311 if test -z "$defaultval"; then
13312 if test x"$enablestring" = xdisable; then
13313 defaultval=yes
13314 else
13315 defaultval=no
13316 fi
13317 fi
13318
13319 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13320 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13321 # Check whether --enable-gif was given.
13322 if test "${enable_gif+set}" = set; then
13323 enableval=$enable_gif;
13324 if test "$enableval" = yes; then
13325 wx_cv_use_gif='wxUSE_GIF=yes'
13326 else
13327 wx_cv_use_gif='wxUSE_GIF=no'
13328 fi
13329
13330 else
13331
13332 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13333
13334 fi
13335
13336
13337 eval "$wx_cv_use_gif"
13338
13339 if test x"$enablestring" = xdisable; then
13340 if test $wxUSE_GIF = yes; then
13341 result=no
13342 else
13343 result=yes
13344 fi
13345 else
13346 result=$wxUSE_GIF
13347 fi
13348
13349 { echo "$as_me:$LINENO: result: $result" >&5
13350 echo "${ECHO_T}$result" >&6; }
13351
13352
13353 enablestring=
13354 defaultval=$wxUSE_ALL_FEATURES
13355 if test -z "$defaultval"; then
13356 if test x"$enablestring" = xdisable; then
13357 defaultval=yes
13358 else
13359 defaultval=no
13360 fi
13361 fi
13362
13363 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13364 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13365 # Check whether --enable-pcx was given.
13366 if test "${enable_pcx+set}" = set; then
13367 enableval=$enable_pcx;
13368 if test "$enableval" = yes; then
13369 wx_cv_use_pcx='wxUSE_PCX=yes'
13370 else
13371 wx_cv_use_pcx='wxUSE_PCX=no'
13372 fi
13373
13374 else
13375
13376 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13377
13378 fi
13379
13380
13381 eval "$wx_cv_use_pcx"
13382
13383 if test x"$enablestring" = xdisable; then
13384 if test $wxUSE_PCX = yes; then
13385 result=no
13386 else
13387 result=yes
13388 fi
13389 else
13390 result=$wxUSE_PCX
13391 fi
13392
13393 { echo "$as_me:$LINENO: result: $result" >&5
13394 echo "${ECHO_T}$result" >&6; }
13395
13396
13397 enablestring=
13398 defaultval=$wxUSE_ALL_FEATURES
13399 if test -z "$defaultval"; then
13400 if test x"$enablestring" = xdisable; then
13401 defaultval=yes
13402 else
13403 defaultval=no
13404 fi
13405 fi
13406
13407 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13408 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13409 # Check whether --enable-tga was given.
13410 if test "${enable_tga+set}" = set; then
13411 enableval=$enable_tga;
13412 if test "$enableval" = yes; then
13413 wx_cv_use_tga='wxUSE_TGA=yes'
13414 else
13415 wx_cv_use_tga='wxUSE_TGA=no'
13416 fi
13417
13418 else
13419
13420 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13421
13422 fi
13423
13424
13425 eval "$wx_cv_use_tga"
13426
13427 if test x"$enablestring" = xdisable; then
13428 if test $wxUSE_TGA = yes; then
13429 result=no
13430 else
13431 result=yes
13432 fi
13433 else
13434 result=$wxUSE_TGA
13435 fi
13436
13437 { echo "$as_me:$LINENO: result: $result" >&5
13438 echo "${ECHO_T}$result" >&6; }
13439
13440
13441 enablestring=
13442 defaultval=$wxUSE_ALL_FEATURES
13443 if test -z "$defaultval"; then
13444 if test x"$enablestring" = xdisable; then
13445 defaultval=yes
13446 else
13447 defaultval=no
13448 fi
13449 fi
13450
13451 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13452 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13453 # Check whether --enable-iff was given.
13454 if test "${enable_iff+set}" = set; then
13455 enableval=$enable_iff;
13456 if test "$enableval" = yes; then
13457 wx_cv_use_iff='wxUSE_IFF=yes'
13458 else
13459 wx_cv_use_iff='wxUSE_IFF=no'
13460 fi
13461
13462 else
13463
13464 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13465
13466 fi
13467
13468
13469 eval "$wx_cv_use_iff"
13470
13471 if test x"$enablestring" = xdisable; then
13472 if test $wxUSE_IFF = yes; then
13473 result=no
13474 else
13475 result=yes
13476 fi
13477 else
13478 result=$wxUSE_IFF
13479 fi
13480
13481 { echo "$as_me:$LINENO: result: $result" >&5
13482 echo "${ECHO_T}$result" >&6; }
13483
13484
13485 enablestring=
13486 defaultval=$wxUSE_ALL_FEATURES
13487 if test -z "$defaultval"; then
13488 if test x"$enablestring" = xdisable; then
13489 defaultval=yes
13490 else
13491 defaultval=no
13492 fi
13493 fi
13494
13495 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13496 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13497 # Check whether --enable-pnm was given.
13498 if test "${enable_pnm+set}" = set; then
13499 enableval=$enable_pnm;
13500 if test "$enableval" = yes; then
13501 wx_cv_use_pnm='wxUSE_PNM=yes'
13502 else
13503 wx_cv_use_pnm='wxUSE_PNM=no'
13504 fi
13505
13506 else
13507
13508 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13509
13510 fi
13511
13512
13513 eval "$wx_cv_use_pnm"
13514
13515 if test x"$enablestring" = xdisable; then
13516 if test $wxUSE_PNM = yes; then
13517 result=no
13518 else
13519 result=yes
13520 fi
13521 else
13522 result=$wxUSE_PNM
13523 fi
13524
13525 { echo "$as_me:$LINENO: result: $result" >&5
13526 echo "${ECHO_T}$result" >&6; }
13527
13528
13529 enablestring=
13530 defaultval=$wxUSE_ALL_FEATURES
13531 if test -z "$defaultval"; then
13532 if test x"$enablestring" = xdisable; then
13533 defaultval=yes
13534 else
13535 defaultval=no
13536 fi
13537 fi
13538
13539 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13540 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13541 # Check whether --enable-xpm was given.
13542 if test "${enable_xpm+set}" = set; then
13543 enableval=$enable_xpm;
13544 if test "$enableval" = yes; then
13545 wx_cv_use_xpm='wxUSE_XPM=yes'
13546 else
13547 wx_cv_use_xpm='wxUSE_XPM=no'
13548 fi
13549
13550 else
13551
13552 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13553
13554 fi
13555
13556
13557 eval "$wx_cv_use_xpm"
13558
13559 if test x"$enablestring" = xdisable; then
13560 if test $wxUSE_XPM = yes; then
13561 result=no
13562 else
13563 result=yes
13564 fi
13565 else
13566 result=$wxUSE_XPM
13567 fi
13568
13569 { echo "$as_me:$LINENO: result: $result" >&5
13570 echo "${ECHO_T}$result" >&6; }
13571
13572
13573 enablestring=
13574 defaultval=$wxUSE_ALL_FEATURES
13575 if test -z "$defaultval"; then
13576 if test x"$enablestring" = xdisable; then
13577 defaultval=yes
13578 else
13579 defaultval=no
13580 fi
13581 fi
13582
13583 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13584 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13585 # Check whether --enable-ico_cur was given.
13586 if test "${enable_ico_cur+set}" = set; then
13587 enableval=$enable_ico_cur;
13588 if test "$enableval" = yes; then
13589 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13590 else
13591 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13592 fi
13593
13594 else
13595
13596 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13597
13598 fi
13599
13600
13601 eval "$wx_cv_use_ico_cur"
13602
13603 if test x"$enablestring" = xdisable; then
13604 if test $wxUSE_ICO_CUR = yes; then
13605 result=no
13606 else
13607 result=yes
13608 fi
13609 else
13610 result=$wxUSE_ICO_CUR
13611 fi
13612
13613 { echo "$as_me:$LINENO: result: $result" >&5
13614 echo "${ECHO_T}$result" >&6; }
13615
13616
13617
13618
13619 enablestring=
13620 defaultval=$wxUSE_ALL_FEATURES
13621 if test -z "$defaultval"; then
13622 if test x"$enablestring" = xdisable; then
13623 defaultval=yes
13624 else
13625 defaultval=no
13626 fi
13627 fi
13628
13629 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13630 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13631 # Check whether --enable-dccache was given.
13632 if test "${enable_dccache+set}" = set; then
13633 enableval=$enable_dccache;
13634 if test "$enableval" = yes; then
13635 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13636 else
13637 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13638 fi
13639
13640 else
13641
13642 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13643
13644 fi
13645
13646
13647 eval "$wx_cv_use_dccache"
13648
13649 if test x"$enablestring" = xdisable; then
13650 if test $wxUSE_DC_CACHEING = yes; then
13651 result=no
13652 else
13653 result=yes
13654 fi
13655 else
13656 result=$wxUSE_DC_CACHEING
13657 fi
13658
13659 { echo "$as_me:$LINENO: result: $result" >&5
13660 echo "${ECHO_T}$result" >&6; }
13661
13662
13663 enablestring=
13664 defaultval=$wxUSE_ALL_FEATURES
13665 if test -z "$defaultval"; then
13666 if test x"$enablestring" = xdisable; then
13667 defaultval=yes
13668 else
13669 defaultval=no
13670 fi
13671 fi
13672
13673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13674 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13675 # Check whether --enable-ps-in-msw was given.
13676 if test "${enable_ps_in_msw+set}" = set; then
13677 enableval=$enable_ps_in_msw;
13678 if test "$enableval" = yes; then
13679 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13680 else
13681 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13682 fi
13683
13684 else
13685
13686 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13687
13688 fi
13689
13690
13691 eval "$wx_cv_use_ps_in_msw"
13692
13693 if test x"$enablestring" = xdisable; then
13694 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13695 result=no
13696 else
13697 result=yes
13698 fi
13699 else
13700 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13701 fi
13702
13703 { echo "$as_me:$LINENO: result: $result" >&5
13704 echo "${ECHO_T}$result" >&6; }
13705
13706
13707 enablestring=
13708 defaultval=$wxUSE_ALL_FEATURES
13709 if test -z "$defaultval"; then
13710 if test x"$enablestring" = xdisable; then
13711 defaultval=yes
13712 else
13713 defaultval=no
13714 fi
13715 fi
13716
13717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13718 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13719 # Check whether --enable-ownerdrawn was given.
13720 if test "${enable_ownerdrawn+set}" = set; then
13721 enableval=$enable_ownerdrawn;
13722 if test "$enableval" = yes; then
13723 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13724 else
13725 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13726 fi
13727
13728 else
13729
13730 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13731
13732 fi
13733
13734
13735 eval "$wx_cv_use_ownerdrawn"
13736
13737 if test x"$enablestring" = xdisable; then
13738 if test $wxUSE_OWNER_DRAWN = yes; then
13739 result=no
13740 else
13741 result=yes
13742 fi
13743 else
13744 result=$wxUSE_OWNER_DRAWN
13745 fi
13746
13747 { echo "$as_me:$LINENO: result: $result" >&5
13748 echo "${ECHO_T}$result" >&6; }
13749
13750
13751 enablestring=
13752 defaultval=$wxUSE_ALL_FEATURES
13753 if test -z "$defaultval"; then
13754 if test x"$enablestring" = xdisable; then
13755 defaultval=yes
13756 else
13757 defaultval=no
13758 fi
13759 fi
13760
13761 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13762 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13763 # Check whether --enable-uxtheme was given.
13764 if test "${enable_uxtheme+set}" = set; then
13765 enableval=$enable_uxtheme;
13766 if test "$enableval" = yes; then
13767 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13768 else
13769 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13770 fi
13771
13772 else
13773
13774 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13775
13776 fi
13777
13778
13779 eval "$wx_cv_use_uxtheme"
13780
13781 if test x"$enablestring" = xdisable; then
13782 if test $wxUSE_UXTHEME = yes; then
13783 result=no
13784 else
13785 result=yes
13786 fi
13787 else
13788 result=$wxUSE_UXTHEME
13789 fi
13790
13791 { echo "$as_me:$LINENO: result: $result" >&5
13792 echo "${ECHO_T}$result" >&6; }
13793
13794
13795 enablestring=
13796 defaultval=$wxUSE_ALL_FEATURES
13797 if test -z "$defaultval"; then
13798 if test x"$enablestring" = xdisable; then
13799 defaultval=yes
13800 else
13801 defaultval=no
13802 fi
13803 fi
13804
13805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13806 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13807 # Check whether --enable-wxdib was given.
13808 if test "${enable_wxdib+set}" = set; then
13809 enableval=$enable_wxdib;
13810 if test "$enableval" = yes; then
13811 wx_cv_use_wxdib='wxUSE_DIB=yes'
13812 else
13813 wx_cv_use_wxdib='wxUSE_DIB=no'
13814 fi
13815
13816 else
13817
13818 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13819
13820 fi
13821
13822
13823 eval "$wx_cv_use_wxdib"
13824
13825 if test x"$enablestring" = xdisable; then
13826 if test $wxUSE_DIB = yes; then
13827 result=no
13828 else
13829 result=yes
13830 fi
13831 else
13832 result=$wxUSE_DIB
13833 fi
13834
13835 { echo "$as_me:$LINENO: result: $result" >&5
13836 echo "${ECHO_T}$result" >&6; }
13837
13838
13839 if test "$wxUSE_MSW" != 1; then
13840 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13841 fi
13842
13843
13844 enablestring=
13845 defaultval=$wxUSE_ALL_FEATURES
13846 if test -z "$defaultval"; then
13847 if test x"$enablestring" = xdisable; then
13848 defaultval=yes
13849 else
13850 defaultval=no
13851 fi
13852 fi
13853
13854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13855 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13856 # Check whether --enable-autoidman was given.
13857 if test "${enable_autoidman+set}" = set; then
13858 enableval=$enable_autoidman;
13859 if test "$enableval" = yes; then
13860 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
13861 else
13862 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
13863 fi
13864
13865 else
13866
13867 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13868
13869 fi
13870
13871
13872 eval "$wx_cv_use_autoidman"
13873
13874 if test x"$enablestring" = xdisable; then
13875 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13876 result=no
13877 else
13878 result=yes
13879 fi
13880 else
13881 result=$wxUSE_AUTOID_MANAGEMENT
13882 fi
13883
13884 { echo "$as_me:$LINENO: result: $result" >&5
13885 echo "${ECHO_T}$result" >&6; }
13886
13887
13888 fi
13889
13890
13891 cat >confcache <<\_ACEOF
13892 # This file is a shell script that caches the results of configure
13893 # tests run on this system so they can be shared between configure
13894 # scripts and configure runs, see configure's option --config-cache.
13895 # It is not useful on other systems. If it contains results you don't
13896 # want to keep, you may remove or edit it.
13897 #
13898 # config.status only pays attention to the cache file if you give it
13899 # the --recheck option to rerun configure.
13900 #
13901 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13902 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13903 # following values.
13904
13905 _ACEOF
13906
13907 # The following way of writing the cache mishandles newlines in values,
13908 # but we know of no workaround that is simple, portable, and efficient.
13909 # So, we kill variables containing newlines.
13910 # Ultrix sh set writes to stderr and can't be redirected directly,
13911 # and sets the high bit in the cache file unless we assign to the vars.
13912 (
13913 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13914 eval ac_val=\$$ac_var
13915 case $ac_val in #(
13916 *${as_nl}*)
13917 case $ac_var in #(
13918 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13919 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13920 esac
13921 case $ac_var in #(
13922 _ | IFS | as_nl) ;; #(
13923 *) $as_unset $ac_var ;;
13924 esac ;;
13925 esac
13926 done
13927
13928 (set) 2>&1 |
13929 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13930 *${as_nl}ac_space=\ *)
13931 # `set' does not quote correctly, so add quotes (double-quote
13932 # substitution turns \\\\ into \\, and sed turns \\ into \).
13933 sed -n \
13934 "s/'/'\\\\''/g;
13935 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13936 ;; #(
13937 *)
13938 # `set' quotes correctly as required by POSIX, so do not add quotes.
13939 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13940 ;;
13941 esac |
13942 sort
13943 ) |
13944 sed '
13945 /^ac_cv_env_/b end
13946 t clear
13947 :clear
13948 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13949 t end
13950 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13951 :end' >>confcache
13952 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13953 if test -w "$cache_file"; then
13954 test "x$cache_file" != "x/dev/null" &&
13955 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
13956 echo "$as_me: updating cache $cache_file" >&6;}
13957 cat confcache >$cache_file
13958 else
13959 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13960 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13961 fi
13962 fi
13963 rm -f confcache
13964
13965 CFLAGS=${CFLAGS:=}
13966
13967
13968
13969 ac_ext=c
13970 ac_cpp='$CPP $CPPFLAGS'
13971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13974 if test -n "$ac_tool_prefix"; then
13975 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13976 set dummy ${ac_tool_prefix}gcc; ac_word=$2
13977 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13979 if test "${ac_cv_prog_CC+set}" = set; then
13980 echo $ECHO_N "(cached) $ECHO_C" >&6
13981 else
13982 if test -n "$CC"; then
13983 ac_cv_prog_CC="$CC" # Let the user override the test.
13984 else
13985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13986 for as_dir in $PATH
13987 do
13988 IFS=$as_save_IFS
13989 test -z "$as_dir" && as_dir=.
13990 for ac_exec_ext in '' $ac_executable_extensions; do
13991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13992 ac_cv_prog_CC="${ac_tool_prefix}gcc"
13993 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13994 break 2
13995 fi
13996 done
13997 done
13998 IFS=$as_save_IFS
13999
14000 fi
14001 fi
14002 CC=$ac_cv_prog_CC
14003 if test -n "$CC"; then
14004 { echo "$as_me:$LINENO: result: $CC" >&5
14005 echo "${ECHO_T}$CC" >&6; }
14006 else
14007 { echo "$as_me:$LINENO: result: no" >&5
14008 echo "${ECHO_T}no" >&6; }
14009 fi
14010
14011
14012 fi
14013 if test -z "$ac_cv_prog_CC"; then
14014 ac_ct_CC=$CC
14015 # Extract the first word of "gcc", so it can be a program name with args.
14016 set dummy gcc; ac_word=$2
14017 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14018 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14019 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14020 echo $ECHO_N "(cached) $ECHO_C" >&6
14021 else
14022 if test -n "$ac_ct_CC"; then
14023 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14024 else
14025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14026 for as_dir in $PATH
14027 do
14028 IFS=$as_save_IFS
14029 test -z "$as_dir" && as_dir=.
14030 for ac_exec_ext in '' $ac_executable_extensions; do
14031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14032 ac_cv_prog_ac_ct_CC="gcc"
14033 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14034 break 2
14035 fi
14036 done
14037 done
14038 IFS=$as_save_IFS
14039
14040 fi
14041 fi
14042 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14043 if test -n "$ac_ct_CC"; then
14044 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14045 echo "${ECHO_T}$ac_ct_CC" >&6; }
14046 else
14047 { echo "$as_me:$LINENO: result: no" >&5
14048 echo "${ECHO_T}no" >&6; }
14049 fi
14050
14051 if test "x$ac_ct_CC" = x; then
14052 CC=""
14053 else
14054 case $cross_compiling:$ac_tool_warned in
14055 yes:)
14056 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14057 whose name does not start with the host triplet. If you think this
14058 configuration is useful to you, please write to autoconf@gnu.org." >&5
14059 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14060 whose name does not start with the host triplet. If you think this
14061 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14062 ac_tool_warned=yes ;;
14063 esac
14064 CC=$ac_ct_CC
14065 fi
14066 else
14067 CC="$ac_cv_prog_CC"
14068 fi
14069
14070 if test -z "$CC"; then
14071 if test -n "$ac_tool_prefix"; then
14072 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14073 set dummy ${ac_tool_prefix}cc; ac_word=$2
14074 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14076 if test "${ac_cv_prog_CC+set}" = set; then
14077 echo $ECHO_N "(cached) $ECHO_C" >&6
14078 else
14079 if test -n "$CC"; then
14080 ac_cv_prog_CC="$CC" # Let the user override the test.
14081 else
14082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14083 for as_dir in $PATH
14084 do
14085 IFS=$as_save_IFS
14086 test -z "$as_dir" && as_dir=.
14087 for ac_exec_ext in '' $ac_executable_extensions; do
14088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14089 ac_cv_prog_CC="${ac_tool_prefix}cc"
14090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14091 break 2
14092 fi
14093 done
14094 done
14095 IFS=$as_save_IFS
14096
14097 fi
14098 fi
14099 CC=$ac_cv_prog_CC
14100 if test -n "$CC"; then
14101 { echo "$as_me:$LINENO: result: $CC" >&5
14102 echo "${ECHO_T}$CC" >&6; }
14103 else
14104 { echo "$as_me:$LINENO: result: no" >&5
14105 echo "${ECHO_T}no" >&6; }
14106 fi
14107
14108
14109 fi
14110 fi
14111 if test -z "$CC"; then
14112 # Extract the first word of "cc", so it can be a program name with args.
14113 set dummy cc; ac_word=$2
14114 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14115 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14116 if test "${ac_cv_prog_CC+set}" = set; then
14117 echo $ECHO_N "(cached) $ECHO_C" >&6
14118 else
14119 if test -n "$CC"; then
14120 ac_cv_prog_CC="$CC" # Let the user override the test.
14121 else
14122 ac_prog_rejected=no
14123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14124 for as_dir in $PATH
14125 do
14126 IFS=$as_save_IFS
14127 test -z "$as_dir" && as_dir=.
14128 for ac_exec_ext in '' $ac_executable_extensions; do
14129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14130 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14131 ac_prog_rejected=yes
14132 continue
14133 fi
14134 ac_cv_prog_CC="cc"
14135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14136 break 2
14137 fi
14138 done
14139 done
14140 IFS=$as_save_IFS
14141
14142 if test $ac_prog_rejected = yes; then
14143 # We found a bogon in the path, so make sure we never use it.
14144 set dummy $ac_cv_prog_CC
14145 shift
14146 if test $# != 0; then
14147 # We chose a different compiler from the bogus one.
14148 # However, it has the same basename, so the bogon will be chosen
14149 # first if we set CC to just the basename; use the full file name.
14150 shift
14151 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14152 fi
14153 fi
14154 fi
14155 fi
14156 CC=$ac_cv_prog_CC
14157 if test -n "$CC"; then
14158 { echo "$as_me:$LINENO: result: $CC" >&5
14159 echo "${ECHO_T}$CC" >&6; }
14160 else
14161 { echo "$as_me:$LINENO: result: no" >&5
14162 echo "${ECHO_T}no" >&6; }
14163 fi
14164
14165
14166 fi
14167 if test -z "$CC"; then
14168 if test -n "$ac_tool_prefix"; then
14169 for ac_prog in cl.exe
14170 do
14171 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14172 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14173 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14174 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14175 if test "${ac_cv_prog_CC+set}" = set; then
14176 echo $ECHO_N "(cached) $ECHO_C" >&6
14177 else
14178 if test -n "$CC"; then
14179 ac_cv_prog_CC="$CC" # Let the user override the test.
14180 else
14181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14182 for as_dir in $PATH
14183 do
14184 IFS=$as_save_IFS
14185 test -z "$as_dir" && as_dir=.
14186 for ac_exec_ext in '' $ac_executable_extensions; do
14187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14188 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14189 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14190 break 2
14191 fi
14192 done
14193 done
14194 IFS=$as_save_IFS
14195
14196 fi
14197 fi
14198 CC=$ac_cv_prog_CC
14199 if test -n "$CC"; then
14200 { echo "$as_me:$LINENO: result: $CC" >&5
14201 echo "${ECHO_T}$CC" >&6; }
14202 else
14203 { echo "$as_me:$LINENO: result: no" >&5
14204 echo "${ECHO_T}no" >&6; }
14205 fi
14206
14207
14208 test -n "$CC" && break
14209 done
14210 fi
14211 if test -z "$CC"; then
14212 ac_ct_CC=$CC
14213 for ac_prog in cl.exe
14214 do
14215 # Extract the first word of "$ac_prog", so it can be a program name with args.
14216 set dummy $ac_prog; ac_word=$2
14217 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14219 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14220 echo $ECHO_N "(cached) $ECHO_C" >&6
14221 else
14222 if test -n "$ac_ct_CC"; then
14223 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14224 else
14225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14226 for as_dir in $PATH
14227 do
14228 IFS=$as_save_IFS
14229 test -z "$as_dir" && as_dir=.
14230 for ac_exec_ext in '' $ac_executable_extensions; do
14231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14232 ac_cv_prog_ac_ct_CC="$ac_prog"
14233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14234 break 2
14235 fi
14236 done
14237 done
14238 IFS=$as_save_IFS
14239
14240 fi
14241 fi
14242 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14243 if test -n "$ac_ct_CC"; then
14244 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14245 echo "${ECHO_T}$ac_ct_CC" >&6; }
14246 else
14247 { echo "$as_me:$LINENO: result: no" >&5
14248 echo "${ECHO_T}no" >&6; }
14249 fi
14250
14251
14252 test -n "$ac_ct_CC" && break
14253 done
14254
14255 if test "x$ac_ct_CC" = x; then
14256 CC=""
14257 else
14258 case $cross_compiling:$ac_tool_warned in
14259 yes:)
14260 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14261 whose name does not start with the host triplet. If you think this
14262 configuration is useful to you, please write to autoconf@gnu.org." >&5
14263 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14264 whose name does not start with the host triplet. If you think this
14265 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14266 ac_tool_warned=yes ;;
14267 esac
14268 CC=$ac_ct_CC
14269 fi
14270 fi
14271
14272 fi
14273
14274
14275 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14276 See \`config.log' for more details." >&5
14277 echo "$as_me: error: no acceptable C compiler found in \$PATH
14278 See \`config.log' for more details." >&2;}
14279 { (exit 1); exit 1; }; }
14280
14281 # Provide some information about the compiler.
14282 echo "$as_me:$LINENO: checking for C compiler version" >&5
14283 ac_compiler=`set X $ac_compile; echo $2`
14284 { (ac_try="$ac_compiler --version >&5"
14285 case "(($ac_try" in
14286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14287 *) ac_try_echo=$ac_try;;
14288 esac
14289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14290 (eval "$ac_compiler --version >&5") 2>&5
14291 ac_status=$?
14292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14293 (exit $ac_status); }
14294 { (ac_try="$ac_compiler -v >&5"
14295 case "(($ac_try" in
14296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14297 *) ac_try_echo=$ac_try;;
14298 esac
14299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14300 (eval "$ac_compiler -v >&5") 2>&5
14301 ac_status=$?
14302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14303 (exit $ac_status); }
14304 { (ac_try="$ac_compiler -V >&5"
14305 case "(($ac_try" in
14306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14307 *) ac_try_echo=$ac_try;;
14308 esac
14309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14310 (eval "$ac_compiler -V >&5") 2>&5
14311 ac_status=$?
14312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14313 (exit $ac_status); }
14314
14315 cat >conftest.$ac_ext <<_ACEOF
14316 /* confdefs.h. */
14317 _ACEOF
14318 cat confdefs.h >>conftest.$ac_ext
14319 cat >>conftest.$ac_ext <<_ACEOF
14320 /* end confdefs.h. */
14321
14322 int
14323 main ()
14324 {
14325
14326 ;
14327 return 0;
14328 }
14329 _ACEOF
14330 ac_clean_files_save=$ac_clean_files
14331 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14332 # Try to create an executable without -o first, disregard a.out.
14333 # It will help us diagnose broken compilers, and finding out an intuition
14334 # of exeext.
14335 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14336 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14337 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14338 #
14339 # List of possible output files, starting from the most likely.
14340 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14341 # only as a last resort. b.out is created by i960 compilers.
14342 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14343 #
14344 # The IRIX 6 linker writes into existing files which may not be
14345 # executable, retaining their permissions. Remove them first so a
14346 # subsequent execution test works.
14347 ac_rmfiles=
14348 for ac_file in $ac_files
14349 do
14350 case $ac_file in
14351 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14352 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14353 esac
14354 done
14355 rm -f $ac_rmfiles
14356
14357 if { (ac_try="$ac_link_default"
14358 case "(($ac_try" in
14359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14360 *) ac_try_echo=$ac_try;;
14361 esac
14362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14363 (eval "$ac_link_default") 2>&5
14364 ac_status=$?
14365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14366 (exit $ac_status); }; then
14367 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14368 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14369 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14370 # so that the user can short-circuit this test for compilers unknown to
14371 # Autoconf.
14372 for ac_file in $ac_files ''
14373 do
14374 test -f "$ac_file" || continue
14375 case $ac_file in
14376 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14377 ;;
14378 [ab].out )
14379 # We found the default executable, but exeext='' is most
14380 # certainly right.
14381 break;;
14382 *.* )
14383 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14384 then :; else
14385 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14386 fi
14387 # We set ac_cv_exeext here because the later test for it is not
14388 # safe: cross compilers may not add the suffix if given an `-o'
14389 # argument, so we may need to know it at that point already.
14390 # Even if this section looks crufty: it has the advantage of
14391 # actually working.
14392 break;;
14393 * )
14394 break;;
14395 esac
14396 done
14397 test "$ac_cv_exeext" = no && ac_cv_exeext=
14398
14399 else
14400 ac_file=''
14401 fi
14402
14403 { echo "$as_me:$LINENO: result: $ac_file" >&5
14404 echo "${ECHO_T}$ac_file" >&6; }
14405 if test -z "$ac_file"; then
14406 echo "$as_me: failed program was:" >&5
14407 sed 's/^/| /' conftest.$ac_ext >&5
14408
14409 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14410 See \`config.log' for more details." >&5
14411 echo "$as_me: error: C compiler cannot create executables
14412 See \`config.log' for more details." >&2;}
14413 { (exit 77); exit 77; }; }
14414 fi
14415
14416 ac_exeext=$ac_cv_exeext
14417
14418 # Check that the compiler produces executables we can run. If not, either
14419 # the compiler is broken, or we cross compile.
14420 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14421 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14422 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14423 # If not cross compiling, check that we can run a simple program.
14424 if test "$cross_compiling" != yes; then
14425 if { ac_try='./$ac_file'
14426 { (case "(($ac_try" in
14427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14428 *) ac_try_echo=$ac_try;;
14429 esac
14430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14431 (eval "$ac_try") 2>&5
14432 ac_status=$?
14433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14434 (exit $ac_status); }; }; then
14435 cross_compiling=no
14436 else
14437 if test "$cross_compiling" = maybe; then
14438 cross_compiling=yes
14439 else
14440 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14441 If you meant to cross compile, use \`--host'.
14442 See \`config.log' for more details." >&5
14443 echo "$as_me: error: cannot run C compiled programs.
14444 If you meant to cross compile, use \`--host'.
14445 See \`config.log' for more details." >&2;}
14446 { (exit 1); exit 1; }; }
14447 fi
14448 fi
14449 fi
14450 { echo "$as_me:$LINENO: result: yes" >&5
14451 echo "${ECHO_T}yes" >&6; }
14452
14453 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14454 ac_clean_files=$ac_clean_files_save
14455 # Check that the compiler produces executables we can run. If not, either
14456 # the compiler is broken, or we cross compile.
14457 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14458 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14459 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14460 echo "${ECHO_T}$cross_compiling" >&6; }
14461
14462 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14463 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14464 if { (ac_try="$ac_link"
14465 case "(($ac_try" in
14466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14467 *) ac_try_echo=$ac_try;;
14468 esac
14469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14470 (eval "$ac_link") 2>&5
14471 ac_status=$?
14472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14473 (exit $ac_status); }; then
14474 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14475 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14476 # work properly (i.e., refer to `conftest.exe'), while it won't with
14477 # `rm'.
14478 for ac_file in conftest.exe conftest conftest.*; do
14479 test -f "$ac_file" || continue
14480 case $ac_file in
14481 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14482 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14483 break;;
14484 * ) break;;
14485 esac
14486 done
14487 else
14488 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14489 See \`config.log' for more details." >&5
14490 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14491 See \`config.log' for more details." >&2;}
14492 { (exit 1); exit 1; }; }
14493 fi
14494
14495 rm -f conftest$ac_cv_exeext
14496 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14497 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14498
14499 rm -f conftest.$ac_ext
14500 EXEEXT=$ac_cv_exeext
14501 ac_exeext=$EXEEXT
14502 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14503 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14504 if test "${ac_cv_objext+set}" = set; then
14505 echo $ECHO_N "(cached) $ECHO_C" >&6
14506 else
14507 cat >conftest.$ac_ext <<_ACEOF
14508 /* confdefs.h. */
14509 _ACEOF
14510 cat confdefs.h >>conftest.$ac_ext
14511 cat >>conftest.$ac_ext <<_ACEOF
14512 /* end confdefs.h. */
14513
14514 int
14515 main ()
14516 {
14517
14518 ;
14519 return 0;
14520 }
14521 _ACEOF
14522 rm -f conftest.o conftest.obj
14523 if { (ac_try="$ac_compile"
14524 case "(($ac_try" in
14525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14526 *) ac_try_echo=$ac_try;;
14527 esac
14528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14529 (eval "$ac_compile") 2>&5
14530 ac_status=$?
14531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14532 (exit $ac_status); }; then
14533 for ac_file in conftest.o conftest.obj 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 ) ;;
14537 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14538 break;;
14539 esac
14540 done
14541 else
14542 echo "$as_me: failed program was:" >&5
14543 sed 's/^/| /' conftest.$ac_ext >&5
14544
14545 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14546 See \`config.log' for more details." >&5
14547 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14548 See \`config.log' for more details." >&2;}
14549 { (exit 1); exit 1; }; }
14550 fi
14551
14552 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14553 fi
14554 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14555 echo "${ECHO_T}$ac_cv_objext" >&6; }
14556 OBJEXT=$ac_cv_objext
14557 ac_objext=$OBJEXT
14558 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14559 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14560 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14561 echo $ECHO_N "(cached) $ECHO_C" >&6
14562 else
14563 cat >conftest.$ac_ext <<_ACEOF
14564 /* confdefs.h. */
14565 _ACEOF
14566 cat confdefs.h >>conftest.$ac_ext
14567 cat >>conftest.$ac_ext <<_ACEOF
14568 /* end confdefs.h. */
14569
14570 int
14571 main ()
14572 {
14573 #ifndef __GNUC__
14574 choke me
14575 #endif
14576
14577 ;
14578 return 0;
14579 }
14580 _ACEOF
14581 rm -f conftest.$ac_objext
14582 if { (ac_try="$ac_compile"
14583 case "(($ac_try" in
14584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14585 *) ac_try_echo=$ac_try;;
14586 esac
14587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14588 (eval "$ac_compile") 2>conftest.er1
14589 ac_status=$?
14590 grep -v '^ *+' conftest.er1 >conftest.err
14591 rm -f conftest.er1
14592 cat conftest.err >&5
14593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14594 (exit $ac_status); } && {
14595 test -z "$ac_c_werror_flag" ||
14596 test ! -s conftest.err
14597 } && test -s conftest.$ac_objext; then
14598 ac_compiler_gnu=yes
14599 else
14600 echo "$as_me: failed program was:" >&5
14601 sed 's/^/| /' conftest.$ac_ext >&5
14602
14603 ac_compiler_gnu=no
14604 fi
14605
14606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14607 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14608
14609 fi
14610 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14611 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14612 GCC=`test $ac_compiler_gnu = yes && echo yes`
14613 ac_test_CFLAGS=${CFLAGS+set}
14614 ac_save_CFLAGS=$CFLAGS
14615 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14616 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14617 if test "${ac_cv_prog_cc_g+set}" = set; then
14618 echo $ECHO_N "(cached) $ECHO_C" >&6
14619 else
14620 ac_save_c_werror_flag=$ac_c_werror_flag
14621 ac_c_werror_flag=yes
14622 ac_cv_prog_cc_g=no
14623 CFLAGS="-g"
14624 cat >conftest.$ac_ext <<_ACEOF
14625 /* confdefs.h. */
14626 _ACEOF
14627 cat confdefs.h >>conftest.$ac_ext
14628 cat >>conftest.$ac_ext <<_ACEOF
14629 /* end confdefs.h. */
14630
14631 int
14632 main ()
14633 {
14634
14635 ;
14636 return 0;
14637 }
14638 _ACEOF
14639 rm -f conftest.$ac_objext
14640 if { (ac_try="$ac_compile"
14641 case "(($ac_try" in
14642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14643 *) ac_try_echo=$ac_try;;
14644 esac
14645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14646 (eval "$ac_compile") 2>conftest.er1
14647 ac_status=$?
14648 grep -v '^ *+' conftest.er1 >conftest.err
14649 rm -f conftest.er1
14650 cat conftest.err >&5
14651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14652 (exit $ac_status); } && {
14653 test -z "$ac_c_werror_flag" ||
14654 test ! -s conftest.err
14655 } && test -s conftest.$ac_objext; then
14656 ac_cv_prog_cc_g=yes
14657 else
14658 echo "$as_me: failed program was:" >&5
14659 sed 's/^/| /' conftest.$ac_ext >&5
14660
14661 CFLAGS=""
14662 cat >conftest.$ac_ext <<_ACEOF
14663 /* confdefs.h. */
14664 _ACEOF
14665 cat confdefs.h >>conftest.$ac_ext
14666 cat >>conftest.$ac_ext <<_ACEOF
14667 /* end confdefs.h. */
14668
14669 int
14670 main ()
14671 {
14672
14673 ;
14674 return 0;
14675 }
14676 _ACEOF
14677 rm -f conftest.$ac_objext
14678 if { (ac_try="$ac_compile"
14679 case "(($ac_try" in
14680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14681 *) ac_try_echo=$ac_try;;
14682 esac
14683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14684 (eval "$ac_compile") 2>conftest.er1
14685 ac_status=$?
14686 grep -v '^ *+' conftest.er1 >conftest.err
14687 rm -f conftest.er1
14688 cat conftest.err >&5
14689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14690 (exit $ac_status); } && {
14691 test -z "$ac_c_werror_flag" ||
14692 test ! -s conftest.err
14693 } && test -s conftest.$ac_objext; then
14694 :
14695 else
14696 echo "$as_me: failed program was:" >&5
14697 sed 's/^/| /' conftest.$ac_ext >&5
14698
14699 ac_c_werror_flag=$ac_save_c_werror_flag
14700 CFLAGS="-g"
14701 cat >conftest.$ac_ext <<_ACEOF
14702 /* confdefs.h. */
14703 _ACEOF
14704 cat confdefs.h >>conftest.$ac_ext
14705 cat >>conftest.$ac_ext <<_ACEOF
14706 /* end confdefs.h. */
14707
14708 int
14709 main ()
14710 {
14711
14712 ;
14713 return 0;
14714 }
14715 _ACEOF
14716 rm -f conftest.$ac_objext
14717 if { (ac_try="$ac_compile"
14718 case "(($ac_try" in
14719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14720 *) ac_try_echo=$ac_try;;
14721 esac
14722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14723 (eval "$ac_compile") 2>conftest.er1
14724 ac_status=$?
14725 grep -v '^ *+' conftest.er1 >conftest.err
14726 rm -f conftest.er1
14727 cat conftest.err >&5
14728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14729 (exit $ac_status); } && {
14730 test -z "$ac_c_werror_flag" ||
14731 test ! -s conftest.err
14732 } && test -s conftest.$ac_objext; then
14733 ac_cv_prog_cc_g=yes
14734 else
14735 echo "$as_me: failed program was:" >&5
14736 sed 's/^/| /' conftest.$ac_ext >&5
14737
14738
14739 fi
14740
14741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14742 fi
14743
14744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14745 fi
14746
14747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14748 ac_c_werror_flag=$ac_save_c_werror_flag
14749 fi
14750 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14751 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14752 if test "$ac_test_CFLAGS" = set; then
14753 CFLAGS=$ac_save_CFLAGS
14754 elif test $ac_cv_prog_cc_g = yes; then
14755 if test "$GCC" = yes; then
14756 CFLAGS="-g -O2"
14757 else
14758 CFLAGS="-g"
14759 fi
14760 else
14761 if test "$GCC" = yes; then
14762 CFLAGS="-O2"
14763 else
14764 CFLAGS=
14765 fi
14766 fi
14767 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14768 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14769 if test "${ac_cv_prog_cc_c89+set}" = set; then
14770 echo $ECHO_N "(cached) $ECHO_C" >&6
14771 else
14772 ac_cv_prog_cc_c89=no
14773 ac_save_CC=$CC
14774 cat >conftest.$ac_ext <<_ACEOF
14775 /* confdefs.h. */
14776 _ACEOF
14777 cat confdefs.h >>conftest.$ac_ext
14778 cat >>conftest.$ac_ext <<_ACEOF
14779 /* end confdefs.h. */
14780 #include <stdarg.h>
14781 #include <stdio.h>
14782 #include <sys/types.h>
14783 #include <sys/stat.h>
14784 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14785 struct buf { int x; };
14786 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14787 static char *e (p, i)
14788 char **p;
14789 int i;
14790 {
14791 return p[i];
14792 }
14793 static char *f (char * (*g) (char **, int), char **p, ...)
14794 {
14795 char *s;
14796 va_list v;
14797 va_start (v,p);
14798 s = g (p, va_arg (v,int));
14799 va_end (v);
14800 return s;
14801 }
14802
14803 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14804 function prototypes and stuff, but not '\xHH' hex character constants.
14805 These don't provoke an error unfortunately, instead are silently treated
14806 as 'x'. The following induces an error, until -std is added to get
14807 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14808 array size at least. It's necessary to write '\x00'==0 to get something
14809 that's true only with -std. */
14810 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14811
14812 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14813 inside strings and character constants. */
14814 #define FOO(x) 'x'
14815 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14816
14817 int test (int i, double x);
14818 struct s1 {int (*f) (int a);};
14819 struct s2 {int (*f) (double a);};
14820 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14821 int argc;
14822 char **argv;
14823 int
14824 main ()
14825 {
14826 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14827 ;
14828 return 0;
14829 }
14830 _ACEOF
14831 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14832 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14833 do
14834 CC="$ac_save_CC $ac_arg"
14835 rm -f conftest.$ac_objext
14836 if { (ac_try="$ac_compile"
14837 case "(($ac_try" in
14838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14839 *) ac_try_echo=$ac_try;;
14840 esac
14841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14842 (eval "$ac_compile") 2>conftest.er1
14843 ac_status=$?
14844 grep -v '^ *+' conftest.er1 >conftest.err
14845 rm -f conftest.er1
14846 cat conftest.err >&5
14847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14848 (exit $ac_status); } && {
14849 test -z "$ac_c_werror_flag" ||
14850 test ! -s conftest.err
14851 } && test -s conftest.$ac_objext; then
14852 ac_cv_prog_cc_c89=$ac_arg
14853 else
14854 echo "$as_me: failed program was:" >&5
14855 sed 's/^/| /' conftest.$ac_ext >&5
14856
14857
14858 fi
14859
14860 rm -f core conftest.err conftest.$ac_objext
14861 test "x$ac_cv_prog_cc_c89" != "xno" && break
14862 done
14863 rm -f conftest.$ac_ext
14864 CC=$ac_save_CC
14865
14866 fi
14867 # AC_CACHE_VAL
14868 case "x$ac_cv_prog_cc_c89" in
14869 x)
14870 { echo "$as_me:$LINENO: result: none needed" >&5
14871 echo "${ECHO_T}none needed" >&6; } ;;
14872 xno)
14873 { echo "$as_me:$LINENO: result: unsupported" >&5
14874 echo "${ECHO_T}unsupported" >&6; } ;;
14875 *)
14876 CC="$CC $ac_cv_prog_cc_c89"
14877 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
14878 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14879 esac
14880
14881
14882 ac_ext=c
14883 ac_cpp='$CPP $CPPFLAGS'
14884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14887
14888
14889
14890
14891 ac_ext=c
14892 ac_cpp='$CPP $CPPFLAGS'
14893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14896
14897 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
14898 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
14899 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14900 echo $ECHO_N "(cached) $ECHO_C" >&6
14901 else
14902 cat >conftest.$ac_ext <<_ACEOF
14903 /* confdefs.h. */
14904 _ACEOF
14905 cat confdefs.h >>conftest.$ac_ext
14906 cat >>conftest.$ac_ext <<_ACEOF
14907 /* end confdefs.h. */
14908
14909 int
14910 main ()
14911 {
14912
14913 #ifndef __INTEL_COMPILER
14914 choke me
14915 #endif
14916
14917 ;
14918 return 0;
14919 }
14920 _ACEOF
14921 rm -f conftest.$ac_objext
14922 if { (ac_try="$ac_compile"
14923 case "(($ac_try" in
14924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14925 *) ac_try_echo=$ac_try;;
14926 esac
14927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14928 (eval "$ac_compile") 2>conftest.er1
14929 ac_status=$?
14930 grep -v '^ *+' conftest.er1 >conftest.err
14931 rm -f conftest.er1
14932 cat conftest.err >&5
14933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14934 (exit $ac_status); } && {
14935 test -z "$ac_c_werror_flag" ||
14936 test ! -s conftest.err
14937 } && test -s conftest.$ac_objext; then
14938 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14939 else
14940 echo "$as_me: failed program was:" >&5
14941 sed 's/^/| /' conftest.$ac_ext >&5
14942
14943 bakefile_cv_c_compiler___INTEL_COMPILER=no
14944
14945 fi
14946
14947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14948
14949
14950 fi
14951 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
14952 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
14953 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
14954 :; INTELCC=yes
14955 else
14956 :;
14957 fi
14958 ac_ext=c
14959 ac_cpp='$CPP $CPPFLAGS'
14960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14963
14964
14965
14966
14967 if test "$INTELCC" = "yes"; then
14968
14969
14970 ac_ext=c
14971 ac_cpp='$CPP $CPPFLAGS'
14972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14975
14976 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
14977 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
14978 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
14979 echo $ECHO_N "(cached) $ECHO_C" >&6
14980 else
14981 cat >conftest.$ac_ext <<_ACEOF
14982 /* confdefs.h. */
14983 _ACEOF
14984 cat confdefs.h >>conftest.$ac_ext
14985 cat >>conftest.$ac_ext <<_ACEOF
14986 /* end confdefs.h. */
14987
14988 int
14989 main ()
14990 {
14991
14992 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
14993 choke me
14994 #endif
14995
14996 ;
14997 return 0;
14998 }
14999 _ACEOF
15000 rm -f conftest.$ac_objext
15001 if { (ac_try="$ac_compile"
15002 case "(($ac_try" in
15003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15004 *) ac_try_echo=$ac_try;;
15005 esac
15006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15007 (eval "$ac_compile") 2>conftest.er1
15008 ac_status=$?
15009 grep -v '^ *+' conftest.er1 >conftest.err
15010 rm -f conftest.er1
15011 cat conftest.err >&5
15012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15013 (exit $ac_status); } && {
15014 test -z "$ac_c_werror_flag" ||
15015 test ! -s conftest.err
15016 } && test -s conftest.$ac_objext; then
15017 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15018 else
15019 echo "$as_me: failed program was:" >&5
15020 sed 's/^/| /' conftest.$ac_ext >&5
15021
15022 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15023
15024 fi
15025
15026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15027
15028
15029 fi
15030 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15031 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15032 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15033 :; INTELCC8=yes
15034 else
15035 :;
15036 fi
15037 ac_ext=c
15038 ac_cpp='$CPP $CPPFLAGS'
15039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15042
15043
15044
15045
15046
15047 ac_ext=c
15048 ac_cpp='$CPP $CPPFLAGS'
15049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15052
15053 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15054 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15055 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15056 echo $ECHO_N "(cached) $ECHO_C" >&6
15057 else
15058 cat >conftest.$ac_ext <<_ACEOF
15059 /* confdefs.h. */
15060 _ACEOF
15061 cat confdefs.h >>conftest.$ac_ext
15062 cat >>conftest.$ac_ext <<_ACEOF
15063 /* end confdefs.h. */
15064
15065 int
15066 main ()
15067 {
15068
15069 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15070 choke me
15071 #endif
15072
15073 ;
15074 return 0;
15075 }
15076 _ACEOF
15077 rm -f conftest.$ac_objext
15078 if { (ac_try="$ac_compile"
15079 case "(($ac_try" in
15080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15081 *) ac_try_echo=$ac_try;;
15082 esac
15083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15084 (eval "$ac_compile") 2>conftest.er1
15085 ac_status=$?
15086 grep -v '^ *+' conftest.er1 >conftest.err
15087 rm -f conftest.er1
15088 cat conftest.err >&5
15089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15090 (exit $ac_status); } && {
15091 test -z "$ac_c_werror_flag" ||
15092 test ! -s conftest.err
15093 } && test -s conftest.$ac_objext; then
15094 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15095 else
15096 echo "$as_me: failed program was:" >&5
15097 sed 's/^/| /' conftest.$ac_ext >&5
15098
15099 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15100
15101 fi
15102
15103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15104
15105
15106 fi
15107 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15108 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15109 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15110 :; INTELCC10=yes
15111 else
15112 :;
15113 fi
15114 ac_ext=c
15115 ac_cpp='$CPP $CPPFLAGS'
15116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15119
15120
15121
15122 fi
15123
15124 if test "x$GCC" != "xyes"; then
15125 if test "xCC" = "xC"; then
15126 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15127 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15128 if test "${bakefile_cv_c_exto+set}" = set; then
15129 echo $ECHO_N "(cached) $ECHO_C" >&6
15130 else
15131 cat >conftest.$ac_ext <<_ACEOF
15132 /* confdefs.h. */
15133 _ACEOF
15134 cat confdefs.h >>conftest.$ac_ext
15135 cat >>conftest.$ac_ext <<_ACEOF
15136 /* end confdefs.h. */
15137
15138 int
15139 main ()
15140 {
15141
15142 ;
15143 return 0;
15144 }
15145 _ACEOF
15146 rm -f conftest.$ac_objext conftest.$ac_ext.o
15147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15148 (eval $ac_compile) 2>&5
15149 ac_status=$?
15150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15151 (exit $ac_status); }; then
15152 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15153 case $ac_file in
15154 conftest.$ac_ext.o)
15155 bakefile_cv_c_exto="-ext o"
15156 ;;
15157 *)
15158 ;;
15159 esac
15160 done
15161 else
15162 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15163 See \`config.log' for more details." >&5
15164 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15165 See \`config.log' for more details." >&2;}
15166 { (exit 1); exit 1; }; }
15167
15168 fi
15169
15170 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15171
15172 fi
15173 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15174 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15175 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15176 if test "c" = "c"; then
15177 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15178 fi
15179 if test "c" = "cxx"; then
15180 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15181 fi
15182 fi
15183
15184 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15185 unset ac_cv_prog_cc_g
15186 ac_test_CFLAGS=${CFLAGS+set}
15187 ac_save_CFLAGS=$CFLAGS
15188 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15189 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15190 if test "${ac_cv_prog_cc_g+set}" = set; then
15191 echo $ECHO_N "(cached) $ECHO_C" >&6
15192 else
15193 ac_save_c_werror_flag=$ac_c_werror_flag
15194 ac_c_werror_flag=yes
15195 ac_cv_prog_cc_g=no
15196 CFLAGS="-g"
15197 cat >conftest.$ac_ext <<_ACEOF
15198 /* confdefs.h. */
15199 _ACEOF
15200 cat confdefs.h >>conftest.$ac_ext
15201 cat >>conftest.$ac_ext <<_ACEOF
15202 /* end confdefs.h. */
15203
15204 int
15205 main ()
15206 {
15207
15208 ;
15209 return 0;
15210 }
15211 _ACEOF
15212 rm -f conftest.$ac_objext
15213 if { (ac_try="$ac_compile"
15214 case "(($ac_try" in
15215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15216 *) ac_try_echo=$ac_try;;
15217 esac
15218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15219 (eval "$ac_compile") 2>conftest.er1
15220 ac_status=$?
15221 grep -v '^ *+' conftest.er1 >conftest.err
15222 rm -f conftest.er1
15223 cat conftest.err >&5
15224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15225 (exit $ac_status); } && {
15226 test -z "$ac_c_werror_flag" ||
15227 test ! -s conftest.err
15228 } && test -s conftest.$ac_objext; then
15229 ac_cv_prog_cc_g=yes
15230 else
15231 echo "$as_me: failed program was:" >&5
15232 sed 's/^/| /' conftest.$ac_ext >&5
15233
15234 CFLAGS=""
15235 cat >conftest.$ac_ext <<_ACEOF
15236 /* confdefs.h. */
15237 _ACEOF
15238 cat confdefs.h >>conftest.$ac_ext
15239 cat >>conftest.$ac_ext <<_ACEOF
15240 /* end confdefs.h. */
15241
15242 int
15243 main ()
15244 {
15245
15246 ;
15247 return 0;
15248 }
15249 _ACEOF
15250 rm -f conftest.$ac_objext
15251 if { (ac_try="$ac_compile"
15252 case "(($ac_try" in
15253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15254 *) ac_try_echo=$ac_try;;
15255 esac
15256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15257 (eval "$ac_compile") 2>conftest.er1
15258 ac_status=$?
15259 grep -v '^ *+' conftest.er1 >conftest.err
15260 rm -f conftest.er1
15261 cat conftest.err >&5
15262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15263 (exit $ac_status); } && {
15264 test -z "$ac_c_werror_flag" ||
15265 test ! -s conftest.err
15266 } && test -s conftest.$ac_objext; then
15267 :
15268 else
15269 echo "$as_me: failed program was:" >&5
15270 sed 's/^/| /' conftest.$ac_ext >&5
15271
15272 ac_c_werror_flag=$ac_save_c_werror_flag
15273 CFLAGS="-g"
15274 cat >conftest.$ac_ext <<_ACEOF
15275 /* confdefs.h. */
15276 _ACEOF
15277 cat confdefs.h >>conftest.$ac_ext
15278 cat >>conftest.$ac_ext <<_ACEOF
15279 /* end confdefs.h. */
15280
15281 int
15282 main ()
15283 {
15284
15285 ;
15286 return 0;
15287 }
15288 _ACEOF
15289 rm -f conftest.$ac_objext
15290 if { (ac_try="$ac_compile"
15291 case "(($ac_try" in
15292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15293 *) ac_try_echo=$ac_try;;
15294 esac
15295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15296 (eval "$ac_compile") 2>conftest.er1
15297 ac_status=$?
15298 grep -v '^ *+' conftest.er1 >conftest.err
15299 rm -f conftest.er1
15300 cat conftest.err >&5
15301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15302 (exit $ac_status); } && {
15303 test -z "$ac_c_werror_flag" ||
15304 test ! -s conftest.err
15305 } && test -s conftest.$ac_objext; then
15306 ac_cv_prog_cc_g=yes
15307 else
15308 echo "$as_me: failed program was:" >&5
15309 sed 's/^/| /' conftest.$ac_ext >&5
15310
15311
15312 fi
15313
15314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15315 fi
15316
15317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15318 fi
15319
15320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15321 ac_c_werror_flag=$ac_save_c_werror_flag
15322 fi
15323 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15324 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15325 if test "$ac_test_CFLAGS" = set; then
15326 CFLAGS=$ac_save_CFLAGS
15327 elif test $ac_cv_prog_cc_g = yes; then
15328 if test "$GCC" = yes; then
15329 CFLAGS="-g -O2"
15330 else
15331 CFLAGS="-g"
15332 fi
15333 else
15334 if test "$GCC" = yes; then
15335 CFLAGS="-O2"
15336 else
15337 CFLAGS=
15338 fi
15339 fi
15340 fi
15341 fi
15342
15343 case `uname -s` in
15344 AIX*)
15345
15346
15347 ac_ext=c
15348 ac_cpp='$CPP $CPPFLAGS'
15349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15352
15353 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15354 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15355 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15356 echo $ECHO_N "(cached) $ECHO_C" >&6
15357 else
15358 cat >conftest.$ac_ext <<_ACEOF
15359 /* confdefs.h. */
15360 _ACEOF
15361 cat confdefs.h >>conftest.$ac_ext
15362 cat >>conftest.$ac_ext <<_ACEOF
15363 /* end confdefs.h. */
15364
15365 int
15366 main ()
15367 {
15368
15369 #ifndef __xlC__
15370 choke me
15371 #endif
15372
15373 ;
15374 return 0;
15375 }
15376 _ACEOF
15377 rm -f conftest.$ac_objext
15378 if { (ac_try="$ac_compile"
15379 case "(($ac_try" in
15380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15381 *) ac_try_echo=$ac_try;;
15382 esac
15383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15384 (eval "$ac_compile") 2>conftest.er1
15385 ac_status=$?
15386 grep -v '^ *+' conftest.er1 >conftest.err
15387 rm -f conftest.er1
15388 cat conftest.err >&5
15389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15390 (exit $ac_status); } && {
15391 test -z "$ac_c_werror_flag" ||
15392 test ! -s conftest.err
15393 } && test -s conftest.$ac_objext; then
15394 bakefile_cv_c_compiler___xlC__=yes
15395 else
15396 echo "$as_me: failed program was:" >&5
15397 sed 's/^/| /' conftest.$ac_ext >&5
15398
15399 bakefile_cv_c_compiler___xlC__=no
15400
15401 fi
15402
15403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15404
15405
15406 fi
15407 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15408 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15409 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15410 :; XLCC=yes
15411 else
15412 :;
15413 fi
15414 ac_ext=c
15415 ac_cpp='$CPP $CPPFLAGS'
15416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15419
15420
15421
15422 ;;
15423
15424 Darwin)
15425
15426
15427 ac_ext=c
15428 ac_cpp='$CPP $CPPFLAGS'
15429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15432
15433 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15434 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15435 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15436 echo $ECHO_N "(cached) $ECHO_C" >&6
15437 else
15438 cat >conftest.$ac_ext <<_ACEOF
15439 /* confdefs.h. */
15440 _ACEOF
15441 cat confdefs.h >>conftest.$ac_ext
15442 cat >>conftest.$ac_ext <<_ACEOF
15443 /* end confdefs.h. */
15444
15445 int
15446 main ()
15447 {
15448
15449 #ifndef __MWERKS__
15450 choke me
15451 #endif
15452
15453 ;
15454 return 0;
15455 }
15456 _ACEOF
15457 rm -f conftest.$ac_objext
15458 if { (ac_try="$ac_compile"
15459 case "(($ac_try" in
15460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15461 *) ac_try_echo=$ac_try;;
15462 esac
15463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15464 (eval "$ac_compile") 2>conftest.er1
15465 ac_status=$?
15466 grep -v '^ *+' conftest.er1 >conftest.err
15467 rm -f conftest.er1
15468 cat conftest.err >&5
15469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15470 (exit $ac_status); } && {
15471 test -z "$ac_c_werror_flag" ||
15472 test ! -s conftest.err
15473 } && test -s conftest.$ac_objext; then
15474 bakefile_cv_c_compiler___MWERKS__=yes
15475 else
15476 echo "$as_me: failed program was:" >&5
15477 sed 's/^/| /' conftest.$ac_ext >&5
15478
15479 bakefile_cv_c_compiler___MWERKS__=no
15480
15481 fi
15482
15483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15484
15485
15486 fi
15487 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15488 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15489 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15490 :; MWCC=yes
15491 else
15492 :;
15493 fi
15494 ac_ext=c
15495 ac_cpp='$CPP $CPPFLAGS'
15496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15499
15500
15501
15502 if test "$MWCC" != "yes"; then
15503
15504
15505 ac_ext=c
15506 ac_cpp='$CPP $CPPFLAGS'
15507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15510
15511 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15512 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15513 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15514 echo $ECHO_N "(cached) $ECHO_C" >&6
15515 else
15516 cat >conftest.$ac_ext <<_ACEOF
15517 /* confdefs.h. */
15518 _ACEOF
15519 cat confdefs.h >>conftest.$ac_ext
15520 cat >>conftest.$ac_ext <<_ACEOF
15521 /* end confdefs.h. */
15522
15523 int
15524 main ()
15525 {
15526
15527 #ifndef __xlC__
15528 choke me
15529 #endif
15530
15531 ;
15532 return 0;
15533 }
15534 _ACEOF
15535 rm -f conftest.$ac_objext
15536 if { (ac_try="$ac_compile"
15537 case "(($ac_try" in
15538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15539 *) ac_try_echo=$ac_try;;
15540 esac
15541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15542 (eval "$ac_compile") 2>conftest.er1
15543 ac_status=$?
15544 grep -v '^ *+' conftest.er1 >conftest.err
15545 rm -f conftest.er1
15546 cat conftest.err >&5
15547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15548 (exit $ac_status); } && {
15549 test -z "$ac_c_werror_flag" ||
15550 test ! -s conftest.err
15551 } && test -s conftest.$ac_objext; then
15552 bakefile_cv_c_compiler___xlC__=yes
15553 else
15554 echo "$as_me: failed program was:" >&5
15555 sed 's/^/| /' conftest.$ac_ext >&5
15556
15557 bakefile_cv_c_compiler___xlC__=no
15558
15559 fi
15560
15561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15562
15563
15564 fi
15565 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15566 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15567 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15568 :; XLCC=yes
15569 else
15570 :;
15571 fi
15572 ac_ext=c
15573 ac_cpp='$CPP $CPPFLAGS'
15574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15577
15578
15579
15580 fi
15581 ;;
15582
15583 IRIX*)
15584
15585
15586 ac_ext=c
15587 ac_cpp='$CPP $CPPFLAGS'
15588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15591
15592 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15593 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15594 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15595 echo $ECHO_N "(cached) $ECHO_C" >&6
15596 else
15597 cat >conftest.$ac_ext <<_ACEOF
15598 /* confdefs.h. */
15599 _ACEOF
15600 cat confdefs.h >>conftest.$ac_ext
15601 cat >>conftest.$ac_ext <<_ACEOF
15602 /* end confdefs.h. */
15603
15604 int
15605 main ()
15606 {
15607
15608 #ifndef _SGI_COMPILER_VERSION
15609 choke me
15610 #endif
15611
15612 ;
15613 return 0;
15614 }
15615 _ACEOF
15616 rm -f conftest.$ac_objext
15617 if { (ac_try="$ac_compile"
15618 case "(($ac_try" in
15619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15620 *) ac_try_echo=$ac_try;;
15621 esac
15622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15623 (eval "$ac_compile") 2>conftest.er1
15624 ac_status=$?
15625 grep -v '^ *+' conftest.er1 >conftest.err
15626 rm -f conftest.er1
15627 cat conftest.err >&5
15628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15629 (exit $ac_status); } && {
15630 test -z "$ac_c_werror_flag" ||
15631 test ! -s conftest.err
15632 } && test -s conftest.$ac_objext; then
15633 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15634 else
15635 echo "$as_me: failed program was:" >&5
15636 sed 's/^/| /' conftest.$ac_ext >&5
15637
15638 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15639
15640 fi
15641
15642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15643
15644
15645 fi
15646 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15647 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15648 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15649 :; SGICC=yes
15650 else
15651 :;
15652 fi
15653 ac_ext=c
15654 ac_cpp='$CPP $CPPFLAGS'
15655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15658
15659
15660
15661 ;;
15662
15663 Linux*)
15664 if test "$INTELCC" != "yes"; then
15665
15666
15667 ac_ext=c
15668 ac_cpp='$CPP $CPPFLAGS'
15669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15672
15673 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15674 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15675 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15676 echo $ECHO_N "(cached) $ECHO_C" >&6
15677 else
15678 cat >conftest.$ac_ext <<_ACEOF
15679 /* confdefs.h. */
15680 _ACEOF
15681 cat confdefs.h >>conftest.$ac_ext
15682 cat >>conftest.$ac_ext <<_ACEOF
15683 /* end confdefs.h. */
15684
15685 int
15686 main ()
15687 {
15688
15689 #ifndef __SUNPRO_C
15690 choke me
15691 #endif
15692
15693 ;
15694 return 0;
15695 }
15696 _ACEOF
15697 rm -f conftest.$ac_objext
15698 if { (ac_try="$ac_compile"
15699 case "(($ac_try" in
15700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15701 *) ac_try_echo=$ac_try;;
15702 esac
15703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15704 (eval "$ac_compile") 2>conftest.er1
15705 ac_status=$?
15706 grep -v '^ *+' conftest.er1 >conftest.err
15707 rm -f conftest.er1
15708 cat conftest.err >&5
15709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15710 (exit $ac_status); } && {
15711 test -z "$ac_c_werror_flag" ||
15712 test ! -s conftest.err
15713 } && test -s conftest.$ac_objext; then
15714 bakefile_cv_c_compiler___SUNPRO_C=yes
15715 else
15716 echo "$as_me: failed program was:" >&5
15717 sed 's/^/| /' conftest.$ac_ext >&5
15718
15719 bakefile_cv_c_compiler___SUNPRO_C=no
15720
15721 fi
15722
15723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15724
15725
15726 fi
15727 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15728 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15729 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15730 :; SUNCC=yes
15731 else
15732 :;
15733 fi
15734 ac_ext=c
15735 ac_cpp='$CPP $CPPFLAGS'
15736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15739
15740
15741
15742 fi
15743 ;;
15744
15745 HP-UX*)
15746
15747
15748 ac_ext=c
15749 ac_cpp='$CPP $CPPFLAGS'
15750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15753
15754 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15755 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15756 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15757 echo $ECHO_N "(cached) $ECHO_C" >&6
15758 else
15759 cat >conftest.$ac_ext <<_ACEOF
15760 /* confdefs.h. */
15761 _ACEOF
15762 cat confdefs.h >>conftest.$ac_ext
15763 cat >>conftest.$ac_ext <<_ACEOF
15764 /* end confdefs.h. */
15765
15766 int
15767 main ()
15768 {
15769
15770 #ifndef __HP_cc
15771 choke me
15772 #endif
15773
15774 ;
15775 return 0;
15776 }
15777 _ACEOF
15778 rm -f conftest.$ac_objext
15779 if { (ac_try="$ac_compile"
15780 case "(($ac_try" in
15781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15782 *) ac_try_echo=$ac_try;;
15783 esac
15784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15785 (eval "$ac_compile") 2>conftest.er1
15786 ac_status=$?
15787 grep -v '^ *+' conftest.er1 >conftest.err
15788 rm -f conftest.er1
15789 cat conftest.err >&5
15790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15791 (exit $ac_status); } && {
15792 test -z "$ac_c_werror_flag" ||
15793 test ! -s conftest.err
15794 } && test -s conftest.$ac_objext; then
15795 bakefile_cv_c_compiler___HP_cc=yes
15796 else
15797 echo "$as_me: failed program was:" >&5
15798 sed 's/^/| /' conftest.$ac_ext >&5
15799
15800 bakefile_cv_c_compiler___HP_cc=no
15801
15802 fi
15803
15804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15805
15806
15807 fi
15808 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15809 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15810 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15811 :; HPCC=yes
15812 else
15813 :;
15814 fi
15815 ac_ext=c
15816 ac_cpp='$CPP $CPPFLAGS'
15817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15820
15821
15822
15823 ;;
15824
15825 OSF1)
15826
15827
15828 ac_ext=c
15829 ac_cpp='$CPP $CPPFLAGS'
15830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15833
15834 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15835 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15836 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15837 echo $ECHO_N "(cached) $ECHO_C" >&6
15838 else
15839 cat >conftest.$ac_ext <<_ACEOF
15840 /* confdefs.h. */
15841 _ACEOF
15842 cat confdefs.h >>conftest.$ac_ext
15843 cat >>conftest.$ac_ext <<_ACEOF
15844 /* end confdefs.h. */
15845
15846 int
15847 main ()
15848 {
15849
15850 #ifndef __DECC
15851 choke me
15852 #endif
15853
15854 ;
15855 return 0;
15856 }
15857 _ACEOF
15858 rm -f conftest.$ac_objext
15859 if { (ac_try="$ac_compile"
15860 case "(($ac_try" in
15861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15862 *) ac_try_echo=$ac_try;;
15863 esac
15864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15865 (eval "$ac_compile") 2>conftest.er1
15866 ac_status=$?
15867 grep -v '^ *+' conftest.er1 >conftest.err
15868 rm -f conftest.er1
15869 cat conftest.err >&5
15870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15871 (exit $ac_status); } && {
15872 test -z "$ac_c_werror_flag" ||
15873 test ! -s conftest.err
15874 } && test -s conftest.$ac_objext; then
15875 bakefile_cv_c_compiler___DECC=yes
15876 else
15877 echo "$as_me: failed program was:" >&5
15878 sed 's/^/| /' conftest.$ac_ext >&5
15879
15880 bakefile_cv_c_compiler___DECC=no
15881
15882 fi
15883
15884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15885
15886
15887 fi
15888 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15889 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15890 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15891 :; COMPAQCC=yes
15892 else
15893 :;
15894 fi
15895 ac_ext=c
15896 ac_cpp='$CPP $CPPFLAGS'
15897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15900
15901
15902
15903 ;;
15904
15905 SunOS)
15906
15907
15908 ac_ext=c
15909 ac_cpp='$CPP $CPPFLAGS'
15910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15913
15914 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15915 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15916 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15917 echo $ECHO_N "(cached) $ECHO_C" >&6
15918 else
15919 cat >conftest.$ac_ext <<_ACEOF
15920 /* confdefs.h. */
15921 _ACEOF
15922 cat confdefs.h >>conftest.$ac_ext
15923 cat >>conftest.$ac_ext <<_ACEOF
15924 /* end confdefs.h. */
15925
15926 int
15927 main ()
15928 {
15929
15930 #ifndef __SUNPRO_C
15931 choke me
15932 #endif
15933
15934 ;
15935 return 0;
15936 }
15937 _ACEOF
15938 rm -f conftest.$ac_objext
15939 if { (ac_try="$ac_compile"
15940 case "(($ac_try" in
15941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15942 *) ac_try_echo=$ac_try;;
15943 esac
15944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15945 (eval "$ac_compile") 2>conftest.er1
15946 ac_status=$?
15947 grep -v '^ *+' conftest.er1 >conftest.err
15948 rm -f conftest.er1
15949 cat conftest.err >&5
15950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15951 (exit $ac_status); } && {
15952 test -z "$ac_c_werror_flag" ||
15953 test ! -s conftest.err
15954 } && test -s conftest.$ac_objext; then
15955 bakefile_cv_c_compiler___SUNPRO_C=yes
15956 else
15957 echo "$as_me: failed program was:" >&5
15958 sed 's/^/| /' conftest.$ac_ext >&5
15959
15960 bakefile_cv_c_compiler___SUNPRO_C=no
15961
15962 fi
15963
15964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15965
15966
15967 fi
15968 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15969 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15970 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15971 :; SUNCC=yes
15972 else
15973 :;
15974 fi
15975 ac_ext=c
15976 ac_cpp='$CPP $CPPFLAGS'
15977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15980
15981
15982
15983 ;;
15984 esac
15985 fi
15986
15987
15988
15989 ac_ext=c
15990 ac_cpp='$CPP $CPPFLAGS'
15991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15994 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
15995 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
15996 # On Suns, sometimes $CPP names a directory.
15997 if test -n "$CPP" && test -d "$CPP"; then
15998 CPP=
15999 fi
16000 if test -z "$CPP"; then
16001 if test "${ac_cv_prog_CPP+set}" = set; then
16002 echo $ECHO_N "(cached) $ECHO_C" >&6
16003 else
16004 # Double quotes because CPP needs to be expanded
16005 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16006 do
16007 ac_preproc_ok=false
16008 for ac_c_preproc_warn_flag in '' yes
16009 do
16010 # Use a header file that comes with gcc, so configuring glibc
16011 # with a fresh cross-compiler works.
16012 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16013 # <limits.h> exists even on freestanding compilers.
16014 # On the NeXT, cc -E runs the code through the compiler's parser,
16015 # not just through cpp. "Syntax error" is here to catch this case.
16016 cat >conftest.$ac_ext <<_ACEOF
16017 /* confdefs.h. */
16018 _ACEOF
16019 cat confdefs.h >>conftest.$ac_ext
16020 cat >>conftest.$ac_ext <<_ACEOF
16021 /* end confdefs.h. */
16022 #ifdef __STDC__
16023 # include <limits.h>
16024 #else
16025 # include <assert.h>
16026 #endif
16027 Syntax error
16028 _ACEOF
16029 if { (ac_try="$ac_cpp conftest.$ac_ext"
16030 case "(($ac_try" in
16031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16032 *) ac_try_echo=$ac_try;;
16033 esac
16034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16035 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16036 ac_status=$?
16037 grep -v '^ *+' conftest.er1 >conftest.err
16038 rm -f conftest.er1
16039 cat conftest.err >&5
16040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16041 (exit $ac_status); } >/dev/null && {
16042 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16043 test ! -s conftest.err
16044 }; then
16045 :
16046 else
16047 echo "$as_me: failed program was:" >&5
16048 sed 's/^/| /' conftest.$ac_ext >&5
16049
16050 # Broken: fails on valid input.
16051 continue
16052 fi
16053
16054 rm -f conftest.err conftest.$ac_ext
16055
16056 # OK, works on sane cases. Now check whether nonexistent headers
16057 # can be detected and how.
16058 cat >conftest.$ac_ext <<_ACEOF
16059 /* confdefs.h. */
16060 _ACEOF
16061 cat confdefs.h >>conftest.$ac_ext
16062 cat >>conftest.$ac_ext <<_ACEOF
16063 /* end confdefs.h. */
16064 #include <ac_nonexistent.h>
16065 _ACEOF
16066 if { (ac_try="$ac_cpp conftest.$ac_ext"
16067 case "(($ac_try" in
16068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16069 *) ac_try_echo=$ac_try;;
16070 esac
16071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16072 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16073 ac_status=$?
16074 grep -v '^ *+' conftest.er1 >conftest.err
16075 rm -f conftest.er1
16076 cat conftest.err >&5
16077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16078 (exit $ac_status); } >/dev/null && {
16079 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16080 test ! -s conftest.err
16081 }; then
16082 # Broken: success on invalid input.
16083 continue
16084 else
16085 echo "$as_me: failed program was:" >&5
16086 sed 's/^/| /' conftest.$ac_ext >&5
16087
16088 # Passes both tests.
16089 ac_preproc_ok=:
16090 break
16091 fi
16092
16093 rm -f conftest.err conftest.$ac_ext
16094
16095 done
16096 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16097 rm -f conftest.err conftest.$ac_ext
16098 if $ac_preproc_ok; then
16099 break
16100 fi
16101
16102 done
16103 ac_cv_prog_CPP=$CPP
16104
16105 fi
16106 CPP=$ac_cv_prog_CPP
16107 else
16108 ac_cv_prog_CPP=$CPP
16109 fi
16110 { echo "$as_me:$LINENO: result: $CPP" >&5
16111 echo "${ECHO_T}$CPP" >&6; }
16112 ac_preproc_ok=false
16113 for ac_c_preproc_warn_flag in '' yes
16114 do
16115 # Use a header file that comes with gcc, so configuring glibc
16116 # with a fresh cross-compiler works.
16117 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16118 # <limits.h> exists even on freestanding compilers.
16119 # On the NeXT, cc -E runs the code through the compiler's parser,
16120 # not just through cpp. "Syntax error" is here to catch this case.
16121 cat >conftest.$ac_ext <<_ACEOF
16122 /* confdefs.h. */
16123 _ACEOF
16124 cat confdefs.h >>conftest.$ac_ext
16125 cat >>conftest.$ac_ext <<_ACEOF
16126 /* end confdefs.h. */
16127 #ifdef __STDC__
16128 # include <limits.h>
16129 #else
16130 # include <assert.h>
16131 #endif
16132 Syntax error
16133 _ACEOF
16134 if { (ac_try="$ac_cpp conftest.$ac_ext"
16135 case "(($ac_try" in
16136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16137 *) ac_try_echo=$ac_try;;
16138 esac
16139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16140 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16141 ac_status=$?
16142 grep -v '^ *+' conftest.er1 >conftest.err
16143 rm -f conftest.er1
16144 cat conftest.err >&5
16145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16146 (exit $ac_status); } >/dev/null && {
16147 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16148 test ! -s conftest.err
16149 }; then
16150 :
16151 else
16152 echo "$as_me: failed program was:" >&5
16153 sed 's/^/| /' conftest.$ac_ext >&5
16154
16155 # Broken: fails on valid input.
16156 continue
16157 fi
16158
16159 rm -f conftest.err conftest.$ac_ext
16160
16161 # OK, works on sane cases. Now check whether nonexistent headers
16162 # can be detected and how.
16163 cat >conftest.$ac_ext <<_ACEOF
16164 /* confdefs.h. */
16165 _ACEOF
16166 cat confdefs.h >>conftest.$ac_ext
16167 cat >>conftest.$ac_ext <<_ACEOF
16168 /* end confdefs.h. */
16169 #include <ac_nonexistent.h>
16170 _ACEOF
16171 if { (ac_try="$ac_cpp conftest.$ac_ext"
16172 case "(($ac_try" in
16173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16174 *) ac_try_echo=$ac_try;;
16175 esac
16176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16177 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16178 ac_status=$?
16179 grep -v '^ *+' conftest.er1 >conftest.err
16180 rm -f conftest.er1
16181 cat conftest.err >&5
16182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16183 (exit $ac_status); } >/dev/null && {
16184 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16185 test ! -s conftest.err
16186 }; then
16187 # Broken: success on invalid input.
16188 continue
16189 else
16190 echo "$as_me: failed program was:" >&5
16191 sed 's/^/| /' conftest.$ac_ext >&5
16192
16193 # Passes both tests.
16194 ac_preproc_ok=:
16195 break
16196 fi
16197
16198 rm -f conftest.err conftest.$ac_ext
16199
16200 done
16201 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16202 rm -f conftest.err conftest.$ac_ext
16203 if $ac_preproc_ok; then
16204 :
16205 else
16206 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16207 See \`config.log' for more details." >&5
16208 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16209 See \`config.log' for more details." >&2;}
16210 { (exit 1); exit 1; }; }
16211 fi
16212
16213 ac_ext=c
16214 ac_cpp='$CPP $CPPFLAGS'
16215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16218
16219
16220 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16221 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16222 if test "${ac_cv_path_GREP+set}" = set; then
16223 echo $ECHO_N "(cached) $ECHO_C" >&6
16224 else
16225 # Extract the first word of "grep ggrep" to use in msg output
16226 if test -z "$GREP"; then
16227 set dummy grep ggrep; ac_prog_name=$2
16228 if test "${ac_cv_path_GREP+set}" = set; then
16229 echo $ECHO_N "(cached) $ECHO_C" >&6
16230 else
16231 ac_path_GREP_found=false
16232 # Loop through the user's path and test for each of PROGNAME-LIST
16233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16234 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16235 do
16236 IFS=$as_save_IFS
16237 test -z "$as_dir" && as_dir=.
16238 for ac_prog in grep ggrep; do
16239 for ac_exec_ext in '' $ac_executable_extensions; do
16240 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16241 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16242 # Check for GNU ac_path_GREP and select it if it is found.
16243 # Check for GNU $ac_path_GREP
16244 case `"$ac_path_GREP" --version 2>&1` in
16245 *GNU*)
16246 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16247 *)
16248 ac_count=0
16249 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16250 while :
16251 do
16252 cat "conftest.in" "conftest.in" >"conftest.tmp"
16253 mv "conftest.tmp" "conftest.in"
16254 cp "conftest.in" "conftest.nl"
16255 echo 'GREP' >> "conftest.nl"
16256 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16257 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16258 ac_count=`expr $ac_count + 1`
16259 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16260 # Best one so far, save it but keep looking for a better one
16261 ac_cv_path_GREP="$ac_path_GREP"
16262 ac_path_GREP_max=$ac_count
16263 fi
16264 # 10*(2^10) chars as input seems more than enough
16265 test $ac_count -gt 10 && break
16266 done
16267 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16268 esac
16269
16270
16271 $ac_path_GREP_found && break 3
16272 done
16273 done
16274
16275 done
16276 IFS=$as_save_IFS
16277
16278
16279 fi
16280
16281 GREP="$ac_cv_path_GREP"
16282 if test -z "$GREP"; then
16283 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16284 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16285 { (exit 1); exit 1; }; }
16286 fi
16287
16288 else
16289 ac_cv_path_GREP=$GREP
16290 fi
16291
16292
16293 fi
16294 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16295 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16296 GREP="$ac_cv_path_GREP"
16297
16298
16299 { echo "$as_me:$LINENO: checking for egrep" >&5
16300 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16301 if test "${ac_cv_path_EGREP+set}" = set; then
16302 echo $ECHO_N "(cached) $ECHO_C" >&6
16303 else
16304 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16305 then ac_cv_path_EGREP="$GREP -E"
16306 else
16307 # Extract the first word of "egrep" to use in msg output
16308 if test -z "$EGREP"; then
16309 set dummy egrep; ac_prog_name=$2
16310 if test "${ac_cv_path_EGREP+set}" = set; then
16311 echo $ECHO_N "(cached) $ECHO_C" >&6
16312 else
16313 ac_path_EGREP_found=false
16314 # Loop through the user's path and test for each of PROGNAME-LIST
16315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16316 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16317 do
16318 IFS=$as_save_IFS
16319 test -z "$as_dir" && as_dir=.
16320 for ac_prog in egrep; do
16321 for ac_exec_ext in '' $ac_executable_extensions; do
16322 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16323 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16324 # Check for GNU ac_path_EGREP and select it if it is found.
16325 # Check for GNU $ac_path_EGREP
16326 case `"$ac_path_EGREP" --version 2>&1` in
16327 *GNU*)
16328 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16329 *)
16330 ac_count=0
16331 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16332 while :
16333 do
16334 cat "conftest.in" "conftest.in" >"conftest.tmp"
16335 mv "conftest.tmp" "conftest.in"
16336 cp "conftest.in" "conftest.nl"
16337 echo 'EGREP' >> "conftest.nl"
16338 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16339 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16340 ac_count=`expr $ac_count + 1`
16341 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16342 # Best one so far, save it but keep looking for a better one
16343 ac_cv_path_EGREP="$ac_path_EGREP"
16344 ac_path_EGREP_max=$ac_count
16345 fi
16346 # 10*(2^10) chars as input seems more than enough
16347 test $ac_count -gt 10 && break
16348 done
16349 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16350 esac
16351
16352
16353 $ac_path_EGREP_found && break 3
16354 done
16355 done
16356
16357 done
16358 IFS=$as_save_IFS
16359
16360
16361 fi
16362
16363 EGREP="$ac_cv_path_EGREP"
16364 if test -z "$EGREP"; then
16365 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16366 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16367 { (exit 1); exit 1; }; }
16368 fi
16369
16370 else
16371 ac_cv_path_EGREP=$EGREP
16372 fi
16373
16374
16375 fi
16376 fi
16377 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16378 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16379 EGREP="$ac_cv_path_EGREP"
16380
16381
16382 if test $ac_cv_c_compiler_gnu = yes; then
16383 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16384 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16385 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16386 echo $ECHO_N "(cached) $ECHO_C" >&6
16387 else
16388 ac_pattern="Autoconf.*'x'"
16389 cat >conftest.$ac_ext <<_ACEOF
16390 /* confdefs.h. */
16391 _ACEOF
16392 cat confdefs.h >>conftest.$ac_ext
16393 cat >>conftest.$ac_ext <<_ACEOF
16394 /* end confdefs.h. */
16395 #include <sgtty.h>
16396 Autoconf TIOCGETP
16397 _ACEOF
16398 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16399 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16400 ac_cv_prog_gcc_traditional=yes
16401 else
16402 ac_cv_prog_gcc_traditional=no
16403 fi
16404 rm -f conftest*
16405
16406
16407 if test $ac_cv_prog_gcc_traditional = no; then
16408 cat >conftest.$ac_ext <<_ACEOF
16409 /* confdefs.h. */
16410 _ACEOF
16411 cat confdefs.h >>conftest.$ac_ext
16412 cat >>conftest.$ac_ext <<_ACEOF
16413 /* end confdefs.h. */
16414 #include <termio.h>
16415 Autoconf TCGETA
16416 _ACEOF
16417 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16418 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16419 ac_cv_prog_gcc_traditional=yes
16420 fi
16421 rm -f conftest*
16422
16423 fi
16424 fi
16425 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16426 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16427 if test $ac_cv_prog_gcc_traditional = yes; then
16428 CC="$CC -traditional"
16429 fi
16430 fi
16431
16432
16433 CXXFLAGS=${CXXFLAGS:=}
16434
16435
16436
16437 ac_ext=cpp
16438 ac_cpp='$CXXCPP $CPPFLAGS'
16439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16442 if test -z "$CXX"; then
16443 if test -n "$CCC"; then
16444 CXX=$CCC
16445 else
16446 if test -n "$ac_tool_prefix"; then
16447 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16448 do
16449 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16450 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16451 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16453 if test "${ac_cv_prog_CXX+set}" = set; then
16454 echo $ECHO_N "(cached) $ECHO_C" >&6
16455 else
16456 if test -n "$CXX"; then
16457 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16458 else
16459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16460 for as_dir in $PATH
16461 do
16462 IFS=$as_save_IFS
16463 test -z "$as_dir" && as_dir=.
16464 for ac_exec_ext in '' $ac_executable_extensions; do
16465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16466 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16468 break 2
16469 fi
16470 done
16471 done
16472 IFS=$as_save_IFS
16473
16474 fi
16475 fi
16476 CXX=$ac_cv_prog_CXX
16477 if test -n "$CXX"; then
16478 { echo "$as_me:$LINENO: result: $CXX" >&5
16479 echo "${ECHO_T}$CXX" >&6; }
16480 else
16481 { echo "$as_me:$LINENO: result: no" >&5
16482 echo "${ECHO_T}no" >&6; }
16483 fi
16484
16485
16486 test -n "$CXX" && break
16487 done
16488 fi
16489 if test -z "$CXX"; then
16490 ac_ct_CXX=$CXX
16491 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16492 do
16493 # Extract the first word of "$ac_prog", so it can be a program name with args.
16494 set dummy $ac_prog; ac_word=$2
16495 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16497 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16498 echo $ECHO_N "(cached) $ECHO_C" >&6
16499 else
16500 if test -n "$ac_ct_CXX"; then
16501 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16502 else
16503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16504 for as_dir in $PATH
16505 do
16506 IFS=$as_save_IFS
16507 test -z "$as_dir" && as_dir=.
16508 for ac_exec_ext in '' $ac_executable_extensions; do
16509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16510 ac_cv_prog_ac_ct_CXX="$ac_prog"
16511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16512 break 2
16513 fi
16514 done
16515 done
16516 IFS=$as_save_IFS
16517
16518 fi
16519 fi
16520 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16521 if test -n "$ac_ct_CXX"; then
16522 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16523 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16524 else
16525 { echo "$as_me:$LINENO: result: no" >&5
16526 echo "${ECHO_T}no" >&6; }
16527 fi
16528
16529
16530 test -n "$ac_ct_CXX" && break
16531 done
16532
16533 if test "x$ac_ct_CXX" = x; then
16534 CXX="g++"
16535 else
16536 case $cross_compiling:$ac_tool_warned in
16537 yes:)
16538 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16539 whose name does not start with the host triplet. If you think this
16540 configuration is useful to you, please write to autoconf@gnu.org." >&5
16541 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16542 whose name does not start with the host triplet. If you think this
16543 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16544 ac_tool_warned=yes ;;
16545 esac
16546 CXX=$ac_ct_CXX
16547 fi
16548 fi
16549
16550 fi
16551 fi
16552 # Provide some information about the compiler.
16553 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16554 ac_compiler=`set X $ac_compile; echo $2`
16555 { (ac_try="$ac_compiler --version >&5"
16556 case "(($ac_try" in
16557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16558 *) ac_try_echo=$ac_try;;
16559 esac
16560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16561 (eval "$ac_compiler --version >&5") 2>&5
16562 ac_status=$?
16563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16564 (exit $ac_status); }
16565 { (ac_try="$ac_compiler -v >&5"
16566 case "(($ac_try" in
16567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16568 *) ac_try_echo=$ac_try;;
16569 esac
16570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16571 (eval "$ac_compiler -v >&5") 2>&5
16572 ac_status=$?
16573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16574 (exit $ac_status); }
16575 { (ac_try="$ac_compiler -V >&5"
16576 case "(($ac_try" in
16577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16578 *) ac_try_echo=$ac_try;;
16579 esac
16580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16581 (eval "$ac_compiler -V >&5") 2>&5
16582 ac_status=$?
16583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16584 (exit $ac_status); }
16585
16586 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16587 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16588 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16589 echo $ECHO_N "(cached) $ECHO_C" >&6
16590 else
16591 cat >conftest.$ac_ext <<_ACEOF
16592 /* confdefs.h. */
16593 _ACEOF
16594 cat confdefs.h >>conftest.$ac_ext
16595 cat >>conftest.$ac_ext <<_ACEOF
16596 /* end confdefs.h. */
16597
16598 int
16599 main ()
16600 {
16601 #ifndef __GNUC__
16602 choke me
16603 #endif
16604
16605 ;
16606 return 0;
16607 }
16608 _ACEOF
16609 rm -f conftest.$ac_objext
16610 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
16617 ac_status=$?
16618 grep -v '^ *+' conftest.er1 >conftest.err
16619 rm -f conftest.er1
16620 cat conftest.err >&5
16621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16622 (exit $ac_status); } && {
16623 test -z "$ac_cxx_werror_flag" ||
16624 test ! -s conftest.err
16625 } && test -s conftest.$ac_objext; then
16626 ac_compiler_gnu=yes
16627 else
16628 echo "$as_me: failed program was:" >&5
16629 sed 's/^/| /' conftest.$ac_ext >&5
16630
16631 ac_compiler_gnu=no
16632 fi
16633
16634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16635 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16636
16637 fi
16638 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16639 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16640 GXX=`test $ac_compiler_gnu = yes && echo yes`
16641 ac_test_CXXFLAGS=${CXXFLAGS+set}
16642 ac_save_CXXFLAGS=$CXXFLAGS
16643 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16644 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16645 if test "${ac_cv_prog_cxx_g+set}" = set; then
16646 echo $ECHO_N "(cached) $ECHO_C" >&6
16647 else
16648 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16649 ac_cxx_werror_flag=yes
16650 ac_cv_prog_cxx_g=no
16651 CXXFLAGS="-g"
16652 cat >conftest.$ac_ext <<_ACEOF
16653 /* confdefs.h. */
16654 _ACEOF
16655 cat confdefs.h >>conftest.$ac_ext
16656 cat >>conftest.$ac_ext <<_ACEOF
16657 /* end confdefs.h. */
16658
16659 int
16660 main ()
16661 {
16662
16663 ;
16664 return 0;
16665 }
16666 _ACEOF
16667 rm -f conftest.$ac_objext
16668 if { (ac_try="$ac_compile"
16669 case "(($ac_try" in
16670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16671 *) ac_try_echo=$ac_try;;
16672 esac
16673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16674 (eval "$ac_compile") 2>conftest.er1
16675 ac_status=$?
16676 grep -v '^ *+' conftest.er1 >conftest.err
16677 rm -f conftest.er1
16678 cat conftest.err >&5
16679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16680 (exit $ac_status); } && {
16681 test -z "$ac_cxx_werror_flag" ||
16682 test ! -s conftest.err
16683 } && test -s conftest.$ac_objext; then
16684 ac_cv_prog_cxx_g=yes
16685 else
16686 echo "$as_me: failed program was:" >&5
16687 sed 's/^/| /' conftest.$ac_ext >&5
16688
16689 CXXFLAGS=""
16690 cat >conftest.$ac_ext <<_ACEOF
16691 /* confdefs.h. */
16692 _ACEOF
16693 cat confdefs.h >>conftest.$ac_ext
16694 cat >>conftest.$ac_ext <<_ACEOF
16695 /* end confdefs.h. */
16696
16697 int
16698 main ()
16699 {
16700
16701 ;
16702 return 0;
16703 }
16704 _ACEOF
16705 rm -f conftest.$ac_objext
16706 if { (ac_try="$ac_compile"
16707 case "(($ac_try" in
16708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16709 *) ac_try_echo=$ac_try;;
16710 esac
16711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16712 (eval "$ac_compile") 2>conftest.er1
16713 ac_status=$?
16714 grep -v '^ *+' conftest.er1 >conftest.err
16715 rm -f conftest.er1
16716 cat conftest.err >&5
16717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16718 (exit $ac_status); } && {
16719 test -z "$ac_cxx_werror_flag" ||
16720 test ! -s conftest.err
16721 } && test -s conftest.$ac_objext; then
16722 :
16723 else
16724 echo "$as_me: failed program was:" >&5
16725 sed 's/^/| /' conftest.$ac_ext >&5
16726
16727 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16728 CXXFLAGS="-g"
16729 cat >conftest.$ac_ext <<_ACEOF
16730 /* confdefs.h. */
16731 _ACEOF
16732 cat confdefs.h >>conftest.$ac_ext
16733 cat >>conftest.$ac_ext <<_ACEOF
16734 /* end confdefs.h. */
16735
16736 int
16737 main ()
16738 {
16739
16740 ;
16741 return 0;
16742 }
16743 _ACEOF
16744 rm -f conftest.$ac_objext
16745 if { (ac_try="$ac_compile"
16746 case "(($ac_try" in
16747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16748 *) ac_try_echo=$ac_try;;
16749 esac
16750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16751 (eval "$ac_compile") 2>conftest.er1
16752 ac_status=$?
16753 grep -v '^ *+' conftest.er1 >conftest.err
16754 rm -f conftest.er1
16755 cat conftest.err >&5
16756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16757 (exit $ac_status); } && {
16758 test -z "$ac_cxx_werror_flag" ||
16759 test ! -s conftest.err
16760 } && test -s conftest.$ac_objext; then
16761 ac_cv_prog_cxx_g=yes
16762 else
16763 echo "$as_me: failed program was:" >&5
16764 sed 's/^/| /' conftest.$ac_ext >&5
16765
16766
16767 fi
16768
16769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16770 fi
16771
16772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16773 fi
16774
16775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16776 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16777 fi
16778 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16779 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16780 if test "$ac_test_CXXFLAGS" = set; then
16781 CXXFLAGS=$ac_save_CXXFLAGS
16782 elif test $ac_cv_prog_cxx_g = yes; then
16783 if test "$GXX" = yes; then
16784 CXXFLAGS="-g -O2"
16785 else
16786 CXXFLAGS="-g"
16787 fi
16788 else
16789 if test "$GXX" = yes; then
16790 CXXFLAGS="-O2"
16791 else
16792 CXXFLAGS=
16793 fi
16794 fi
16795 ac_ext=c
16796 ac_cpp='$CPP $CPPFLAGS'
16797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16800
16801
16802
16803
16804 ac_ext=cpp
16805 ac_cpp='$CXXCPP $CPPFLAGS'
16806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16809
16810 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16811 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16812 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16813 echo $ECHO_N "(cached) $ECHO_C" >&6
16814 else
16815 cat >conftest.$ac_ext <<_ACEOF
16816 /* confdefs.h. */
16817 _ACEOF
16818 cat confdefs.h >>conftest.$ac_ext
16819 cat >>conftest.$ac_ext <<_ACEOF
16820 /* end confdefs.h. */
16821
16822 int
16823 main ()
16824 {
16825
16826 #ifndef __INTEL_COMPILER
16827 choke me
16828 #endif
16829
16830 ;
16831 return 0;
16832 }
16833 _ACEOF
16834 rm -f conftest.$ac_objext
16835 if { (ac_try="$ac_compile"
16836 case "(($ac_try" in
16837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16838 *) ac_try_echo=$ac_try;;
16839 esac
16840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16841 (eval "$ac_compile") 2>conftest.er1
16842 ac_status=$?
16843 grep -v '^ *+' conftest.er1 >conftest.err
16844 rm -f conftest.er1
16845 cat conftest.err >&5
16846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16847 (exit $ac_status); } && {
16848 test -z "$ac_cxx_werror_flag" ||
16849 test ! -s conftest.err
16850 } && test -s conftest.$ac_objext; then
16851 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
16852 else
16853 echo "$as_me: failed program was:" >&5
16854 sed 's/^/| /' conftest.$ac_ext >&5
16855
16856 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
16857
16858 fi
16859
16860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16861
16862
16863 fi
16864 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16865 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16866 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16867 :; INTELCXX=yes
16868 else
16869 :;
16870 fi
16871 ac_ext=c
16872 ac_cpp='$CPP $CPPFLAGS'
16873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16876
16877
16878
16879
16880 if test "$INTELCXX" = "yes"; then
16881
16882
16883 ac_ext=cpp
16884 ac_cpp='$CXXCPP $CPPFLAGS'
16885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16888
16889 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
16890 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
16891 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
16892 echo $ECHO_N "(cached) $ECHO_C" >&6
16893 else
16894 cat >conftest.$ac_ext <<_ACEOF
16895 /* confdefs.h. */
16896 _ACEOF
16897 cat confdefs.h >>conftest.$ac_ext
16898 cat >>conftest.$ac_ext <<_ACEOF
16899 /* end confdefs.h. */
16900
16901 int
16902 main ()
16903 {
16904
16905 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
16906 choke me
16907 #endif
16908
16909 ;
16910 return 0;
16911 }
16912 _ACEOF
16913 rm -f conftest.$ac_objext
16914 if { (ac_try="$ac_compile"
16915 case "(($ac_try" in
16916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16917 *) ac_try_echo=$ac_try;;
16918 esac
16919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16920 (eval "$ac_compile") 2>conftest.er1
16921 ac_status=$?
16922 grep -v '^ *+' conftest.er1 >conftest.err
16923 rm -f conftest.er1
16924 cat conftest.err >&5
16925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16926 (exit $ac_status); } && {
16927 test -z "$ac_cxx_werror_flag" ||
16928 test ! -s conftest.err
16929 } && test -s conftest.$ac_objext; then
16930 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
16931 else
16932 echo "$as_me: failed program was:" >&5
16933 sed 's/^/| /' conftest.$ac_ext >&5
16934
16935 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
16936
16937 fi
16938
16939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16940
16941
16942 fi
16943 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
16944 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
16945 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
16946 :; INTELCXX8=yes
16947 else
16948 :;
16949 fi
16950 ac_ext=c
16951 ac_cpp='$CPP $CPPFLAGS'
16952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16955
16956
16957
16958
16959
16960 ac_ext=cpp
16961 ac_cpp='$CXXCPP $CPPFLAGS'
16962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16965
16966 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
16967 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
16968 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
16969 echo $ECHO_N "(cached) $ECHO_C" >&6
16970 else
16971 cat >conftest.$ac_ext <<_ACEOF
16972 /* confdefs.h. */
16973 _ACEOF
16974 cat confdefs.h >>conftest.$ac_ext
16975 cat >>conftest.$ac_ext <<_ACEOF
16976 /* end confdefs.h. */
16977
16978 int
16979 main ()
16980 {
16981
16982 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
16983 choke me
16984 #endif
16985
16986 ;
16987 return 0;
16988 }
16989 _ACEOF
16990 rm -f conftest.$ac_objext
16991 if { (ac_try="$ac_compile"
16992 case "(($ac_try" in
16993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16994 *) ac_try_echo=$ac_try;;
16995 esac
16996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16997 (eval "$ac_compile") 2>conftest.er1
16998 ac_status=$?
16999 grep -v '^ *+' conftest.er1 >conftest.err
17000 rm -f conftest.er1
17001 cat conftest.err >&5
17002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17003 (exit $ac_status); } && {
17004 test -z "$ac_cxx_werror_flag" ||
17005 test ! -s conftest.err
17006 } && test -s conftest.$ac_objext; then
17007 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17008 else
17009 echo "$as_me: failed program was:" >&5
17010 sed 's/^/| /' conftest.$ac_ext >&5
17011
17012 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17013
17014 fi
17015
17016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17017
17018
17019 fi
17020 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17021 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17022 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17023 :; INTELCXX10=yes
17024 else
17025 :;
17026 fi
17027 ac_ext=c
17028 ac_cpp='$CPP $CPPFLAGS'
17029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17032
17033
17034
17035 fi
17036
17037 if test "x$GCXX" != "xyes"; then
17038 if test "xCXX" = "xC"; then
17039 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17040 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17041 if test "${bakefile_cv_c_exto+set}" = set; then
17042 echo $ECHO_N "(cached) $ECHO_C" >&6
17043 else
17044 cat >conftest.$ac_ext <<_ACEOF
17045 /* confdefs.h. */
17046 _ACEOF
17047 cat confdefs.h >>conftest.$ac_ext
17048 cat >>conftest.$ac_ext <<_ACEOF
17049 /* end confdefs.h. */
17050
17051 int
17052 main ()
17053 {
17054
17055 ;
17056 return 0;
17057 }
17058 _ACEOF
17059 rm -f conftest.$ac_objext conftest.$ac_ext.o
17060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17061 (eval $ac_compile) 2>&5
17062 ac_status=$?
17063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17064 (exit $ac_status); }; then
17065 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17066 case $ac_file in
17067 conftest.$ac_ext.o)
17068 bakefile_cv_c_exto="-ext o"
17069 ;;
17070 *)
17071 ;;
17072 esac
17073 done
17074 else
17075 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17076 See \`config.log' for more details." >&5
17077 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17078 See \`config.log' for more details." >&2;}
17079 { (exit 1); exit 1; }; }
17080
17081 fi
17082
17083 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17084
17085 fi
17086 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17087 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17088 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17089 if test "c" = "c"; then
17090 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17091 fi
17092 if test "c" = "cxx"; then
17093 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17094 fi
17095 fi
17096
17097 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17098 unset ac_cv_prog_cc_g
17099 ac_test_CFLAGS=${CFLAGS+set}
17100 ac_save_CFLAGS=$CFLAGS
17101 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17102 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17103 if test "${ac_cv_prog_cc_g+set}" = set; then
17104 echo $ECHO_N "(cached) $ECHO_C" >&6
17105 else
17106 ac_save_c_werror_flag=$ac_c_werror_flag
17107 ac_c_werror_flag=yes
17108 ac_cv_prog_cc_g=no
17109 CFLAGS="-g"
17110 cat >conftest.$ac_ext <<_ACEOF
17111 /* confdefs.h. */
17112 _ACEOF
17113 cat confdefs.h >>conftest.$ac_ext
17114 cat >>conftest.$ac_ext <<_ACEOF
17115 /* end confdefs.h. */
17116
17117 int
17118 main ()
17119 {
17120
17121 ;
17122 return 0;
17123 }
17124 _ACEOF
17125 rm -f conftest.$ac_objext
17126 if { (ac_try="$ac_compile"
17127 case "(($ac_try" in
17128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17129 *) ac_try_echo=$ac_try;;
17130 esac
17131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17132 (eval "$ac_compile") 2>conftest.er1
17133 ac_status=$?
17134 grep -v '^ *+' conftest.er1 >conftest.err
17135 rm -f conftest.er1
17136 cat conftest.err >&5
17137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17138 (exit $ac_status); } && {
17139 test -z "$ac_c_werror_flag" ||
17140 test ! -s conftest.err
17141 } && test -s conftest.$ac_objext; then
17142 ac_cv_prog_cc_g=yes
17143 else
17144 echo "$as_me: failed program was:" >&5
17145 sed 's/^/| /' conftest.$ac_ext >&5
17146
17147 CFLAGS=""
17148 cat >conftest.$ac_ext <<_ACEOF
17149 /* confdefs.h. */
17150 _ACEOF
17151 cat confdefs.h >>conftest.$ac_ext
17152 cat >>conftest.$ac_ext <<_ACEOF
17153 /* end confdefs.h. */
17154
17155 int
17156 main ()
17157 {
17158
17159 ;
17160 return 0;
17161 }
17162 _ACEOF
17163 rm -f conftest.$ac_objext
17164 if { (ac_try="$ac_compile"
17165 case "(($ac_try" in
17166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17167 *) ac_try_echo=$ac_try;;
17168 esac
17169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17170 (eval "$ac_compile") 2>conftest.er1
17171 ac_status=$?
17172 grep -v '^ *+' conftest.er1 >conftest.err
17173 rm -f conftest.er1
17174 cat conftest.err >&5
17175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17176 (exit $ac_status); } && {
17177 test -z "$ac_c_werror_flag" ||
17178 test ! -s conftest.err
17179 } && test -s conftest.$ac_objext; then
17180 :
17181 else
17182 echo "$as_me: failed program was:" >&5
17183 sed 's/^/| /' conftest.$ac_ext >&5
17184
17185 ac_c_werror_flag=$ac_save_c_werror_flag
17186 CFLAGS="-g"
17187 cat >conftest.$ac_ext <<_ACEOF
17188 /* confdefs.h. */
17189 _ACEOF
17190 cat confdefs.h >>conftest.$ac_ext
17191 cat >>conftest.$ac_ext <<_ACEOF
17192 /* end confdefs.h. */
17193
17194 int
17195 main ()
17196 {
17197
17198 ;
17199 return 0;
17200 }
17201 _ACEOF
17202 rm -f conftest.$ac_objext
17203 if { (ac_try="$ac_compile"
17204 case "(($ac_try" in
17205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17206 *) ac_try_echo=$ac_try;;
17207 esac
17208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17209 (eval "$ac_compile") 2>conftest.er1
17210 ac_status=$?
17211 grep -v '^ *+' conftest.er1 >conftest.err
17212 rm -f conftest.er1
17213 cat conftest.err >&5
17214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17215 (exit $ac_status); } && {
17216 test -z "$ac_c_werror_flag" ||
17217 test ! -s conftest.err
17218 } && test -s conftest.$ac_objext; then
17219 ac_cv_prog_cc_g=yes
17220 else
17221 echo "$as_me: failed program was:" >&5
17222 sed 's/^/| /' conftest.$ac_ext >&5
17223
17224
17225 fi
17226
17227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17228 fi
17229
17230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17231 fi
17232
17233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17234 ac_c_werror_flag=$ac_save_c_werror_flag
17235 fi
17236 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17237 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17238 if test "$ac_test_CFLAGS" = set; then
17239 CFLAGS=$ac_save_CFLAGS
17240 elif test $ac_cv_prog_cc_g = yes; then
17241 if test "$GCC" = yes; then
17242 CFLAGS="-g -O2"
17243 else
17244 CFLAGS="-g"
17245 fi
17246 else
17247 if test "$GCC" = yes; then
17248 CFLAGS="-O2"
17249 else
17250 CFLAGS=
17251 fi
17252 fi
17253 fi
17254 fi
17255
17256 case `uname -s` in
17257 AIX*)
17258
17259
17260 ac_ext=cpp
17261 ac_cpp='$CXXCPP $CPPFLAGS'
17262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17265
17266 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17267 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17268 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17269 echo $ECHO_N "(cached) $ECHO_C" >&6
17270 else
17271 cat >conftest.$ac_ext <<_ACEOF
17272 /* confdefs.h. */
17273 _ACEOF
17274 cat confdefs.h >>conftest.$ac_ext
17275 cat >>conftest.$ac_ext <<_ACEOF
17276 /* end confdefs.h. */
17277
17278 int
17279 main ()
17280 {
17281
17282 #ifndef __xlC__
17283 choke me
17284 #endif
17285
17286 ;
17287 return 0;
17288 }
17289 _ACEOF
17290 rm -f conftest.$ac_objext
17291 if { (ac_try="$ac_compile"
17292 case "(($ac_try" in
17293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17294 *) ac_try_echo=$ac_try;;
17295 esac
17296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17297 (eval "$ac_compile") 2>conftest.er1
17298 ac_status=$?
17299 grep -v '^ *+' conftest.er1 >conftest.err
17300 rm -f conftest.er1
17301 cat conftest.err >&5
17302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17303 (exit $ac_status); } && {
17304 test -z "$ac_cxx_werror_flag" ||
17305 test ! -s conftest.err
17306 } && test -s conftest.$ac_objext; then
17307 bakefile_cv_cxx_compiler___xlC__=yes
17308 else
17309 echo "$as_me: failed program was:" >&5
17310 sed 's/^/| /' conftest.$ac_ext >&5
17311
17312 bakefile_cv_cxx_compiler___xlC__=no
17313
17314 fi
17315
17316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17317
17318
17319 fi
17320 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17321 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17322 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17323 :; XLCXX=yes
17324 else
17325 :;
17326 fi
17327 ac_ext=c
17328 ac_cpp='$CPP $CPPFLAGS'
17329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17332
17333
17334
17335 ;;
17336
17337 Darwin)
17338
17339
17340 ac_ext=cpp
17341 ac_cpp='$CXXCPP $CPPFLAGS'
17342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17345
17346 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17347 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17348 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17349 echo $ECHO_N "(cached) $ECHO_C" >&6
17350 else
17351 cat >conftest.$ac_ext <<_ACEOF
17352 /* confdefs.h. */
17353 _ACEOF
17354 cat confdefs.h >>conftest.$ac_ext
17355 cat >>conftest.$ac_ext <<_ACEOF
17356 /* end confdefs.h. */
17357
17358 int
17359 main ()
17360 {
17361
17362 #ifndef __MWERKS__
17363 choke me
17364 #endif
17365
17366 ;
17367 return 0;
17368 }
17369 _ACEOF
17370 rm -f conftest.$ac_objext
17371 if { (ac_try="$ac_compile"
17372 case "(($ac_try" in
17373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17374 *) ac_try_echo=$ac_try;;
17375 esac
17376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17377 (eval "$ac_compile") 2>conftest.er1
17378 ac_status=$?
17379 grep -v '^ *+' conftest.er1 >conftest.err
17380 rm -f conftest.er1
17381 cat conftest.err >&5
17382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17383 (exit $ac_status); } && {
17384 test -z "$ac_cxx_werror_flag" ||
17385 test ! -s conftest.err
17386 } && test -s conftest.$ac_objext; then
17387 bakefile_cv_cxx_compiler___MWERKS__=yes
17388 else
17389 echo "$as_me: failed program was:" >&5
17390 sed 's/^/| /' conftest.$ac_ext >&5
17391
17392 bakefile_cv_cxx_compiler___MWERKS__=no
17393
17394 fi
17395
17396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17397
17398
17399 fi
17400 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17401 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17402 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17403 :; MWCXX=yes
17404 else
17405 :;
17406 fi
17407 ac_ext=c
17408 ac_cpp='$CPP $CPPFLAGS'
17409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17412
17413
17414
17415 if test "$MWCXX" != "yes"; then
17416
17417
17418 ac_ext=cpp
17419 ac_cpp='$CXXCPP $CPPFLAGS'
17420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17423
17424 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17425 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17426 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17427 echo $ECHO_N "(cached) $ECHO_C" >&6
17428 else
17429 cat >conftest.$ac_ext <<_ACEOF
17430 /* confdefs.h. */
17431 _ACEOF
17432 cat confdefs.h >>conftest.$ac_ext
17433 cat >>conftest.$ac_ext <<_ACEOF
17434 /* end confdefs.h. */
17435
17436 int
17437 main ()
17438 {
17439
17440 #ifndef __xlC__
17441 choke me
17442 #endif
17443
17444 ;
17445 return 0;
17446 }
17447 _ACEOF
17448 rm -f conftest.$ac_objext
17449 if { (ac_try="$ac_compile"
17450 case "(($ac_try" in
17451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17452 *) ac_try_echo=$ac_try;;
17453 esac
17454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17455 (eval "$ac_compile") 2>conftest.er1
17456 ac_status=$?
17457 grep -v '^ *+' conftest.er1 >conftest.err
17458 rm -f conftest.er1
17459 cat conftest.err >&5
17460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17461 (exit $ac_status); } && {
17462 test -z "$ac_cxx_werror_flag" ||
17463 test ! -s conftest.err
17464 } && test -s conftest.$ac_objext; then
17465 bakefile_cv_cxx_compiler___xlC__=yes
17466 else
17467 echo "$as_me: failed program was:" >&5
17468 sed 's/^/| /' conftest.$ac_ext >&5
17469
17470 bakefile_cv_cxx_compiler___xlC__=no
17471
17472 fi
17473
17474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17475
17476
17477 fi
17478 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17479 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17480 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17481 :; XLCXX=yes
17482 else
17483 :;
17484 fi
17485 ac_ext=c
17486 ac_cpp='$CPP $CPPFLAGS'
17487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17490
17491
17492
17493 fi
17494 ;;
17495
17496 IRIX*)
17497
17498
17499 ac_ext=cpp
17500 ac_cpp='$CXXCPP $CPPFLAGS'
17501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17504
17505 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17506 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17507 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17508 echo $ECHO_N "(cached) $ECHO_C" >&6
17509 else
17510 cat >conftest.$ac_ext <<_ACEOF
17511 /* confdefs.h. */
17512 _ACEOF
17513 cat confdefs.h >>conftest.$ac_ext
17514 cat >>conftest.$ac_ext <<_ACEOF
17515 /* end confdefs.h. */
17516
17517 int
17518 main ()
17519 {
17520
17521 #ifndef _SGI_COMPILER_VERSION
17522 choke me
17523 #endif
17524
17525 ;
17526 return 0;
17527 }
17528 _ACEOF
17529 rm -f conftest.$ac_objext
17530 if { (ac_try="$ac_compile"
17531 case "(($ac_try" in
17532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17533 *) ac_try_echo=$ac_try;;
17534 esac
17535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17536 (eval "$ac_compile") 2>conftest.er1
17537 ac_status=$?
17538 grep -v '^ *+' conftest.er1 >conftest.err
17539 rm -f conftest.er1
17540 cat conftest.err >&5
17541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17542 (exit $ac_status); } && {
17543 test -z "$ac_cxx_werror_flag" ||
17544 test ! -s conftest.err
17545 } && test -s conftest.$ac_objext; then
17546 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17547 else
17548 echo "$as_me: failed program was:" >&5
17549 sed 's/^/| /' conftest.$ac_ext >&5
17550
17551 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17552
17553 fi
17554
17555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17556
17557
17558 fi
17559 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17560 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17561 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17562 :; SGICXX=yes
17563 else
17564 :;
17565 fi
17566 ac_ext=c
17567 ac_cpp='$CPP $CPPFLAGS'
17568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17571
17572
17573
17574 ;;
17575
17576 Linux*)
17577 if test "$INTELCXX" != "yes"; then
17578
17579
17580 ac_ext=cpp
17581 ac_cpp='$CXXCPP $CPPFLAGS'
17582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17585
17586 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17587 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17588 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17589 echo $ECHO_N "(cached) $ECHO_C" >&6
17590 else
17591 cat >conftest.$ac_ext <<_ACEOF
17592 /* confdefs.h. */
17593 _ACEOF
17594 cat confdefs.h >>conftest.$ac_ext
17595 cat >>conftest.$ac_ext <<_ACEOF
17596 /* end confdefs.h. */
17597
17598 int
17599 main ()
17600 {
17601
17602 #ifndef __SUNPRO_CC
17603 choke me
17604 #endif
17605
17606 ;
17607 return 0;
17608 }
17609 _ACEOF
17610 rm -f conftest.$ac_objext
17611 if { (ac_try="$ac_compile"
17612 case "(($ac_try" in
17613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17614 *) ac_try_echo=$ac_try;;
17615 esac
17616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17617 (eval "$ac_compile") 2>conftest.er1
17618 ac_status=$?
17619 grep -v '^ *+' conftest.er1 >conftest.err
17620 rm -f conftest.er1
17621 cat conftest.err >&5
17622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17623 (exit $ac_status); } && {
17624 test -z "$ac_cxx_werror_flag" ||
17625 test ! -s conftest.err
17626 } && test -s conftest.$ac_objext; then
17627 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17628 else
17629 echo "$as_me: failed program was:" >&5
17630 sed 's/^/| /' conftest.$ac_ext >&5
17631
17632 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17633
17634 fi
17635
17636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17637
17638
17639 fi
17640 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17641 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17642 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17643 :; SUNCXX=yes
17644 else
17645 :;
17646 fi
17647 ac_ext=c
17648 ac_cpp='$CPP $CPPFLAGS'
17649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17652
17653
17654
17655 fi
17656 ;;
17657
17658 HP-UX*)
17659
17660
17661 ac_ext=cpp
17662 ac_cpp='$CXXCPP $CPPFLAGS'
17663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17666
17667 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17668 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17669 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17670 echo $ECHO_N "(cached) $ECHO_C" >&6
17671 else
17672 cat >conftest.$ac_ext <<_ACEOF
17673 /* confdefs.h. */
17674 _ACEOF
17675 cat confdefs.h >>conftest.$ac_ext
17676 cat >>conftest.$ac_ext <<_ACEOF
17677 /* end confdefs.h. */
17678
17679 int
17680 main ()
17681 {
17682
17683 #ifndef __HP_aCC
17684 choke me
17685 #endif
17686
17687 ;
17688 return 0;
17689 }
17690 _ACEOF
17691 rm -f conftest.$ac_objext
17692 if { (ac_try="$ac_compile"
17693 case "(($ac_try" in
17694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17695 *) ac_try_echo=$ac_try;;
17696 esac
17697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17698 (eval "$ac_compile") 2>conftest.er1
17699 ac_status=$?
17700 grep -v '^ *+' conftest.er1 >conftest.err
17701 rm -f conftest.er1
17702 cat conftest.err >&5
17703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17704 (exit $ac_status); } && {
17705 test -z "$ac_cxx_werror_flag" ||
17706 test ! -s conftest.err
17707 } && test -s conftest.$ac_objext; then
17708 bakefile_cv_cxx_compiler___HP_aCC=yes
17709 else
17710 echo "$as_me: failed program was:" >&5
17711 sed 's/^/| /' conftest.$ac_ext >&5
17712
17713 bakefile_cv_cxx_compiler___HP_aCC=no
17714
17715 fi
17716
17717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17718
17719
17720 fi
17721 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17722 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17723 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17724 :; HPCXX=yes
17725 else
17726 :;
17727 fi
17728 ac_ext=c
17729 ac_cpp='$CPP $CPPFLAGS'
17730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17733
17734
17735
17736 ;;
17737
17738 OSF1)
17739
17740
17741 ac_ext=cpp
17742 ac_cpp='$CXXCPP $CPPFLAGS'
17743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17746
17747 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17748 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17749 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17750 echo $ECHO_N "(cached) $ECHO_C" >&6
17751 else
17752 cat >conftest.$ac_ext <<_ACEOF
17753 /* confdefs.h. */
17754 _ACEOF
17755 cat confdefs.h >>conftest.$ac_ext
17756 cat >>conftest.$ac_ext <<_ACEOF
17757 /* end confdefs.h. */
17758
17759 int
17760 main ()
17761 {
17762
17763 #ifndef __DECCXX
17764 choke me
17765 #endif
17766
17767 ;
17768 return 0;
17769 }
17770 _ACEOF
17771 rm -f conftest.$ac_objext
17772 if { (ac_try="$ac_compile"
17773 case "(($ac_try" in
17774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17775 *) ac_try_echo=$ac_try;;
17776 esac
17777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17778 (eval "$ac_compile") 2>conftest.er1
17779 ac_status=$?
17780 grep -v '^ *+' conftest.er1 >conftest.err
17781 rm -f conftest.er1
17782 cat conftest.err >&5
17783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17784 (exit $ac_status); } && {
17785 test -z "$ac_cxx_werror_flag" ||
17786 test ! -s conftest.err
17787 } && test -s conftest.$ac_objext; then
17788 bakefile_cv_cxx_compiler___DECCXX=yes
17789 else
17790 echo "$as_me: failed program was:" >&5
17791 sed 's/^/| /' conftest.$ac_ext >&5
17792
17793 bakefile_cv_cxx_compiler___DECCXX=no
17794
17795 fi
17796
17797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17798
17799
17800 fi
17801 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17802 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17803 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17804 :; COMPAQCXX=yes
17805 else
17806 :;
17807 fi
17808 ac_ext=c
17809 ac_cpp='$CPP $CPPFLAGS'
17810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17813
17814
17815
17816 ;;
17817
17818 SunOS)
17819
17820
17821 ac_ext=cpp
17822 ac_cpp='$CXXCPP $CPPFLAGS'
17823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17826
17827 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17828 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17829 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17830 echo $ECHO_N "(cached) $ECHO_C" >&6
17831 else
17832 cat >conftest.$ac_ext <<_ACEOF
17833 /* confdefs.h. */
17834 _ACEOF
17835 cat confdefs.h >>conftest.$ac_ext
17836 cat >>conftest.$ac_ext <<_ACEOF
17837 /* end confdefs.h. */
17838
17839 int
17840 main ()
17841 {
17842
17843 #ifndef __SUNPRO_CC
17844 choke me
17845 #endif
17846
17847 ;
17848 return 0;
17849 }
17850 _ACEOF
17851 rm -f conftest.$ac_objext
17852 if { (ac_try="$ac_compile"
17853 case "(($ac_try" in
17854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17855 *) ac_try_echo=$ac_try;;
17856 esac
17857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17858 (eval "$ac_compile") 2>conftest.er1
17859 ac_status=$?
17860 grep -v '^ *+' conftest.er1 >conftest.err
17861 rm -f conftest.er1
17862 cat conftest.err >&5
17863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17864 (exit $ac_status); } && {
17865 test -z "$ac_cxx_werror_flag" ||
17866 test ! -s conftest.err
17867 } && test -s conftest.$ac_objext; then
17868 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17869 else
17870 echo "$as_me: failed program was:" >&5
17871 sed 's/^/| /' conftest.$ac_ext >&5
17872
17873 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17874
17875 fi
17876
17877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17878
17879
17880 fi
17881 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17882 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17883 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17884 :; SUNCXX=yes
17885 else
17886 :;
17887 fi
17888 ac_ext=c
17889 ac_cpp='$CPP $CPPFLAGS'
17890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17893
17894
17895
17896 ;;
17897 esac
17898 fi
17899
17900
17901
17902 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17903 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17904 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17905 { (exit 1); exit 1; }; }
17906 fi
17907
17908 if test "x$SUNCXX" != xyes; then
17909 if test -n "$ac_tool_prefix"; then
17910 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17911 set dummy ${ac_tool_prefix}ar; ac_word=$2
17912 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17914 if test "${ac_cv_prog_AR+set}" = set; then
17915 echo $ECHO_N "(cached) $ECHO_C" >&6
17916 else
17917 if test -n "$AR"; then
17918 ac_cv_prog_AR="$AR" # Let the user override the test.
17919 else
17920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17921 for as_dir in $PATH
17922 do
17923 IFS=$as_save_IFS
17924 test -z "$as_dir" && as_dir=.
17925 for ac_exec_ext in '' $ac_executable_extensions; do
17926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17927 ac_cv_prog_AR="${ac_tool_prefix}ar"
17928 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17929 break 2
17930 fi
17931 done
17932 done
17933 IFS=$as_save_IFS
17934
17935 fi
17936 fi
17937 AR=$ac_cv_prog_AR
17938 if test -n "$AR"; then
17939 { echo "$as_me:$LINENO: result: $AR" >&5
17940 echo "${ECHO_T}$AR" >&6; }
17941 else
17942 { echo "$as_me:$LINENO: result: no" >&5
17943 echo "${ECHO_T}no" >&6; }
17944 fi
17945
17946
17947 fi
17948 if test -z "$ac_cv_prog_AR"; then
17949 ac_ct_AR=$AR
17950 # Extract the first word of "ar", so it can be a program name with args.
17951 set dummy ar; ac_word=$2
17952 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17954 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
17955 echo $ECHO_N "(cached) $ECHO_C" >&6
17956 else
17957 if test -n "$ac_ct_AR"; then
17958 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
17959 else
17960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17961 for as_dir in $PATH
17962 do
17963 IFS=$as_save_IFS
17964 test -z "$as_dir" && as_dir=.
17965 for ac_exec_ext in '' $ac_executable_extensions; do
17966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17967 ac_cv_prog_ac_ct_AR="ar"
17968 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17969 break 2
17970 fi
17971 done
17972 done
17973 IFS=$as_save_IFS
17974
17975 fi
17976 fi
17977 ac_ct_AR=$ac_cv_prog_ac_ct_AR
17978 if test -n "$ac_ct_AR"; then
17979 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
17980 echo "${ECHO_T}$ac_ct_AR" >&6; }
17981 else
17982 { echo "$as_me:$LINENO: result: no" >&5
17983 echo "${ECHO_T}no" >&6; }
17984 fi
17985
17986 if test "x$ac_ct_AR" = x; then
17987 AR=""
17988 else
17989 case $cross_compiling:$ac_tool_warned in
17990 yes:)
17991 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17992 whose name does not start with the host triplet. If you think this
17993 configuration is useful to you, please write to autoconf@gnu.org." >&5
17994 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17995 whose name does not start with the host triplet. If you think this
17996 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17997 ac_tool_warned=yes ;;
17998 esac
17999 AR=$ac_ct_AR
18000 fi
18001 else
18002 AR="$ac_cv_prog_AR"
18003 fi
18004
18005 if test "x$AR" = "x" ; then
18006 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18007 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18008 { (exit 1); exit 1; }; }
18009 fi
18010 fi
18011
18012 retest_macosx_linking=no
18013
18014 #if test "$wxUSE_MAC" = 1; then
18015 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18016 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18017 # Implicitly turn on the new --with-macosx-sdk using the default
18018 # SDK which provides the behavior this option has always had.
18019 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18020 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18021 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18022 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18023 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18024 wxUSE_MACOSX_SDK=yes
18025 fi
18026 else
18027 # Complain to user if he specified an argument to --enable-universal_binary
18028 # and also 1) specified --with-macosx-sdk using the default (yes) or
18029 # 2) specified --with-macosx-sdk using a path or 3) specified
18030 # --without-macosx-sdk (no).
18031 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18032 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18033 See \`config.log' for more details." >&5
18034 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18035 See \`config.log' for more details." >&2;}
18036 { (exit 1); exit 1; }; }
18037 else
18038 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18039 # special-case the empty string because the below test simply
18040 # converts "no" to the empty string anyway.
18041 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18042 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18043 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18044 fi
18045 fi
18046 OSX_UNIV_OPTS="-arch ppc -arch i386"
18047 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18048 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18049 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18050 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18051 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18052 retest_macosx_linking=yes
18053
18054 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18055 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18056 bk_use_pch=no
18057 fi
18058 #fi
18059
18060 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18061 wxUSE_MACOSX_SDK=
18062 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18063 # TODO: Search for most recent SDK and use it.
18064 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18065 fi
18066
18067
18068 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18069 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18070 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18071 if ! test -d "$wxUSE_MACOSX_SDK"; then
18072 { { echo "$as_me:$LINENO: error: not found
18073 See \`config.log' for more details." >&5
18074 echo "$as_me: error: not found
18075 See \`config.log' for more details." >&2;}
18076 { (exit 1); exit 1; }; }
18077 else
18078 { echo "$as_me:$LINENO: result: exists" >&5
18079 echo "${ECHO_T}exists" >&6; }
18080 fi
18081 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18082 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18083 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18084 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18085 retest_macosx_linking=yes
18086 fi
18087
18088 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18089 wxUSE_MACOSX_VERSION_MIN=
18090 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18091 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18092 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18093 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18094
18095 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/'`
18096
18097 # If that failed, try again with the new key
18098 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18099
18100 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/'`
18101
18102 fi
18103
18104 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18105 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18106 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18107 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18108 else
18109 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18110 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18111 wxUSE_MACOSX_VERSION_MIN=
18112 fi
18113 else
18114 wxUSE_MACOSX_VERSION_MIN=
18115 fi
18116 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18117 if test "$wxUSE_MAC" = 1; then
18118 # otherwise configure stops on leopard for universal_binary
18119 wxUSE_MACOSX_VERSION_MIN=10.4
18120 fi
18121 fi
18122
18123 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18124 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18125 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18126 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18127 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18128 retest_macosx_linking=yes
18129 fi
18130
18131 if test "x$retest_macosx_linking" = "xyes"; then
18132 ac_ext=c
18133 ac_cpp='$CPP $CPPFLAGS'
18134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18137
18138 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18139 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18140 cat >conftest.$ac_ext <<_ACEOF
18141 /* confdefs.h. */
18142 _ACEOF
18143 cat confdefs.h >>conftest.$ac_ext
18144 cat >>conftest.$ac_ext <<_ACEOF
18145 /* end confdefs.h. */
18146
18147 int
18148 main ()
18149 {
18150
18151 ;
18152 return 0;
18153 }
18154 _ACEOF
18155 rm -f conftest.$ac_objext conftest$ac_exeext
18156 if { (ac_try="$ac_link"
18157 case "(($ac_try" in
18158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18159 *) ac_try_echo=$ac_try;;
18160 esac
18161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18162 (eval "$ac_link") 2>conftest.er1
18163 ac_status=$?
18164 grep -v '^ *+' conftest.er1 >conftest.err
18165 rm -f conftest.er1
18166 cat conftest.err >&5
18167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18168 (exit $ac_status); } && {
18169 test -z "$ac_c_werror_flag" ||
18170 test ! -s conftest.err
18171 } && test -s conftest$ac_exeext &&
18172 $as_test_x conftest$ac_exeext; then
18173 { echo "$as_me:$LINENO: result: yes" >&5
18174 echo "${ECHO_T}yes" >&6; }
18175 else
18176 echo "$as_me: failed program was:" >&5
18177 sed 's/^/| /' conftest.$ac_ext >&5
18178
18179 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18180 See \`config.log' for more details." >&5
18181 echo "$as_me: error: no. Try a different SDK
18182 See \`config.log' for more details." >&2;}
18183 { (exit 1); exit 1; }; }; exit 1
18184 fi
18185
18186 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18187 conftest$ac_exeext conftest.$ac_ext
18188 ac_ext=c
18189 ac_cpp='$CPP $CPPFLAGS'
18190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18193
18194
18195 ac_ext=cpp
18196 ac_cpp='$CXXCPP $CPPFLAGS'
18197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18200
18201 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18202 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18203 cat >conftest.$ac_ext <<_ACEOF
18204 /* confdefs.h. */
18205 _ACEOF
18206 cat confdefs.h >>conftest.$ac_ext
18207 cat >>conftest.$ac_ext <<_ACEOF
18208 /* end confdefs.h. */
18209
18210 int
18211 main ()
18212 {
18213
18214 ;
18215 return 0;
18216 }
18217 _ACEOF
18218 rm -f conftest.$ac_objext conftest$ac_exeext
18219 if { (ac_try="$ac_link"
18220 case "(($ac_try" in
18221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18222 *) ac_try_echo=$ac_try;;
18223 esac
18224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18225 (eval "$ac_link") 2>conftest.er1
18226 ac_status=$?
18227 grep -v '^ *+' conftest.er1 >conftest.err
18228 rm -f conftest.er1
18229 cat conftest.err >&5
18230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18231 (exit $ac_status); } && {
18232 test -z "$ac_cxx_werror_flag" ||
18233 test ! -s conftest.err
18234 } && test -s conftest$ac_exeext &&
18235 $as_test_x conftest$ac_exeext; then
18236 { echo "$as_me:$LINENO: result: yes" >&5
18237 echo "${ECHO_T}yes" >&6; }
18238 else
18239 echo "$as_me: failed program was:" >&5
18240 sed 's/^/| /' conftest.$ac_ext >&5
18241
18242 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18243 See \`config.log' for more details." >&5
18244 echo "$as_me: error: no. Try a different SDK
18245 See \`config.log' for more details." >&2;}
18246 { (exit 1); exit 1; }; }; exit 1
18247 fi
18248
18249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18250 conftest$ac_exeext conftest.$ac_ext
18251 ac_ext=c
18252 ac_cpp='$CPP $CPPFLAGS'
18253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18256
18257 fi
18258
18259
18260 case "${host}" in
18261
18262 *-*-darwin* )
18263 INSTALL_PROGRAM="cp -fp"
18264 INSTALL_DATA="cp -fp"
18265 ;;
18266 *)
18267 ;;
18268 esac
18269
18270
18271 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18272 CXXFLAGS="-qunique $CXXFLAGS"
18273 fi
18274
18275 case "${host}" in
18276 powerpc-*-darwin* )
18277 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18278 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18279 cat >conftest.$ac_ext <<_ACEOF
18280 /* confdefs.h. */
18281 _ACEOF
18282 cat confdefs.h >>conftest.$ac_ext
18283 cat >>conftest.$ac_ext <<_ACEOF
18284 /* end confdefs.h. */
18285
18286 int
18287 main ()
18288 {
18289 #ifndef __POWERPC__
18290 choke me for lack of PowerPC
18291 #endif
18292
18293 ;
18294 return 0;
18295 }
18296 _ACEOF
18297 rm -f conftest.$ac_objext
18298 if { (ac_try="$ac_compile"
18299 case "(($ac_try" in
18300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18301 *) ac_try_echo=$ac_try;;
18302 esac
18303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18304 (eval "$ac_compile") 2>conftest.er1
18305 ac_status=$?
18306 grep -v '^ *+' conftest.er1 >conftest.err
18307 rm -f conftest.er1
18308 cat conftest.err >&5
18309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18310 (exit $ac_status); } && {
18311 test -z "$ac_c_werror_flag" ||
18312 test ! -s conftest.err
18313 } && test -s conftest.$ac_objext; then
18314 { echo "$as_me:$LINENO: result: yes" >&5
18315 echo "${ECHO_T}yes" >&6; }
18316 else
18317 echo "$as_me: failed program was:" >&5
18318 sed 's/^/| /' conftest.$ac_ext >&5
18319
18320 { echo "$as_me:$LINENO: result: no" >&5
18321 echo "${ECHO_T}no" >&6; }
18322 cat >>confdefs.h <<\_ACEOF
18323 #define __POWERPC__ 1
18324 _ACEOF
18325
18326
18327 fi
18328
18329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18330 ;;
18331 esac
18332
18333 case "${host}" in
18334 *-*-darwin* )
18335 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18336 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18337 cat >conftest.$ac_ext <<_ACEOF
18338 /* confdefs.h. */
18339 _ACEOF
18340 cat confdefs.h >>conftest.$ac_ext
18341 cat >>conftest.$ac_ext <<_ACEOF
18342 /* end confdefs.h. */
18343 #include <CoreFoundation/CFBase.h>
18344
18345 int
18346 main ()
18347 {
18348
18349 ;
18350 return 0;
18351 }
18352 _ACEOF
18353 rm -f conftest.$ac_objext
18354 if { (ac_try="$ac_compile"
18355 case "(($ac_try" in
18356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18357 *) ac_try_echo=$ac_try;;
18358 esac
18359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18360 (eval "$ac_compile") 2>conftest.er1
18361 ac_status=$?
18362 grep -v '^ *+' conftest.er1 >conftest.err
18363 rm -f conftest.er1
18364 cat conftest.err >&5
18365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18366 (exit $ac_status); } && {
18367 test -z "$ac_c_werror_flag" ||
18368 test ! -s conftest.err
18369 } && test -s conftest.$ac_objext; then
18370 { echo "$as_me:$LINENO: result: yes" >&5
18371 echo "${ECHO_T}yes" >&6; }
18372 else
18373 echo "$as_me: failed program was:" >&5
18374 sed 's/^/| /' conftest.$ac_ext >&5
18375
18376 { echo "$as_me:$LINENO: result: no" >&5
18377 echo "${ECHO_T}no" >&6; }
18378 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18379 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18380 cat >conftest.$ac_ext <<_ACEOF
18381 /* confdefs.h. */
18382 _ACEOF
18383 cat confdefs.h >>conftest.$ac_ext
18384 cat >>conftest.$ac_ext <<_ACEOF
18385 /* end confdefs.h. */
18386 #define __CF_USE_FRAMEWORK_INCLUDES__
18387 #include <CoreFoundation/CFBase.h>
18388
18389 int
18390 main ()
18391 {
18392
18393 ;
18394 return 0;
18395 }
18396 _ACEOF
18397 rm -f conftest.$ac_objext
18398 if { (ac_try="$ac_compile"
18399 case "(($ac_try" in
18400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18401 *) ac_try_echo=$ac_try;;
18402 esac
18403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18404 (eval "$ac_compile") 2>conftest.er1
18405 ac_status=$?
18406 grep -v '^ *+' conftest.er1 >conftest.err
18407 rm -f conftest.er1
18408 cat conftest.err >&5
18409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18410 (exit $ac_status); } && {
18411 test -z "$ac_c_werror_flag" ||
18412 test ! -s conftest.err
18413 } && test -s conftest.$ac_objext; then
18414 { echo "$as_me:$LINENO: result: yes" >&5
18415 echo "${ECHO_T}yes" >&6; }
18416 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18417 else
18418 echo "$as_me: failed program was:" >&5
18419 sed 's/^/| /' conftest.$ac_ext >&5
18420
18421 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18422 See \`config.log' for more details." >&5
18423 echo "$as_me: error: no. CoreFoundation not available.
18424 See \`config.log' for more details." >&2;}
18425 { (exit 1); exit 1; }; }
18426
18427 fi
18428
18429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18430
18431
18432 fi
18433
18434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18435 ;;
18436 esac
18437
18438 wants_win32=0
18439 doesnt_want_win32=0
18440 case "${host}" in
18441 *-*-cygwin*)
18442 if test "$wxUSE_MSW" = 1 ; then
18443 wants_win32=1
18444 else
18445 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18446 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18447 if test "${wx_cv_nocygwin+set}" = set; then
18448 echo $ECHO_N "(cached) $ECHO_C" >&6
18449 else
18450
18451 cat >conftest.$ac_ext <<_ACEOF
18452 /* confdefs.h. */
18453 _ACEOF
18454 cat confdefs.h >>conftest.$ac_ext
18455 cat >>conftest.$ac_ext <<_ACEOF
18456 /* end confdefs.h. */
18457
18458 int
18459 main ()
18460 {
18461
18462 #ifdef __MINGW32__
18463 choke me
18464 #endif
18465
18466 ;
18467 return 0;
18468 }
18469 _ACEOF
18470 rm -f conftest.$ac_objext
18471 if { (ac_try="$ac_compile"
18472 case "(($ac_try" in
18473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18474 *) ac_try_echo=$ac_try;;
18475 esac
18476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18477 (eval "$ac_compile") 2>conftest.er1
18478 ac_status=$?
18479 grep -v '^ *+' conftest.er1 >conftest.err
18480 rm -f conftest.er1
18481 cat conftest.err >&5
18482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18483 (exit $ac_status); } && {
18484 test -z "$ac_c_werror_flag" ||
18485 test ! -s conftest.err
18486 } && test -s conftest.$ac_objext; then
18487 wx_cv_nocygwin=no
18488 else
18489 echo "$as_me: failed program was:" >&5
18490 sed 's/^/| /' conftest.$ac_ext >&5
18491
18492 wx_cv_nocygwin=yes
18493
18494 fi
18495
18496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18497
18498
18499 fi
18500 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18501 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18502
18503 if test "$wx_cv_nocygwin" = "yes"; then
18504 wants_win32=1
18505 else
18506 doesnt_want_win32=1
18507 fi
18508 fi
18509 if test "$wants_win32" = 1 ; then
18510 BAKEFILE_FORCE_PLATFORM=win32
18511 fi
18512 ;;
18513 *-*-mingw*)
18514 wants_win32=1
18515 ;;
18516 esac
18517
18518 if test "$wxUSE_WINE" = "yes"; then
18519 wants_win32=1
18520 LDFLAGS_GUI="-mwindows"
18521 fi
18522
18523 if test "$wants_win32" = 1 ; then
18524 USE_UNIX=0
18525 USE_WIN32=1
18526 cat >>confdefs.h <<\_ACEOF
18527 #define __WIN32__ 1
18528 _ACEOF
18529
18530 cat >>confdefs.h <<\_ACEOF
18531 #define __WIN95__ 1
18532 _ACEOF
18533
18534 cat >>confdefs.h <<\_ACEOF
18535 #define __WINDOWS__ 1
18536 _ACEOF
18537
18538 cat >>confdefs.h <<\_ACEOF
18539 #define __GNUWIN32__ 1
18540 _ACEOF
18541
18542 cat >>confdefs.h <<\_ACEOF
18543 #define STRICT 1
18544 _ACEOF
18545
18546 fi
18547 if test "$doesnt_want_win32" = 1 ; then
18548 USE_UNIX=1
18549 USE_WIN32=0
18550 fi
18551
18552 if test "$USE_UNIX" = 1 ; then
18553 wxUSE_UNIX=yes
18554 cat >>confdefs.h <<\_ACEOF
18555 #define __UNIX__ 1
18556 _ACEOF
18557
18558 fi
18559
18560 case "${host}" in
18561 *-pc-os2_emx | *-pc-os2-emx )
18562 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18563 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18564 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18565 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18566 echo $ECHO_N "(cached) $ECHO_C" >&6
18567 else
18568 ac_check_lib_save_LIBS=$LIBS
18569 LIBS="-lcExt $LIBS"
18570 cat >conftest.$ac_ext <<_ACEOF
18571 /* confdefs.h. */
18572 _ACEOF
18573 cat confdefs.h >>conftest.$ac_ext
18574 cat >>conftest.$ac_ext <<_ACEOF
18575 /* end confdefs.h. */
18576
18577 /* Override any GCC internal prototype to avoid an error.
18578 Use char because int might match the return type of a GCC
18579 builtin and then its argument prototype would still apply. */
18580 #ifdef __cplusplus
18581 extern "C"
18582 #endif
18583 char drand48 ();
18584 int
18585 main ()
18586 {
18587 return drand48 ();
18588 ;
18589 return 0;
18590 }
18591 _ACEOF
18592 rm -f conftest.$ac_objext conftest$ac_exeext
18593 if { (ac_try="$ac_link"
18594 case "(($ac_try" in
18595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18596 *) ac_try_echo=$ac_try;;
18597 esac
18598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18599 (eval "$ac_link") 2>conftest.er1
18600 ac_status=$?
18601 grep -v '^ *+' conftest.er1 >conftest.err
18602 rm -f conftest.er1
18603 cat conftest.err >&5
18604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18605 (exit $ac_status); } && {
18606 test -z "$ac_c_werror_flag" ||
18607 test ! -s conftest.err
18608 } && test -s conftest$ac_exeext &&
18609 $as_test_x conftest$ac_exeext; then
18610 ac_cv_lib_cExt_drand48=yes
18611 else
18612 echo "$as_me: failed program was:" >&5
18613 sed 's/^/| /' conftest.$ac_ext >&5
18614
18615 ac_cv_lib_cExt_drand48=no
18616 fi
18617
18618 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18619 conftest$ac_exeext conftest.$ac_ext
18620 LIBS=$ac_check_lib_save_LIBS
18621 fi
18622 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18623 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18624 if test $ac_cv_lib_cExt_drand48 = yes; then
18625 LIBS="$LIBS -lcExt"
18626 fi
18627
18628 else
18629 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18630 fi
18631 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18632 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18633 if test "${wx_cv_gccversion+set}" = set; then
18634 echo $ECHO_N "(cached) $ECHO_C" >&6
18635 else
18636
18637 if test "$cross_compiling" = yes; then
18638 wx_cv_gccversion="EMX2"
18639
18640 else
18641 cat >conftest.$ac_ext <<_ACEOF
18642 /* confdefs.h. */
18643 _ACEOF
18644 cat confdefs.h >>conftest.$ac_ext
18645 cat >>conftest.$ac_ext <<_ACEOF
18646 /* end confdefs.h. */
18647
18648 #include <stdio.h>
18649
18650 int main()
18651 {
18652 FILE *f=fopen("conftestval", "w");
18653 if (!f) exit(1);
18654 fprintf(f,
18655 #if (__GNUC__ < 3)
18656 "EMX2"
18657 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18658 "EMX3"
18659 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18660 "Innotek5"
18661 #else
18662 "Innotek6"
18663 #endif
18664 );
18665 exit(0);
18666 }
18667
18668 _ACEOF
18669 rm -f conftest$ac_exeext
18670 if { (ac_try="$ac_link"
18671 case "(($ac_try" in
18672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18673 *) ac_try_echo=$ac_try;;
18674 esac
18675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18676 (eval "$ac_link") 2>&5
18677 ac_status=$?
18678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18679 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18680 { (case "(($ac_try" in
18681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18682 *) ac_try_echo=$ac_try;;
18683 esac
18684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18685 (eval "$ac_try") 2>&5
18686 ac_status=$?
18687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18688 (exit $ac_status); }; }; then
18689 wx_cv_gccversion=`cat conftestval`
18690 else
18691 echo "$as_me: program exited with status $ac_status" >&5
18692 echo "$as_me: failed program was:" >&5
18693 sed 's/^/| /' conftest.$ac_ext >&5
18694
18695 ( exit $ac_status )
18696 wx_cv_gccversion="EMX2"
18697 fi
18698 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18699 fi
18700
18701
18702
18703 fi
18704 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18705 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18706 if test "$wx_cv_gccversion" = "EMX2"; then
18707 LIBS="$LIBS -lstdcpp"
18708 LDFLAGS="$LDFLAGS -Zsysv-signals"
18709 else
18710 if test "$wx_cv_gccversion" = "EMX3"; then
18711 LIBS="$LIBS -lstdcxx -lgcc"
18712 LDFLAGS="$LDFLAGS -Zsysv-signals"
18713 else
18714 LIBS="$LIBS -lstdc++"
18715 fi
18716 fi
18717 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18718 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18719 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18720 wxUSE_OMF=yes
18721 enable_omf=yes
18722 fi
18723 ;;
18724 *)
18725
18726 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18727 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18728 if test "${ac_cv_string_strcasecmp+set}" = set; then
18729 echo $ECHO_N "(cached) $ECHO_C" >&6
18730 else
18731
18732 cat >conftest.$ac_ext <<_ACEOF
18733 /* confdefs.h. */
18734 _ACEOF
18735 cat confdefs.h >>conftest.$ac_ext
18736 cat >>conftest.$ac_ext <<_ACEOF
18737 /* end confdefs.h. */
18738
18739 #include <string.h>
18740
18741 int
18742 main ()
18743 {
18744
18745 strcasecmp("foo", "bar");
18746
18747 ;
18748 return 0;
18749 }
18750 _ACEOF
18751 rm -f conftest.$ac_objext conftest$ac_exeext
18752 if { (ac_try="$ac_link"
18753 case "(($ac_try" in
18754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18755 *) ac_try_echo=$ac_try;;
18756 esac
18757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18758 (eval "$ac_link") 2>conftest.er1
18759 ac_status=$?
18760 grep -v '^ *+' conftest.er1 >conftest.err
18761 rm -f conftest.er1
18762 cat conftest.err >&5
18763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18764 (exit $ac_status); } && {
18765 test -z "$ac_c_werror_flag" ||
18766 test ! -s conftest.err
18767 } && test -s conftest$ac_exeext &&
18768 $as_test_x conftest$ac_exeext; then
18769 ac_cv_string_strcasecmp=yes
18770 else
18771 echo "$as_me: failed program was:" >&5
18772 sed 's/^/| /' conftest.$ac_ext >&5
18773
18774 ac_cv_string_strcasecmp=no
18775
18776 fi
18777
18778 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18779 conftest$ac_exeext conftest.$ac_ext
18780
18781 fi
18782 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18783 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18784
18785 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18786 cat >>confdefs.h <<\_ACEOF
18787 #define HAVE_STRCASECMP_IN_STRING_H 1
18788 _ACEOF
18789
18790 else
18791 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18792 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18793 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18794 echo $ECHO_N "(cached) $ECHO_C" >&6
18795 else
18796
18797 cat >conftest.$ac_ext <<_ACEOF
18798 /* confdefs.h. */
18799 _ACEOF
18800 cat confdefs.h >>conftest.$ac_ext
18801 cat >>conftest.$ac_ext <<_ACEOF
18802 /* end confdefs.h. */
18803
18804 #include <strings.h>
18805
18806 int
18807 main ()
18808 {
18809
18810 strcasecmp("foo", "bar");
18811
18812 ;
18813 return 0;
18814 }
18815 _ACEOF
18816 rm -f conftest.$ac_objext conftest$ac_exeext
18817 if { (ac_try="$ac_link"
18818 case "(($ac_try" in
18819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18820 *) ac_try_echo=$ac_try;;
18821 esac
18822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18823 (eval "$ac_link") 2>conftest.er1
18824 ac_status=$?
18825 grep -v '^ *+' conftest.er1 >conftest.err
18826 rm -f conftest.er1
18827 cat conftest.err >&5
18828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18829 (exit $ac_status); } && {
18830 test -z "$ac_c_werror_flag" ||
18831 test ! -s conftest.err
18832 } && test -s conftest$ac_exeext &&
18833 $as_test_x conftest$ac_exeext; then
18834 ac_cv_strings_strcasecmp=yes
18835 else
18836 echo "$as_me: failed program was:" >&5
18837 sed 's/^/| /' conftest.$ac_ext >&5
18838
18839 ac_cv_strings_strcasecmp=no
18840
18841 fi
18842
18843 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18844 conftest$ac_exeext conftest.$ac_ext
18845
18846 fi
18847 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18848 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18849
18850 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18851 cat >>confdefs.h <<\_ACEOF
18852 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18853 _ACEOF
18854
18855 else
18856 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18857 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18858 { (exit 1); exit 1; }; }
18859 fi
18860 fi
18861
18862 ;;
18863 esac
18864
18865
18866 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18867 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18868 if test "${ac_cv_header_stdc+set}" = set; then
18869 echo $ECHO_N "(cached) $ECHO_C" >&6
18870 else
18871 cat >conftest.$ac_ext <<_ACEOF
18872 /* confdefs.h. */
18873 _ACEOF
18874 cat confdefs.h >>conftest.$ac_ext
18875 cat >>conftest.$ac_ext <<_ACEOF
18876 /* end confdefs.h. */
18877 #include <stdlib.h>
18878 #include <stdarg.h>
18879 #include <string.h>
18880 #include <float.h>
18881
18882 int
18883 main ()
18884 {
18885
18886 ;
18887 return 0;
18888 }
18889 _ACEOF
18890 rm -f conftest.$ac_objext
18891 if { (ac_try="$ac_compile"
18892 case "(($ac_try" in
18893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18894 *) ac_try_echo=$ac_try;;
18895 esac
18896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18897 (eval "$ac_compile") 2>conftest.er1
18898 ac_status=$?
18899 grep -v '^ *+' conftest.er1 >conftest.err
18900 rm -f conftest.er1
18901 cat conftest.err >&5
18902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18903 (exit $ac_status); } && {
18904 test -z "$ac_c_werror_flag" ||
18905 test ! -s conftest.err
18906 } && test -s conftest.$ac_objext; then
18907 ac_cv_header_stdc=yes
18908 else
18909 echo "$as_me: failed program was:" >&5
18910 sed 's/^/| /' conftest.$ac_ext >&5
18911
18912 ac_cv_header_stdc=no
18913 fi
18914
18915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18916
18917 if test $ac_cv_header_stdc = yes; then
18918 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18919 cat >conftest.$ac_ext <<_ACEOF
18920 /* confdefs.h. */
18921 _ACEOF
18922 cat confdefs.h >>conftest.$ac_ext
18923 cat >>conftest.$ac_ext <<_ACEOF
18924 /* end confdefs.h. */
18925 #include <string.h>
18926
18927 _ACEOF
18928 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18929 $EGREP "memchr" >/dev/null 2>&1; then
18930 :
18931 else
18932 ac_cv_header_stdc=no
18933 fi
18934 rm -f conftest*
18935
18936 fi
18937
18938 if test $ac_cv_header_stdc = yes; then
18939 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18940 cat >conftest.$ac_ext <<_ACEOF
18941 /* confdefs.h. */
18942 _ACEOF
18943 cat confdefs.h >>conftest.$ac_ext
18944 cat >>conftest.$ac_ext <<_ACEOF
18945 /* end confdefs.h. */
18946 #include <stdlib.h>
18947
18948 _ACEOF
18949 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18950 $EGREP "free" >/dev/null 2>&1; then
18951 :
18952 else
18953 ac_cv_header_stdc=no
18954 fi
18955 rm -f conftest*
18956
18957 fi
18958
18959 if test $ac_cv_header_stdc = yes; then
18960 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18961 if test "$cross_compiling" = yes; then
18962 :
18963 else
18964 cat >conftest.$ac_ext <<_ACEOF
18965 /* confdefs.h. */
18966 _ACEOF
18967 cat confdefs.h >>conftest.$ac_ext
18968 cat >>conftest.$ac_ext <<_ACEOF
18969 /* end confdefs.h. */
18970 #include <ctype.h>
18971 #include <stdlib.h>
18972 #if ((' ' & 0x0FF) == 0x020)
18973 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18974 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18975 #else
18976 # define ISLOWER(c) \
18977 (('a' <= (c) && (c) <= 'i') \
18978 || ('j' <= (c) && (c) <= 'r') \
18979 || ('s' <= (c) && (c) <= 'z'))
18980 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18981 #endif
18982
18983 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18984 int
18985 main ()
18986 {
18987 int i;
18988 for (i = 0; i < 256; i++)
18989 if (XOR (islower (i), ISLOWER (i))
18990 || toupper (i) != TOUPPER (i))
18991 return 2;
18992 return 0;
18993 }
18994 _ACEOF
18995 rm -f conftest$ac_exeext
18996 if { (ac_try="$ac_link"
18997 case "(($ac_try" in
18998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18999 *) ac_try_echo=$ac_try;;
19000 esac
19001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19002 (eval "$ac_link") 2>&5
19003 ac_status=$?
19004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19005 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19006 { (case "(($ac_try" in
19007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19008 *) ac_try_echo=$ac_try;;
19009 esac
19010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19011 (eval "$ac_try") 2>&5
19012 ac_status=$?
19013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19014 (exit $ac_status); }; }; then
19015 :
19016 else
19017 echo "$as_me: program exited with status $ac_status" >&5
19018 echo "$as_me: failed program was:" >&5
19019 sed 's/^/| /' conftest.$ac_ext >&5
19020
19021 ( exit $ac_status )
19022 ac_cv_header_stdc=no
19023 fi
19024 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19025 fi
19026
19027
19028 fi
19029 fi
19030 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19031 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19032 if test $ac_cv_header_stdc = yes; then
19033
19034 cat >>confdefs.h <<\_ACEOF
19035 #define STDC_HEADERS 1
19036 _ACEOF
19037
19038 fi
19039
19040 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19041
19042
19043
19044
19045
19046
19047
19048
19049
19050 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19051 inttypes.h stdint.h unistd.h
19052 do
19053 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19054 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19055 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19056 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19057 echo $ECHO_N "(cached) $ECHO_C" >&6
19058 else
19059 cat >conftest.$ac_ext <<_ACEOF
19060 /* confdefs.h. */
19061 _ACEOF
19062 cat confdefs.h >>conftest.$ac_ext
19063 cat >>conftest.$ac_ext <<_ACEOF
19064 /* end confdefs.h. */
19065 $ac_includes_default
19066
19067 #include <$ac_header>
19068 _ACEOF
19069 rm -f conftest.$ac_objext
19070 if { (ac_try="$ac_compile"
19071 case "(($ac_try" in
19072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19073 *) ac_try_echo=$ac_try;;
19074 esac
19075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19076 (eval "$ac_compile") 2>conftest.er1
19077 ac_status=$?
19078 grep -v '^ *+' conftest.er1 >conftest.err
19079 rm -f conftest.er1
19080 cat conftest.err >&5
19081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19082 (exit $ac_status); } && {
19083 test -z "$ac_c_werror_flag" ||
19084 test ! -s conftest.err
19085 } && test -s conftest.$ac_objext; then
19086 eval "$as_ac_Header=yes"
19087 else
19088 echo "$as_me: failed program was:" >&5
19089 sed 's/^/| /' conftest.$ac_ext >&5
19090
19091 eval "$as_ac_Header=no"
19092 fi
19093
19094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19095 fi
19096 ac_res=`eval echo '${'$as_ac_Header'}'`
19097 { echo "$as_me:$LINENO: result: $ac_res" >&5
19098 echo "${ECHO_T}$ac_res" >&6; }
19099 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19100 cat >>confdefs.h <<_ACEOF
19101 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19102 _ACEOF
19103
19104 fi
19105
19106 done
19107
19108
19109
19110
19111 for ac_header in langinfo.h wchar.h
19112 do
19113 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19114 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19116 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19117 echo $ECHO_N "(cached) $ECHO_C" >&6
19118 else
19119 cat >conftest.$ac_ext <<_ACEOF
19120 /* confdefs.h. */
19121 _ACEOF
19122 cat confdefs.h >>conftest.$ac_ext
19123 cat >>conftest.$ac_ext <<_ACEOF
19124 /* end confdefs.h. */
19125 $ac_includes_default
19126
19127 #include <$ac_header>
19128 _ACEOF
19129 rm -f conftest.$ac_objext
19130 if { (ac_try="$ac_compile"
19131 case "(($ac_try" in
19132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19133 *) ac_try_echo=$ac_try;;
19134 esac
19135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19136 (eval "$ac_compile") 2>conftest.er1
19137 ac_status=$?
19138 grep -v '^ *+' conftest.er1 >conftest.err
19139 rm -f conftest.er1
19140 cat conftest.err >&5
19141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19142 (exit $ac_status); } && {
19143 test -z "$ac_c_werror_flag" ||
19144 test ! -s conftest.err
19145 } && test -s conftest.$ac_objext; then
19146 eval "$as_ac_Header=yes"
19147 else
19148 echo "$as_me: failed program was:" >&5
19149 sed 's/^/| /' conftest.$ac_ext >&5
19150
19151 eval "$as_ac_Header=no"
19152 fi
19153
19154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19155 fi
19156 ac_res=`eval echo '${'$as_ac_Header'}'`
19157 { echo "$as_me:$LINENO: result: $ac_res" >&5
19158 echo "${ECHO_T}$ac_res" >&6; }
19159 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19160 cat >>confdefs.h <<_ACEOF
19161 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19162 _ACEOF
19163
19164 fi
19165
19166 done
19167
19168
19169 if test "$ac_cv_header_wchar_h" != "yes"; then
19170
19171 for ac_header in wcstr.h
19172 do
19173 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19174 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19175 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19176 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19177 echo $ECHO_N "(cached) $ECHO_C" >&6
19178 else
19179 cat >conftest.$ac_ext <<_ACEOF
19180 /* confdefs.h. */
19181 _ACEOF
19182 cat confdefs.h >>conftest.$ac_ext
19183 cat >>conftest.$ac_ext <<_ACEOF
19184 /* end confdefs.h. */
19185 $ac_includes_default
19186
19187 #include <$ac_header>
19188 _ACEOF
19189 rm -f conftest.$ac_objext
19190 if { (ac_try="$ac_compile"
19191 case "(($ac_try" in
19192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19193 *) ac_try_echo=$ac_try;;
19194 esac
19195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19196 (eval "$ac_compile") 2>conftest.er1
19197 ac_status=$?
19198 grep -v '^ *+' conftest.er1 >conftest.err
19199 rm -f conftest.er1
19200 cat conftest.err >&5
19201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19202 (exit $ac_status); } && {
19203 test -z "$ac_c_werror_flag" ||
19204 test ! -s conftest.err
19205 } && test -s conftest.$ac_objext; then
19206 eval "$as_ac_Header=yes"
19207 else
19208 echo "$as_me: failed program was:" >&5
19209 sed 's/^/| /' conftest.$ac_ext >&5
19210
19211 eval "$as_ac_Header=no"
19212 fi
19213
19214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19215 fi
19216 ac_res=`eval echo '${'$as_ac_Header'}'`
19217 { echo "$as_me:$LINENO: result: $ac_res" >&5
19218 echo "${ECHO_T}$ac_res" >&6; }
19219 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19220 cat >>confdefs.h <<_ACEOF
19221 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19222 _ACEOF
19223
19224 fi
19225
19226 done
19227
19228 fi
19229
19230 case "${host}" in
19231 *-pc-os2_emx | *-pc-os2-emx )
19232 if test $ac_cv_header_langinfo_h = "yes" \
19233 -a \( "$wx_cv_gccversion" = "EMX2" \
19234 -o "$wx_cv_gccversion" = "EMX3" \
19235 -o "$wx_cv_gccversion" = "Innotek5" \); then
19236 LIBS="$LIBS -lintl"
19237 fi
19238 ;;
19239 esac
19240
19241 if test "$USE_UNIX" = 1 ; then
19242
19243 for ac_header in sys/select.h
19244 do
19245 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19246 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19247 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19248 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19249 echo $ECHO_N "(cached) $ECHO_C" >&6
19250 else
19251 cat >conftest.$ac_ext <<_ACEOF
19252 /* confdefs.h. */
19253 _ACEOF
19254 cat confdefs.h >>conftest.$ac_ext
19255 cat >>conftest.$ac_ext <<_ACEOF
19256 /* end confdefs.h. */
19257 $ac_includes_default
19258
19259 #include <$ac_header>
19260 _ACEOF
19261 rm -f conftest.$ac_objext
19262 if { (ac_try="$ac_compile"
19263 case "(($ac_try" in
19264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19265 *) ac_try_echo=$ac_try;;
19266 esac
19267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19268 (eval "$ac_compile") 2>conftest.er1
19269 ac_status=$?
19270 grep -v '^ *+' conftest.er1 >conftest.err
19271 rm -f conftest.er1
19272 cat conftest.err >&5
19273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19274 (exit $ac_status); } && {
19275 test -z "$ac_c_werror_flag" ||
19276 test ! -s conftest.err
19277 } && test -s conftest.$ac_objext; then
19278 eval "$as_ac_Header=yes"
19279 else
19280 echo "$as_me: failed program was:" >&5
19281 sed 's/^/| /' conftest.$ac_ext >&5
19282
19283 eval "$as_ac_Header=no"
19284 fi
19285
19286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19287 fi
19288 ac_res=`eval echo '${'$as_ac_Header'}'`
19289 { echo "$as_me:$LINENO: result: $ac_res" >&5
19290 echo "${ECHO_T}$ac_res" >&6; }
19291 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19292 cat >>confdefs.h <<_ACEOF
19293 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19294 _ACEOF
19295
19296 fi
19297
19298 done
19299
19300 fi
19301
19302
19303 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19304 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19305 if test "${ac_cv_c_const+set}" = set; then
19306 echo $ECHO_N "(cached) $ECHO_C" >&6
19307 else
19308 cat >conftest.$ac_ext <<_ACEOF
19309 /* confdefs.h. */
19310 _ACEOF
19311 cat confdefs.h >>conftest.$ac_ext
19312 cat >>conftest.$ac_ext <<_ACEOF
19313 /* end confdefs.h. */
19314
19315 int
19316 main ()
19317 {
19318 /* FIXME: Include the comments suggested by Paul. */
19319 #ifndef __cplusplus
19320 /* Ultrix mips cc rejects this. */
19321 typedef int charset[2];
19322 const charset cs;
19323 /* SunOS 4.1.1 cc rejects this. */
19324 char const *const *pcpcc;
19325 char **ppc;
19326 /* NEC SVR4.0.2 mips cc rejects this. */
19327 struct point {int x, y;};
19328 static struct point const zero = {0,0};
19329 /* AIX XL C 1.02.0.0 rejects this.
19330 It does not let you subtract one const X* pointer from another in
19331 an arm of an if-expression whose if-part is not a constant
19332 expression */
19333 const char *g = "string";
19334 pcpcc = &g + (g ? g-g : 0);
19335 /* HPUX 7.0 cc rejects these. */
19336 ++pcpcc;
19337 ppc = (char**) pcpcc;
19338 pcpcc = (char const *const *) ppc;
19339 { /* SCO 3.2v4 cc rejects this. */
19340 char *t;
19341 char const *s = 0 ? (char *) 0 : (char const *) 0;
19342
19343 *t++ = 0;
19344 if (s) return 0;
19345 }
19346 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19347 int x[] = {25, 17};
19348 const int *foo = &x[0];
19349 ++foo;
19350 }
19351 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19352 typedef const int *iptr;
19353 iptr p = 0;
19354 ++p;
19355 }
19356 { /* AIX XL C 1.02.0.0 rejects this saying
19357 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19358 struct s { int j; const int *ap[3]; };
19359 struct s *b; b->j = 5;
19360 }
19361 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19362 const int foo = 10;
19363 if (!foo) return 0;
19364 }
19365 return !cs[0] && !zero.x;
19366 #endif
19367
19368 ;
19369 return 0;
19370 }
19371 _ACEOF
19372 rm -f conftest.$ac_objext
19373 if { (ac_try="$ac_compile"
19374 case "(($ac_try" in
19375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19376 *) ac_try_echo=$ac_try;;
19377 esac
19378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19379 (eval "$ac_compile") 2>conftest.er1
19380 ac_status=$?
19381 grep -v '^ *+' conftest.er1 >conftest.err
19382 rm -f conftest.er1
19383 cat conftest.err >&5
19384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19385 (exit $ac_status); } && {
19386 test -z "$ac_c_werror_flag" ||
19387 test ! -s conftest.err
19388 } && test -s conftest.$ac_objext; then
19389 ac_cv_c_const=yes
19390 else
19391 echo "$as_me: failed program was:" >&5
19392 sed 's/^/| /' conftest.$ac_ext >&5
19393
19394 ac_cv_c_const=no
19395 fi
19396
19397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19398 fi
19399 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19400 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19401 if test $ac_cv_c_const = no; then
19402
19403 cat >>confdefs.h <<\_ACEOF
19404 #define const
19405 _ACEOF
19406
19407 fi
19408
19409 { echo "$as_me:$LINENO: checking for inline" >&5
19410 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19411 if test "${ac_cv_c_inline+set}" = set; then
19412 echo $ECHO_N "(cached) $ECHO_C" >&6
19413 else
19414 ac_cv_c_inline=no
19415 for ac_kw in inline __inline__ __inline; do
19416 cat >conftest.$ac_ext <<_ACEOF
19417 /* confdefs.h. */
19418 _ACEOF
19419 cat confdefs.h >>conftest.$ac_ext
19420 cat >>conftest.$ac_ext <<_ACEOF
19421 /* end confdefs.h. */
19422 #ifndef __cplusplus
19423 typedef int foo_t;
19424 static $ac_kw foo_t static_foo () {return 0; }
19425 $ac_kw foo_t foo () {return 0; }
19426 #endif
19427
19428 _ACEOF
19429 rm -f conftest.$ac_objext
19430 if { (ac_try="$ac_compile"
19431 case "(($ac_try" in
19432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19433 *) ac_try_echo=$ac_try;;
19434 esac
19435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19436 (eval "$ac_compile") 2>conftest.er1
19437 ac_status=$?
19438 grep -v '^ *+' conftest.er1 >conftest.err
19439 rm -f conftest.er1
19440 cat conftest.err >&5
19441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19442 (exit $ac_status); } && {
19443 test -z "$ac_c_werror_flag" ||
19444 test ! -s conftest.err
19445 } && test -s conftest.$ac_objext; then
19446 ac_cv_c_inline=$ac_kw
19447 else
19448 echo "$as_me: failed program was:" >&5
19449 sed 's/^/| /' conftest.$ac_ext >&5
19450
19451
19452 fi
19453
19454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19455 test "$ac_cv_c_inline" != no && break
19456 done
19457
19458 fi
19459 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19460 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19461
19462
19463 case $ac_cv_c_inline in
19464 inline | yes) ;;
19465 *)
19466 case $ac_cv_c_inline in
19467 no) ac_val=;;
19468 *) ac_val=$ac_cv_c_inline;;
19469 esac
19470 cat >>confdefs.h <<_ACEOF
19471 #ifndef __cplusplus
19472 #define inline $ac_val
19473 #endif
19474 _ACEOF
19475 ;;
19476 esac
19477
19478
19479 { echo "$as_me:$LINENO: checking for short" >&5
19480 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19481 if test "${ac_cv_type_short+set}" = set; then
19482 echo $ECHO_N "(cached) $ECHO_C" >&6
19483 else
19484 cat >conftest.$ac_ext <<_ACEOF
19485 /* confdefs.h. */
19486 _ACEOF
19487 cat confdefs.h >>conftest.$ac_ext
19488 cat >>conftest.$ac_ext <<_ACEOF
19489 /* end confdefs.h. */
19490 $ac_includes_default
19491 typedef short ac__type_new_;
19492 int
19493 main ()
19494 {
19495 if ((ac__type_new_ *) 0)
19496 return 0;
19497 if (sizeof (ac__type_new_))
19498 return 0;
19499 ;
19500 return 0;
19501 }
19502 _ACEOF
19503 rm -f conftest.$ac_objext
19504 if { (ac_try="$ac_compile"
19505 case "(($ac_try" in
19506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19507 *) ac_try_echo=$ac_try;;
19508 esac
19509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19510 (eval "$ac_compile") 2>conftest.er1
19511 ac_status=$?
19512 grep -v '^ *+' conftest.er1 >conftest.err
19513 rm -f conftest.er1
19514 cat conftest.err >&5
19515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19516 (exit $ac_status); } && {
19517 test -z "$ac_c_werror_flag" ||
19518 test ! -s conftest.err
19519 } && test -s conftest.$ac_objext; then
19520 ac_cv_type_short=yes
19521 else
19522 echo "$as_me: failed program was:" >&5
19523 sed 's/^/| /' conftest.$ac_ext >&5
19524
19525 ac_cv_type_short=no
19526 fi
19527
19528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19529 fi
19530 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19531 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19532
19533 # The cast to long int works around a bug in the HP C Compiler
19534 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19535 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19536 # This bug is HP SR number 8606223364.
19537 { echo "$as_me:$LINENO: checking size of short" >&5
19538 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19539 if test "${ac_cv_sizeof_short+set}" = set; then
19540 echo $ECHO_N "(cached) $ECHO_C" >&6
19541 else
19542 if test "$cross_compiling" = yes; then
19543 # Depending upon the size, compute the lo and hi bounds.
19544 cat >conftest.$ac_ext <<_ACEOF
19545 /* confdefs.h. */
19546 _ACEOF
19547 cat confdefs.h >>conftest.$ac_ext
19548 cat >>conftest.$ac_ext <<_ACEOF
19549 /* end confdefs.h. */
19550 $ac_includes_default
19551 typedef short ac__type_sizeof_;
19552 int
19553 main ()
19554 {
19555 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19556 test_array [0] = 0
19557
19558 ;
19559 return 0;
19560 }
19561 _ACEOF
19562 rm -f conftest.$ac_objext
19563 if { (ac_try="$ac_compile"
19564 case "(($ac_try" in
19565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19566 *) ac_try_echo=$ac_try;;
19567 esac
19568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19569 (eval "$ac_compile") 2>conftest.er1
19570 ac_status=$?
19571 grep -v '^ *+' conftest.er1 >conftest.err
19572 rm -f conftest.er1
19573 cat conftest.err >&5
19574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19575 (exit $ac_status); } && {
19576 test -z "$ac_c_werror_flag" ||
19577 test ! -s conftest.err
19578 } && test -s conftest.$ac_objext; then
19579 ac_lo=0 ac_mid=0
19580 while :; do
19581 cat >conftest.$ac_ext <<_ACEOF
19582 /* confdefs.h. */
19583 _ACEOF
19584 cat confdefs.h >>conftest.$ac_ext
19585 cat >>conftest.$ac_ext <<_ACEOF
19586 /* end confdefs.h. */
19587 $ac_includes_default
19588 typedef short ac__type_sizeof_;
19589 int
19590 main ()
19591 {
19592 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19593 test_array [0] = 0
19594
19595 ;
19596 return 0;
19597 }
19598 _ACEOF
19599 rm -f conftest.$ac_objext
19600 if { (ac_try="$ac_compile"
19601 case "(($ac_try" in
19602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19603 *) ac_try_echo=$ac_try;;
19604 esac
19605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19606 (eval "$ac_compile") 2>conftest.er1
19607 ac_status=$?
19608 grep -v '^ *+' conftest.er1 >conftest.err
19609 rm -f conftest.er1
19610 cat conftest.err >&5
19611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19612 (exit $ac_status); } && {
19613 test -z "$ac_c_werror_flag" ||
19614 test ! -s conftest.err
19615 } && test -s conftest.$ac_objext; then
19616 ac_hi=$ac_mid; break
19617 else
19618 echo "$as_me: failed program was:" >&5
19619 sed 's/^/| /' conftest.$ac_ext >&5
19620
19621 ac_lo=`expr $ac_mid + 1`
19622 if test $ac_lo -le $ac_mid; then
19623 ac_lo= ac_hi=
19624 break
19625 fi
19626 ac_mid=`expr 2 '*' $ac_mid + 1`
19627 fi
19628
19629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19630 done
19631 else
19632 echo "$as_me: failed program was:" >&5
19633 sed 's/^/| /' conftest.$ac_ext >&5
19634
19635 cat >conftest.$ac_ext <<_ACEOF
19636 /* confdefs.h. */
19637 _ACEOF
19638 cat confdefs.h >>conftest.$ac_ext
19639 cat >>conftest.$ac_ext <<_ACEOF
19640 /* end confdefs.h. */
19641 $ac_includes_default
19642 typedef short ac__type_sizeof_;
19643 int
19644 main ()
19645 {
19646 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19647 test_array [0] = 0
19648
19649 ;
19650 return 0;
19651 }
19652 _ACEOF
19653 rm -f conftest.$ac_objext
19654 if { (ac_try="$ac_compile"
19655 case "(($ac_try" in
19656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19657 *) ac_try_echo=$ac_try;;
19658 esac
19659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19660 (eval "$ac_compile") 2>conftest.er1
19661 ac_status=$?
19662 grep -v '^ *+' conftest.er1 >conftest.err
19663 rm -f conftest.er1
19664 cat conftest.err >&5
19665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19666 (exit $ac_status); } && {
19667 test -z "$ac_c_werror_flag" ||
19668 test ! -s conftest.err
19669 } && test -s conftest.$ac_objext; then
19670 ac_hi=-1 ac_mid=-1
19671 while :; do
19672 cat >conftest.$ac_ext <<_ACEOF
19673 /* confdefs.h. */
19674 _ACEOF
19675 cat confdefs.h >>conftest.$ac_ext
19676 cat >>conftest.$ac_ext <<_ACEOF
19677 /* end confdefs.h. */
19678 $ac_includes_default
19679 typedef short ac__type_sizeof_;
19680 int
19681 main ()
19682 {
19683 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19684 test_array [0] = 0
19685
19686 ;
19687 return 0;
19688 }
19689 _ACEOF
19690 rm -f conftest.$ac_objext
19691 if { (ac_try="$ac_compile"
19692 case "(($ac_try" in
19693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19694 *) ac_try_echo=$ac_try;;
19695 esac
19696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19697 (eval "$ac_compile") 2>conftest.er1
19698 ac_status=$?
19699 grep -v '^ *+' conftest.er1 >conftest.err
19700 rm -f conftest.er1
19701 cat conftest.err >&5
19702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19703 (exit $ac_status); } && {
19704 test -z "$ac_c_werror_flag" ||
19705 test ! -s conftest.err
19706 } && test -s conftest.$ac_objext; then
19707 ac_lo=$ac_mid; break
19708 else
19709 echo "$as_me: failed program was:" >&5
19710 sed 's/^/| /' conftest.$ac_ext >&5
19711
19712 ac_hi=`expr '(' $ac_mid ')' - 1`
19713 if test $ac_mid -le $ac_hi; then
19714 ac_lo= ac_hi=
19715 break
19716 fi
19717 ac_mid=`expr 2 '*' $ac_mid`
19718 fi
19719
19720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19721 done
19722 else
19723 echo "$as_me: failed program was:" >&5
19724 sed 's/^/| /' conftest.$ac_ext >&5
19725
19726 ac_lo= ac_hi=
19727 fi
19728
19729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19730 fi
19731
19732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19733 # Binary search between lo and hi bounds.
19734 while test "x$ac_lo" != "x$ac_hi"; do
19735 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19736 cat >conftest.$ac_ext <<_ACEOF
19737 /* confdefs.h. */
19738 _ACEOF
19739 cat confdefs.h >>conftest.$ac_ext
19740 cat >>conftest.$ac_ext <<_ACEOF
19741 /* end confdefs.h. */
19742 $ac_includes_default
19743 typedef short ac__type_sizeof_;
19744 int
19745 main ()
19746 {
19747 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19748 test_array [0] = 0
19749
19750 ;
19751 return 0;
19752 }
19753 _ACEOF
19754 rm -f conftest.$ac_objext
19755 if { (ac_try="$ac_compile"
19756 case "(($ac_try" in
19757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19758 *) ac_try_echo=$ac_try;;
19759 esac
19760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19761 (eval "$ac_compile") 2>conftest.er1
19762 ac_status=$?
19763 grep -v '^ *+' conftest.er1 >conftest.err
19764 rm -f conftest.er1
19765 cat conftest.err >&5
19766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19767 (exit $ac_status); } && {
19768 test -z "$ac_c_werror_flag" ||
19769 test ! -s conftest.err
19770 } && test -s conftest.$ac_objext; then
19771 ac_hi=$ac_mid
19772 else
19773 echo "$as_me: failed program was:" >&5
19774 sed 's/^/| /' conftest.$ac_ext >&5
19775
19776 ac_lo=`expr '(' $ac_mid ')' + 1`
19777 fi
19778
19779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19780 done
19781 case $ac_lo in
19782 ?*) ac_cv_sizeof_short=$ac_lo;;
19783 '') if test "$ac_cv_type_short" = yes; then
19784 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19785 See \`config.log' for more details." >&5
19786 echo "$as_me: error: cannot compute sizeof (short)
19787 See \`config.log' for more details." >&2;}
19788 { (exit 77); exit 77; }; }
19789 else
19790 ac_cv_sizeof_short=0
19791 fi ;;
19792 esac
19793 else
19794 cat >conftest.$ac_ext <<_ACEOF
19795 /* confdefs.h. */
19796 _ACEOF
19797 cat confdefs.h >>conftest.$ac_ext
19798 cat >>conftest.$ac_ext <<_ACEOF
19799 /* end confdefs.h. */
19800 $ac_includes_default
19801 typedef short ac__type_sizeof_;
19802 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19803 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19804 #include <stdio.h>
19805 #include <stdlib.h>
19806 int
19807 main ()
19808 {
19809
19810 FILE *f = fopen ("conftest.val", "w");
19811 if (! f)
19812 return 1;
19813 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19814 {
19815 long int i = longval ();
19816 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19817 return 1;
19818 fprintf (f, "%ld\n", i);
19819 }
19820 else
19821 {
19822 unsigned long int i = ulongval ();
19823 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19824 return 1;
19825 fprintf (f, "%lu\n", i);
19826 }
19827 return ferror (f) || fclose (f) != 0;
19828
19829 ;
19830 return 0;
19831 }
19832 _ACEOF
19833 rm -f conftest$ac_exeext
19834 if { (ac_try="$ac_link"
19835 case "(($ac_try" in
19836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19837 *) ac_try_echo=$ac_try;;
19838 esac
19839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19840 (eval "$ac_link") 2>&5
19841 ac_status=$?
19842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19843 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19844 { (case "(($ac_try" in
19845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19846 *) ac_try_echo=$ac_try;;
19847 esac
19848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19849 (eval "$ac_try") 2>&5
19850 ac_status=$?
19851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19852 (exit $ac_status); }; }; then
19853 ac_cv_sizeof_short=`cat conftest.val`
19854 else
19855 echo "$as_me: program exited with status $ac_status" >&5
19856 echo "$as_me: failed program was:" >&5
19857 sed 's/^/| /' conftest.$ac_ext >&5
19858
19859 ( exit $ac_status )
19860 if test "$ac_cv_type_short" = yes; then
19861 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19862 See \`config.log' for more details." >&5
19863 echo "$as_me: error: cannot compute sizeof (short)
19864 See \`config.log' for more details." >&2;}
19865 { (exit 77); exit 77; }; }
19866 else
19867 ac_cv_sizeof_short=0
19868 fi
19869 fi
19870 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19871 fi
19872 rm -f conftest.val
19873 fi
19874 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19875 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19876
19877
19878
19879 cat >>confdefs.h <<_ACEOF
19880 #define SIZEOF_SHORT $ac_cv_sizeof_short
19881 _ACEOF
19882
19883
19884 { echo "$as_me:$LINENO: checking for void *" >&5
19885 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19886 if test "${ac_cv_type_void_p+set}" = set; then
19887 echo $ECHO_N "(cached) $ECHO_C" >&6
19888 else
19889 cat >conftest.$ac_ext <<_ACEOF
19890 /* confdefs.h. */
19891 _ACEOF
19892 cat confdefs.h >>conftest.$ac_ext
19893 cat >>conftest.$ac_ext <<_ACEOF
19894 /* end confdefs.h. */
19895 $ac_includes_default
19896 typedef void * ac__type_new_;
19897 int
19898 main ()
19899 {
19900 if ((ac__type_new_ *) 0)
19901 return 0;
19902 if (sizeof (ac__type_new_))
19903 return 0;
19904 ;
19905 return 0;
19906 }
19907 _ACEOF
19908 rm -f conftest.$ac_objext
19909 if { (ac_try="$ac_compile"
19910 case "(($ac_try" in
19911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19912 *) ac_try_echo=$ac_try;;
19913 esac
19914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19915 (eval "$ac_compile") 2>conftest.er1
19916 ac_status=$?
19917 grep -v '^ *+' conftest.er1 >conftest.err
19918 rm -f conftest.er1
19919 cat conftest.err >&5
19920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19921 (exit $ac_status); } && {
19922 test -z "$ac_c_werror_flag" ||
19923 test ! -s conftest.err
19924 } && test -s conftest.$ac_objext; then
19925 ac_cv_type_void_p=yes
19926 else
19927 echo "$as_me: failed program was:" >&5
19928 sed 's/^/| /' conftest.$ac_ext >&5
19929
19930 ac_cv_type_void_p=no
19931 fi
19932
19933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19934 fi
19935 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19936 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19937
19938 # The cast to long int works around a bug in the HP C Compiler
19939 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19940 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19941 # This bug is HP SR number 8606223364.
19942 { echo "$as_me:$LINENO: checking size of void *" >&5
19943 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19944 if test "${ac_cv_sizeof_void_p+set}" = set; then
19945 echo $ECHO_N "(cached) $ECHO_C" >&6
19946 else
19947 if test "$cross_compiling" = yes; then
19948 # Depending upon the size, compute the lo and hi bounds.
19949 cat >conftest.$ac_ext <<_ACEOF
19950 /* confdefs.h. */
19951 _ACEOF
19952 cat confdefs.h >>conftest.$ac_ext
19953 cat >>conftest.$ac_ext <<_ACEOF
19954 /* end confdefs.h. */
19955 $ac_includes_default
19956 typedef void * ac__type_sizeof_;
19957 int
19958 main ()
19959 {
19960 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19961 test_array [0] = 0
19962
19963 ;
19964 return 0;
19965 }
19966 _ACEOF
19967 rm -f conftest.$ac_objext
19968 if { (ac_try="$ac_compile"
19969 case "(($ac_try" in
19970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19971 *) ac_try_echo=$ac_try;;
19972 esac
19973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19974 (eval "$ac_compile") 2>conftest.er1
19975 ac_status=$?
19976 grep -v '^ *+' conftest.er1 >conftest.err
19977 rm -f conftest.er1
19978 cat conftest.err >&5
19979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19980 (exit $ac_status); } && {
19981 test -z "$ac_c_werror_flag" ||
19982 test ! -s conftest.err
19983 } && test -s conftest.$ac_objext; then
19984 ac_lo=0 ac_mid=0
19985 while :; do
19986 cat >conftest.$ac_ext <<_ACEOF
19987 /* confdefs.h. */
19988 _ACEOF
19989 cat confdefs.h >>conftest.$ac_ext
19990 cat >>conftest.$ac_ext <<_ACEOF
19991 /* end confdefs.h. */
19992 $ac_includes_default
19993 typedef void * ac__type_sizeof_;
19994 int
19995 main ()
19996 {
19997 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19998 test_array [0] = 0
19999
20000 ;
20001 return 0;
20002 }
20003 _ACEOF
20004 rm -f conftest.$ac_objext
20005 if { (ac_try="$ac_compile"
20006 case "(($ac_try" in
20007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20008 *) ac_try_echo=$ac_try;;
20009 esac
20010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20011 (eval "$ac_compile") 2>conftest.er1
20012 ac_status=$?
20013 grep -v '^ *+' conftest.er1 >conftest.err
20014 rm -f conftest.er1
20015 cat conftest.err >&5
20016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20017 (exit $ac_status); } && {
20018 test -z "$ac_c_werror_flag" ||
20019 test ! -s conftest.err
20020 } && test -s conftest.$ac_objext; then
20021 ac_hi=$ac_mid; break
20022 else
20023 echo "$as_me: failed program was:" >&5
20024 sed 's/^/| /' conftest.$ac_ext >&5
20025
20026 ac_lo=`expr $ac_mid + 1`
20027 if test $ac_lo -le $ac_mid; then
20028 ac_lo= ac_hi=
20029 break
20030 fi
20031 ac_mid=`expr 2 '*' $ac_mid + 1`
20032 fi
20033
20034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20035 done
20036 else
20037 echo "$as_me: failed program was:" >&5
20038 sed 's/^/| /' conftest.$ac_ext >&5
20039
20040 cat >conftest.$ac_ext <<_ACEOF
20041 /* confdefs.h. */
20042 _ACEOF
20043 cat confdefs.h >>conftest.$ac_ext
20044 cat >>conftest.$ac_ext <<_ACEOF
20045 /* end confdefs.h. */
20046 $ac_includes_default
20047 typedef void * ac__type_sizeof_;
20048 int
20049 main ()
20050 {
20051 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20052 test_array [0] = 0
20053
20054 ;
20055 return 0;
20056 }
20057 _ACEOF
20058 rm -f conftest.$ac_objext
20059 if { (ac_try="$ac_compile"
20060 case "(($ac_try" in
20061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20062 *) ac_try_echo=$ac_try;;
20063 esac
20064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20065 (eval "$ac_compile") 2>conftest.er1
20066 ac_status=$?
20067 grep -v '^ *+' conftest.er1 >conftest.err
20068 rm -f conftest.er1
20069 cat conftest.err >&5
20070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20071 (exit $ac_status); } && {
20072 test -z "$ac_c_werror_flag" ||
20073 test ! -s conftest.err
20074 } && test -s conftest.$ac_objext; then
20075 ac_hi=-1 ac_mid=-1
20076 while :; do
20077 cat >conftest.$ac_ext <<_ACEOF
20078 /* confdefs.h. */
20079 _ACEOF
20080 cat confdefs.h >>conftest.$ac_ext
20081 cat >>conftest.$ac_ext <<_ACEOF
20082 /* end confdefs.h. */
20083 $ac_includes_default
20084 typedef void * ac__type_sizeof_;
20085 int
20086 main ()
20087 {
20088 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20089 test_array [0] = 0
20090
20091 ;
20092 return 0;
20093 }
20094 _ACEOF
20095 rm -f conftest.$ac_objext
20096 if { (ac_try="$ac_compile"
20097 case "(($ac_try" in
20098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20099 *) ac_try_echo=$ac_try;;
20100 esac
20101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20102 (eval "$ac_compile") 2>conftest.er1
20103 ac_status=$?
20104 grep -v '^ *+' conftest.er1 >conftest.err
20105 rm -f conftest.er1
20106 cat conftest.err >&5
20107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20108 (exit $ac_status); } && {
20109 test -z "$ac_c_werror_flag" ||
20110 test ! -s conftest.err
20111 } && test -s conftest.$ac_objext; then
20112 ac_lo=$ac_mid; break
20113 else
20114 echo "$as_me: failed program was:" >&5
20115 sed 's/^/| /' conftest.$ac_ext >&5
20116
20117 ac_hi=`expr '(' $ac_mid ')' - 1`
20118 if test $ac_mid -le $ac_hi; then
20119 ac_lo= ac_hi=
20120 break
20121 fi
20122 ac_mid=`expr 2 '*' $ac_mid`
20123 fi
20124
20125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20126 done
20127 else
20128 echo "$as_me: failed program was:" >&5
20129 sed 's/^/| /' conftest.$ac_ext >&5
20130
20131 ac_lo= ac_hi=
20132 fi
20133
20134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20135 fi
20136
20137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20138 # Binary search between lo and hi bounds.
20139 while test "x$ac_lo" != "x$ac_hi"; do
20140 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20141 cat >conftest.$ac_ext <<_ACEOF
20142 /* confdefs.h. */
20143 _ACEOF
20144 cat confdefs.h >>conftest.$ac_ext
20145 cat >>conftest.$ac_ext <<_ACEOF
20146 /* end confdefs.h. */
20147 $ac_includes_default
20148 typedef void * ac__type_sizeof_;
20149 int
20150 main ()
20151 {
20152 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20153 test_array [0] = 0
20154
20155 ;
20156 return 0;
20157 }
20158 _ACEOF
20159 rm -f conftest.$ac_objext
20160 if { (ac_try="$ac_compile"
20161 case "(($ac_try" in
20162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20163 *) ac_try_echo=$ac_try;;
20164 esac
20165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20166 (eval "$ac_compile") 2>conftest.er1
20167 ac_status=$?
20168 grep -v '^ *+' conftest.er1 >conftest.err
20169 rm -f conftest.er1
20170 cat conftest.err >&5
20171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20172 (exit $ac_status); } && {
20173 test -z "$ac_c_werror_flag" ||
20174 test ! -s conftest.err
20175 } && test -s conftest.$ac_objext; then
20176 ac_hi=$ac_mid
20177 else
20178 echo "$as_me: failed program was:" >&5
20179 sed 's/^/| /' conftest.$ac_ext >&5
20180
20181 ac_lo=`expr '(' $ac_mid ')' + 1`
20182 fi
20183
20184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20185 done
20186 case $ac_lo in
20187 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20188 '') if test "$ac_cv_type_void_p" = yes; then
20189 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20190 See \`config.log' for more details." >&5
20191 echo "$as_me: error: cannot compute sizeof (void *)
20192 See \`config.log' for more details." >&2;}
20193 { (exit 77); exit 77; }; }
20194 else
20195 ac_cv_sizeof_void_p=0
20196 fi ;;
20197 esac
20198 else
20199 cat >conftest.$ac_ext <<_ACEOF
20200 /* confdefs.h. */
20201 _ACEOF
20202 cat confdefs.h >>conftest.$ac_ext
20203 cat >>conftest.$ac_ext <<_ACEOF
20204 /* end confdefs.h. */
20205 $ac_includes_default
20206 typedef void * ac__type_sizeof_;
20207 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20208 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20209 #include <stdio.h>
20210 #include <stdlib.h>
20211 int
20212 main ()
20213 {
20214
20215 FILE *f = fopen ("conftest.val", "w");
20216 if (! f)
20217 return 1;
20218 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20219 {
20220 long int i = longval ();
20221 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20222 return 1;
20223 fprintf (f, "%ld\n", i);
20224 }
20225 else
20226 {
20227 unsigned long int i = ulongval ();
20228 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20229 return 1;
20230 fprintf (f, "%lu\n", i);
20231 }
20232 return ferror (f) || fclose (f) != 0;
20233
20234 ;
20235 return 0;
20236 }
20237 _ACEOF
20238 rm -f conftest$ac_exeext
20239 if { (ac_try="$ac_link"
20240 case "(($ac_try" in
20241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20242 *) ac_try_echo=$ac_try;;
20243 esac
20244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20245 (eval "$ac_link") 2>&5
20246 ac_status=$?
20247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20248 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20249 { (case "(($ac_try" in
20250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20251 *) ac_try_echo=$ac_try;;
20252 esac
20253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20254 (eval "$ac_try") 2>&5
20255 ac_status=$?
20256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20257 (exit $ac_status); }; }; then
20258 ac_cv_sizeof_void_p=`cat conftest.val`
20259 else
20260 echo "$as_me: program exited with status $ac_status" >&5
20261 echo "$as_me: failed program was:" >&5
20262 sed 's/^/| /' conftest.$ac_ext >&5
20263
20264 ( exit $ac_status )
20265 if test "$ac_cv_type_void_p" = yes; then
20266 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20267 See \`config.log' for more details." >&5
20268 echo "$as_me: error: cannot compute sizeof (void *)
20269 See \`config.log' for more details." >&2;}
20270 { (exit 77); exit 77; }; }
20271 else
20272 ac_cv_sizeof_void_p=0
20273 fi
20274 fi
20275 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20276 fi
20277 rm -f conftest.val
20278 fi
20279 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20280 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20281
20282
20283
20284 cat >>confdefs.h <<_ACEOF
20285 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20286 _ACEOF
20287
20288
20289 { echo "$as_me:$LINENO: checking for int" >&5
20290 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20291 if test "${ac_cv_type_int+set}" = set; then
20292 echo $ECHO_N "(cached) $ECHO_C" >&6
20293 else
20294 cat >conftest.$ac_ext <<_ACEOF
20295 /* confdefs.h. */
20296 _ACEOF
20297 cat confdefs.h >>conftest.$ac_ext
20298 cat >>conftest.$ac_ext <<_ACEOF
20299 /* end confdefs.h. */
20300 $ac_includes_default
20301 typedef int ac__type_new_;
20302 int
20303 main ()
20304 {
20305 if ((ac__type_new_ *) 0)
20306 return 0;
20307 if (sizeof (ac__type_new_))
20308 return 0;
20309 ;
20310 return 0;
20311 }
20312 _ACEOF
20313 rm -f conftest.$ac_objext
20314 if { (ac_try="$ac_compile"
20315 case "(($ac_try" in
20316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20317 *) ac_try_echo=$ac_try;;
20318 esac
20319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20320 (eval "$ac_compile") 2>conftest.er1
20321 ac_status=$?
20322 grep -v '^ *+' conftest.er1 >conftest.err
20323 rm -f conftest.er1
20324 cat conftest.err >&5
20325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20326 (exit $ac_status); } && {
20327 test -z "$ac_c_werror_flag" ||
20328 test ! -s conftest.err
20329 } && test -s conftest.$ac_objext; then
20330 ac_cv_type_int=yes
20331 else
20332 echo "$as_me: failed program was:" >&5
20333 sed 's/^/| /' conftest.$ac_ext >&5
20334
20335 ac_cv_type_int=no
20336 fi
20337
20338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20339 fi
20340 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20341 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20342
20343 # The cast to long int works around a bug in the HP C Compiler
20344 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20345 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20346 # This bug is HP SR number 8606223364.
20347 { echo "$as_me:$LINENO: checking size of int" >&5
20348 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20349 if test "${ac_cv_sizeof_int+set}" = set; then
20350 echo $ECHO_N "(cached) $ECHO_C" >&6
20351 else
20352 if test "$cross_compiling" = yes; then
20353 # Depending upon the size, compute the lo and hi bounds.
20354 cat >conftest.$ac_ext <<_ACEOF
20355 /* confdefs.h. */
20356 _ACEOF
20357 cat confdefs.h >>conftest.$ac_ext
20358 cat >>conftest.$ac_ext <<_ACEOF
20359 /* end confdefs.h. */
20360 $ac_includes_default
20361 typedef int ac__type_sizeof_;
20362 int
20363 main ()
20364 {
20365 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20366 test_array [0] = 0
20367
20368 ;
20369 return 0;
20370 }
20371 _ACEOF
20372 rm -f conftest.$ac_objext
20373 if { (ac_try="$ac_compile"
20374 case "(($ac_try" in
20375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20376 *) ac_try_echo=$ac_try;;
20377 esac
20378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20379 (eval "$ac_compile") 2>conftest.er1
20380 ac_status=$?
20381 grep -v '^ *+' conftest.er1 >conftest.err
20382 rm -f conftest.er1
20383 cat conftest.err >&5
20384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20385 (exit $ac_status); } && {
20386 test -z "$ac_c_werror_flag" ||
20387 test ! -s conftest.err
20388 } && test -s conftest.$ac_objext; then
20389 ac_lo=0 ac_mid=0
20390 while :; do
20391 cat >conftest.$ac_ext <<_ACEOF
20392 /* confdefs.h. */
20393 _ACEOF
20394 cat confdefs.h >>conftest.$ac_ext
20395 cat >>conftest.$ac_ext <<_ACEOF
20396 /* end confdefs.h. */
20397 $ac_includes_default
20398 typedef int ac__type_sizeof_;
20399 int
20400 main ()
20401 {
20402 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20403 test_array [0] = 0
20404
20405 ;
20406 return 0;
20407 }
20408 _ACEOF
20409 rm -f conftest.$ac_objext
20410 if { (ac_try="$ac_compile"
20411 case "(($ac_try" in
20412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20413 *) ac_try_echo=$ac_try;;
20414 esac
20415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20416 (eval "$ac_compile") 2>conftest.er1
20417 ac_status=$?
20418 grep -v '^ *+' conftest.er1 >conftest.err
20419 rm -f conftest.er1
20420 cat conftest.err >&5
20421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20422 (exit $ac_status); } && {
20423 test -z "$ac_c_werror_flag" ||
20424 test ! -s conftest.err
20425 } && test -s conftest.$ac_objext; then
20426 ac_hi=$ac_mid; break
20427 else
20428 echo "$as_me: failed program was:" >&5
20429 sed 's/^/| /' conftest.$ac_ext >&5
20430
20431 ac_lo=`expr $ac_mid + 1`
20432 if test $ac_lo -le $ac_mid; then
20433 ac_lo= ac_hi=
20434 break
20435 fi
20436 ac_mid=`expr 2 '*' $ac_mid + 1`
20437 fi
20438
20439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20440 done
20441 else
20442 echo "$as_me: failed program was:" >&5
20443 sed 's/^/| /' conftest.$ac_ext >&5
20444
20445 cat >conftest.$ac_ext <<_ACEOF
20446 /* confdefs.h. */
20447 _ACEOF
20448 cat confdefs.h >>conftest.$ac_ext
20449 cat >>conftest.$ac_ext <<_ACEOF
20450 /* end confdefs.h. */
20451 $ac_includes_default
20452 typedef int ac__type_sizeof_;
20453 int
20454 main ()
20455 {
20456 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20457 test_array [0] = 0
20458
20459 ;
20460 return 0;
20461 }
20462 _ACEOF
20463 rm -f conftest.$ac_objext
20464 if { (ac_try="$ac_compile"
20465 case "(($ac_try" in
20466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20467 *) ac_try_echo=$ac_try;;
20468 esac
20469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20470 (eval "$ac_compile") 2>conftest.er1
20471 ac_status=$?
20472 grep -v '^ *+' conftest.er1 >conftest.err
20473 rm -f conftest.er1
20474 cat conftest.err >&5
20475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20476 (exit $ac_status); } && {
20477 test -z "$ac_c_werror_flag" ||
20478 test ! -s conftest.err
20479 } && test -s conftest.$ac_objext; then
20480 ac_hi=-1 ac_mid=-1
20481 while :; do
20482 cat >conftest.$ac_ext <<_ACEOF
20483 /* confdefs.h. */
20484 _ACEOF
20485 cat confdefs.h >>conftest.$ac_ext
20486 cat >>conftest.$ac_ext <<_ACEOF
20487 /* end confdefs.h. */
20488 $ac_includes_default
20489 typedef int ac__type_sizeof_;
20490 int
20491 main ()
20492 {
20493 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20494 test_array [0] = 0
20495
20496 ;
20497 return 0;
20498 }
20499 _ACEOF
20500 rm -f conftest.$ac_objext
20501 if { (ac_try="$ac_compile"
20502 case "(($ac_try" in
20503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20504 *) ac_try_echo=$ac_try;;
20505 esac
20506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20507 (eval "$ac_compile") 2>conftest.er1
20508 ac_status=$?
20509 grep -v '^ *+' conftest.er1 >conftest.err
20510 rm -f conftest.er1
20511 cat conftest.err >&5
20512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20513 (exit $ac_status); } && {
20514 test -z "$ac_c_werror_flag" ||
20515 test ! -s conftest.err
20516 } && test -s conftest.$ac_objext; then
20517 ac_lo=$ac_mid; break
20518 else
20519 echo "$as_me: failed program was:" >&5
20520 sed 's/^/| /' conftest.$ac_ext >&5
20521
20522 ac_hi=`expr '(' $ac_mid ')' - 1`
20523 if test $ac_mid -le $ac_hi; then
20524 ac_lo= ac_hi=
20525 break
20526 fi
20527 ac_mid=`expr 2 '*' $ac_mid`
20528 fi
20529
20530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20531 done
20532 else
20533 echo "$as_me: failed program was:" >&5
20534 sed 's/^/| /' conftest.$ac_ext >&5
20535
20536 ac_lo= ac_hi=
20537 fi
20538
20539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20540 fi
20541
20542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20543 # Binary search between lo and hi bounds.
20544 while test "x$ac_lo" != "x$ac_hi"; do
20545 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20546 cat >conftest.$ac_ext <<_ACEOF
20547 /* confdefs.h. */
20548 _ACEOF
20549 cat confdefs.h >>conftest.$ac_ext
20550 cat >>conftest.$ac_ext <<_ACEOF
20551 /* end confdefs.h. */
20552 $ac_includes_default
20553 typedef int ac__type_sizeof_;
20554 int
20555 main ()
20556 {
20557 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20558 test_array [0] = 0
20559
20560 ;
20561 return 0;
20562 }
20563 _ACEOF
20564 rm -f conftest.$ac_objext
20565 if { (ac_try="$ac_compile"
20566 case "(($ac_try" in
20567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20568 *) ac_try_echo=$ac_try;;
20569 esac
20570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20571 (eval "$ac_compile") 2>conftest.er1
20572 ac_status=$?
20573 grep -v '^ *+' conftest.er1 >conftest.err
20574 rm -f conftest.er1
20575 cat conftest.err >&5
20576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20577 (exit $ac_status); } && {
20578 test -z "$ac_c_werror_flag" ||
20579 test ! -s conftest.err
20580 } && test -s conftest.$ac_objext; then
20581 ac_hi=$ac_mid
20582 else
20583 echo "$as_me: failed program was:" >&5
20584 sed 's/^/| /' conftest.$ac_ext >&5
20585
20586 ac_lo=`expr '(' $ac_mid ')' + 1`
20587 fi
20588
20589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20590 done
20591 case $ac_lo in
20592 ?*) ac_cv_sizeof_int=$ac_lo;;
20593 '') if test "$ac_cv_type_int" = yes; then
20594 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20595 See \`config.log' for more details." >&5
20596 echo "$as_me: error: cannot compute sizeof (int)
20597 See \`config.log' for more details." >&2;}
20598 { (exit 77); exit 77; }; }
20599 else
20600 ac_cv_sizeof_int=0
20601 fi ;;
20602 esac
20603 else
20604 cat >conftest.$ac_ext <<_ACEOF
20605 /* confdefs.h. */
20606 _ACEOF
20607 cat confdefs.h >>conftest.$ac_ext
20608 cat >>conftest.$ac_ext <<_ACEOF
20609 /* end confdefs.h. */
20610 $ac_includes_default
20611 typedef int ac__type_sizeof_;
20612 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20613 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20614 #include <stdio.h>
20615 #include <stdlib.h>
20616 int
20617 main ()
20618 {
20619
20620 FILE *f = fopen ("conftest.val", "w");
20621 if (! f)
20622 return 1;
20623 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20624 {
20625 long int i = longval ();
20626 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20627 return 1;
20628 fprintf (f, "%ld\n", i);
20629 }
20630 else
20631 {
20632 unsigned long int i = ulongval ();
20633 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20634 return 1;
20635 fprintf (f, "%lu\n", i);
20636 }
20637 return ferror (f) || fclose (f) != 0;
20638
20639 ;
20640 return 0;
20641 }
20642 _ACEOF
20643 rm -f conftest$ac_exeext
20644 if { (ac_try="$ac_link"
20645 case "(($ac_try" in
20646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20647 *) ac_try_echo=$ac_try;;
20648 esac
20649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20650 (eval "$ac_link") 2>&5
20651 ac_status=$?
20652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20653 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20654 { (case "(($ac_try" in
20655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20656 *) ac_try_echo=$ac_try;;
20657 esac
20658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20659 (eval "$ac_try") 2>&5
20660 ac_status=$?
20661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20662 (exit $ac_status); }; }; then
20663 ac_cv_sizeof_int=`cat conftest.val`
20664 else
20665 echo "$as_me: program exited with status $ac_status" >&5
20666 echo "$as_me: failed program was:" >&5
20667 sed 's/^/| /' conftest.$ac_ext >&5
20668
20669 ( exit $ac_status )
20670 if test "$ac_cv_type_int" = yes; then
20671 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20672 See \`config.log' for more details." >&5
20673 echo "$as_me: error: cannot compute sizeof (int)
20674 See \`config.log' for more details." >&2;}
20675 { (exit 77); exit 77; }; }
20676 else
20677 ac_cv_sizeof_int=0
20678 fi
20679 fi
20680 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20681 fi
20682 rm -f conftest.val
20683 fi
20684 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20685 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20686
20687
20688
20689 cat >>confdefs.h <<_ACEOF
20690 #define SIZEOF_INT $ac_cv_sizeof_int
20691 _ACEOF
20692
20693
20694 { echo "$as_me:$LINENO: checking for long" >&5
20695 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20696 if test "${ac_cv_type_long+set}" = set; then
20697 echo $ECHO_N "(cached) $ECHO_C" >&6
20698 else
20699 cat >conftest.$ac_ext <<_ACEOF
20700 /* confdefs.h. */
20701 _ACEOF
20702 cat confdefs.h >>conftest.$ac_ext
20703 cat >>conftest.$ac_ext <<_ACEOF
20704 /* end confdefs.h. */
20705 $ac_includes_default
20706 typedef long ac__type_new_;
20707 int
20708 main ()
20709 {
20710 if ((ac__type_new_ *) 0)
20711 return 0;
20712 if (sizeof (ac__type_new_))
20713 return 0;
20714 ;
20715 return 0;
20716 }
20717 _ACEOF
20718 rm -f conftest.$ac_objext
20719 if { (ac_try="$ac_compile"
20720 case "(($ac_try" in
20721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20722 *) ac_try_echo=$ac_try;;
20723 esac
20724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20725 (eval "$ac_compile") 2>conftest.er1
20726 ac_status=$?
20727 grep -v '^ *+' conftest.er1 >conftest.err
20728 rm -f conftest.er1
20729 cat conftest.err >&5
20730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20731 (exit $ac_status); } && {
20732 test -z "$ac_c_werror_flag" ||
20733 test ! -s conftest.err
20734 } && test -s conftest.$ac_objext; then
20735 ac_cv_type_long=yes
20736 else
20737 echo "$as_me: failed program was:" >&5
20738 sed 's/^/| /' conftest.$ac_ext >&5
20739
20740 ac_cv_type_long=no
20741 fi
20742
20743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20744 fi
20745 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20746 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20747
20748 # The cast to long int works around a bug in the HP C Compiler
20749 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20750 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20751 # This bug is HP SR number 8606223364.
20752 { echo "$as_me:$LINENO: checking size of long" >&5
20753 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20754 if test "${ac_cv_sizeof_long+set}" = set; then
20755 echo $ECHO_N "(cached) $ECHO_C" >&6
20756 else
20757 if test "$cross_compiling" = yes; then
20758 # Depending upon the size, compute the lo and hi bounds.
20759 cat >conftest.$ac_ext <<_ACEOF
20760 /* confdefs.h. */
20761 _ACEOF
20762 cat confdefs.h >>conftest.$ac_ext
20763 cat >>conftest.$ac_ext <<_ACEOF
20764 /* end confdefs.h. */
20765 $ac_includes_default
20766 typedef long ac__type_sizeof_;
20767 int
20768 main ()
20769 {
20770 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20771 test_array [0] = 0
20772
20773 ;
20774 return 0;
20775 }
20776 _ACEOF
20777 rm -f conftest.$ac_objext
20778 if { (ac_try="$ac_compile"
20779 case "(($ac_try" in
20780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20781 *) ac_try_echo=$ac_try;;
20782 esac
20783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20784 (eval "$ac_compile") 2>conftest.er1
20785 ac_status=$?
20786 grep -v '^ *+' conftest.er1 >conftest.err
20787 rm -f conftest.er1
20788 cat conftest.err >&5
20789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20790 (exit $ac_status); } && {
20791 test -z "$ac_c_werror_flag" ||
20792 test ! -s conftest.err
20793 } && test -s conftest.$ac_objext; then
20794 ac_lo=0 ac_mid=0
20795 while :; do
20796 cat >conftest.$ac_ext <<_ACEOF
20797 /* confdefs.h. */
20798 _ACEOF
20799 cat confdefs.h >>conftest.$ac_ext
20800 cat >>conftest.$ac_ext <<_ACEOF
20801 /* end confdefs.h. */
20802 $ac_includes_default
20803 typedef long ac__type_sizeof_;
20804 int
20805 main ()
20806 {
20807 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20808 test_array [0] = 0
20809
20810 ;
20811 return 0;
20812 }
20813 _ACEOF
20814 rm -f conftest.$ac_objext
20815 if { (ac_try="$ac_compile"
20816 case "(($ac_try" in
20817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20818 *) ac_try_echo=$ac_try;;
20819 esac
20820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20821 (eval "$ac_compile") 2>conftest.er1
20822 ac_status=$?
20823 grep -v '^ *+' conftest.er1 >conftest.err
20824 rm -f conftest.er1
20825 cat conftest.err >&5
20826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20827 (exit $ac_status); } && {
20828 test -z "$ac_c_werror_flag" ||
20829 test ! -s conftest.err
20830 } && test -s conftest.$ac_objext; then
20831 ac_hi=$ac_mid; break
20832 else
20833 echo "$as_me: failed program was:" >&5
20834 sed 's/^/| /' conftest.$ac_ext >&5
20835
20836 ac_lo=`expr $ac_mid + 1`
20837 if test $ac_lo -le $ac_mid; then
20838 ac_lo= ac_hi=
20839 break
20840 fi
20841 ac_mid=`expr 2 '*' $ac_mid + 1`
20842 fi
20843
20844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20845 done
20846 else
20847 echo "$as_me: failed program was:" >&5
20848 sed 's/^/| /' conftest.$ac_ext >&5
20849
20850 cat >conftest.$ac_ext <<_ACEOF
20851 /* confdefs.h. */
20852 _ACEOF
20853 cat confdefs.h >>conftest.$ac_ext
20854 cat >>conftest.$ac_ext <<_ACEOF
20855 /* end confdefs.h. */
20856 $ac_includes_default
20857 typedef long ac__type_sizeof_;
20858 int
20859 main ()
20860 {
20861 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20862 test_array [0] = 0
20863
20864 ;
20865 return 0;
20866 }
20867 _ACEOF
20868 rm -f conftest.$ac_objext
20869 if { (ac_try="$ac_compile"
20870 case "(($ac_try" in
20871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20872 *) ac_try_echo=$ac_try;;
20873 esac
20874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20875 (eval "$ac_compile") 2>conftest.er1
20876 ac_status=$?
20877 grep -v '^ *+' conftest.er1 >conftest.err
20878 rm -f conftest.er1
20879 cat conftest.err >&5
20880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20881 (exit $ac_status); } && {
20882 test -z "$ac_c_werror_flag" ||
20883 test ! -s conftest.err
20884 } && test -s conftest.$ac_objext; then
20885 ac_hi=-1 ac_mid=-1
20886 while :; do
20887 cat >conftest.$ac_ext <<_ACEOF
20888 /* confdefs.h. */
20889 _ACEOF
20890 cat confdefs.h >>conftest.$ac_ext
20891 cat >>conftest.$ac_ext <<_ACEOF
20892 /* end confdefs.h. */
20893 $ac_includes_default
20894 typedef long ac__type_sizeof_;
20895 int
20896 main ()
20897 {
20898 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20899 test_array [0] = 0
20900
20901 ;
20902 return 0;
20903 }
20904 _ACEOF
20905 rm -f conftest.$ac_objext
20906 if { (ac_try="$ac_compile"
20907 case "(($ac_try" in
20908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20909 *) ac_try_echo=$ac_try;;
20910 esac
20911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20912 (eval "$ac_compile") 2>conftest.er1
20913 ac_status=$?
20914 grep -v '^ *+' conftest.er1 >conftest.err
20915 rm -f conftest.er1
20916 cat conftest.err >&5
20917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20918 (exit $ac_status); } && {
20919 test -z "$ac_c_werror_flag" ||
20920 test ! -s conftest.err
20921 } && test -s conftest.$ac_objext; then
20922 ac_lo=$ac_mid; break
20923 else
20924 echo "$as_me: failed program was:" >&5
20925 sed 's/^/| /' conftest.$ac_ext >&5
20926
20927 ac_hi=`expr '(' $ac_mid ')' - 1`
20928 if test $ac_mid -le $ac_hi; then
20929 ac_lo= ac_hi=
20930 break
20931 fi
20932 ac_mid=`expr 2 '*' $ac_mid`
20933 fi
20934
20935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20936 done
20937 else
20938 echo "$as_me: failed program was:" >&5
20939 sed 's/^/| /' conftest.$ac_ext >&5
20940
20941 ac_lo= ac_hi=
20942 fi
20943
20944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20945 fi
20946
20947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20948 # Binary search between lo and hi bounds.
20949 while test "x$ac_lo" != "x$ac_hi"; do
20950 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20951 cat >conftest.$ac_ext <<_ACEOF
20952 /* confdefs.h. */
20953 _ACEOF
20954 cat confdefs.h >>conftest.$ac_ext
20955 cat >>conftest.$ac_ext <<_ACEOF
20956 /* end confdefs.h. */
20957 $ac_includes_default
20958 typedef long ac__type_sizeof_;
20959 int
20960 main ()
20961 {
20962 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20963 test_array [0] = 0
20964
20965 ;
20966 return 0;
20967 }
20968 _ACEOF
20969 rm -f conftest.$ac_objext
20970 if { (ac_try="$ac_compile"
20971 case "(($ac_try" in
20972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20973 *) ac_try_echo=$ac_try;;
20974 esac
20975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20976 (eval "$ac_compile") 2>conftest.er1
20977 ac_status=$?
20978 grep -v '^ *+' conftest.er1 >conftest.err
20979 rm -f conftest.er1
20980 cat conftest.err >&5
20981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20982 (exit $ac_status); } && {
20983 test -z "$ac_c_werror_flag" ||
20984 test ! -s conftest.err
20985 } && test -s conftest.$ac_objext; then
20986 ac_hi=$ac_mid
20987 else
20988 echo "$as_me: failed program was:" >&5
20989 sed 's/^/| /' conftest.$ac_ext >&5
20990
20991 ac_lo=`expr '(' $ac_mid ')' + 1`
20992 fi
20993
20994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20995 done
20996 case $ac_lo in
20997 ?*) ac_cv_sizeof_long=$ac_lo;;
20998 '') if test "$ac_cv_type_long" = yes; then
20999 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21000 See \`config.log' for more details." >&5
21001 echo "$as_me: error: cannot compute sizeof (long)
21002 See \`config.log' for more details." >&2;}
21003 { (exit 77); exit 77; }; }
21004 else
21005 ac_cv_sizeof_long=0
21006 fi ;;
21007 esac
21008 else
21009 cat >conftest.$ac_ext <<_ACEOF
21010 /* confdefs.h. */
21011 _ACEOF
21012 cat confdefs.h >>conftest.$ac_ext
21013 cat >>conftest.$ac_ext <<_ACEOF
21014 /* end confdefs.h. */
21015 $ac_includes_default
21016 typedef long ac__type_sizeof_;
21017 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21018 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21019 #include <stdio.h>
21020 #include <stdlib.h>
21021 int
21022 main ()
21023 {
21024
21025 FILE *f = fopen ("conftest.val", "w");
21026 if (! f)
21027 return 1;
21028 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21029 {
21030 long int i = longval ();
21031 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21032 return 1;
21033 fprintf (f, "%ld\n", i);
21034 }
21035 else
21036 {
21037 unsigned long int i = ulongval ();
21038 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21039 return 1;
21040 fprintf (f, "%lu\n", i);
21041 }
21042 return ferror (f) || fclose (f) != 0;
21043
21044 ;
21045 return 0;
21046 }
21047 _ACEOF
21048 rm -f conftest$ac_exeext
21049 if { (ac_try="$ac_link"
21050 case "(($ac_try" in
21051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21052 *) ac_try_echo=$ac_try;;
21053 esac
21054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21055 (eval "$ac_link") 2>&5
21056 ac_status=$?
21057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21058 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21059 { (case "(($ac_try" in
21060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21061 *) ac_try_echo=$ac_try;;
21062 esac
21063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21064 (eval "$ac_try") 2>&5
21065 ac_status=$?
21066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21067 (exit $ac_status); }; }; then
21068 ac_cv_sizeof_long=`cat conftest.val`
21069 else
21070 echo "$as_me: program exited with status $ac_status" >&5
21071 echo "$as_me: failed program was:" >&5
21072 sed 's/^/| /' conftest.$ac_ext >&5
21073
21074 ( exit $ac_status )
21075 if test "$ac_cv_type_long" = yes; then
21076 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21077 See \`config.log' for more details." >&5
21078 echo "$as_me: error: cannot compute sizeof (long)
21079 See \`config.log' for more details." >&2;}
21080 { (exit 77); exit 77; }; }
21081 else
21082 ac_cv_sizeof_long=0
21083 fi
21084 fi
21085 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21086 fi
21087 rm -f conftest.val
21088 fi
21089 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21090 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21091
21092
21093
21094 cat >>confdefs.h <<_ACEOF
21095 #define SIZEOF_LONG $ac_cv_sizeof_long
21096 _ACEOF
21097
21098
21099 { echo "$as_me:$LINENO: checking for size_t" >&5
21100 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21101 if test "${ac_cv_type_size_t+set}" = set; then
21102 echo $ECHO_N "(cached) $ECHO_C" >&6
21103 else
21104 cat >conftest.$ac_ext <<_ACEOF
21105 /* confdefs.h. */
21106 _ACEOF
21107 cat confdefs.h >>conftest.$ac_ext
21108 cat >>conftest.$ac_ext <<_ACEOF
21109 /* end confdefs.h. */
21110 $ac_includes_default
21111 typedef size_t ac__type_new_;
21112 int
21113 main ()
21114 {
21115 if ((ac__type_new_ *) 0)
21116 return 0;
21117 if (sizeof (ac__type_new_))
21118 return 0;
21119 ;
21120 return 0;
21121 }
21122 _ACEOF
21123 rm -f conftest.$ac_objext
21124 if { (ac_try="$ac_compile"
21125 case "(($ac_try" in
21126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21127 *) ac_try_echo=$ac_try;;
21128 esac
21129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21130 (eval "$ac_compile") 2>conftest.er1
21131 ac_status=$?
21132 grep -v '^ *+' conftest.er1 >conftest.err
21133 rm -f conftest.er1
21134 cat conftest.err >&5
21135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21136 (exit $ac_status); } && {
21137 test -z "$ac_c_werror_flag" ||
21138 test ! -s conftest.err
21139 } && test -s conftest.$ac_objext; then
21140 ac_cv_type_size_t=yes
21141 else
21142 echo "$as_me: failed program was:" >&5
21143 sed 's/^/| /' conftest.$ac_ext >&5
21144
21145 ac_cv_type_size_t=no
21146 fi
21147
21148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21149 fi
21150 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21151 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21152
21153 # The cast to long int works around a bug in the HP C Compiler
21154 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21155 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21156 # This bug is HP SR number 8606223364.
21157 { echo "$as_me:$LINENO: checking size of size_t" >&5
21158 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21159 if test "${ac_cv_sizeof_size_t+set}" = set; then
21160 echo $ECHO_N "(cached) $ECHO_C" >&6
21161 else
21162 if test "$cross_compiling" = yes; then
21163 # Depending upon the size, compute the lo and hi bounds.
21164 cat >conftest.$ac_ext <<_ACEOF
21165 /* confdefs.h. */
21166 _ACEOF
21167 cat confdefs.h >>conftest.$ac_ext
21168 cat >>conftest.$ac_ext <<_ACEOF
21169 /* end confdefs.h. */
21170 $ac_includes_default
21171 typedef size_t ac__type_sizeof_;
21172 int
21173 main ()
21174 {
21175 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21176 test_array [0] = 0
21177
21178 ;
21179 return 0;
21180 }
21181 _ACEOF
21182 rm -f conftest.$ac_objext
21183 if { (ac_try="$ac_compile"
21184 case "(($ac_try" in
21185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21186 *) ac_try_echo=$ac_try;;
21187 esac
21188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21189 (eval "$ac_compile") 2>conftest.er1
21190 ac_status=$?
21191 grep -v '^ *+' conftest.er1 >conftest.err
21192 rm -f conftest.er1
21193 cat conftest.err >&5
21194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21195 (exit $ac_status); } && {
21196 test -z "$ac_c_werror_flag" ||
21197 test ! -s conftest.err
21198 } && test -s conftest.$ac_objext; then
21199 ac_lo=0 ac_mid=0
21200 while :; do
21201 cat >conftest.$ac_ext <<_ACEOF
21202 /* confdefs.h. */
21203 _ACEOF
21204 cat confdefs.h >>conftest.$ac_ext
21205 cat >>conftest.$ac_ext <<_ACEOF
21206 /* end confdefs.h. */
21207 $ac_includes_default
21208 typedef size_t ac__type_sizeof_;
21209 int
21210 main ()
21211 {
21212 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21213 test_array [0] = 0
21214
21215 ;
21216 return 0;
21217 }
21218 _ACEOF
21219 rm -f conftest.$ac_objext
21220 if { (ac_try="$ac_compile"
21221 case "(($ac_try" in
21222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21223 *) ac_try_echo=$ac_try;;
21224 esac
21225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21226 (eval "$ac_compile") 2>conftest.er1
21227 ac_status=$?
21228 grep -v '^ *+' conftest.er1 >conftest.err
21229 rm -f conftest.er1
21230 cat conftest.err >&5
21231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21232 (exit $ac_status); } && {
21233 test -z "$ac_c_werror_flag" ||
21234 test ! -s conftest.err
21235 } && test -s conftest.$ac_objext; then
21236 ac_hi=$ac_mid; break
21237 else
21238 echo "$as_me: failed program was:" >&5
21239 sed 's/^/| /' conftest.$ac_ext >&5
21240
21241 ac_lo=`expr $ac_mid + 1`
21242 if test $ac_lo -le $ac_mid; then
21243 ac_lo= ac_hi=
21244 break
21245 fi
21246 ac_mid=`expr 2 '*' $ac_mid + 1`
21247 fi
21248
21249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21250 done
21251 else
21252 echo "$as_me: failed program was:" >&5
21253 sed 's/^/| /' conftest.$ac_ext >&5
21254
21255 cat >conftest.$ac_ext <<_ACEOF
21256 /* confdefs.h. */
21257 _ACEOF
21258 cat confdefs.h >>conftest.$ac_ext
21259 cat >>conftest.$ac_ext <<_ACEOF
21260 /* end confdefs.h. */
21261 $ac_includes_default
21262 typedef size_t ac__type_sizeof_;
21263 int
21264 main ()
21265 {
21266 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21267 test_array [0] = 0
21268
21269 ;
21270 return 0;
21271 }
21272 _ACEOF
21273 rm -f conftest.$ac_objext
21274 if { (ac_try="$ac_compile"
21275 case "(($ac_try" in
21276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21277 *) ac_try_echo=$ac_try;;
21278 esac
21279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21280 (eval "$ac_compile") 2>conftest.er1
21281 ac_status=$?
21282 grep -v '^ *+' conftest.er1 >conftest.err
21283 rm -f conftest.er1
21284 cat conftest.err >&5
21285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21286 (exit $ac_status); } && {
21287 test -z "$ac_c_werror_flag" ||
21288 test ! -s conftest.err
21289 } && test -s conftest.$ac_objext; then
21290 ac_hi=-1 ac_mid=-1
21291 while :; do
21292 cat >conftest.$ac_ext <<_ACEOF
21293 /* confdefs.h. */
21294 _ACEOF
21295 cat confdefs.h >>conftest.$ac_ext
21296 cat >>conftest.$ac_ext <<_ACEOF
21297 /* end confdefs.h. */
21298 $ac_includes_default
21299 typedef size_t ac__type_sizeof_;
21300 int
21301 main ()
21302 {
21303 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21304 test_array [0] = 0
21305
21306 ;
21307 return 0;
21308 }
21309 _ACEOF
21310 rm -f conftest.$ac_objext
21311 if { (ac_try="$ac_compile"
21312 case "(($ac_try" in
21313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21314 *) ac_try_echo=$ac_try;;
21315 esac
21316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21317 (eval "$ac_compile") 2>conftest.er1
21318 ac_status=$?
21319 grep -v '^ *+' conftest.er1 >conftest.err
21320 rm -f conftest.er1
21321 cat conftest.err >&5
21322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21323 (exit $ac_status); } && {
21324 test -z "$ac_c_werror_flag" ||
21325 test ! -s conftest.err
21326 } && test -s conftest.$ac_objext; then
21327 ac_lo=$ac_mid; break
21328 else
21329 echo "$as_me: failed program was:" >&5
21330 sed 's/^/| /' conftest.$ac_ext >&5
21331
21332 ac_hi=`expr '(' $ac_mid ')' - 1`
21333 if test $ac_mid -le $ac_hi; then
21334 ac_lo= ac_hi=
21335 break
21336 fi
21337 ac_mid=`expr 2 '*' $ac_mid`
21338 fi
21339
21340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21341 done
21342 else
21343 echo "$as_me: failed program was:" >&5
21344 sed 's/^/| /' conftest.$ac_ext >&5
21345
21346 ac_lo= ac_hi=
21347 fi
21348
21349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21350 fi
21351
21352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21353 # Binary search between lo and hi bounds.
21354 while test "x$ac_lo" != "x$ac_hi"; do
21355 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21356 cat >conftest.$ac_ext <<_ACEOF
21357 /* confdefs.h. */
21358 _ACEOF
21359 cat confdefs.h >>conftest.$ac_ext
21360 cat >>conftest.$ac_ext <<_ACEOF
21361 /* end confdefs.h. */
21362 $ac_includes_default
21363 typedef size_t ac__type_sizeof_;
21364 int
21365 main ()
21366 {
21367 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21368 test_array [0] = 0
21369
21370 ;
21371 return 0;
21372 }
21373 _ACEOF
21374 rm -f conftest.$ac_objext
21375 if { (ac_try="$ac_compile"
21376 case "(($ac_try" in
21377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21378 *) ac_try_echo=$ac_try;;
21379 esac
21380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21381 (eval "$ac_compile") 2>conftest.er1
21382 ac_status=$?
21383 grep -v '^ *+' conftest.er1 >conftest.err
21384 rm -f conftest.er1
21385 cat conftest.err >&5
21386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21387 (exit $ac_status); } && {
21388 test -z "$ac_c_werror_flag" ||
21389 test ! -s conftest.err
21390 } && test -s conftest.$ac_objext; then
21391 ac_hi=$ac_mid
21392 else
21393 echo "$as_me: failed program was:" >&5
21394 sed 's/^/| /' conftest.$ac_ext >&5
21395
21396 ac_lo=`expr '(' $ac_mid ')' + 1`
21397 fi
21398
21399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21400 done
21401 case $ac_lo in
21402 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21403 '') if test "$ac_cv_type_size_t" = yes; then
21404 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21405 See \`config.log' for more details." >&5
21406 echo "$as_me: error: cannot compute sizeof (size_t)
21407 See \`config.log' for more details." >&2;}
21408 { (exit 77); exit 77; }; }
21409 else
21410 ac_cv_sizeof_size_t=0
21411 fi ;;
21412 esac
21413 else
21414 cat >conftest.$ac_ext <<_ACEOF
21415 /* confdefs.h. */
21416 _ACEOF
21417 cat confdefs.h >>conftest.$ac_ext
21418 cat >>conftest.$ac_ext <<_ACEOF
21419 /* end confdefs.h. */
21420 $ac_includes_default
21421 typedef size_t ac__type_sizeof_;
21422 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21423 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21424 #include <stdio.h>
21425 #include <stdlib.h>
21426 int
21427 main ()
21428 {
21429
21430 FILE *f = fopen ("conftest.val", "w");
21431 if (! f)
21432 return 1;
21433 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21434 {
21435 long int i = longval ();
21436 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21437 return 1;
21438 fprintf (f, "%ld\n", i);
21439 }
21440 else
21441 {
21442 unsigned long int i = ulongval ();
21443 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21444 return 1;
21445 fprintf (f, "%lu\n", i);
21446 }
21447 return ferror (f) || fclose (f) != 0;
21448
21449 ;
21450 return 0;
21451 }
21452 _ACEOF
21453 rm -f conftest$ac_exeext
21454 if { (ac_try="$ac_link"
21455 case "(($ac_try" in
21456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21457 *) ac_try_echo=$ac_try;;
21458 esac
21459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21460 (eval "$ac_link") 2>&5
21461 ac_status=$?
21462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21463 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21464 { (case "(($ac_try" in
21465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21466 *) ac_try_echo=$ac_try;;
21467 esac
21468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21469 (eval "$ac_try") 2>&5
21470 ac_status=$?
21471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21472 (exit $ac_status); }; }; then
21473 ac_cv_sizeof_size_t=`cat conftest.val`
21474 else
21475 echo "$as_me: program exited with status $ac_status" >&5
21476 echo "$as_me: failed program was:" >&5
21477 sed 's/^/| /' conftest.$ac_ext >&5
21478
21479 ( exit $ac_status )
21480 if test "$ac_cv_type_size_t" = yes; then
21481 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21482 See \`config.log' for more details." >&5
21483 echo "$as_me: error: cannot compute sizeof (size_t)
21484 See \`config.log' for more details." >&2;}
21485 { (exit 77); exit 77; }; }
21486 else
21487 ac_cv_sizeof_size_t=0
21488 fi
21489 fi
21490 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21491 fi
21492 rm -f conftest.val
21493 fi
21494 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21495 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21496
21497
21498
21499 cat >>confdefs.h <<_ACEOF
21500 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21501 _ACEOF
21502
21503
21504
21505 case "${host}" in
21506 arm-*-linux* )
21507 { echo "$as_me:$LINENO: checking for long long" >&5
21508 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21509 if test "${ac_cv_type_long_long+set}" = set; then
21510 echo $ECHO_N "(cached) $ECHO_C" >&6
21511 else
21512 cat >conftest.$ac_ext <<_ACEOF
21513 /* confdefs.h. */
21514 _ACEOF
21515 cat confdefs.h >>conftest.$ac_ext
21516 cat >>conftest.$ac_ext <<_ACEOF
21517 /* end confdefs.h. */
21518 $ac_includes_default
21519 typedef long long ac__type_new_;
21520 int
21521 main ()
21522 {
21523 if ((ac__type_new_ *) 0)
21524 return 0;
21525 if (sizeof (ac__type_new_))
21526 return 0;
21527 ;
21528 return 0;
21529 }
21530 _ACEOF
21531 rm -f conftest.$ac_objext
21532 if { (ac_try="$ac_compile"
21533 case "(($ac_try" in
21534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21535 *) ac_try_echo=$ac_try;;
21536 esac
21537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21538 (eval "$ac_compile") 2>conftest.er1
21539 ac_status=$?
21540 grep -v '^ *+' conftest.er1 >conftest.err
21541 rm -f conftest.er1
21542 cat conftest.err >&5
21543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21544 (exit $ac_status); } && {
21545 test -z "$ac_c_werror_flag" ||
21546 test ! -s conftest.err
21547 } && test -s conftest.$ac_objext; then
21548 ac_cv_type_long_long=yes
21549 else
21550 echo "$as_me: failed program was:" >&5
21551 sed 's/^/| /' conftest.$ac_ext >&5
21552
21553 ac_cv_type_long_long=no
21554 fi
21555
21556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21557 fi
21558 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21559 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21560
21561 # The cast to long int works around a bug in the HP C Compiler
21562 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21563 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21564 # This bug is HP SR number 8606223364.
21565 { echo "$as_me:$LINENO: checking size of long long" >&5
21566 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21567 if test "${ac_cv_sizeof_long_long+set}" = set; then
21568 echo $ECHO_N "(cached) $ECHO_C" >&6
21569 else
21570 if test "$cross_compiling" = yes; then
21571 # Depending upon the size, compute the lo and hi bounds.
21572 cat >conftest.$ac_ext <<_ACEOF
21573 /* confdefs.h. */
21574 _ACEOF
21575 cat confdefs.h >>conftest.$ac_ext
21576 cat >>conftest.$ac_ext <<_ACEOF
21577 /* end confdefs.h. */
21578 $ac_includes_default
21579 typedef long long ac__type_sizeof_;
21580 int
21581 main ()
21582 {
21583 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21584 test_array [0] = 0
21585
21586 ;
21587 return 0;
21588 }
21589 _ACEOF
21590 rm -f conftest.$ac_objext
21591 if { (ac_try="$ac_compile"
21592 case "(($ac_try" in
21593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21594 *) ac_try_echo=$ac_try;;
21595 esac
21596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21597 (eval "$ac_compile") 2>conftest.er1
21598 ac_status=$?
21599 grep -v '^ *+' conftest.er1 >conftest.err
21600 rm -f conftest.er1
21601 cat conftest.err >&5
21602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21603 (exit $ac_status); } && {
21604 test -z "$ac_c_werror_flag" ||
21605 test ! -s conftest.err
21606 } && test -s conftest.$ac_objext; then
21607 ac_lo=0 ac_mid=0
21608 while :; do
21609 cat >conftest.$ac_ext <<_ACEOF
21610 /* confdefs.h. */
21611 _ACEOF
21612 cat confdefs.h >>conftest.$ac_ext
21613 cat >>conftest.$ac_ext <<_ACEOF
21614 /* end confdefs.h. */
21615 $ac_includes_default
21616 typedef long long ac__type_sizeof_;
21617 int
21618 main ()
21619 {
21620 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21621 test_array [0] = 0
21622
21623 ;
21624 return 0;
21625 }
21626 _ACEOF
21627 rm -f conftest.$ac_objext
21628 if { (ac_try="$ac_compile"
21629 case "(($ac_try" in
21630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21631 *) ac_try_echo=$ac_try;;
21632 esac
21633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21634 (eval "$ac_compile") 2>conftest.er1
21635 ac_status=$?
21636 grep -v '^ *+' conftest.er1 >conftest.err
21637 rm -f conftest.er1
21638 cat conftest.err >&5
21639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21640 (exit $ac_status); } && {
21641 test -z "$ac_c_werror_flag" ||
21642 test ! -s conftest.err
21643 } && test -s conftest.$ac_objext; then
21644 ac_hi=$ac_mid; break
21645 else
21646 echo "$as_me: failed program was:" >&5
21647 sed 's/^/| /' conftest.$ac_ext >&5
21648
21649 ac_lo=`expr $ac_mid + 1`
21650 if test $ac_lo -le $ac_mid; then
21651 ac_lo= ac_hi=
21652 break
21653 fi
21654 ac_mid=`expr 2 '*' $ac_mid + 1`
21655 fi
21656
21657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21658 done
21659 else
21660 echo "$as_me: failed program was:" >&5
21661 sed 's/^/| /' conftest.$ac_ext >&5
21662
21663 cat >conftest.$ac_ext <<_ACEOF
21664 /* confdefs.h. */
21665 _ACEOF
21666 cat confdefs.h >>conftest.$ac_ext
21667 cat >>conftest.$ac_ext <<_ACEOF
21668 /* end confdefs.h. */
21669 $ac_includes_default
21670 typedef long long ac__type_sizeof_;
21671 int
21672 main ()
21673 {
21674 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21675 test_array [0] = 0
21676
21677 ;
21678 return 0;
21679 }
21680 _ACEOF
21681 rm -f conftest.$ac_objext
21682 if { (ac_try="$ac_compile"
21683 case "(($ac_try" in
21684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21685 *) ac_try_echo=$ac_try;;
21686 esac
21687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21688 (eval "$ac_compile") 2>conftest.er1
21689 ac_status=$?
21690 grep -v '^ *+' conftest.er1 >conftest.err
21691 rm -f conftest.er1
21692 cat conftest.err >&5
21693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21694 (exit $ac_status); } && {
21695 test -z "$ac_c_werror_flag" ||
21696 test ! -s conftest.err
21697 } && test -s conftest.$ac_objext; then
21698 ac_hi=-1 ac_mid=-1
21699 while :; do
21700 cat >conftest.$ac_ext <<_ACEOF
21701 /* confdefs.h. */
21702 _ACEOF
21703 cat confdefs.h >>conftest.$ac_ext
21704 cat >>conftest.$ac_ext <<_ACEOF
21705 /* end confdefs.h. */
21706 $ac_includes_default
21707 typedef long long ac__type_sizeof_;
21708 int
21709 main ()
21710 {
21711 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21712 test_array [0] = 0
21713
21714 ;
21715 return 0;
21716 }
21717 _ACEOF
21718 rm -f conftest.$ac_objext
21719 if { (ac_try="$ac_compile"
21720 case "(($ac_try" in
21721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21722 *) ac_try_echo=$ac_try;;
21723 esac
21724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21725 (eval "$ac_compile") 2>conftest.er1
21726 ac_status=$?
21727 grep -v '^ *+' conftest.er1 >conftest.err
21728 rm -f conftest.er1
21729 cat conftest.err >&5
21730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21731 (exit $ac_status); } && {
21732 test -z "$ac_c_werror_flag" ||
21733 test ! -s conftest.err
21734 } && test -s conftest.$ac_objext; then
21735 ac_lo=$ac_mid; break
21736 else
21737 echo "$as_me: failed program was:" >&5
21738 sed 's/^/| /' conftest.$ac_ext >&5
21739
21740 ac_hi=`expr '(' $ac_mid ')' - 1`
21741 if test $ac_mid -le $ac_hi; then
21742 ac_lo= ac_hi=
21743 break
21744 fi
21745 ac_mid=`expr 2 '*' $ac_mid`
21746 fi
21747
21748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21749 done
21750 else
21751 echo "$as_me: failed program was:" >&5
21752 sed 's/^/| /' conftest.$ac_ext >&5
21753
21754 ac_lo= ac_hi=
21755 fi
21756
21757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21758 fi
21759
21760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21761 # Binary search between lo and hi bounds.
21762 while test "x$ac_lo" != "x$ac_hi"; do
21763 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21764 cat >conftest.$ac_ext <<_ACEOF
21765 /* confdefs.h. */
21766 _ACEOF
21767 cat confdefs.h >>conftest.$ac_ext
21768 cat >>conftest.$ac_ext <<_ACEOF
21769 /* end confdefs.h. */
21770 $ac_includes_default
21771 typedef long long ac__type_sizeof_;
21772 int
21773 main ()
21774 {
21775 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21776 test_array [0] = 0
21777
21778 ;
21779 return 0;
21780 }
21781 _ACEOF
21782 rm -f conftest.$ac_objext
21783 if { (ac_try="$ac_compile"
21784 case "(($ac_try" in
21785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21786 *) ac_try_echo=$ac_try;;
21787 esac
21788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21789 (eval "$ac_compile") 2>conftest.er1
21790 ac_status=$?
21791 grep -v '^ *+' conftest.er1 >conftest.err
21792 rm -f conftest.er1
21793 cat conftest.err >&5
21794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21795 (exit $ac_status); } && {
21796 test -z "$ac_c_werror_flag" ||
21797 test ! -s conftest.err
21798 } && test -s conftest.$ac_objext; then
21799 ac_hi=$ac_mid
21800 else
21801 echo "$as_me: failed program was:" >&5
21802 sed 's/^/| /' conftest.$ac_ext >&5
21803
21804 ac_lo=`expr '(' $ac_mid ')' + 1`
21805 fi
21806
21807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21808 done
21809 case $ac_lo in
21810 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21811 '') if test "$ac_cv_type_long_long" = yes; then
21812 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21813 See \`config.log' for more details." >&5
21814 echo "$as_me: error: cannot compute sizeof (long long)
21815 See \`config.log' for more details." >&2;}
21816 { (exit 77); exit 77; }; }
21817 else
21818 ac_cv_sizeof_long_long=0
21819 fi ;;
21820 esac
21821 else
21822 cat >conftest.$ac_ext <<_ACEOF
21823 /* confdefs.h. */
21824 _ACEOF
21825 cat confdefs.h >>conftest.$ac_ext
21826 cat >>conftest.$ac_ext <<_ACEOF
21827 /* end confdefs.h. */
21828 $ac_includes_default
21829 typedef long long ac__type_sizeof_;
21830 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21831 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21832 #include <stdio.h>
21833 #include <stdlib.h>
21834 int
21835 main ()
21836 {
21837
21838 FILE *f = fopen ("conftest.val", "w");
21839 if (! f)
21840 return 1;
21841 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21842 {
21843 long int i = longval ();
21844 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21845 return 1;
21846 fprintf (f, "%ld\n", i);
21847 }
21848 else
21849 {
21850 unsigned long int i = ulongval ();
21851 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21852 return 1;
21853 fprintf (f, "%lu\n", i);
21854 }
21855 return ferror (f) || fclose (f) != 0;
21856
21857 ;
21858 return 0;
21859 }
21860 _ACEOF
21861 rm -f conftest$ac_exeext
21862 if { (ac_try="$ac_link"
21863 case "(($ac_try" in
21864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21865 *) ac_try_echo=$ac_try;;
21866 esac
21867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21868 (eval "$ac_link") 2>&5
21869 ac_status=$?
21870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21871 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21872 { (case "(($ac_try" in
21873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21874 *) ac_try_echo=$ac_try;;
21875 esac
21876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21877 (eval "$ac_try") 2>&5
21878 ac_status=$?
21879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21880 (exit $ac_status); }; }; then
21881 ac_cv_sizeof_long_long=`cat conftest.val`
21882 else
21883 echo "$as_me: program exited with status $ac_status" >&5
21884 echo "$as_me: failed program was:" >&5
21885 sed 's/^/| /' conftest.$ac_ext >&5
21886
21887 ( exit $ac_status )
21888 if test "$ac_cv_type_long_long" = yes; then
21889 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21890 See \`config.log' for more details." >&5
21891 echo "$as_me: error: cannot compute sizeof (long long)
21892 See \`config.log' for more details." >&2;}
21893 { (exit 77); exit 77; }; }
21894 else
21895 ac_cv_sizeof_long_long=0
21896 fi
21897 fi
21898 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21899 fi
21900 rm -f conftest.val
21901 fi
21902 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21903 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21904
21905
21906
21907 cat >>confdefs.h <<_ACEOF
21908 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21909 _ACEOF
21910
21911
21912 ;;
21913 *-hp-hpux* )
21914 { echo "$as_me:$LINENO: checking for long long" >&5
21915 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21916 if test "${ac_cv_type_long_long+set}" = set; then
21917 echo $ECHO_N "(cached) $ECHO_C" >&6
21918 else
21919 cat >conftest.$ac_ext <<_ACEOF
21920 /* confdefs.h. */
21921 _ACEOF
21922 cat confdefs.h >>conftest.$ac_ext
21923 cat >>conftest.$ac_ext <<_ACEOF
21924 /* end confdefs.h. */
21925 $ac_includes_default
21926 typedef long long ac__type_new_;
21927 int
21928 main ()
21929 {
21930 if ((ac__type_new_ *) 0)
21931 return 0;
21932 if (sizeof (ac__type_new_))
21933 return 0;
21934 ;
21935 return 0;
21936 }
21937 _ACEOF
21938 rm -f conftest.$ac_objext
21939 if { (ac_try="$ac_compile"
21940 case "(($ac_try" in
21941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21942 *) ac_try_echo=$ac_try;;
21943 esac
21944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21945 (eval "$ac_compile") 2>conftest.er1
21946 ac_status=$?
21947 grep -v '^ *+' conftest.er1 >conftest.err
21948 rm -f conftest.er1
21949 cat conftest.err >&5
21950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21951 (exit $ac_status); } && {
21952 test -z "$ac_c_werror_flag" ||
21953 test ! -s conftest.err
21954 } && test -s conftest.$ac_objext; then
21955 ac_cv_type_long_long=yes
21956 else
21957 echo "$as_me: failed program was:" >&5
21958 sed 's/^/| /' conftest.$ac_ext >&5
21959
21960 ac_cv_type_long_long=no
21961 fi
21962
21963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21964 fi
21965 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21966 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21967
21968 # The cast to long int works around a bug in the HP C Compiler
21969 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21970 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21971 # This bug is HP SR number 8606223364.
21972 { echo "$as_me:$LINENO: checking size of long long" >&5
21973 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21974 if test "${ac_cv_sizeof_long_long+set}" = set; then
21975 echo $ECHO_N "(cached) $ECHO_C" >&6
21976 else
21977 if test "$cross_compiling" = yes; then
21978 # Depending upon the size, compute the lo and hi bounds.
21979 cat >conftest.$ac_ext <<_ACEOF
21980 /* confdefs.h. */
21981 _ACEOF
21982 cat confdefs.h >>conftest.$ac_ext
21983 cat >>conftest.$ac_ext <<_ACEOF
21984 /* end confdefs.h. */
21985 $ac_includes_default
21986 typedef long long ac__type_sizeof_;
21987 int
21988 main ()
21989 {
21990 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21991 test_array [0] = 0
21992
21993 ;
21994 return 0;
21995 }
21996 _ACEOF
21997 rm -f conftest.$ac_objext
21998 if { (ac_try="$ac_compile"
21999 case "(($ac_try" in
22000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22001 *) ac_try_echo=$ac_try;;
22002 esac
22003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22004 (eval "$ac_compile") 2>conftest.er1
22005 ac_status=$?
22006 grep -v '^ *+' conftest.er1 >conftest.err
22007 rm -f conftest.er1
22008 cat conftest.err >&5
22009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22010 (exit $ac_status); } && {
22011 test -z "$ac_c_werror_flag" ||
22012 test ! -s conftest.err
22013 } && test -s conftest.$ac_objext; then
22014 ac_lo=0 ac_mid=0
22015 while :; do
22016 cat >conftest.$ac_ext <<_ACEOF
22017 /* confdefs.h. */
22018 _ACEOF
22019 cat confdefs.h >>conftest.$ac_ext
22020 cat >>conftest.$ac_ext <<_ACEOF
22021 /* end confdefs.h. */
22022 $ac_includes_default
22023 typedef long long ac__type_sizeof_;
22024 int
22025 main ()
22026 {
22027 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22028 test_array [0] = 0
22029
22030 ;
22031 return 0;
22032 }
22033 _ACEOF
22034 rm -f conftest.$ac_objext
22035 if { (ac_try="$ac_compile"
22036 case "(($ac_try" in
22037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22038 *) ac_try_echo=$ac_try;;
22039 esac
22040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22041 (eval "$ac_compile") 2>conftest.er1
22042 ac_status=$?
22043 grep -v '^ *+' conftest.er1 >conftest.err
22044 rm -f conftest.er1
22045 cat conftest.err >&5
22046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22047 (exit $ac_status); } && {
22048 test -z "$ac_c_werror_flag" ||
22049 test ! -s conftest.err
22050 } && test -s conftest.$ac_objext; then
22051 ac_hi=$ac_mid; break
22052 else
22053 echo "$as_me: failed program was:" >&5
22054 sed 's/^/| /' conftest.$ac_ext >&5
22055
22056 ac_lo=`expr $ac_mid + 1`
22057 if test $ac_lo -le $ac_mid; then
22058 ac_lo= ac_hi=
22059 break
22060 fi
22061 ac_mid=`expr 2 '*' $ac_mid + 1`
22062 fi
22063
22064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22065 done
22066 else
22067 echo "$as_me: failed program was:" >&5
22068 sed 's/^/| /' conftest.$ac_ext >&5
22069
22070 cat >conftest.$ac_ext <<_ACEOF
22071 /* confdefs.h. */
22072 _ACEOF
22073 cat confdefs.h >>conftest.$ac_ext
22074 cat >>conftest.$ac_ext <<_ACEOF
22075 /* end confdefs.h. */
22076 $ac_includes_default
22077 typedef long long ac__type_sizeof_;
22078 int
22079 main ()
22080 {
22081 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22082 test_array [0] = 0
22083
22084 ;
22085 return 0;
22086 }
22087 _ACEOF
22088 rm -f conftest.$ac_objext
22089 if { (ac_try="$ac_compile"
22090 case "(($ac_try" in
22091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22092 *) ac_try_echo=$ac_try;;
22093 esac
22094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22095 (eval "$ac_compile") 2>conftest.er1
22096 ac_status=$?
22097 grep -v '^ *+' conftest.er1 >conftest.err
22098 rm -f conftest.er1
22099 cat conftest.err >&5
22100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22101 (exit $ac_status); } && {
22102 test -z "$ac_c_werror_flag" ||
22103 test ! -s conftest.err
22104 } && test -s conftest.$ac_objext; then
22105 ac_hi=-1 ac_mid=-1
22106 while :; do
22107 cat >conftest.$ac_ext <<_ACEOF
22108 /* confdefs.h. */
22109 _ACEOF
22110 cat confdefs.h >>conftest.$ac_ext
22111 cat >>conftest.$ac_ext <<_ACEOF
22112 /* end confdefs.h. */
22113 $ac_includes_default
22114 typedef long long ac__type_sizeof_;
22115 int
22116 main ()
22117 {
22118 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22119 test_array [0] = 0
22120
22121 ;
22122 return 0;
22123 }
22124 _ACEOF
22125 rm -f conftest.$ac_objext
22126 if { (ac_try="$ac_compile"
22127 case "(($ac_try" in
22128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22129 *) ac_try_echo=$ac_try;;
22130 esac
22131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22132 (eval "$ac_compile") 2>conftest.er1
22133 ac_status=$?
22134 grep -v '^ *+' conftest.er1 >conftest.err
22135 rm -f conftest.er1
22136 cat conftest.err >&5
22137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22138 (exit $ac_status); } && {
22139 test -z "$ac_c_werror_flag" ||
22140 test ! -s conftest.err
22141 } && test -s conftest.$ac_objext; then
22142 ac_lo=$ac_mid; break
22143 else
22144 echo "$as_me: failed program was:" >&5
22145 sed 's/^/| /' conftest.$ac_ext >&5
22146
22147 ac_hi=`expr '(' $ac_mid ')' - 1`
22148 if test $ac_mid -le $ac_hi; then
22149 ac_lo= ac_hi=
22150 break
22151 fi
22152 ac_mid=`expr 2 '*' $ac_mid`
22153 fi
22154
22155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22156 done
22157 else
22158 echo "$as_me: failed program was:" >&5
22159 sed 's/^/| /' conftest.$ac_ext >&5
22160
22161 ac_lo= ac_hi=
22162 fi
22163
22164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22165 fi
22166
22167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22168 # Binary search between lo and hi bounds.
22169 while test "x$ac_lo" != "x$ac_hi"; do
22170 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22171 cat >conftest.$ac_ext <<_ACEOF
22172 /* confdefs.h. */
22173 _ACEOF
22174 cat confdefs.h >>conftest.$ac_ext
22175 cat >>conftest.$ac_ext <<_ACEOF
22176 /* end confdefs.h. */
22177 $ac_includes_default
22178 typedef long long ac__type_sizeof_;
22179 int
22180 main ()
22181 {
22182 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22183 test_array [0] = 0
22184
22185 ;
22186 return 0;
22187 }
22188 _ACEOF
22189 rm -f conftest.$ac_objext
22190 if { (ac_try="$ac_compile"
22191 case "(($ac_try" in
22192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22193 *) ac_try_echo=$ac_try;;
22194 esac
22195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22196 (eval "$ac_compile") 2>conftest.er1
22197 ac_status=$?
22198 grep -v '^ *+' conftest.er1 >conftest.err
22199 rm -f conftest.er1
22200 cat conftest.err >&5
22201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22202 (exit $ac_status); } && {
22203 test -z "$ac_c_werror_flag" ||
22204 test ! -s conftest.err
22205 } && test -s conftest.$ac_objext; then
22206 ac_hi=$ac_mid
22207 else
22208 echo "$as_me: failed program was:" >&5
22209 sed 's/^/| /' conftest.$ac_ext >&5
22210
22211 ac_lo=`expr '(' $ac_mid ')' + 1`
22212 fi
22213
22214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22215 done
22216 case $ac_lo in
22217 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22218 '') if test "$ac_cv_type_long_long" = yes; then
22219 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22220 See \`config.log' for more details." >&5
22221 echo "$as_me: error: cannot compute sizeof (long long)
22222 See \`config.log' for more details." >&2;}
22223 { (exit 77); exit 77; }; }
22224 else
22225 ac_cv_sizeof_long_long=0
22226 fi ;;
22227 esac
22228 else
22229 cat >conftest.$ac_ext <<_ACEOF
22230 /* confdefs.h. */
22231 _ACEOF
22232 cat confdefs.h >>conftest.$ac_ext
22233 cat >>conftest.$ac_ext <<_ACEOF
22234 /* end confdefs.h. */
22235 $ac_includes_default
22236 typedef long long ac__type_sizeof_;
22237 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22238 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22239 #include <stdio.h>
22240 #include <stdlib.h>
22241 int
22242 main ()
22243 {
22244
22245 FILE *f = fopen ("conftest.val", "w");
22246 if (! f)
22247 return 1;
22248 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22249 {
22250 long int i = longval ();
22251 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22252 return 1;
22253 fprintf (f, "%ld\n", i);
22254 }
22255 else
22256 {
22257 unsigned long int i = ulongval ();
22258 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22259 return 1;
22260 fprintf (f, "%lu\n", i);
22261 }
22262 return ferror (f) || fclose (f) != 0;
22263
22264 ;
22265 return 0;
22266 }
22267 _ACEOF
22268 rm -f conftest$ac_exeext
22269 if { (ac_try="$ac_link"
22270 case "(($ac_try" in
22271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22272 *) ac_try_echo=$ac_try;;
22273 esac
22274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22275 (eval "$ac_link") 2>&5
22276 ac_status=$?
22277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22278 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22279 { (case "(($ac_try" in
22280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22281 *) ac_try_echo=$ac_try;;
22282 esac
22283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22284 (eval "$ac_try") 2>&5
22285 ac_status=$?
22286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22287 (exit $ac_status); }; }; then
22288 ac_cv_sizeof_long_long=`cat conftest.val`
22289 else
22290 echo "$as_me: program exited with status $ac_status" >&5
22291 echo "$as_me: failed program was:" >&5
22292 sed 's/^/| /' conftest.$ac_ext >&5
22293
22294 ( exit $ac_status )
22295 if test "$ac_cv_type_long_long" = yes; then
22296 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22297 See \`config.log' for more details." >&5
22298 echo "$as_me: error: cannot compute sizeof (long long)
22299 See \`config.log' for more details." >&2;}
22300 { (exit 77); exit 77; }; }
22301 else
22302 ac_cv_sizeof_long_long=0
22303 fi
22304 fi
22305 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22306 fi
22307 rm -f conftest.val
22308 fi
22309 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22310 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22311
22312
22313
22314 cat >>confdefs.h <<_ACEOF
22315 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22316 _ACEOF
22317
22318
22319 if test "$ac_cv_sizeof_long_long" != 0; then
22320 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22321 fi
22322 ;;
22323 * )
22324 { echo "$as_me:$LINENO: checking for long long" >&5
22325 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22326 if test "${ac_cv_type_long_long+set}" = set; then
22327 echo $ECHO_N "(cached) $ECHO_C" >&6
22328 else
22329 cat >conftest.$ac_ext <<_ACEOF
22330 /* confdefs.h. */
22331 _ACEOF
22332 cat confdefs.h >>conftest.$ac_ext
22333 cat >>conftest.$ac_ext <<_ACEOF
22334 /* end confdefs.h. */
22335 $ac_includes_default
22336 typedef long long ac__type_new_;
22337 int
22338 main ()
22339 {
22340 if ((ac__type_new_ *) 0)
22341 return 0;
22342 if (sizeof (ac__type_new_))
22343 return 0;
22344 ;
22345 return 0;
22346 }
22347 _ACEOF
22348 rm -f conftest.$ac_objext
22349 if { (ac_try="$ac_compile"
22350 case "(($ac_try" in
22351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22352 *) ac_try_echo=$ac_try;;
22353 esac
22354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22355 (eval "$ac_compile") 2>conftest.er1
22356 ac_status=$?
22357 grep -v '^ *+' conftest.er1 >conftest.err
22358 rm -f conftest.er1
22359 cat conftest.err >&5
22360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22361 (exit $ac_status); } && {
22362 test -z "$ac_c_werror_flag" ||
22363 test ! -s conftest.err
22364 } && test -s conftest.$ac_objext; then
22365 ac_cv_type_long_long=yes
22366 else
22367 echo "$as_me: failed program was:" >&5
22368 sed 's/^/| /' conftest.$ac_ext >&5
22369
22370 ac_cv_type_long_long=no
22371 fi
22372
22373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22374 fi
22375 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22376 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22377
22378 # The cast to long int works around a bug in the HP C Compiler
22379 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22380 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22381 # This bug is HP SR number 8606223364.
22382 { echo "$as_me:$LINENO: checking size of long long" >&5
22383 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22384 if test "${ac_cv_sizeof_long_long+set}" = set; then
22385 echo $ECHO_N "(cached) $ECHO_C" >&6
22386 else
22387 if test "$cross_compiling" = yes; then
22388 # Depending upon the size, compute the lo and hi bounds.
22389 cat >conftest.$ac_ext <<_ACEOF
22390 /* confdefs.h. */
22391 _ACEOF
22392 cat confdefs.h >>conftest.$ac_ext
22393 cat >>conftest.$ac_ext <<_ACEOF
22394 /* end confdefs.h. */
22395 $ac_includes_default
22396 typedef long long ac__type_sizeof_;
22397 int
22398 main ()
22399 {
22400 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22401 test_array [0] = 0
22402
22403 ;
22404 return 0;
22405 }
22406 _ACEOF
22407 rm -f conftest.$ac_objext
22408 if { (ac_try="$ac_compile"
22409 case "(($ac_try" in
22410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22411 *) ac_try_echo=$ac_try;;
22412 esac
22413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22414 (eval "$ac_compile") 2>conftest.er1
22415 ac_status=$?
22416 grep -v '^ *+' conftest.er1 >conftest.err
22417 rm -f conftest.er1
22418 cat conftest.err >&5
22419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22420 (exit $ac_status); } && {
22421 test -z "$ac_c_werror_flag" ||
22422 test ! -s conftest.err
22423 } && test -s conftest.$ac_objext; then
22424 ac_lo=0 ac_mid=0
22425 while :; do
22426 cat >conftest.$ac_ext <<_ACEOF
22427 /* confdefs.h. */
22428 _ACEOF
22429 cat confdefs.h >>conftest.$ac_ext
22430 cat >>conftest.$ac_ext <<_ACEOF
22431 /* end confdefs.h. */
22432 $ac_includes_default
22433 typedef long long ac__type_sizeof_;
22434 int
22435 main ()
22436 {
22437 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22438 test_array [0] = 0
22439
22440 ;
22441 return 0;
22442 }
22443 _ACEOF
22444 rm -f conftest.$ac_objext
22445 if { (ac_try="$ac_compile"
22446 case "(($ac_try" in
22447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22448 *) ac_try_echo=$ac_try;;
22449 esac
22450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22451 (eval "$ac_compile") 2>conftest.er1
22452 ac_status=$?
22453 grep -v '^ *+' conftest.er1 >conftest.err
22454 rm -f conftest.er1
22455 cat conftest.err >&5
22456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22457 (exit $ac_status); } && {
22458 test -z "$ac_c_werror_flag" ||
22459 test ! -s conftest.err
22460 } && test -s conftest.$ac_objext; then
22461 ac_hi=$ac_mid; break
22462 else
22463 echo "$as_me: failed program was:" >&5
22464 sed 's/^/| /' conftest.$ac_ext >&5
22465
22466 ac_lo=`expr $ac_mid + 1`
22467 if test $ac_lo -le $ac_mid; then
22468 ac_lo= ac_hi=
22469 break
22470 fi
22471 ac_mid=`expr 2 '*' $ac_mid + 1`
22472 fi
22473
22474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22475 done
22476 else
22477 echo "$as_me: failed program was:" >&5
22478 sed 's/^/| /' conftest.$ac_ext >&5
22479
22480 cat >conftest.$ac_ext <<_ACEOF
22481 /* confdefs.h. */
22482 _ACEOF
22483 cat confdefs.h >>conftest.$ac_ext
22484 cat >>conftest.$ac_ext <<_ACEOF
22485 /* end confdefs.h. */
22486 $ac_includes_default
22487 typedef long long ac__type_sizeof_;
22488 int
22489 main ()
22490 {
22491 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22492 test_array [0] = 0
22493
22494 ;
22495 return 0;
22496 }
22497 _ACEOF
22498 rm -f conftest.$ac_objext
22499 if { (ac_try="$ac_compile"
22500 case "(($ac_try" in
22501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22502 *) ac_try_echo=$ac_try;;
22503 esac
22504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22505 (eval "$ac_compile") 2>conftest.er1
22506 ac_status=$?
22507 grep -v '^ *+' conftest.er1 >conftest.err
22508 rm -f conftest.er1
22509 cat conftest.err >&5
22510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22511 (exit $ac_status); } && {
22512 test -z "$ac_c_werror_flag" ||
22513 test ! -s conftest.err
22514 } && test -s conftest.$ac_objext; then
22515 ac_hi=-1 ac_mid=-1
22516 while :; do
22517 cat >conftest.$ac_ext <<_ACEOF
22518 /* confdefs.h. */
22519 _ACEOF
22520 cat confdefs.h >>conftest.$ac_ext
22521 cat >>conftest.$ac_ext <<_ACEOF
22522 /* end confdefs.h. */
22523 $ac_includes_default
22524 typedef long long ac__type_sizeof_;
22525 int
22526 main ()
22527 {
22528 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22529 test_array [0] = 0
22530
22531 ;
22532 return 0;
22533 }
22534 _ACEOF
22535 rm -f conftest.$ac_objext
22536 if { (ac_try="$ac_compile"
22537 case "(($ac_try" in
22538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22539 *) ac_try_echo=$ac_try;;
22540 esac
22541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22542 (eval "$ac_compile") 2>conftest.er1
22543 ac_status=$?
22544 grep -v '^ *+' conftest.er1 >conftest.err
22545 rm -f conftest.er1
22546 cat conftest.err >&5
22547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22548 (exit $ac_status); } && {
22549 test -z "$ac_c_werror_flag" ||
22550 test ! -s conftest.err
22551 } && test -s conftest.$ac_objext; then
22552 ac_lo=$ac_mid; break
22553 else
22554 echo "$as_me: failed program was:" >&5
22555 sed 's/^/| /' conftest.$ac_ext >&5
22556
22557 ac_hi=`expr '(' $ac_mid ')' - 1`
22558 if test $ac_mid -le $ac_hi; then
22559 ac_lo= ac_hi=
22560 break
22561 fi
22562 ac_mid=`expr 2 '*' $ac_mid`
22563 fi
22564
22565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22566 done
22567 else
22568 echo "$as_me: failed program was:" >&5
22569 sed 's/^/| /' conftest.$ac_ext >&5
22570
22571 ac_lo= ac_hi=
22572 fi
22573
22574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22575 fi
22576
22577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22578 # Binary search between lo and hi bounds.
22579 while test "x$ac_lo" != "x$ac_hi"; do
22580 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22581 cat >conftest.$ac_ext <<_ACEOF
22582 /* confdefs.h. */
22583 _ACEOF
22584 cat confdefs.h >>conftest.$ac_ext
22585 cat >>conftest.$ac_ext <<_ACEOF
22586 /* end confdefs.h. */
22587 $ac_includes_default
22588 typedef long long ac__type_sizeof_;
22589 int
22590 main ()
22591 {
22592 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22593 test_array [0] = 0
22594
22595 ;
22596 return 0;
22597 }
22598 _ACEOF
22599 rm -f conftest.$ac_objext
22600 if { (ac_try="$ac_compile"
22601 case "(($ac_try" in
22602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22603 *) ac_try_echo=$ac_try;;
22604 esac
22605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22606 (eval "$ac_compile") 2>conftest.er1
22607 ac_status=$?
22608 grep -v '^ *+' conftest.er1 >conftest.err
22609 rm -f conftest.er1
22610 cat conftest.err >&5
22611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22612 (exit $ac_status); } && {
22613 test -z "$ac_c_werror_flag" ||
22614 test ! -s conftest.err
22615 } && test -s conftest.$ac_objext; then
22616 ac_hi=$ac_mid
22617 else
22618 echo "$as_me: failed program was:" >&5
22619 sed 's/^/| /' conftest.$ac_ext >&5
22620
22621 ac_lo=`expr '(' $ac_mid ')' + 1`
22622 fi
22623
22624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22625 done
22626 case $ac_lo in
22627 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22628 '') if test "$ac_cv_type_long_long" = yes; then
22629 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22630 See \`config.log' for more details." >&5
22631 echo "$as_me: error: cannot compute sizeof (long long)
22632 See \`config.log' for more details." >&2;}
22633 { (exit 77); exit 77; }; }
22634 else
22635 ac_cv_sizeof_long_long=0
22636 fi ;;
22637 esac
22638 else
22639 cat >conftest.$ac_ext <<_ACEOF
22640 /* confdefs.h. */
22641 _ACEOF
22642 cat confdefs.h >>conftest.$ac_ext
22643 cat >>conftest.$ac_ext <<_ACEOF
22644 /* end confdefs.h. */
22645 $ac_includes_default
22646 typedef long long ac__type_sizeof_;
22647 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22648 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22649 #include <stdio.h>
22650 #include <stdlib.h>
22651 int
22652 main ()
22653 {
22654
22655 FILE *f = fopen ("conftest.val", "w");
22656 if (! f)
22657 return 1;
22658 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22659 {
22660 long int i = longval ();
22661 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22662 return 1;
22663 fprintf (f, "%ld\n", i);
22664 }
22665 else
22666 {
22667 unsigned long int i = ulongval ();
22668 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22669 return 1;
22670 fprintf (f, "%lu\n", i);
22671 }
22672 return ferror (f) || fclose (f) != 0;
22673
22674 ;
22675 return 0;
22676 }
22677 _ACEOF
22678 rm -f conftest$ac_exeext
22679 if { (ac_try="$ac_link"
22680 case "(($ac_try" in
22681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22682 *) ac_try_echo=$ac_try;;
22683 esac
22684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22685 (eval "$ac_link") 2>&5
22686 ac_status=$?
22687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22688 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22689 { (case "(($ac_try" in
22690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22691 *) ac_try_echo=$ac_try;;
22692 esac
22693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22694 (eval "$ac_try") 2>&5
22695 ac_status=$?
22696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22697 (exit $ac_status); }; }; then
22698 ac_cv_sizeof_long_long=`cat conftest.val`
22699 else
22700 echo "$as_me: program exited with status $ac_status" >&5
22701 echo "$as_me: failed program was:" >&5
22702 sed 's/^/| /' conftest.$ac_ext >&5
22703
22704 ( exit $ac_status )
22705 if test "$ac_cv_type_long_long" = yes; then
22706 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22707 See \`config.log' for more details." >&5
22708 echo "$as_me: error: cannot compute sizeof (long long)
22709 See \`config.log' for more details." >&2;}
22710 { (exit 77); exit 77; }; }
22711 else
22712 ac_cv_sizeof_long_long=0
22713 fi
22714 fi
22715 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22716 fi
22717 rm -f conftest.val
22718 fi
22719 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22720 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22721
22722
22723
22724 cat >>confdefs.h <<_ACEOF
22725 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22726 _ACEOF
22727
22728
22729 esac
22730
22731 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22732 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22733 if test "${ac_cv_type_wchar_t+set}" = set; then
22734 echo $ECHO_N "(cached) $ECHO_C" >&6
22735 else
22736 cat >conftest.$ac_ext <<_ACEOF
22737 /* confdefs.h. */
22738 _ACEOF
22739 cat confdefs.h >>conftest.$ac_ext
22740 cat >>conftest.$ac_ext <<_ACEOF
22741 /* end confdefs.h. */
22742
22743 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22744 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22745 # error "fake wchar_t"
22746 #endif
22747 #ifdef HAVE_WCHAR_H
22748 # ifdef __CYGWIN__
22749 # include <stddef.h>
22750 # endif
22751 # include <wchar.h>
22752 #endif
22753 #ifdef HAVE_STDLIB_H
22754 # include <stdlib.h>
22755 #endif
22756 #include <stdio.h>
22757
22758
22759
22760 typedef wchar_t ac__type_new_;
22761 int
22762 main ()
22763 {
22764 if ((ac__type_new_ *) 0)
22765 return 0;
22766 if (sizeof (ac__type_new_))
22767 return 0;
22768 ;
22769 return 0;
22770 }
22771 _ACEOF
22772 rm -f conftest.$ac_objext
22773 if { (ac_try="$ac_compile"
22774 case "(($ac_try" in
22775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22776 *) ac_try_echo=$ac_try;;
22777 esac
22778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22779 (eval "$ac_compile") 2>conftest.er1
22780 ac_status=$?
22781 grep -v '^ *+' conftest.er1 >conftest.err
22782 rm -f conftest.er1
22783 cat conftest.err >&5
22784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22785 (exit $ac_status); } && {
22786 test -z "$ac_c_werror_flag" ||
22787 test ! -s conftest.err
22788 } && test -s conftest.$ac_objext; then
22789 ac_cv_type_wchar_t=yes
22790 else
22791 echo "$as_me: failed program was:" >&5
22792 sed 's/^/| /' conftest.$ac_ext >&5
22793
22794 ac_cv_type_wchar_t=no
22795 fi
22796
22797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22798 fi
22799 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22800 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22801
22802 # The cast to long int works around a bug in the HP C Compiler
22803 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22804 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22805 # This bug is HP SR number 8606223364.
22806 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22807 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22808 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22809 echo $ECHO_N "(cached) $ECHO_C" >&6
22810 else
22811 if test "$cross_compiling" = yes; then
22812 # Depending upon the size, compute the lo and hi bounds.
22813 cat >conftest.$ac_ext <<_ACEOF
22814 /* confdefs.h. */
22815 _ACEOF
22816 cat confdefs.h >>conftest.$ac_ext
22817 cat >>conftest.$ac_ext <<_ACEOF
22818 /* end confdefs.h. */
22819
22820 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22821 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22822 # error "fake wchar_t"
22823 #endif
22824 #ifdef HAVE_WCHAR_H
22825 # ifdef __CYGWIN__
22826 # include <stddef.h>
22827 # endif
22828 # include <wchar.h>
22829 #endif
22830 #ifdef HAVE_STDLIB_H
22831 # include <stdlib.h>
22832 #endif
22833 #include <stdio.h>
22834
22835
22836
22837 typedef wchar_t ac__type_sizeof_;
22838 int
22839 main ()
22840 {
22841 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22842 test_array [0] = 0
22843
22844 ;
22845 return 0;
22846 }
22847 _ACEOF
22848 rm -f conftest.$ac_objext
22849 if { (ac_try="$ac_compile"
22850 case "(($ac_try" in
22851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22852 *) ac_try_echo=$ac_try;;
22853 esac
22854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22855 (eval "$ac_compile") 2>conftest.er1
22856 ac_status=$?
22857 grep -v '^ *+' conftest.er1 >conftest.err
22858 rm -f conftest.er1
22859 cat conftest.err >&5
22860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22861 (exit $ac_status); } && {
22862 test -z "$ac_c_werror_flag" ||
22863 test ! -s conftest.err
22864 } && test -s conftest.$ac_objext; then
22865 ac_lo=0 ac_mid=0
22866 while :; do
22867 cat >conftest.$ac_ext <<_ACEOF
22868 /* confdefs.h. */
22869 _ACEOF
22870 cat confdefs.h >>conftest.$ac_ext
22871 cat >>conftest.$ac_ext <<_ACEOF
22872 /* end confdefs.h. */
22873
22874 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22875 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22876 # error "fake wchar_t"
22877 #endif
22878 #ifdef HAVE_WCHAR_H
22879 # ifdef __CYGWIN__
22880 # include <stddef.h>
22881 # endif
22882 # include <wchar.h>
22883 #endif
22884 #ifdef HAVE_STDLIB_H
22885 # include <stdlib.h>
22886 #endif
22887 #include <stdio.h>
22888
22889
22890
22891 typedef wchar_t ac__type_sizeof_;
22892 int
22893 main ()
22894 {
22895 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22896 test_array [0] = 0
22897
22898 ;
22899 return 0;
22900 }
22901 _ACEOF
22902 rm -f conftest.$ac_objext
22903 if { (ac_try="$ac_compile"
22904 case "(($ac_try" in
22905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22906 *) ac_try_echo=$ac_try;;
22907 esac
22908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22909 (eval "$ac_compile") 2>conftest.er1
22910 ac_status=$?
22911 grep -v '^ *+' conftest.er1 >conftest.err
22912 rm -f conftest.er1
22913 cat conftest.err >&5
22914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22915 (exit $ac_status); } && {
22916 test -z "$ac_c_werror_flag" ||
22917 test ! -s conftest.err
22918 } && test -s conftest.$ac_objext; then
22919 ac_hi=$ac_mid; break
22920 else
22921 echo "$as_me: failed program was:" >&5
22922 sed 's/^/| /' conftest.$ac_ext >&5
22923
22924 ac_lo=`expr $ac_mid + 1`
22925 if test $ac_lo -le $ac_mid; then
22926 ac_lo= ac_hi=
22927 break
22928 fi
22929 ac_mid=`expr 2 '*' $ac_mid + 1`
22930 fi
22931
22932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22933 done
22934 else
22935 echo "$as_me: failed program was:" >&5
22936 sed 's/^/| /' conftest.$ac_ext >&5
22937
22938 cat >conftest.$ac_ext <<_ACEOF
22939 /* confdefs.h. */
22940 _ACEOF
22941 cat confdefs.h >>conftest.$ac_ext
22942 cat >>conftest.$ac_ext <<_ACEOF
22943 /* end confdefs.h. */
22944
22945 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22946 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22947 # error "fake wchar_t"
22948 #endif
22949 #ifdef HAVE_WCHAR_H
22950 # ifdef __CYGWIN__
22951 # include <stddef.h>
22952 # endif
22953 # include <wchar.h>
22954 #endif
22955 #ifdef HAVE_STDLIB_H
22956 # include <stdlib.h>
22957 #endif
22958 #include <stdio.h>
22959
22960
22961
22962 typedef wchar_t ac__type_sizeof_;
22963 int
22964 main ()
22965 {
22966 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22967 test_array [0] = 0
22968
22969 ;
22970 return 0;
22971 }
22972 _ACEOF
22973 rm -f conftest.$ac_objext
22974 if { (ac_try="$ac_compile"
22975 case "(($ac_try" in
22976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22977 *) ac_try_echo=$ac_try;;
22978 esac
22979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22980 (eval "$ac_compile") 2>conftest.er1
22981 ac_status=$?
22982 grep -v '^ *+' conftest.er1 >conftest.err
22983 rm -f conftest.er1
22984 cat conftest.err >&5
22985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22986 (exit $ac_status); } && {
22987 test -z "$ac_c_werror_flag" ||
22988 test ! -s conftest.err
22989 } && test -s conftest.$ac_objext; then
22990 ac_hi=-1 ac_mid=-1
22991 while :; do
22992 cat >conftest.$ac_ext <<_ACEOF
22993 /* confdefs.h. */
22994 _ACEOF
22995 cat confdefs.h >>conftest.$ac_ext
22996 cat >>conftest.$ac_ext <<_ACEOF
22997 /* end confdefs.h. */
22998
22999 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23000 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23001 # error "fake wchar_t"
23002 #endif
23003 #ifdef HAVE_WCHAR_H
23004 # ifdef __CYGWIN__
23005 # include <stddef.h>
23006 # endif
23007 # include <wchar.h>
23008 #endif
23009 #ifdef HAVE_STDLIB_H
23010 # include <stdlib.h>
23011 #endif
23012 #include <stdio.h>
23013
23014
23015
23016 typedef wchar_t ac__type_sizeof_;
23017 int
23018 main ()
23019 {
23020 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23021 test_array [0] = 0
23022
23023 ;
23024 return 0;
23025 }
23026 _ACEOF
23027 rm -f conftest.$ac_objext
23028 if { (ac_try="$ac_compile"
23029 case "(($ac_try" in
23030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23031 *) ac_try_echo=$ac_try;;
23032 esac
23033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23034 (eval "$ac_compile") 2>conftest.er1
23035 ac_status=$?
23036 grep -v '^ *+' conftest.er1 >conftest.err
23037 rm -f conftest.er1
23038 cat conftest.err >&5
23039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23040 (exit $ac_status); } && {
23041 test -z "$ac_c_werror_flag" ||
23042 test ! -s conftest.err
23043 } && test -s conftest.$ac_objext; then
23044 ac_lo=$ac_mid; break
23045 else
23046 echo "$as_me: failed program was:" >&5
23047 sed 's/^/| /' conftest.$ac_ext >&5
23048
23049 ac_hi=`expr '(' $ac_mid ')' - 1`
23050 if test $ac_mid -le $ac_hi; then
23051 ac_lo= ac_hi=
23052 break
23053 fi
23054 ac_mid=`expr 2 '*' $ac_mid`
23055 fi
23056
23057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23058 done
23059 else
23060 echo "$as_me: failed program was:" >&5
23061 sed 's/^/| /' conftest.$ac_ext >&5
23062
23063 ac_lo= ac_hi=
23064 fi
23065
23066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23067 fi
23068
23069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23070 # Binary search between lo and hi bounds.
23071 while test "x$ac_lo" != "x$ac_hi"; do
23072 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23073 cat >conftest.$ac_ext <<_ACEOF
23074 /* confdefs.h. */
23075 _ACEOF
23076 cat confdefs.h >>conftest.$ac_ext
23077 cat >>conftest.$ac_ext <<_ACEOF
23078 /* end confdefs.h. */
23079
23080 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23081 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23082 # error "fake wchar_t"
23083 #endif
23084 #ifdef HAVE_WCHAR_H
23085 # ifdef __CYGWIN__
23086 # include <stddef.h>
23087 # endif
23088 # include <wchar.h>
23089 #endif
23090 #ifdef HAVE_STDLIB_H
23091 # include <stdlib.h>
23092 #endif
23093 #include <stdio.h>
23094
23095
23096
23097 typedef wchar_t ac__type_sizeof_;
23098 int
23099 main ()
23100 {
23101 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23102 test_array [0] = 0
23103
23104 ;
23105 return 0;
23106 }
23107 _ACEOF
23108 rm -f conftest.$ac_objext
23109 if { (ac_try="$ac_compile"
23110 case "(($ac_try" in
23111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23112 *) ac_try_echo=$ac_try;;
23113 esac
23114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23115 (eval "$ac_compile") 2>conftest.er1
23116 ac_status=$?
23117 grep -v '^ *+' conftest.er1 >conftest.err
23118 rm -f conftest.er1
23119 cat conftest.err >&5
23120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23121 (exit $ac_status); } && {
23122 test -z "$ac_c_werror_flag" ||
23123 test ! -s conftest.err
23124 } && test -s conftest.$ac_objext; then
23125 ac_hi=$ac_mid
23126 else
23127 echo "$as_me: failed program was:" >&5
23128 sed 's/^/| /' conftest.$ac_ext >&5
23129
23130 ac_lo=`expr '(' $ac_mid ')' + 1`
23131 fi
23132
23133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23134 done
23135 case $ac_lo in
23136 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23137 '') if test "$ac_cv_type_wchar_t" = yes; then
23138 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23139 See \`config.log' for more details." >&5
23140 echo "$as_me: error: cannot compute sizeof (wchar_t)
23141 See \`config.log' for more details." >&2;}
23142 { (exit 77); exit 77; }; }
23143 else
23144 ac_cv_sizeof_wchar_t=0
23145 fi ;;
23146 esac
23147 else
23148 cat >conftest.$ac_ext <<_ACEOF
23149 /* confdefs.h. */
23150 _ACEOF
23151 cat confdefs.h >>conftest.$ac_ext
23152 cat >>conftest.$ac_ext <<_ACEOF
23153 /* end confdefs.h. */
23154
23155 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23156 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23157 # error "fake wchar_t"
23158 #endif
23159 #ifdef HAVE_WCHAR_H
23160 # ifdef __CYGWIN__
23161 # include <stddef.h>
23162 # endif
23163 # include <wchar.h>
23164 #endif
23165 #ifdef HAVE_STDLIB_H
23166 # include <stdlib.h>
23167 #endif
23168 #include <stdio.h>
23169
23170
23171
23172 typedef wchar_t ac__type_sizeof_;
23173 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23174 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23175 #include <stdio.h>
23176 #include <stdlib.h>
23177 int
23178 main ()
23179 {
23180
23181 FILE *f = fopen ("conftest.val", "w");
23182 if (! f)
23183 return 1;
23184 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23185 {
23186 long int i = longval ();
23187 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23188 return 1;
23189 fprintf (f, "%ld\n", i);
23190 }
23191 else
23192 {
23193 unsigned long int i = ulongval ();
23194 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23195 return 1;
23196 fprintf (f, "%lu\n", i);
23197 }
23198 return ferror (f) || fclose (f) != 0;
23199
23200 ;
23201 return 0;
23202 }
23203 _ACEOF
23204 rm -f conftest$ac_exeext
23205 if { (ac_try="$ac_link"
23206 case "(($ac_try" in
23207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23208 *) ac_try_echo=$ac_try;;
23209 esac
23210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23211 (eval "$ac_link") 2>&5
23212 ac_status=$?
23213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23214 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23215 { (case "(($ac_try" in
23216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23217 *) ac_try_echo=$ac_try;;
23218 esac
23219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23220 (eval "$ac_try") 2>&5
23221 ac_status=$?
23222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23223 (exit $ac_status); }; }; then
23224 ac_cv_sizeof_wchar_t=`cat conftest.val`
23225 else
23226 echo "$as_me: program exited with status $ac_status" >&5
23227 echo "$as_me: failed program was:" >&5
23228 sed 's/^/| /' conftest.$ac_ext >&5
23229
23230 ( exit $ac_status )
23231 if test "$ac_cv_type_wchar_t" = yes; then
23232 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23233 See \`config.log' for more details." >&5
23234 echo "$as_me: error: cannot compute sizeof (wchar_t)
23235 See \`config.log' for more details." >&2;}
23236 { (exit 77); exit 77; }; }
23237 else
23238 ac_cv_sizeof_wchar_t=0
23239 fi
23240 fi
23241 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23242 fi
23243 rm -f conftest.val
23244 fi
23245 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23246 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23247
23248
23249
23250 cat >>confdefs.h <<_ACEOF
23251 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23252 _ACEOF
23253
23254
23255 if test "$ac_cv_sizeof_wchar_t" != 0; then
23256 wxUSE_WCHAR_T=yes
23257 else
23258 wxUSE_WCHAR_T=no
23259 fi
23260
23261 { echo "$as_me:$LINENO: checking for va_copy" >&5
23262 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23263 if test "${wx_cv_func_va_copy+set}" = set; then
23264 echo $ECHO_N "(cached) $ECHO_C" >&6
23265 else
23266
23267 ac_ext=cpp
23268 ac_cpp='$CXXCPP $CPPFLAGS'
23269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23272
23273 cat >conftest.$ac_ext <<_ACEOF
23274
23275 #include <stdarg.h>
23276 void foo(char *f, ...)
23277 {
23278 va_list ap1, ap2;
23279 va_start(ap1, f);
23280 va_copy(ap2, ap1);
23281 va_end(ap2);
23282 va_end(ap1);
23283 }
23284 int main()
23285 {
23286 foo("hi", 17);
23287 return 0;
23288 }
23289 _ACEOF
23290 rm -f conftest.$ac_objext conftest$ac_exeext
23291 if { (ac_try="$ac_link"
23292 case "(($ac_try" in
23293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23294 *) ac_try_echo=$ac_try;;
23295 esac
23296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23297 (eval "$ac_link") 2>conftest.er1
23298 ac_status=$?
23299 grep -v '^ *+' conftest.er1 >conftest.err
23300 rm -f conftest.er1
23301 cat conftest.err >&5
23302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23303 (exit $ac_status); } && {
23304 test -z "$ac_cxx_werror_flag" ||
23305 test ! -s conftest.err
23306 } && test -s conftest$ac_exeext &&
23307 $as_test_x conftest$ac_exeext; then
23308 wx_cv_func_va_copy=yes
23309 else
23310 echo "$as_me: failed program was:" >&5
23311 sed 's/^/| /' conftest.$ac_ext >&5
23312
23313 wx_cv_func_va_copy=no
23314
23315 fi
23316
23317 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23318 conftest$ac_exeext conftest.$ac_ext
23319 ac_ext=c
23320 ac_cpp='$CPP $CPPFLAGS'
23321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23324
23325
23326
23327 fi
23328 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23329 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23330
23331 if test $wx_cv_func_va_copy = "yes"; then
23332 cat >>confdefs.h <<\_ACEOF
23333 #define HAVE_VA_COPY 1
23334 _ACEOF
23335
23336 else
23337 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23338 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23339 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23340 echo $ECHO_N "(cached) $ECHO_C" >&6
23341 else
23342
23343 if test "$cross_compiling" = yes; then
23344 wx_cv_type_va_list_lvalue=yes
23345
23346 else
23347 cat >conftest.$ac_ext <<_ACEOF
23348
23349 #include <stdarg.h>
23350 int foo(char *f, ...)
23351 {
23352 va_list ap1, ap2;
23353 va_start(ap1, f);
23354 ap2 = ap1;
23355 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23356 return 1;
23357 va_end(ap2);
23358 va_end(ap1);
23359 return 0;
23360 }
23361 int main()
23362 {
23363 return foo("hi", 17);
23364 }
23365 _ACEOF
23366 rm -f conftest$ac_exeext
23367 if { (ac_try="$ac_link"
23368 case "(($ac_try" in
23369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23370 *) ac_try_echo=$ac_try;;
23371 esac
23372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23373 (eval "$ac_link") 2>&5
23374 ac_status=$?
23375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23376 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23377 { (case "(($ac_try" in
23378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23379 *) ac_try_echo=$ac_try;;
23380 esac
23381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23382 (eval "$ac_try") 2>&5
23383 ac_status=$?
23384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23385 (exit $ac_status); }; }; then
23386 wx_cv_type_va_list_lvalue=yes
23387 else
23388 echo "$as_me: program exited with status $ac_status" >&5
23389 echo "$as_me: failed program was:" >&5
23390 sed 's/^/| /' conftest.$ac_ext >&5
23391
23392 ( exit $ac_status )
23393 wx_cv_type_va_list_lvalue=no
23394 fi
23395 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23396 fi
23397
23398
23399
23400
23401 fi
23402 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23403 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23404
23405 if test $wx_cv_type_va_list_lvalue != "yes"; then
23406 cat >>confdefs.h <<\_ACEOF
23407 #define VA_LIST_IS_ARRAY 1
23408 _ACEOF
23409
23410 fi
23411 fi
23412
23413 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23414
23415 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23416 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23417 if test "${wx_cv_have_variadic_macros+set}" = set; then
23418 echo $ECHO_N "(cached) $ECHO_C" >&6
23419 else
23420
23421 ac_ext=cpp
23422 ac_cpp='$CXXCPP $CPPFLAGS'
23423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23426
23427 cat >conftest.$ac_ext <<_ACEOF
23428 /* confdefs.h. */
23429 _ACEOF
23430 cat confdefs.h >>conftest.$ac_ext
23431 cat >>conftest.$ac_ext <<_ACEOF
23432 /* end confdefs.h. */
23433
23434 #include <stdio.h>
23435 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23436
23437 int
23438 main ()
23439 {
23440
23441 test("%s %d %p", "test", 1, 0);
23442
23443
23444 ;
23445 return 0;
23446 }
23447 _ACEOF
23448 rm -f conftest.$ac_objext
23449 if { (ac_try="$ac_compile"
23450 case "(($ac_try" in
23451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23452 *) ac_try_echo=$ac_try;;
23453 esac
23454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23455 (eval "$ac_compile") 2>conftest.er1
23456 ac_status=$?
23457 grep -v '^ *+' conftest.er1 >conftest.err
23458 rm -f conftest.er1
23459 cat conftest.err >&5
23460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23461 (exit $ac_status); } && {
23462 test -z "$ac_cxx_werror_flag" ||
23463 test ! -s conftest.err
23464 } && test -s conftest.$ac_objext; then
23465 wx_cv_have_variadic_macros=yes
23466 else
23467 echo "$as_me: failed program was:" >&5
23468 sed 's/^/| /' conftest.$ac_ext >&5
23469
23470 wx_cv_have_variadic_macros=no
23471
23472 fi
23473
23474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23475 ac_ext=c
23476 ac_cpp='$CPP $CPPFLAGS'
23477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23480
23481
23482
23483 fi
23484 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23485 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23486
23487 if test $wx_cv_have_variadic_macros = "yes"; then
23488 cat >>confdefs.h <<\_ACEOF
23489 #define HAVE_VARIADIC_MACROS 1
23490 _ACEOF
23491
23492 fi
23493
23494 fi
23495
23496 LARGEFILE_CPPFLAGS=
23497 # Check whether --enable-largefile was given.
23498 if test "${enable_largefile+set}" = set; then
23499 enableval=$enable_largefile;
23500 fi
23501
23502 if test "$enable_largefile" != no; then
23503 wx_largefile=no
23504
23505 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23506 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23507 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23508 echo $ECHO_N "(cached) $ECHO_C" >&6
23509 else
23510
23511 cat >conftest.$ac_ext <<_ACEOF
23512 /* confdefs.h. */
23513 _ACEOF
23514 cat confdefs.h >>conftest.$ac_ext
23515 cat >>conftest.$ac_ext <<_ACEOF
23516 /* end confdefs.h. */
23517 #define _FILE_OFFSET_BITS 64
23518 #include <sys/types.h>
23519 int
23520 main ()
23521 {
23522 typedef struct {
23523 unsigned int field: sizeof(off_t) == 8;
23524 } wxlf;
23525
23526 ;
23527 return 0;
23528 }
23529 _ACEOF
23530 rm -f conftest.$ac_objext
23531 if { (ac_try="$ac_compile"
23532 case "(($ac_try" in
23533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23534 *) ac_try_echo=$ac_try;;
23535 esac
23536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23537 (eval "$ac_compile") 2>conftest.er1
23538 ac_status=$?
23539 grep -v '^ *+' conftest.er1 >conftest.err
23540 rm -f conftest.er1
23541 cat conftest.err >&5
23542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23543 (exit $ac_status); } && {
23544 test -z "$ac_c_werror_flag" ||
23545 test ! -s conftest.err
23546 } && test -s conftest.$ac_objext; then
23547 ac_cv_sys_file_offset_bits=64
23548 else
23549 echo "$as_me: failed program was:" >&5
23550 sed 's/^/| /' conftest.$ac_ext >&5
23551
23552 ac_cv_sys_file_offset_bits=no
23553 fi
23554
23555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23556
23557
23558 fi
23559 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23560 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23561
23562 if test "$ac_cv_sys_file_offset_bits" != no; then
23563 wx_largefile=yes
23564 cat >>confdefs.h <<_ACEOF
23565 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23566 _ACEOF
23567
23568 fi
23569
23570 if test "x$wx_largefile" != "xyes"; then
23571
23572 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23573 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23574 if test "${ac_cv_sys_large_files+set}" = set; then
23575 echo $ECHO_N "(cached) $ECHO_C" >&6
23576 else
23577
23578 cat >conftest.$ac_ext <<_ACEOF
23579 /* confdefs.h. */
23580 _ACEOF
23581 cat confdefs.h >>conftest.$ac_ext
23582 cat >>conftest.$ac_ext <<_ACEOF
23583 /* end confdefs.h. */
23584 #define _LARGE_FILES 1
23585 #include <sys/types.h>
23586 int
23587 main ()
23588 {
23589 typedef struct {
23590 unsigned int field: sizeof(off_t) == 8;
23591 } wxlf;
23592
23593 ;
23594 return 0;
23595 }
23596 _ACEOF
23597 rm -f conftest.$ac_objext
23598 if { (ac_try="$ac_compile"
23599 case "(($ac_try" in
23600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23601 *) ac_try_echo=$ac_try;;
23602 esac
23603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23604 (eval "$ac_compile") 2>conftest.er1
23605 ac_status=$?
23606 grep -v '^ *+' conftest.er1 >conftest.err
23607 rm -f conftest.er1
23608 cat conftest.err >&5
23609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23610 (exit $ac_status); } && {
23611 test -z "$ac_c_werror_flag" ||
23612 test ! -s conftest.err
23613 } && test -s conftest.$ac_objext; then
23614 ac_cv_sys_large_files=1
23615 else
23616 echo "$as_me: failed program was:" >&5
23617 sed 's/^/| /' conftest.$ac_ext >&5
23618
23619 ac_cv_sys_large_files=no
23620 fi
23621
23622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23623
23624
23625 fi
23626 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23627 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23628
23629 if test "$ac_cv_sys_large_files" != no; then
23630 wx_largefile=yes
23631 cat >>confdefs.h <<_ACEOF
23632 #define _LARGE_FILES $ac_cv_sys_large_files
23633 _ACEOF
23634
23635 fi
23636
23637 fi
23638
23639 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23640 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23641 if test "x$wx_largefile" = "xyes"; then
23642 cat >>confdefs.h <<\_ACEOF
23643 #define HAVE_LARGEFILE_SUPPORT 1
23644 _ACEOF
23645
23646 fi
23647 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23648 echo "${ECHO_T}$wx_largefile" >&6; }
23649 fi
23650
23651 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23652 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23653 elif test "$ac_cv_sys_large_files" = 1; then
23654 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23655 fi
23656
23657 if test -n "$LARGEFILE_CPPFLAGS"; then
23658 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23659
23660 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23661 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23662 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23663 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23664 echo $ECHO_N "(cached) $ECHO_C" >&6
23665 else
23666
23667 ac_ext=cpp
23668 ac_cpp='$CXXCPP $CPPFLAGS'
23669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23672
23673 cat >conftest.$ac_ext <<_ACEOF
23674 /* confdefs.h. */
23675 _ACEOF
23676 cat confdefs.h >>conftest.$ac_ext
23677 cat >>conftest.$ac_ext <<_ACEOF
23678 /* end confdefs.h. */
23679
23680 int
23681 main ()
23682 {
23683
23684 #ifndef __STDC_EXT__
23685 choke me
23686 #endif
23687
23688 ;
23689 return 0;
23690 }
23691 _ACEOF
23692 rm -f conftest.$ac_objext
23693 if { (ac_try="$ac_compile"
23694 case "(($ac_try" in
23695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23696 *) ac_try_echo=$ac_try;;
23697 esac
23698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23699 (eval "$ac_compile") 2>conftest.er1
23700 ac_status=$?
23701 grep -v '^ *+' conftest.er1 >conftest.err
23702 rm -f conftest.er1
23703 cat conftest.err >&5
23704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23705 (exit $ac_status); } && {
23706 test -z "$ac_cxx_werror_flag" ||
23707 test ! -s conftest.err
23708 } && test -s conftest.$ac_objext; then
23709 wx_cv_STDC_EXT_required=no
23710 else
23711 echo "$as_me: failed program was:" >&5
23712 sed 's/^/| /' conftest.$ac_ext >&5
23713
23714 wx_cv_STDC_EXT_required=yes
23715
23716 fi
23717
23718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23719 ac_ext=c
23720 ac_cpp='$CPP $CPPFLAGS'
23721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23724
23725
23726
23727 fi
23728 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23729 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23730 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23731 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23732 fi
23733 fi
23734 fi
23735
23736 ac_ext=cpp
23737 ac_cpp='$CXXCPP $CPPFLAGS'
23738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23741
23742 old_CPPFLAGS="$CPPFLAGS"
23743 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
23744 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23745 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23746 if test "${ac_cv_sys_largefile_source+set}" = set; then
23747 echo $ECHO_N "(cached) $ECHO_C" >&6
23748 else
23749 while :; do
23750 cat >conftest.$ac_ext <<_ACEOF
23751 /* confdefs.h. */
23752 _ACEOF
23753 cat confdefs.h >>conftest.$ac_ext
23754 cat >>conftest.$ac_ext <<_ACEOF
23755 /* end confdefs.h. */
23756 #include <sys/types.h> /* for off_t */
23757 #include <stdio.h>
23758 int
23759 main ()
23760 {
23761 int (*fp) (FILE *, off_t, int) = fseeko;
23762 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23763 ;
23764 return 0;
23765 }
23766 _ACEOF
23767 rm -f conftest.$ac_objext conftest$ac_exeext
23768 if { (ac_try="$ac_link"
23769 case "(($ac_try" in
23770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23771 *) ac_try_echo=$ac_try;;
23772 esac
23773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23774 (eval "$ac_link") 2>conftest.er1
23775 ac_status=$?
23776 grep -v '^ *+' conftest.er1 >conftest.err
23777 rm -f conftest.er1
23778 cat conftest.err >&5
23779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23780 (exit $ac_status); } && {
23781 test -z "$ac_cxx_werror_flag" ||
23782 test ! -s conftest.err
23783 } && test -s conftest$ac_exeext &&
23784 $as_test_x conftest$ac_exeext; then
23785 ac_cv_sys_largefile_source=no; break
23786 else
23787 echo "$as_me: failed program was:" >&5
23788 sed 's/^/| /' conftest.$ac_ext >&5
23789
23790
23791 fi
23792
23793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23794 conftest$ac_exeext conftest.$ac_ext
23795 cat >conftest.$ac_ext <<_ACEOF
23796 /* confdefs.h. */
23797 _ACEOF
23798 cat confdefs.h >>conftest.$ac_ext
23799 cat >>conftest.$ac_ext <<_ACEOF
23800 /* end confdefs.h. */
23801 #define _LARGEFILE_SOURCE 1
23802 #include <sys/types.h> /* for off_t */
23803 #include <stdio.h>
23804 int
23805 main ()
23806 {
23807 int (*fp) (FILE *, off_t, int) = fseeko;
23808 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23809 ;
23810 return 0;
23811 }
23812 _ACEOF
23813 rm -f conftest.$ac_objext conftest$ac_exeext
23814 if { (ac_try="$ac_link"
23815 case "(($ac_try" in
23816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23817 *) ac_try_echo=$ac_try;;
23818 esac
23819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23820 (eval "$ac_link") 2>conftest.er1
23821 ac_status=$?
23822 grep -v '^ *+' conftest.er1 >conftest.err
23823 rm -f conftest.er1
23824 cat conftest.err >&5
23825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23826 (exit $ac_status); } && {
23827 test -z "$ac_cxx_werror_flag" ||
23828 test ! -s conftest.err
23829 } && test -s conftest$ac_exeext &&
23830 $as_test_x conftest$ac_exeext; then
23831 ac_cv_sys_largefile_source=1; break
23832 else
23833 echo "$as_me: failed program was:" >&5
23834 sed 's/^/| /' conftest.$ac_ext >&5
23835
23836
23837 fi
23838
23839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23840 conftest$ac_exeext conftest.$ac_ext
23841 ac_cv_sys_largefile_source=unknown
23842 break
23843 done
23844 fi
23845 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23846 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23847 case $ac_cv_sys_largefile_source in #(
23848 no | unknown) ;;
23849 *)
23850 cat >>confdefs.h <<_ACEOF
23851 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23852 _ACEOF
23853 ;;
23854 esac
23855 rm -f conftest*
23856
23857 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23858 # in glibc 2.1.3, but that breaks too many other things.
23859 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23860 if test $ac_cv_sys_largefile_source != unknown; then
23861
23862 cat >>confdefs.h <<\_ACEOF
23863 #define HAVE_FSEEKO 1
23864 _ACEOF
23865
23866 fi
23867
23868 CPPFLAGS="$old_CPPFLAGS"
23869 ac_ext=c
23870 ac_cpp='$CPP $CPPFLAGS'
23871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23874
23875 if test "$ac_cv_sys_largefile_source" != no; then
23876 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23877 fi
23878
23879 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23880 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23881 if test "${ac_cv_c_bigendian+set}" = set; then
23882 echo $ECHO_N "(cached) $ECHO_C" >&6
23883 else
23884 ac_cv_c_bigendian=unknown
23885 # See if sys/param.h defines the BYTE_ORDER macro.
23886 cat >conftest.$ac_ext <<_ACEOF
23887 /* confdefs.h. */
23888 _ACEOF
23889 cat confdefs.h >>conftest.$ac_ext
23890 cat >>conftest.$ac_ext <<_ACEOF
23891 /* end confdefs.h. */
23892 #include <sys/types.h>
23893 #include <sys/param.h>
23894 int
23895 main ()
23896 {
23897
23898 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23899 bogus endian macros
23900 #endif
23901 ;
23902 return 0;
23903 }
23904 _ACEOF
23905 rm -f conftest.$ac_objext
23906 if { (ac_try="$ac_compile"
23907 case "(($ac_try" in
23908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23909 *) ac_try_echo=$ac_try;;
23910 esac
23911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23912 (eval "$ac_compile") 2>conftest.er1
23913 ac_status=$?
23914 grep -v '^ *+' conftest.er1 >conftest.err
23915 rm -f conftest.er1
23916 cat conftest.err >&5
23917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23918 (exit $ac_status); } && {
23919 test -z "$ac_c_werror_flag" ||
23920 test ! -s conftest.err
23921 } && test -s conftest.$ac_objext; then
23922 # It does; now see whether it defined to BIG_ENDIAN or not.
23923 cat >conftest.$ac_ext <<_ACEOF
23924 /* confdefs.h. */
23925 _ACEOF
23926 cat confdefs.h >>conftest.$ac_ext
23927 cat >>conftest.$ac_ext <<_ACEOF
23928 /* end confdefs.h. */
23929 #include <sys/types.h>
23930 #include <sys/param.h>
23931 int
23932 main ()
23933 {
23934
23935 #if BYTE_ORDER != BIG_ENDIAN
23936 not big endian
23937 #endif
23938 ;
23939 return 0;
23940 }
23941 _ACEOF
23942 rm -f conftest.$ac_objext
23943 if { (ac_try="$ac_compile"
23944 case "(($ac_try" in
23945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23946 *) ac_try_echo=$ac_try;;
23947 esac
23948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23949 (eval "$ac_compile") 2>conftest.er1
23950 ac_status=$?
23951 grep -v '^ *+' conftest.er1 >conftest.err
23952 rm -f conftest.er1
23953 cat conftest.err >&5
23954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23955 (exit $ac_status); } && {
23956 test -z "$ac_c_werror_flag" ||
23957 test ! -s conftest.err
23958 } && test -s conftest.$ac_objext; then
23959 ac_cv_c_bigendian=yes
23960 else
23961 echo "$as_me: failed program was:" >&5
23962 sed 's/^/| /' conftest.$ac_ext >&5
23963
23964 ac_cv_c_bigendian=no
23965 fi
23966
23967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23968 else
23969 echo "$as_me: failed program was:" >&5
23970 sed 's/^/| /' conftest.$ac_ext >&5
23971
23972
23973 fi
23974
23975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23976 if test $ac_cv_c_bigendian = unknown; then
23977 if test "$cross_compiling" = yes; then
23978 ac_cv_c_bigendian=unknown
23979 else
23980 cat >conftest.$ac_ext <<_ACEOF
23981 /* confdefs.h. */
23982 _ACEOF
23983 cat confdefs.h >>conftest.$ac_ext
23984 cat >>conftest.$ac_ext <<_ACEOF
23985 /* end confdefs.h. */
23986 main () {
23987 /* Are we little or big endian? From Harbison&Steele. */
23988 union
23989 {
23990 long l;
23991 char c[sizeof (long)];
23992 } u;
23993 u.l = 1;
23994 exit (u.c[sizeof (long) - 1] == 1);
23995 }
23996 _ACEOF
23997 rm -f conftest$ac_exeext
23998 if { (ac_try="$ac_link"
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_link") 2>&5
24005 ac_status=$?
24006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24007 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24008 { (case "(($ac_try" in
24009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24010 *) ac_try_echo=$ac_try;;
24011 esac
24012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24013 (eval "$ac_try") 2>&5
24014 ac_status=$?
24015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24016 (exit $ac_status); }; }; then
24017 ac_cv_c_bigendian=no
24018 else
24019 echo "$as_me: program exited with status $ac_status" >&5
24020 echo "$as_me: failed program was:" >&5
24021 sed 's/^/| /' conftest.$ac_ext >&5
24022
24023 ( exit $ac_status )
24024 ac_cv_c_bigendian=yes
24025 fi
24026 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24027 fi
24028
24029
24030 fi
24031 fi
24032 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24033 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24034 if test $ac_cv_c_bigendian = unknown; then
24035 { 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
24036 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;}
24037 fi
24038 if test $ac_cv_c_bigendian = yes; then
24039 cat >>confdefs.h <<\_ACEOF
24040 #define WORDS_BIGENDIAN 1
24041 _ACEOF
24042
24043 fi
24044
24045
24046
24047
24048 ac_ext=cpp
24049 ac_cpp='$CXXCPP $CPPFLAGS'
24050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24053
24054
24055
24056 for ac_header in iostream
24057 do
24058 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24059 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24060 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24061 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24062 echo $ECHO_N "(cached) $ECHO_C" >&6
24063 else
24064 cat >conftest.$ac_ext <<_ACEOF
24065 /* confdefs.h. */
24066 _ACEOF
24067 cat confdefs.h >>conftest.$ac_ext
24068 cat >>conftest.$ac_ext <<_ACEOF
24069 /* end confdefs.h. */
24070
24071
24072 #include <$ac_header>
24073 _ACEOF
24074 rm -f conftest.$ac_objext
24075 if { (ac_try="$ac_compile"
24076 case "(($ac_try" in
24077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24078 *) ac_try_echo=$ac_try;;
24079 esac
24080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24081 (eval "$ac_compile") 2>conftest.er1
24082 ac_status=$?
24083 grep -v '^ *+' conftest.er1 >conftest.err
24084 rm -f conftest.er1
24085 cat conftest.err >&5
24086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24087 (exit $ac_status); } && {
24088 test -z "$ac_cxx_werror_flag" ||
24089 test ! -s conftest.err
24090 } && test -s conftest.$ac_objext; then
24091 eval "$as_ac_Header=yes"
24092 else
24093 echo "$as_me: failed program was:" >&5
24094 sed 's/^/| /' conftest.$ac_ext >&5
24095
24096 eval "$as_ac_Header=no"
24097 fi
24098
24099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24100 fi
24101 ac_res=`eval echo '${'$as_ac_Header'}'`
24102 { echo "$as_me:$LINENO: result: $ac_res" >&5
24103 echo "${ECHO_T}$ac_res" >&6; }
24104 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24105 cat >>confdefs.h <<_ACEOF
24106 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24107 _ACEOF
24108
24109 fi
24110
24111 done
24112
24113
24114 if test "$ac_cv_header_iostream" = "yes" ; then
24115 :
24116 else
24117 cat >>confdefs.h <<\_ACEOF
24118 #define wxUSE_IOSTREAMH 1
24119 _ACEOF
24120
24121 fi
24122
24123 ac_ext=c
24124 ac_cpp='$CPP $CPPFLAGS'
24125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24128
24129
24130
24131
24132 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24133 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24134 if test "${wx_cv_explicit+set}" = set; then
24135 echo $ECHO_N "(cached) $ECHO_C" >&6
24136 else
24137
24138
24139 ac_ext=cpp
24140 ac_cpp='$CXXCPP $CPPFLAGS'
24141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24144
24145
24146 cat >conftest.$ac_ext <<_ACEOF
24147 /* confdefs.h. */
24148 _ACEOF
24149 cat confdefs.h >>conftest.$ac_ext
24150 cat >>conftest.$ac_ext <<_ACEOF
24151 /* end confdefs.h. */
24152
24153 class Foo { public: explicit Foo(int) {} };
24154
24155 int
24156 main ()
24157 {
24158
24159 return 0;
24160
24161 ;
24162 return 0;
24163 }
24164 _ACEOF
24165 rm -f conftest.$ac_objext
24166 if { (ac_try="$ac_compile"
24167 case "(($ac_try" in
24168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24169 *) ac_try_echo=$ac_try;;
24170 esac
24171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24172 (eval "$ac_compile") 2>conftest.er1
24173 ac_status=$?
24174 grep -v '^ *+' conftest.er1 >conftest.err
24175 rm -f conftest.er1
24176 cat conftest.err >&5
24177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24178 (exit $ac_status); } && {
24179 test -z "$ac_cxx_werror_flag" ||
24180 test ! -s conftest.err
24181 } && test -s conftest.$ac_objext; then
24182
24183 cat >conftest.$ac_ext <<_ACEOF
24184 /* confdefs.h. */
24185 _ACEOF
24186 cat confdefs.h >>conftest.$ac_ext
24187 cat >>conftest.$ac_ext <<_ACEOF
24188 /* end confdefs.h. */
24189
24190 class Foo { public: explicit Foo(int) {} };
24191 static void TakeFoo(const Foo& foo) { }
24192
24193 int
24194 main ()
24195 {
24196
24197 TakeFoo(17);
24198 return 0;
24199
24200 ;
24201 return 0;
24202 }
24203 _ACEOF
24204 rm -f conftest.$ac_objext
24205 if { (ac_try="$ac_compile"
24206 case "(($ac_try" in
24207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24208 *) ac_try_echo=$ac_try;;
24209 esac
24210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24211 (eval "$ac_compile") 2>conftest.er1
24212 ac_status=$?
24213 grep -v '^ *+' conftest.er1 >conftest.err
24214 rm -f conftest.er1
24215 cat conftest.err >&5
24216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24217 (exit $ac_status); } && {
24218 test -z "$ac_cxx_werror_flag" ||
24219 test ! -s conftest.err
24220 } && test -s conftest.$ac_objext; then
24221 wx_cv_explicit=no
24222 else
24223 echo "$as_me: failed program was:" >&5
24224 sed 's/^/| /' conftest.$ac_ext >&5
24225
24226 wx_cv_explicit=yes
24227
24228 fi
24229
24230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24231
24232 else
24233 echo "$as_me: failed program was:" >&5
24234 sed 's/^/| /' conftest.$ac_ext >&5
24235
24236 wx_cv_explicit=no
24237
24238 fi
24239
24240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24241
24242 ac_ext=c
24243 ac_cpp='$CPP $CPPFLAGS'
24244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24247
24248
24249 fi
24250 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24251 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24252
24253 if test "$wx_cv_explicit" = "yes"; then
24254 cat >>confdefs.h <<\_ACEOF
24255 #define HAVE_EXPLICIT 1
24256 _ACEOF
24257
24258 fi
24259
24260
24261 if test "x$SUNCXX" = xyes; then
24262 CXXFLAGS="-features=tmplife $CXXFLAGS"
24263 fi
24264
24265 if test "x$SUNCC" = xyes; then
24266 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24267 fi
24268
24269 if test "x$SGICC" = "xyes"; then
24270 CFLAGS="-woff 3970 $CFLAGS"
24271 fi
24272 if test "x$SGICXX" = "xyes"; then
24273 CXXFLAGS="-woff 3970 $CXXFLAGS"
24274 fi
24275
24276 if test "x$HPCC" = "xyes"; then
24277 CFLAGS="+W 2011,2450 $CFLAGS"
24278 fi
24279 if test "x$HPCXX" = "xyes"; then
24280 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24281 fi
24282
24283 if test "x$COMPAQCXX" = "xyes"; then
24284 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24285 fi
24286
24287 ac_ext=cpp
24288 ac_cpp='$CXXCPP $CPPFLAGS'
24289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24292
24293
24294 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24295 if test "$wxUSE_UNICODE" = "yes"; then
24296 std_string="std::wstring"
24297 char_type="wchar_t"
24298 else
24299 std_string="std::string"
24300 char_type="char"
24301 fi
24302
24303 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24304 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24305 if test "${wx_cv_class_stdstring+set}" = set; then
24306 echo $ECHO_N "(cached) $ECHO_C" >&6
24307 else
24308
24309 cat >conftest.$ac_ext <<_ACEOF
24310 /* confdefs.h. */
24311 _ACEOF
24312 cat confdefs.h >>conftest.$ac_ext
24313 cat >>conftest.$ac_ext <<_ACEOF
24314 /* end confdefs.h. */
24315 #include <string>
24316 int
24317 main ()
24318 {
24319 $std_string foo;
24320 ;
24321 return 0;
24322 }
24323 _ACEOF
24324 rm -f conftest.$ac_objext
24325 if { (ac_try="$ac_compile"
24326 case "(($ac_try" in
24327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24328 *) ac_try_echo=$ac_try;;
24329 esac
24330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24331 (eval "$ac_compile") 2>conftest.er1
24332 ac_status=$?
24333 grep -v '^ *+' conftest.er1 >conftest.err
24334 rm -f conftest.er1
24335 cat conftest.err >&5
24336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24337 (exit $ac_status); } && {
24338 test -z "$ac_cxx_werror_flag" ||
24339 test ! -s conftest.err
24340 } && test -s conftest.$ac_objext; then
24341 wx_cv_class_stdstring=yes
24342 else
24343 echo "$as_me: failed program was:" >&5
24344 sed 's/^/| /' conftest.$ac_ext >&5
24345
24346 wx_cv_class_stdstring=no
24347
24348 fi
24349
24350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24351
24352
24353 fi
24354 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24355 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24356
24357 if test "$wx_cv_class_stdstring" = yes; then
24358 if test "$wxUSE_UNICODE" = "yes"; then
24359 cat >>confdefs.h <<\_ACEOF
24360 #define HAVE_STD_WSTRING 1
24361 _ACEOF
24362
24363 fi
24364 else
24365 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24366 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24367 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24368 echo $ECHO_N "(cached) $ECHO_C" >&6
24369 else
24370
24371 cat >conftest.$ac_ext <<_ACEOF
24372 /* confdefs.h. */
24373 _ACEOF
24374 cat confdefs.h >>conftest.$ac_ext
24375 cat >>conftest.$ac_ext <<_ACEOF
24376 /* end confdefs.h. */
24377
24378 #ifdef HAVE_WCHAR_H
24379 # ifdef __CYGWIN__
24380 # include <stddef.h>
24381 # endif
24382 # include <wchar.h>
24383 #endif
24384 #ifdef HAVE_STDLIB_H
24385 # include <stdlib.h>
24386 #endif
24387 #include <stdio.h>
24388 #include <string>
24389
24390 int
24391 main ()
24392 {
24393 std::basic_string<$char_type> foo;
24394 const $char_type* dummy = foo.c_str();
24395 ;
24396 return 0;
24397 }
24398 _ACEOF
24399 rm -f conftest.$ac_objext
24400 if { (ac_try="$ac_compile"
24401 case "(($ac_try" in
24402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24403 *) ac_try_echo=$ac_try;;
24404 esac
24405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24406 (eval "$ac_compile") 2>conftest.er1
24407 ac_status=$?
24408 grep -v '^ *+' conftest.er1 >conftest.err
24409 rm -f conftest.er1
24410 cat conftest.err >&5
24411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24412 (exit $ac_status); } && {
24413 test -z "$ac_cxx_werror_flag" ||
24414 test ! -s conftest.err
24415 } && test -s conftest.$ac_objext; then
24416 wx_cv_class_stdbasicstring=yes
24417 else
24418 echo "$as_me: failed program was:" >&5
24419 sed 's/^/| /' conftest.$ac_ext >&5
24420
24421 wx_cv_class_stdbasicstring=no
24422
24423 fi
24424
24425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24426
24427
24428 fi
24429 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24430 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24431
24432 if test "$wx_cv_class_stdbasicstring" != yes; then
24433 if test "$wxUSE_STL" = "yes"; then
24434 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24435 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24436 { (exit 1); exit 1; }; }
24437 elif test "$wxUSE_STD_STRING" = "yes"; then
24438 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24439 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24440 { (exit 1); exit 1; }; }
24441 else
24442 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24443 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24444 wxUSE_STD_STRING=no
24445 fi
24446 fi
24447 fi
24448 fi
24449
24450 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24451 { echo "$as_me:$LINENO: checking for std::istream" >&5
24452 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24453 if test "${ac_cv_type_std__istream+set}" = set; then
24454 echo $ECHO_N "(cached) $ECHO_C" >&6
24455 else
24456 cat >conftest.$ac_ext <<_ACEOF
24457 /* confdefs.h. */
24458 _ACEOF
24459 cat confdefs.h >>conftest.$ac_ext
24460 cat >>conftest.$ac_ext <<_ACEOF
24461 /* end confdefs.h. */
24462 #include <iostream>
24463
24464 typedef std::istream ac__type_new_;
24465 int
24466 main ()
24467 {
24468 if ((ac__type_new_ *) 0)
24469 return 0;
24470 if (sizeof (ac__type_new_))
24471 return 0;
24472 ;
24473 return 0;
24474 }
24475 _ACEOF
24476 rm -f conftest.$ac_objext
24477 if { (ac_try="$ac_compile"
24478 case "(($ac_try" in
24479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24480 *) ac_try_echo=$ac_try;;
24481 esac
24482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24483 (eval "$ac_compile") 2>conftest.er1
24484 ac_status=$?
24485 grep -v '^ *+' conftest.er1 >conftest.err
24486 rm -f conftest.er1
24487 cat conftest.err >&5
24488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24489 (exit $ac_status); } && {
24490 test -z "$ac_cxx_werror_flag" ||
24491 test ! -s conftest.err
24492 } && test -s conftest.$ac_objext; then
24493 ac_cv_type_std__istream=yes
24494 else
24495 echo "$as_me: failed program was:" >&5
24496 sed 's/^/| /' conftest.$ac_ext >&5
24497
24498 ac_cv_type_std__istream=no
24499 fi
24500
24501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24502 fi
24503 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24504 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24505 if test $ac_cv_type_std__istream = yes; then
24506
24507 cat >>confdefs.h <<_ACEOF
24508 #define HAVE_STD__ISTREAM 1
24509 _ACEOF
24510
24511
24512 else
24513 wxUSE_STD_IOSTREAM=no
24514 fi
24515 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24516 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24517 if test "${ac_cv_type_std__ostream+set}" = set; then
24518 echo $ECHO_N "(cached) $ECHO_C" >&6
24519 else
24520 cat >conftest.$ac_ext <<_ACEOF
24521 /* confdefs.h. */
24522 _ACEOF
24523 cat confdefs.h >>conftest.$ac_ext
24524 cat >>conftest.$ac_ext <<_ACEOF
24525 /* end confdefs.h. */
24526 #include <iostream>
24527
24528 typedef std::ostream ac__type_new_;
24529 int
24530 main ()
24531 {
24532 if ((ac__type_new_ *) 0)
24533 return 0;
24534 if (sizeof (ac__type_new_))
24535 return 0;
24536 ;
24537 return 0;
24538 }
24539 _ACEOF
24540 rm -f conftest.$ac_objext
24541 if { (ac_try="$ac_compile"
24542 case "(($ac_try" in
24543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24544 *) ac_try_echo=$ac_try;;
24545 esac
24546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24547 (eval "$ac_compile") 2>conftest.er1
24548 ac_status=$?
24549 grep -v '^ *+' conftest.er1 >conftest.err
24550 rm -f conftest.er1
24551 cat conftest.err >&5
24552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24553 (exit $ac_status); } && {
24554 test -z "$ac_cxx_werror_flag" ||
24555 test ! -s conftest.err
24556 } && test -s conftest.$ac_objext; then
24557 ac_cv_type_std__ostream=yes
24558 else
24559 echo "$as_me: failed program was:" >&5
24560 sed 's/^/| /' conftest.$ac_ext >&5
24561
24562 ac_cv_type_std__ostream=no
24563 fi
24564
24565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24566 fi
24567 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24568 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24569 if test $ac_cv_type_std__ostream = yes; then
24570
24571 cat >>confdefs.h <<_ACEOF
24572 #define HAVE_STD__OSTREAM 1
24573 _ACEOF
24574
24575
24576 else
24577 wxUSE_STD_IOSTREAM=no
24578 fi
24579
24580
24581 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24582 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24583 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24584 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24585 { (exit 1); exit 1; }; }
24586 else
24587 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24588 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24589 fi
24590 fi
24591 fi
24592
24593 if test "$wxUSE_STL" = "yes"; then
24594 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24595 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24596 if test "${wx_cv_lib_stl+set}" = set; then
24597 echo $ECHO_N "(cached) $ECHO_C" >&6
24598 else
24599 cat >conftest.$ac_ext <<_ACEOF
24600 /* confdefs.h. */
24601 _ACEOF
24602 cat confdefs.h >>conftest.$ac_ext
24603 cat >>conftest.$ac_ext <<_ACEOF
24604 /* end confdefs.h. */
24605 #include <string>
24606 #include <functional>
24607 #include <algorithm>
24608 #include <vector>
24609 #include <list>
24610 int
24611 main ()
24612 {
24613 std::vector<int> moo;
24614 std::list<int> foo;
24615 std::vector<int>::iterator it =
24616 std::find_if(moo.begin(), moo.end(),
24617 std::bind2nd(std::less<int>(), 3));
24618 ;
24619 return 0;
24620 }
24621 _ACEOF
24622 rm -f conftest.$ac_objext
24623 if { (ac_try="$ac_compile"
24624 case "(($ac_try" in
24625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24626 *) ac_try_echo=$ac_try;;
24627 esac
24628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24629 (eval "$ac_compile") 2>conftest.er1
24630 ac_status=$?
24631 grep -v '^ *+' conftest.er1 >conftest.err
24632 rm -f conftest.er1
24633 cat conftest.err >&5
24634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24635 (exit $ac_status); } && {
24636 test -z "$ac_cxx_werror_flag" ||
24637 test ! -s conftest.err
24638 } && test -s conftest.$ac_objext; then
24639 wx_cv_lib_stl=yes
24640 else
24641 echo "$as_me: failed program was:" >&5
24642 sed 's/^/| /' conftest.$ac_ext >&5
24643
24644 wx_cv_lib_stl=no
24645
24646 fi
24647
24648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24649
24650 fi
24651 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24652 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24653
24654 if test "$wx_cv_lib_stl" != yes; then
24655 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24656 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24657 { (exit 1); exit 1; }; }
24658 fi
24659
24660 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24661 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24662 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24663 echo $ECHO_N "(cached) $ECHO_C" >&6
24664 else
24665 cat >conftest.$ac_ext <<_ACEOF
24666 /* confdefs.h. */
24667 _ACEOF
24668 cat confdefs.h >>conftest.$ac_ext
24669 cat >>conftest.$ac_ext <<_ACEOF
24670 /* end confdefs.h. */
24671 #include <string>
24672 int
24673 main ()
24674 {
24675 std::string foo, bar;
24676 foo.compare(bar);
24677 foo.compare(1, 1, bar);
24678 foo.compare(1, 1, bar, 1, 1);
24679 foo.compare("");
24680 foo.compare(1, 1, "");
24681 foo.compare(1, 1, "", 2);
24682 ;
24683 return 0;
24684 }
24685 _ACEOF
24686 rm -f conftest.$ac_objext
24687 if { (ac_try="$ac_compile"
24688 case "(($ac_try" in
24689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24690 *) ac_try_echo=$ac_try;;
24691 esac
24692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24693 (eval "$ac_compile") 2>conftest.er1
24694 ac_status=$?
24695 grep -v '^ *+' conftest.er1 >conftest.err
24696 rm -f conftest.er1
24697 cat conftest.err >&5
24698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24699 (exit $ac_status); } && {
24700 test -z "$ac_cxx_werror_flag" ||
24701 test ! -s conftest.err
24702 } && test -s conftest.$ac_objext; then
24703 wx_cv_func_stdstring_compare=yes
24704 else
24705 echo "$as_me: failed program was:" >&5
24706 sed 's/^/| /' conftest.$ac_ext >&5
24707
24708 wx_cv_func_stdstring_compare=no
24709
24710 fi
24711
24712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24713
24714 fi
24715 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24716 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24717
24718 if test "$wx_cv_func_stdstring_compare" = yes; then
24719 cat >>confdefs.h <<\_ACEOF
24720 #define HAVE_STD_STRING_COMPARE 1
24721 _ACEOF
24722
24723 fi
24724
24725 if test "$wx_cv_class_gnuhashmapset" = yes; then
24726 cat >>confdefs.h <<\_ACEOF
24727 #define HAVE_EXT_HASH_MAP 1
24728 _ACEOF
24729
24730 cat >>confdefs.h <<\_ACEOF
24731 #define HAVE_GNU_CXX_HASH_MAP 1
24732 _ACEOF
24733
24734 fi
24735
24736 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24737 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24738 if test "${ac_cv_header_unordered_map+set}" = set; then
24739 echo $ECHO_N "(cached) $ECHO_C" >&6
24740 else
24741 cat >conftest.$ac_ext <<_ACEOF
24742 /* confdefs.h. */
24743 _ACEOF
24744 cat confdefs.h >>conftest.$ac_ext
24745 cat >>conftest.$ac_ext <<_ACEOF
24746 /* end confdefs.h. */
24747
24748
24749
24750 #include <unordered_map>
24751 _ACEOF
24752 rm -f conftest.$ac_objext
24753 if { (ac_try="$ac_compile"
24754 case "(($ac_try" in
24755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24756 *) ac_try_echo=$ac_try;;
24757 esac
24758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24759 (eval "$ac_compile") 2>conftest.er1
24760 ac_status=$?
24761 grep -v '^ *+' conftest.er1 >conftest.err
24762 rm -f conftest.er1
24763 cat conftest.err >&5
24764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24765 (exit $ac_status); } && {
24766 test -z "$ac_cxx_werror_flag" ||
24767 test ! -s conftest.err
24768 } && test -s conftest.$ac_objext; then
24769 ac_cv_header_unordered_map=yes
24770 else
24771 echo "$as_me: failed program was:" >&5
24772 sed 's/^/| /' conftest.$ac_ext >&5
24773
24774 ac_cv_header_unordered_map=no
24775 fi
24776
24777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24778 fi
24779 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24780 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24781 if test $ac_cv_header_unordered_map = yes; then
24782 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24783 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24784 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24785 echo $ECHO_N "(cached) $ECHO_C" >&6
24786 else
24787 cat >conftest.$ac_ext <<_ACEOF
24788 /* confdefs.h. */
24789 _ACEOF
24790 cat confdefs.h >>conftest.$ac_ext
24791 cat >>conftest.$ac_ext <<_ACEOF
24792 /* end confdefs.h. */
24793 #include <unordered_map>
24794 #include <unordered_set>
24795 int
24796 main ()
24797 {
24798 std::unordered_map<double*, char*> test1;
24799 std::unordered_set<char*> test2;
24800 ;
24801 return 0;
24802 }
24803 _ACEOF
24804 rm -f conftest.$ac_objext
24805 if { (ac_try="$ac_compile"
24806 case "(($ac_try" in
24807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24808 *) ac_try_echo=$ac_try;;
24809 esac
24810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24811 (eval "$ac_compile") 2>conftest.er1
24812 ac_status=$?
24813 grep -v '^ *+' conftest.er1 >conftest.err
24814 rm -f conftest.er1
24815 cat conftest.err >&5
24816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24817 (exit $ac_status); } && {
24818 test -z "$ac_cxx_werror_flag" ||
24819 test ! -s conftest.err
24820 } && test -s conftest.$ac_objext; then
24821 wx_cv_class_stdunorderedmapset=yes
24822 else
24823 echo "$as_me: failed program was:" >&5
24824 sed 's/^/| /' conftest.$ac_ext >&5
24825
24826 wx_cv_class_stdunorderedmapset=no
24827 fi
24828
24829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24830
24831
24832 fi
24833 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
24834 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
24835 fi
24836
24837
24838
24839 if test "$wx_cv_class_stdunorderedmapset" = yes; then
24840 cat >>confdefs.h <<\_ACEOF
24841 #define HAVE_STD_UNORDERED_MAP 1
24842 _ACEOF
24843
24844 cat >>confdefs.h <<\_ACEOF
24845 #define HAVE_STD_UNORDERED_SET 1
24846 _ACEOF
24847
24848 else
24849 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
24850 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
24851 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
24852 echo $ECHO_N "(cached) $ECHO_C" >&6
24853 else
24854 cat >conftest.$ac_ext <<_ACEOF
24855 /* confdefs.h. */
24856 _ACEOF
24857 cat confdefs.h >>conftest.$ac_ext
24858 cat >>conftest.$ac_ext <<_ACEOF
24859 /* end confdefs.h. */
24860
24861
24862
24863 #include <tr1/unordered_map>
24864 _ACEOF
24865 rm -f conftest.$ac_objext
24866 if { (ac_try="$ac_compile"
24867 case "(($ac_try" in
24868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24869 *) ac_try_echo=$ac_try;;
24870 esac
24871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24872 (eval "$ac_compile") 2>conftest.er1
24873 ac_status=$?
24874 grep -v '^ *+' conftest.er1 >conftest.err
24875 rm -f conftest.er1
24876 cat conftest.err >&5
24877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24878 (exit $ac_status); } && {
24879 test -z "$ac_cxx_werror_flag" ||
24880 test ! -s conftest.err
24881 } && test -s conftest.$ac_objext; then
24882 ac_cv_header_tr1_unordered_map=yes
24883 else
24884 echo "$as_me: failed program was:" >&5
24885 sed 's/^/| /' conftest.$ac_ext >&5
24886
24887 ac_cv_header_tr1_unordered_map=no
24888 fi
24889
24890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24891 fi
24892 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
24893 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
24894 if test $ac_cv_header_tr1_unordered_map = yes; then
24895 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
24896 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
24897 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
24898 echo $ECHO_N "(cached) $ECHO_C" >&6
24899 else
24900 cat >conftest.$ac_ext <<_ACEOF
24901 /* confdefs.h. */
24902 _ACEOF
24903 cat confdefs.h >>conftest.$ac_ext
24904 cat >>conftest.$ac_ext <<_ACEOF
24905 /* end confdefs.h. */
24906 #include <tr1/unordered_map>
24907 #include <tr1/unordered_set>
24908 int
24909 main ()
24910 {
24911 std::tr1::unordered_map<double*, char*> test1;
24912 std::tr1::unordered_set<char*> test2;
24913 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
24914 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
24915 #endif
24916 ;
24917 return 0;
24918 }
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 wx_cv_class_tr1unorderedmapset=yes
24938 else
24939 echo "$as_me: failed program was:" >&5
24940 sed 's/^/| /' conftest.$ac_ext >&5
24941
24942 wx_cv_class_tr1unorderedmapset=no
24943 fi
24944
24945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24946
24947
24948 fi
24949 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
24950 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
24951 fi
24952
24953
24954
24955 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
24956 cat >>confdefs.h <<\_ACEOF
24957 #define HAVE_TR1_UNORDERED_MAP 1
24958 _ACEOF
24959
24960 cat >>confdefs.h <<\_ACEOF
24961 #define HAVE_TR1_UNORDERED_SET 1
24962 _ACEOF
24963
24964 else
24965 { echo "$as_me:$LINENO: checking for hash_map" >&5
24966 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24967 if test "${ac_cv_header_hash_map+set}" = set; then
24968 echo $ECHO_N "(cached) $ECHO_C" >&6
24969 else
24970 cat >conftest.$ac_ext <<_ACEOF
24971 /* confdefs.h. */
24972 _ACEOF
24973 cat confdefs.h >>conftest.$ac_ext
24974 cat >>conftest.$ac_ext <<_ACEOF
24975 /* end confdefs.h. */
24976
24977
24978
24979 #include <hash_map>
24980 _ACEOF
24981 rm -f conftest.$ac_objext
24982 if { (ac_try="$ac_compile"
24983 case "(($ac_try" in
24984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24985 *) ac_try_echo=$ac_try;;
24986 esac
24987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24988 (eval "$ac_compile") 2>conftest.er1
24989 ac_status=$?
24990 grep -v '^ *+' conftest.er1 >conftest.err
24991 rm -f conftest.er1
24992 cat conftest.err >&5
24993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24994 (exit $ac_status); } && {
24995 test -z "$ac_cxx_werror_flag" ||
24996 test ! -s conftest.err
24997 } && test -s conftest.$ac_objext; then
24998 ac_cv_header_hash_map=yes
24999 else
25000 echo "$as_me: failed program was:" >&5
25001 sed 's/^/| /' conftest.$ac_ext >&5
25002
25003 ac_cv_header_hash_map=no
25004 fi
25005
25006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25007 fi
25008 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25009 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25010 if test $ac_cv_header_hash_map = yes; then
25011 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25012 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25013 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25014 echo $ECHO_N "(cached) $ECHO_C" >&6
25015 else
25016 cat >conftest.$ac_ext <<_ACEOF
25017 /* confdefs.h. */
25018 _ACEOF
25019 cat confdefs.h >>conftest.$ac_ext
25020 cat >>conftest.$ac_ext <<_ACEOF
25021 /* end confdefs.h. */
25022 #include <hash_map>
25023 #include <hash_set>
25024 int
25025 main ()
25026 {
25027 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25028 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25029 ;
25030 return 0;
25031 }
25032 _ACEOF
25033 rm -f conftest.$ac_objext
25034 if { (ac_try="$ac_compile"
25035 case "(($ac_try" in
25036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25037 *) ac_try_echo=$ac_try;;
25038 esac
25039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25040 (eval "$ac_compile") 2>conftest.er1
25041 ac_status=$?
25042 grep -v '^ *+' conftest.er1 >conftest.err
25043 rm -f conftest.er1
25044 cat conftest.err >&5
25045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25046 (exit $ac_status); } && {
25047 test -z "$ac_cxx_werror_flag" ||
25048 test ! -s conftest.err
25049 } && test -s conftest.$ac_objext; then
25050 wx_cv_class_stdhashmapset=yes
25051 else
25052 echo "$as_me: failed program was:" >&5
25053 sed 's/^/| /' conftest.$ac_ext >&5
25054
25055 wx_cv_class_stdhashmapset=no
25056 fi
25057
25058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25059
25060
25061 fi
25062 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25063 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25064 fi
25065
25066
25067
25068 if test "$wx_cv_class_stdhashmapset" = yes; then
25069 cat >>confdefs.h <<\_ACEOF
25070 #define HAVE_HASH_MAP 1
25071 _ACEOF
25072
25073 cat >>confdefs.h <<\_ACEOF
25074 #define HAVE_STD_HASH_MAP 1
25075 _ACEOF
25076
25077 fi
25078
25079 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25080 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25081 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25082 echo $ECHO_N "(cached) $ECHO_C" >&6
25083 else
25084 cat >conftest.$ac_ext <<_ACEOF
25085 /* confdefs.h. */
25086 _ACEOF
25087 cat confdefs.h >>conftest.$ac_ext
25088 cat >>conftest.$ac_ext <<_ACEOF
25089 /* end confdefs.h. */
25090
25091
25092
25093 #include <ext/hash_map>
25094 _ACEOF
25095 rm -f conftest.$ac_objext
25096 if { (ac_try="$ac_compile"
25097 case "(($ac_try" in
25098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25099 *) ac_try_echo=$ac_try;;
25100 esac
25101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25102 (eval "$ac_compile") 2>conftest.er1
25103 ac_status=$?
25104 grep -v '^ *+' conftest.er1 >conftest.err
25105 rm -f conftest.er1
25106 cat conftest.err >&5
25107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25108 (exit $ac_status); } && {
25109 test -z "$ac_cxx_werror_flag" ||
25110 test ! -s conftest.err
25111 } && test -s conftest.$ac_objext; then
25112 ac_cv_header_ext_hash_map=yes
25113 else
25114 echo "$as_me: failed program was:" >&5
25115 sed 's/^/| /' conftest.$ac_ext >&5
25116
25117 ac_cv_header_ext_hash_map=no
25118 fi
25119
25120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25121 fi
25122 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25123 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25124 if test $ac_cv_header_ext_hash_map = yes; then
25125 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25126 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25127 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25128 echo $ECHO_N "(cached) $ECHO_C" >&6
25129 else
25130 cat >conftest.$ac_ext <<_ACEOF
25131 /* confdefs.h. */
25132 _ACEOF
25133 cat confdefs.h >>conftest.$ac_ext
25134 cat >>conftest.$ac_ext <<_ACEOF
25135 /* end confdefs.h. */
25136 #include <ext/hash_map>
25137 #include <ext/hash_set>
25138 int
25139 main ()
25140 {
25141 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25142 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25143 ;
25144 return 0;
25145 }
25146 _ACEOF
25147 rm -f conftest.$ac_objext
25148 if { (ac_try="$ac_compile"
25149 case "(($ac_try" in
25150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25151 *) ac_try_echo=$ac_try;;
25152 esac
25153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25154 (eval "$ac_compile") 2>conftest.er1
25155 ac_status=$?
25156 grep -v '^ *+' conftest.er1 >conftest.err
25157 rm -f conftest.er1
25158 cat conftest.err >&5
25159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25160 (exit $ac_status); } && {
25161 test -z "$ac_cxx_werror_flag" ||
25162 test ! -s conftest.err
25163 } && test -s conftest.$ac_objext; then
25164 wx_cv_class_gnuhashmapset=yes
25165 else
25166 echo "$as_me: failed program was:" >&5
25167 sed 's/^/| /' conftest.$ac_ext >&5
25168
25169 wx_cv_class_gnuhashmapset=no
25170 fi
25171
25172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25173
25174
25175 fi
25176 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25177 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25178 fi
25179
25180
25181
25182 fi
25183 fi
25184 fi
25185
25186
25187
25188 if test -n "$GCC"; then
25189 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25190 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25191 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25192 echo $ECHO_N "(cached) $ECHO_C" >&6
25193 else
25194
25195 cat >conftest.$ac_ext <<_ACEOF
25196 /* confdefs.h. */
25197 _ACEOF
25198 cat confdefs.h >>conftest.$ac_ext
25199 cat >>conftest.$ac_ext <<_ACEOF
25200 /* end confdefs.h. */
25201
25202 int
25203 main ()
25204 {
25205
25206 unsigned int value=0;
25207 /* wxAtomicInc doesn't use return value here */
25208 __sync_fetch_and_add(&value, 2);
25209 __sync_sub_and_fetch(&value, 1);
25210 /* but wxAtomicDec does, so mimic that: */
25211 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25212
25213 ;
25214 return 0;
25215 }
25216 _ACEOF
25217 rm -f conftest.$ac_objext conftest$ac_exeext
25218 if { (ac_try="$ac_link"
25219 case "(($ac_try" in
25220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25221 *) ac_try_echo=$ac_try;;
25222 esac
25223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25224 (eval "$ac_link") 2>conftest.er1
25225 ac_status=$?
25226 grep -v '^ *+' conftest.er1 >conftest.err
25227 rm -f conftest.er1
25228 cat conftest.err >&5
25229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25230 (exit $ac_status); } && {
25231 test -z "$ac_cxx_werror_flag" ||
25232 test ! -s conftest.err
25233 } && test -s conftest$ac_exeext &&
25234 $as_test_x conftest$ac_exeext; then
25235 wx_cv_cc_gcc_atomic_builtins=yes
25236 else
25237 echo "$as_me: failed program was:" >&5
25238 sed 's/^/| /' conftest.$ac_ext >&5
25239
25240 wx_cv_cc_gcc_atomic_builtins=no
25241 fi
25242
25243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25244 conftest$ac_exeext conftest.$ac_ext
25245
25246 fi
25247
25248 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25249 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25250 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25251 cat >>confdefs.h <<\_ACEOF
25252 #define HAVE_GCC_ATOMIC_BUILTINS 1
25253 _ACEOF
25254
25255 fi
25256 fi
25257
25258
25259 ac_ext=c
25260 ac_cpp='$CPP $CPPFLAGS'
25261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25264
25265
25266
25267 SEARCH_INCLUDE="\
25268 /usr/local/include \
25269 /usr/local/X11/include \
25270 /usr/local/include/X11 \
25271 /usr/local/X11R6/include \
25272 /usr/local/include/X11R6 \
25273 \
25274 /usr/Motif-2.1/include \
25275 /usr/Motif-1.2/include \
25276 /usr/include/Motif1.2 \
25277 \
25278 /usr/dt/include \
25279 /usr/openwin/include \
25280 \
25281 /usr/include/Xm \
25282 \
25283 /usr/X11R6/include \
25284 /usr/X11R6.4/include \
25285 \
25286 /usr/include/X11R6 \
25287 \
25288 /usr/X11/include \
25289 /usr/include/X11 \
25290 \
25291 /usr/XFree86/include/X11 \
25292 /usr/pkg/include \
25293 \
25294 /usr/local/X1R5/include \
25295 /usr/local/include/X11R5 \
25296 /usr/X11R5/include \
25297 /usr/include/X11R5 \
25298 \
25299 /usr/local/X11R4/include \
25300 /usr/local/include/X11R4 \
25301 /usr/X11R4/include \
25302 /usr/include/X11R4 \
25303 \
25304 /usr/openwin/share/include"
25305
25306 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25307 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25308
25309 case "${host}" in
25310 *-*-irix6* )
25311 if test "${wx_cv_std_libpath+set}" = set; then
25312 echo $ECHO_N "(cached) $ECHO_C" >&6
25313 else
25314
25315 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25316 for e in a so sl dylib dll.a; do
25317 libc="$d/libc.$e"
25318 if test -f $libc; then
25319 save_LIBS="$LIBS"
25320 LIBS="$libc"
25321 cat >conftest.$ac_ext <<_ACEOF
25322 int main() { return 0; }
25323 _ACEOF
25324 rm -f conftest.$ac_objext conftest$ac_exeext
25325 if { (ac_try="$ac_link"
25326 case "(($ac_try" in
25327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25328 *) ac_try_echo=$ac_try;;
25329 esac
25330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25331 (eval "$ac_link") 2>conftest.er1
25332 ac_status=$?
25333 grep -v '^ *+' conftest.er1 >conftest.err
25334 rm -f conftest.er1
25335 cat conftest.err >&5
25336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25337 (exit $ac_status); } && {
25338 test -z "$ac_c_werror_flag" ||
25339 test ! -s conftest.err
25340 } && test -s conftest$ac_exeext &&
25341 $as_test_x conftest$ac_exeext; then
25342 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25343 else
25344 echo "$as_me: failed program was:" >&5
25345 sed 's/^/| /' conftest.$ac_ext >&5
25346
25347
25348 fi
25349
25350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25351 conftest$ac_exeext conftest.$ac_ext
25352 LIBS="$save_LIBS"
25353 if test "x$wx_cv_std_libpath" != "x"; then
25354 break 2
25355 fi
25356 fi
25357 done
25358 done
25359 if test "x$wx_cv_std_libpath" = "x"; then
25360 wx_cv_std_libpath="lib"
25361 fi
25362
25363
25364 fi
25365
25366 ;;
25367
25368 *-*-solaris2* )
25369 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25370 wx_cv_std_libpath="lib/64"
25371 else
25372 wx_cv_std_libpath="lib"
25373 fi
25374 ;;
25375
25376 *-*-linux* )
25377 if test "$ac_cv_sizeof_void_p" = 8 -a \
25378 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25379 wx_cv_std_libpath="lib64"
25380 else
25381 wx_cv_std_libpath="lib"
25382 fi
25383 ;;
25384
25385 *)
25386 wx_cv_std_libpath="lib";
25387 ;;
25388 esac
25389
25390 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25391 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25392
25393 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25394
25395 if test "$build" != "$host" -a "$GCC" = yes; then
25396 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25397 cross_root=`dirname $cross_root`
25398 cross_root=`dirname $cross_root`
25399
25400 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25401 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25402 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25403
25404 if test -z "$PKG_CONFIG_PATH"; then
25405 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25406 export PKG_CONFIG_PATH
25407 fi
25408
25409 if test -z "$x_includes" -o "$x_includes" = NONE; then
25410
25411 ac_find_includes=
25412 for ac_dir in $SEARCH_INCLUDE /usr/include;
25413 do
25414 if test -f "$ac_dir/X11/Intrinsic.h"; then
25415 ac_find_includes=$ac_dir
25416 break
25417 fi
25418 done
25419
25420 x_includes=$ac_find_includes
25421 fi
25422 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25423
25424 ac_find_libraries=
25425 for ac_dir in $SEARCH_LIB;
25426 do
25427 for ac_extension in a so sl dylib dll.a; do
25428 if test -f "$ac_dir/libXt.$ac_extension"; then
25429 ac_find_libraries=$ac_dir
25430 break 2
25431 fi
25432 done
25433 done
25434
25435 x_libraries=$ac_find_libraries
25436 fi
25437 fi
25438 fi
25439
25440
25441 cat >confcache <<\_ACEOF
25442 # This file is a shell script that caches the results of configure
25443 # tests run on this system so they can be shared between configure
25444 # scripts and configure runs, see configure's option --config-cache.
25445 # It is not useful on other systems. If it contains results you don't
25446 # want to keep, you may remove or edit it.
25447 #
25448 # config.status only pays attention to the cache file if you give it
25449 # the --recheck option to rerun configure.
25450 #
25451 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25452 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25453 # following values.
25454
25455 _ACEOF
25456
25457 # The following way of writing the cache mishandles newlines in values,
25458 # but we know of no workaround that is simple, portable, and efficient.
25459 # So, we kill variables containing newlines.
25460 # Ultrix sh set writes to stderr and can't be redirected directly,
25461 # and sets the high bit in the cache file unless we assign to the vars.
25462 (
25463 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25464 eval ac_val=\$$ac_var
25465 case $ac_val in #(
25466 *${as_nl}*)
25467 case $ac_var in #(
25468 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25469 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25470 esac
25471 case $ac_var in #(
25472 _ | IFS | as_nl) ;; #(
25473 *) $as_unset $ac_var ;;
25474 esac ;;
25475 esac
25476 done
25477
25478 (set) 2>&1 |
25479 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25480 *${as_nl}ac_space=\ *)
25481 # `set' does not quote correctly, so add quotes (double-quote
25482 # substitution turns \\\\ into \\, and sed turns \\ into \).
25483 sed -n \
25484 "s/'/'\\\\''/g;
25485 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25486 ;; #(
25487 *)
25488 # `set' quotes correctly as required by POSIX, so do not add quotes.
25489 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25490 ;;
25491 esac |
25492 sort
25493 ) |
25494 sed '
25495 /^ac_cv_env_/b end
25496 t clear
25497 :clear
25498 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25499 t end
25500 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25501 :end' >>confcache
25502 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25503 if test -w "$cache_file"; then
25504 test "x$cache_file" != "x/dev/null" &&
25505 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25506 echo "$as_me: updating cache $cache_file" >&6;}
25507 cat confcache >$cache_file
25508 else
25509 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25510 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25511 fi
25512 fi
25513 rm -f confcache
25514
25515 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25516 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25517 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25518 if test "${wx_cv_lib_glibc21+set}" = set; then
25519 echo $ECHO_N "(cached) $ECHO_C" >&6
25520 else
25521
25522 cat >conftest.$ac_ext <<_ACEOF
25523 /* confdefs.h. */
25524 _ACEOF
25525 cat confdefs.h >>conftest.$ac_ext
25526 cat >>conftest.$ac_ext <<_ACEOF
25527 /* end confdefs.h. */
25528 #include <features.h>
25529 int
25530 main ()
25531 {
25532
25533 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25534 not glibc 2.1
25535 #endif
25536
25537 ;
25538 return 0;
25539 }
25540 _ACEOF
25541 rm -f conftest.$ac_objext
25542 if { (ac_try="$ac_compile"
25543 case "(($ac_try" in
25544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25545 *) ac_try_echo=$ac_try;;
25546 esac
25547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25548 (eval "$ac_compile") 2>conftest.er1
25549 ac_status=$?
25550 grep -v '^ *+' conftest.er1 >conftest.err
25551 rm -f conftest.er1
25552 cat conftest.err >&5
25553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25554 (exit $ac_status); } && {
25555 test -z "$ac_c_werror_flag" ||
25556 test ! -s conftest.err
25557 } && test -s conftest.$ac_objext; then
25558
25559 wx_cv_lib_glibc21=yes
25560
25561 else
25562 echo "$as_me: failed program was:" >&5
25563 sed 's/^/| /' conftest.$ac_ext >&5
25564
25565
25566 wx_cv_lib_glibc21=no
25567
25568
25569 fi
25570
25571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25572
25573 fi
25574 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25575 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25576 if test "$wx_cv_lib_glibc21" = "yes"; then
25577 cat >>confdefs.h <<\_ACEOF
25578 #define wxHAVE_GLIBC2 1
25579 _ACEOF
25580
25581 fi
25582 fi
25583
25584 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25585 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25586 cat >>confdefs.h <<\_ACEOF
25587 #define _GNU_SOURCE 1
25588 _ACEOF
25589
25590 fi
25591 fi
25592
25593 have_cos=0
25594 have_floor=0
25595
25596 for ac_func in cos
25597 do
25598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25599 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25601 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25602 echo $ECHO_N "(cached) $ECHO_C" >&6
25603 else
25604 cat >conftest.$ac_ext <<_ACEOF
25605 /* confdefs.h. */
25606 _ACEOF
25607 cat confdefs.h >>conftest.$ac_ext
25608 cat >>conftest.$ac_ext <<_ACEOF
25609 /* end confdefs.h. */
25610 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25611 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25612 #define $ac_func innocuous_$ac_func
25613
25614 /* System header to define __stub macros and hopefully few prototypes,
25615 which can conflict with char $ac_func (); below.
25616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25617 <limits.h> exists even on freestanding compilers. */
25618
25619 #ifdef __STDC__
25620 # include <limits.h>
25621 #else
25622 # include <assert.h>
25623 #endif
25624
25625 #undef $ac_func
25626
25627 /* Override any GCC internal prototype to avoid an error.
25628 Use char because int might match the return type of a GCC
25629 builtin and then its argument prototype would still apply. */
25630 #ifdef __cplusplus
25631 extern "C"
25632 #endif
25633 char $ac_func ();
25634 /* The GNU C library defines this for functions which it implements
25635 to always fail with ENOSYS. Some functions are actually named
25636 something starting with __ and the normal name is an alias. */
25637 #if defined __stub_$ac_func || defined __stub___$ac_func
25638 choke me
25639 #endif
25640
25641 int
25642 main ()
25643 {
25644 return $ac_func ();
25645 ;
25646 return 0;
25647 }
25648 _ACEOF
25649 rm -f conftest.$ac_objext conftest$ac_exeext
25650 if { (ac_try="$ac_link"
25651 case "(($ac_try" in
25652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25653 *) ac_try_echo=$ac_try;;
25654 esac
25655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25656 (eval "$ac_link") 2>conftest.er1
25657 ac_status=$?
25658 grep -v '^ *+' conftest.er1 >conftest.err
25659 rm -f conftest.er1
25660 cat conftest.err >&5
25661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25662 (exit $ac_status); } && {
25663 test -z "$ac_c_werror_flag" ||
25664 test ! -s conftest.err
25665 } && test -s conftest$ac_exeext &&
25666 $as_test_x conftest$ac_exeext; then
25667 eval "$as_ac_var=yes"
25668 else
25669 echo "$as_me: failed program was:" >&5
25670 sed 's/^/| /' conftest.$ac_ext >&5
25671
25672 eval "$as_ac_var=no"
25673 fi
25674
25675 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25676 conftest$ac_exeext conftest.$ac_ext
25677 fi
25678 ac_res=`eval echo '${'$as_ac_var'}'`
25679 { echo "$as_me:$LINENO: result: $ac_res" >&5
25680 echo "${ECHO_T}$ac_res" >&6; }
25681 if test `eval echo '${'$as_ac_var'}'` = yes; then
25682 cat >>confdefs.h <<_ACEOF
25683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25684 _ACEOF
25685 have_cos=1
25686 fi
25687 done
25688
25689
25690 for ac_func in floor
25691 do
25692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25693 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25695 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25696 echo $ECHO_N "(cached) $ECHO_C" >&6
25697 else
25698 cat >conftest.$ac_ext <<_ACEOF
25699 /* confdefs.h. */
25700 _ACEOF
25701 cat confdefs.h >>conftest.$ac_ext
25702 cat >>conftest.$ac_ext <<_ACEOF
25703 /* end confdefs.h. */
25704 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25706 #define $ac_func innocuous_$ac_func
25707
25708 /* System header to define __stub macros and hopefully few prototypes,
25709 which can conflict with char $ac_func (); below.
25710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25711 <limits.h> exists even on freestanding compilers. */
25712
25713 #ifdef __STDC__
25714 # include <limits.h>
25715 #else
25716 # include <assert.h>
25717 #endif
25718
25719 #undef $ac_func
25720
25721 /* Override any GCC internal prototype to avoid an error.
25722 Use char because int might match the return type of a GCC
25723 builtin and then its argument prototype would still apply. */
25724 #ifdef __cplusplus
25725 extern "C"
25726 #endif
25727 char $ac_func ();
25728 /* The GNU C library defines this for functions which it implements
25729 to always fail with ENOSYS. Some functions are actually named
25730 something starting with __ and the normal name is an alias. */
25731 #if defined __stub_$ac_func || defined __stub___$ac_func
25732 choke me
25733 #endif
25734
25735 int
25736 main ()
25737 {
25738 return $ac_func ();
25739 ;
25740 return 0;
25741 }
25742 _ACEOF
25743 rm -f conftest.$ac_objext conftest$ac_exeext
25744 if { (ac_try="$ac_link"
25745 case "(($ac_try" in
25746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25747 *) ac_try_echo=$ac_try;;
25748 esac
25749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25750 (eval "$ac_link") 2>conftest.er1
25751 ac_status=$?
25752 grep -v '^ *+' conftest.er1 >conftest.err
25753 rm -f conftest.er1
25754 cat conftest.err >&5
25755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25756 (exit $ac_status); } && {
25757 test -z "$ac_c_werror_flag" ||
25758 test ! -s conftest.err
25759 } && test -s conftest$ac_exeext &&
25760 $as_test_x conftest$ac_exeext; then
25761 eval "$as_ac_var=yes"
25762 else
25763 echo "$as_me: failed program was:" >&5
25764 sed 's/^/| /' conftest.$ac_ext >&5
25765
25766 eval "$as_ac_var=no"
25767 fi
25768
25769 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25770 conftest$ac_exeext conftest.$ac_ext
25771 fi
25772 ac_res=`eval echo '${'$as_ac_var'}'`
25773 { echo "$as_me:$LINENO: result: $ac_res" >&5
25774 echo "${ECHO_T}$ac_res" >&6; }
25775 if test `eval echo '${'$as_ac_var'}'` = yes; then
25776 cat >>confdefs.h <<_ACEOF
25777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25778 _ACEOF
25779 have_floor=1
25780 fi
25781 done
25782
25783 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25784 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25785 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25786 { echo "$as_me:$LINENO: result: yes" >&5
25787 echo "${ECHO_T}yes" >&6; }
25788 else
25789 { echo "$as_me:$LINENO: result: no" >&5
25790 echo "${ECHO_T}no" >&6; }
25791 LIBS="$LIBS -lm"
25792 # use different functions to avoid configure caching
25793 have_sin=0
25794 have_ceil=0
25795
25796 for ac_func in sin
25797 do
25798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25799 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25801 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25802 echo $ECHO_N "(cached) $ECHO_C" >&6
25803 else
25804 cat >conftest.$ac_ext <<_ACEOF
25805 /* confdefs.h. */
25806 _ACEOF
25807 cat confdefs.h >>conftest.$ac_ext
25808 cat >>conftest.$ac_ext <<_ACEOF
25809 /* end confdefs.h. */
25810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25812 #define $ac_func innocuous_$ac_func
25813
25814 /* System header to define __stub macros and hopefully few prototypes,
25815 which can conflict with char $ac_func (); below.
25816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25817 <limits.h> exists even on freestanding compilers. */
25818
25819 #ifdef __STDC__
25820 # include <limits.h>
25821 #else
25822 # include <assert.h>
25823 #endif
25824
25825 #undef $ac_func
25826
25827 /* Override any GCC internal prototype to avoid an error.
25828 Use char because int might match the return type of a GCC
25829 builtin and then its argument prototype would still apply. */
25830 #ifdef __cplusplus
25831 extern "C"
25832 #endif
25833 char $ac_func ();
25834 /* The GNU C library defines this for functions which it implements
25835 to always fail with ENOSYS. Some functions are actually named
25836 something starting with __ and the normal name is an alias. */
25837 #if defined __stub_$ac_func || defined __stub___$ac_func
25838 choke me
25839 #endif
25840
25841 int
25842 main ()
25843 {
25844 return $ac_func ();
25845 ;
25846 return 0;
25847 }
25848 _ACEOF
25849 rm -f conftest.$ac_objext conftest$ac_exeext
25850 if { (ac_try="$ac_link"
25851 case "(($ac_try" in
25852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25853 *) ac_try_echo=$ac_try;;
25854 esac
25855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25856 (eval "$ac_link") 2>conftest.er1
25857 ac_status=$?
25858 grep -v '^ *+' conftest.er1 >conftest.err
25859 rm -f conftest.er1
25860 cat conftest.err >&5
25861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25862 (exit $ac_status); } && {
25863 test -z "$ac_c_werror_flag" ||
25864 test ! -s conftest.err
25865 } && test -s conftest$ac_exeext &&
25866 $as_test_x conftest$ac_exeext; then
25867 eval "$as_ac_var=yes"
25868 else
25869 echo "$as_me: failed program was:" >&5
25870 sed 's/^/| /' conftest.$ac_ext >&5
25871
25872 eval "$as_ac_var=no"
25873 fi
25874
25875 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25876 conftest$ac_exeext conftest.$ac_ext
25877 fi
25878 ac_res=`eval echo '${'$as_ac_var'}'`
25879 { echo "$as_me:$LINENO: result: $ac_res" >&5
25880 echo "${ECHO_T}$ac_res" >&6; }
25881 if test `eval echo '${'$as_ac_var'}'` = yes; then
25882 cat >>confdefs.h <<_ACEOF
25883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25884 _ACEOF
25885 have_sin=1
25886 fi
25887 done
25888
25889
25890 for ac_func in ceil
25891 do
25892 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25893 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25895 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25896 echo $ECHO_N "(cached) $ECHO_C" >&6
25897 else
25898 cat >conftest.$ac_ext <<_ACEOF
25899 /* confdefs.h. */
25900 _ACEOF
25901 cat confdefs.h >>conftest.$ac_ext
25902 cat >>conftest.$ac_ext <<_ACEOF
25903 /* end confdefs.h. */
25904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25906 #define $ac_func innocuous_$ac_func
25907
25908 /* System header to define __stub macros and hopefully few prototypes,
25909 which can conflict with char $ac_func (); below.
25910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25911 <limits.h> exists even on freestanding compilers. */
25912
25913 #ifdef __STDC__
25914 # include <limits.h>
25915 #else
25916 # include <assert.h>
25917 #endif
25918
25919 #undef $ac_func
25920
25921 /* Override any GCC internal prototype to avoid an error.
25922 Use char because int might match the return type of a GCC
25923 builtin and then its argument prototype would still apply. */
25924 #ifdef __cplusplus
25925 extern "C"
25926 #endif
25927 char $ac_func ();
25928 /* The GNU C library defines this for functions which it implements
25929 to always fail with ENOSYS. Some functions are actually named
25930 something starting with __ and the normal name is an alias. */
25931 #if defined __stub_$ac_func || defined __stub___$ac_func
25932 choke me
25933 #endif
25934
25935 int
25936 main ()
25937 {
25938 return $ac_func ();
25939 ;
25940 return 0;
25941 }
25942 _ACEOF
25943 rm -f conftest.$ac_objext conftest$ac_exeext
25944 if { (ac_try="$ac_link"
25945 case "(($ac_try" in
25946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25947 *) ac_try_echo=$ac_try;;
25948 esac
25949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25950 (eval "$ac_link") 2>conftest.er1
25951 ac_status=$?
25952 grep -v '^ *+' conftest.er1 >conftest.err
25953 rm -f conftest.er1
25954 cat conftest.err >&5
25955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25956 (exit $ac_status); } && {
25957 test -z "$ac_c_werror_flag" ||
25958 test ! -s conftest.err
25959 } && test -s conftest$ac_exeext &&
25960 $as_test_x conftest$ac_exeext; then
25961 eval "$as_ac_var=yes"
25962 else
25963 echo "$as_me: failed program was:" >&5
25964 sed 's/^/| /' conftest.$ac_ext >&5
25965
25966 eval "$as_ac_var=no"
25967 fi
25968
25969 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25970 conftest$ac_exeext conftest.$ac_ext
25971 fi
25972 ac_res=`eval echo '${'$as_ac_var'}'`
25973 { echo "$as_me:$LINENO: result: $ac_res" >&5
25974 echo "${ECHO_T}$ac_res" >&6; }
25975 if test `eval echo '${'$as_ac_var'}'` = yes; then
25976 cat >>confdefs.h <<_ACEOF
25977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25978 _ACEOF
25979 have_ceil=1
25980 fi
25981 done
25982
25983 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25984 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25985 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25986 { echo "$as_me:$LINENO: result: yes" >&5
25987 echo "${ECHO_T}yes" >&6; }
25988 else
25989 { echo "$as_me:$LINENO: result: no" >&5
25990 echo "${ECHO_T}no" >&6; }
25991 # not sure we should warn the user, crash, etc.
25992 fi
25993 fi
25994
25995 ac_ext=cpp
25996 ac_cpp='$CXXCPP $CPPFLAGS'
25997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26000
26001 if test "wxUSE_UNICODE" = "yes"; then
26002
26003 for wx_func in wcstoull
26004 do
26005 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26006 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26007 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26008 echo $ECHO_N "(cached) $ECHO_C" >&6
26009 else
26010
26011 cat >conftest.$ac_ext <<_ACEOF
26012
26013 /* confdefs.h. */
26014 _ACEOF
26015 cat confdefs.h >>conftest.$ac_ext
26016 cat >>conftest.$ac_ext <<_ACEOF
26017 /* end confdefs.h. */
26018
26019
26020 $ac_includes_default
26021
26022 int
26023 main ()
26024 {
26025
26026 #ifndef $wx_func
26027 &$wx_func;
26028 #endif
26029
26030
26031 ;
26032 return 0;
26033 }
26034
26035 _ACEOF
26036 rm -f conftest.$ac_objext conftest$ac_exeext
26037 if { (ac_try="$ac_link"
26038 case "(($ac_try" in
26039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26040 *) ac_try_echo=$ac_try;;
26041 esac
26042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26043 (eval "$ac_link") 2>conftest.er1
26044 ac_status=$?
26045 grep -v '^ *+' conftest.er1 >conftest.err
26046 rm -f conftest.er1
26047 cat conftest.err >&5
26048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26049 (exit $ac_status); } && {
26050 test -z "$ac_cxx_werror_flag" ||
26051 test ! -s conftest.err
26052 } && test -s conftest$ac_exeext &&
26053 $as_test_x conftest$ac_exeext; then
26054 eval wx_cv_func_$wx_func=yes
26055 else
26056 echo "$as_me: failed program was:" >&5
26057 sed 's/^/| /' conftest.$ac_ext >&5
26058
26059 eval wx_cv_func_$wx_func=no
26060 fi
26061
26062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26063 conftest$ac_exeext conftest.$ac_ext
26064
26065 fi
26066 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26067 { echo "$as_me:$LINENO: result: $ac_res" >&5
26068 echo "${ECHO_T}$ac_res" >&6; }
26069
26070 if eval test \$wx_cv_func_$wx_func = yes
26071 then
26072 cat >>confdefs.h <<_ACEOF
26073 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26074 _ACEOF
26075
26076
26077 else
26078 :
26079
26080 fi
26081 done
26082
26083 else
26084
26085 for wx_func in strtoull
26086 do
26087 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26088 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26089 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26090 echo $ECHO_N "(cached) $ECHO_C" >&6
26091 else
26092
26093 cat >conftest.$ac_ext <<_ACEOF
26094
26095 /* confdefs.h. */
26096 _ACEOF
26097 cat confdefs.h >>conftest.$ac_ext
26098 cat >>conftest.$ac_ext <<_ACEOF
26099 /* end confdefs.h. */
26100
26101
26102 $ac_includes_default
26103
26104 int
26105 main ()
26106 {
26107
26108 #ifndef $wx_func
26109 &$wx_func;
26110 #endif
26111
26112
26113 ;
26114 return 0;
26115 }
26116
26117 _ACEOF
26118 rm -f conftest.$ac_objext conftest$ac_exeext
26119 if { (ac_try="$ac_link"
26120 case "(($ac_try" in
26121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26122 *) ac_try_echo=$ac_try;;
26123 esac
26124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26125 (eval "$ac_link") 2>conftest.er1
26126 ac_status=$?
26127 grep -v '^ *+' conftest.er1 >conftest.err
26128 rm -f conftest.er1
26129 cat conftest.err >&5
26130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26131 (exit $ac_status); } && {
26132 test -z "$ac_cxx_werror_flag" ||
26133 test ! -s conftest.err
26134 } && test -s conftest$ac_exeext &&
26135 $as_test_x conftest$ac_exeext; then
26136 eval wx_cv_func_$wx_func=yes
26137 else
26138 echo "$as_me: failed program was:" >&5
26139 sed 's/^/| /' conftest.$ac_ext >&5
26140
26141 eval wx_cv_func_$wx_func=no
26142 fi
26143
26144 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26145 conftest$ac_exeext conftest.$ac_ext
26146
26147 fi
26148 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26149 { echo "$as_me:$LINENO: result: $ac_res" >&5
26150 echo "${ECHO_T}$ac_res" >&6; }
26151
26152 if eval test \$wx_cv_func_$wx_func = yes
26153 then
26154 cat >>confdefs.h <<_ACEOF
26155 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26156 _ACEOF
26157
26158
26159 else
26160 :
26161
26162 fi
26163 done
26164
26165 fi
26166 ac_ext=c
26167 ac_cpp='$CPP $CPPFLAGS'
26168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26171
26172
26173
26174
26175 if test "$wxUSE_REGEX" != "no"; then
26176 cat >>confdefs.h <<\_ACEOF
26177 #define wxUSE_REGEX 1
26178 _ACEOF
26179
26180
26181 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26182 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26183 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26184 wxUSE_REGEX=builtin
26185 fi
26186
26187 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26188 { echo "$as_me:$LINENO: checking for regex.h" >&5
26189 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26190 if test "${ac_cv_header_regex_h+set}" = set; then
26191 echo $ECHO_N "(cached) $ECHO_C" >&6
26192 else
26193 cat >conftest.$ac_ext <<_ACEOF
26194 /* confdefs.h. */
26195 _ACEOF
26196 cat confdefs.h >>conftest.$ac_ext
26197 cat >>conftest.$ac_ext <<_ACEOF
26198 /* end confdefs.h. */
26199
26200
26201 #include <regex.h>
26202 _ACEOF
26203 rm -f conftest.$ac_objext
26204 if { (ac_try="$ac_compile"
26205 case "(($ac_try" in
26206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26207 *) ac_try_echo=$ac_try;;
26208 esac
26209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26210 (eval "$ac_compile") 2>conftest.er1
26211 ac_status=$?
26212 grep -v '^ *+' conftest.er1 >conftest.err
26213 rm -f conftest.er1
26214 cat conftest.err >&5
26215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26216 (exit $ac_status); } && {
26217 test -z "$ac_c_werror_flag" ||
26218 test ! -s conftest.err
26219 } && test -s conftest.$ac_objext; then
26220 ac_cv_header_regex_h=yes
26221 else
26222 echo "$as_me: failed program was:" >&5
26223 sed 's/^/| /' conftest.$ac_ext >&5
26224
26225 ac_cv_header_regex_h=no
26226 fi
26227
26228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26229 fi
26230 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26231 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26232 if test $ac_cv_header_regex_h = yes; then
26233
26234
26235 for ac_func in regcomp re_search
26236 do
26237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26238 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26240 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26241 echo $ECHO_N "(cached) $ECHO_C" >&6
26242 else
26243 cat >conftest.$ac_ext <<_ACEOF
26244 /* confdefs.h. */
26245 _ACEOF
26246 cat confdefs.h >>conftest.$ac_ext
26247 cat >>conftest.$ac_ext <<_ACEOF
26248 /* end confdefs.h. */
26249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26251 #define $ac_func innocuous_$ac_func
26252
26253 /* System header to define __stub macros and hopefully few prototypes,
26254 which can conflict with char $ac_func (); below.
26255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26256 <limits.h> exists even on freestanding compilers. */
26257
26258 #ifdef __STDC__
26259 # include <limits.h>
26260 #else
26261 # include <assert.h>
26262 #endif
26263
26264 #undef $ac_func
26265
26266 /* Override any GCC internal prototype to avoid an error.
26267 Use char because int might match the return type of a GCC
26268 builtin and then its argument prototype would still apply. */
26269 #ifdef __cplusplus
26270 extern "C"
26271 #endif
26272 char $ac_func ();
26273 /* The GNU C library defines this for functions which it implements
26274 to always fail with ENOSYS. Some functions are actually named
26275 something starting with __ and the normal name is an alias. */
26276 #if defined __stub_$ac_func || defined __stub___$ac_func
26277 choke me
26278 #endif
26279
26280 int
26281 main ()
26282 {
26283 return $ac_func ();
26284 ;
26285 return 0;
26286 }
26287 _ACEOF
26288 rm -f conftest.$ac_objext conftest$ac_exeext
26289 if { (ac_try="$ac_link"
26290 case "(($ac_try" in
26291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26292 *) ac_try_echo=$ac_try;;
26293 esac
26294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26295 (eval "$ac_link") 2>conftest.er1
26296 ac_status=$?
26297 grep -v '^ *+' conftest.er1 >conftest.err
26298 rm -f conftest.er1
26299 cat conftest.err >&5
26300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26301 (exit $ac_status); } && {
26302 test -z "$ac_c_werror_flag" ||
26303 test ! -s conftest.err
26304 } && test -s conftest$ac_exeext &&
26305 $as_test_x conftest$ac_exeext; then
26306 eval "$as_ac_var=yes"
26307 else
26308 echo "$as_me: failed program was:" >&5
26309 sed 's/^/| /' conftest.$ac_ext >&5
26310
26311 eval "$as_ac_var=no"
26312 fi
26313
26314 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26315 conftest$ac_exeext conftest.$ac_ext
26316 fi
26317 ac_res=`eval echo '${'$as_ac_var'}'`
26318 { echo "$as_me:$LINENO: result: $ac_res" >&5
26319 echo "${ECHO_T}$ac_res" >&6; }
26320 if test `eval echo '${'$as_ac_var'}'` = yes; then
26321 cat >>confdefs.h <<_ACEOF
26322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26323 _ACEOF
26324
26325 fi
26326 done
26327
26328 fi
26329
26330
26331
26332 if test "x$ac_cv_func_regcomp" != "xyes"; then
26333 if test "$wxUSE_REGEX" = "sys" ; then
26334 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26335 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26336 { (exit 1); exit 1; }; }
26337 else
26338 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26339 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26340 wxUSE_REGEX=builtin
26341 fi
26342 else
26343 wxUSE_REGEX=sys
26344 cat >>confdefs.h <<\_ACEOF
26345 #define WX_NO_REGEX_ADVANCED 1
26346 _ACEOF
26347
26348 fi
26349 fi
26350 fi
26351
26352
26353 ZLIB_LINK=
26354 if test "$wxUSE_ZLIB" != "no" ; then
26355 cat >>confdefs.h <<\_ACEOF
26356 #define wxUSE_ZLIB 1
26357 _ACEOF
26358
26359
26360 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26361 if test "$USE_DARWIN" = 1; then
26362 system_zlib_h_ok="yes"
26363 else
26364 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26365 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26366 if test "${ac_cv_header_zlib_h+set}" = set; then
26367 echo $ECHO_N "(cached) $ECHO_C" >&6
26368 else
26369 if test "$cross_compiling" = yes; then
26370 unset ac_cv_header_zlib_h
26371
26372 else
26373 cat >conftest.$ac_ext <<_ACEOF
26374 /* confdefs.h. */
26375 _ACEOF
26376 cat confdefs.h >>conftest.$ac_ext
26377 cat >>conftest.$ac_ext <<_ACEOF
26378 /* end confdefs.h. */
26379
26380 #include <zlib.h>
26381 #include <stdio.h>
26382
26383 int main()
26384 {
26385 FILE *f=fopen("conftestval", "w");
26386 if (!f) exit(1);
26387 fprintf(f, "%s",
26388 ZLIB_VERSION[0] == '1' &&
26389 (ZLIB_VERSION[2] > '1' ||
26390 (ZLIB_VERSION[2] == '1' &&
26391 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26392 exit(0);
26393 }
26394
26395 _ACEOF
26396 rm -f conftest$ac_exeext
26397 if { (ac_try="$ac_link"
26398 case "(($ac_try" in
26399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26400 *) ac_try_echo=$ac_try;;
26401 esac
26402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26403 (eval "$ac_link") 2>&5
26404 ac_status=$?
26405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26406 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26407 { (case "(($ac_try" in
26408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26409 *) ac_try_echo=$ac_try;;
26410 esac
26411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26412 (eval "$ac_try") 2>&5
26413 ac_status=$?
26414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26415 (exit $ac_status); }; }; then
26416 ac_cv_header_zlib_h=`cat conftestval`
26417 else
26418 echo "$as_me: program exited with status $ac_status" >&5
26419 echo "$as_me: failed program was:" >&5
26420 sed 's/^/| /' conftest.$ac_ext >&5
26421
26422 ( exit $ac_status )
26423 ac_cv_header_zlib_h=no
26424 fi
26425 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26426 fi
26427
26428
26429
26430 fi
26431 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26432 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26433 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26434 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26435 if test "${ac_cv_header_zlib_h+set}" = set; then
26436 echo $ECHO_N "(cached) $ECHO_C" >&6
26437 else
26438 cat >conftest.$ac_ext <<_ACEOF
26439 /* confdefs.h. */
26440 _ACEOF
26441 cat confdefs.h >>conftest.$ac_ext
26442 cat >>conftest.$ac_ext <<_ACEOF
26443 /* end confdefs.h. */
26444
26445
26446 #include <zlib.h>
26447 _ACEOF
26448 rm -f conftest.$ac_objext
26449 if { (ac_try="$ac_compile"
26450 case "(($ac_try" in
26451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26452 *) ac_try_echo=$ac_try;;
26453 esac
26454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26455 (eval "$ac_compile") 2>conftest.er1
26456 ac_status=$?
26457 grep -v '^ *+' conftest.er1 >conftest.err
26458 rm -f conftest.er1
26459 cat conftest.err >&5
26460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26461 (exit $ac_status); } && {
26462 test -z "$ac_c_werror_flag" ||
26463 test ! -s conftest.err
26464 } && test -s conftest.$ac_objext; then
26465 ac_cv_header_zlib_h=yes
26466 else
26467 echo "$as_me: failed program was:" >&5
26468 sed 's/^/| /' conftest.$ac_ext >&5
26469
26470 ac_cv_header_zlib_h=no
26471 fi
26472
26473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26474 fi
26475 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26476 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26477
26478
26479
26480 system_zlib_h_ok=$ac_cv_header_zlib_h
26481 fi
26482
26483 if test "$system_zlib_h_ok" = "yes"; then
26484 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26485 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26486 if test "${ac_cv_lib_z_deflate+set}" = set; then
26487 echo $ECHO_N "(cached) $ECHO_C" >&6
26488 else
26489 ac_check_lib_save_LIBS=$LIBS
26490 LIBS="-lz $LIBS"
26491 cat >conftest.$ac_ext <<_ACEOF
26492 /* confdefs.h. */
26493 _ACEOF
26494 cat confdefs.h >>conftest.$ac_ext
26495 cat >>conftest.$ac_ext <<_ACEOF
26496 /* end confdefs.h. */
26497
26498 /* Override any GCC internal prototype to avoid an error.
26499 Use char because int might match the return type of a GCC
26500 builtin and then its argument prototype would still apply. */
26501 #ifdef __cplusplus
26502 extern "C"
26503 #endif
26504 char deflate ();
26505 int
26506 main ()
26507 {
26508 return deflate ();
26509 ;
26510 return 0;
26511 }
26512 _ACEOF
26513 rm -f conftest.$ac_objext conftest$ac_exeext
26514 if { (ac_try="$ac_link"
26515 case "(($ac_try" in
26516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26517 *) ac_try_echo=$ac_try;;
26518 esac
26519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26520 (eval "$ac_link") 2>conftest.er1
26521 ac_status=$?
26522 grep -v '^ *+' conftest.er1 >conftest.err
26523 rm -f conftest.er1
26524 cat conftest.err >&5
26525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26526 (exit $ac_status); } && {
26527 test -z "$ac_c_werror_flag" ||
26528 test ! -s conftest.err
26529 } && test -s conftest$ac_exeext &&
26530 $as_test_x conftest$ac_exeext; then
26531 ac_cv_lib_z_deflate=yes
26532 else
26533 echo "$as_me: failed program was:" >&5
26534 sed 's/^/| /' conftest.$ac_ext >&5
26535
26536 ac_cv_lib_z_deflate=no
26537 fi
26538
26539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26540 conftest$ac_exeext conftest.$ac_ext
26541 LIBS=$ac_check_lib_save_LIBS
26542 fi
26543 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26544 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26545 if test $ac_cv_lib_z_deflate = yes; then
26546 ZLIB_LINK=" -lz"
26547 fi
26548
26549 fi
26550
26551 if test "x$ZLIB_LINK" = "x" ; then
26552 if test "$wxUSE_ZLIB" = "sys" ; then
26553 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26554 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26555 { (exit 1); exit 1; }; }
26556 else
26557 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26558 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26559 wxUSE_ZLIB=builtin
26560 fi
26561 else
26562 wxUSE_ZLIB=sys
26563 fi
26564 fi
26565 fi
26566
26567
26568 PNG_LINK=
26569 if test "$wxUSE_LIBPNG" != "no" ; then
26570 cat >>confdefs.h <<\_ACEOF
26571 #define wxUSE_LIBPNG 1
26572 _ACEOF
26573
26574
26575 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26576 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26577 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26578 wxUSE_LIBPNG=sys
26579 fi
26580
26581 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26582 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26583 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26584 wxUSE_LIBPNG=builtin
26585 fi
26586
26587 if test "$wxUSE_MGL" != 1 ; then
26588 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26589 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26590 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26591 if test "${ac_cv_header_png_h+set}" = set; then
26592 echo $ECHO_N "(cached) $ECHO_C" >&6
26593 else
26594 if test "$cross_compiling" = yes; then
26595 unset ac_cv_header_png_h
26596
26597 else
26598 cat >conftest.$ac_ext <<_ACEOF
26599 /* confdefs.h. */
26600 _ACEOF
26601 cat confdefs.h >>conftest.$ac_ext
26602 cat >>conftest.$ac_ext <<_ACEOF
26603 /* end confdefs.h. */
26604
26605 #include <png.h>
26606 #include <stdio.h>
26607
26608 int main()
26609 {
26610 FILE *f=fopen("conftestval", "w");
26611 if (!f) exit(1);
26612 fprintf(f, "%s",
26613 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26614 exit(0);
26615 }
26616
26617 _ACEOF
26618 rm -f conftest$ac_exeext
26619 if { (ac_try="$ac_link"
26620 case "(($ac_try" in
26621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26622 *) ac_try_echo=$ac_try;;
26623 esac
26624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26625 (eval "$ac_link") 2>&5
26626 ac_status=$?
26627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26628 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26629 { (case "(($ac_try" in
26630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26631 *) ac_try_echo=$ac_try;;
26632 esac
26633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26634 (eval "$ac_try") 2>&5
26635 ac_status=$?
26636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26637 (exit $ac_status); }; }; then
26638 ac_cv_header_png_h=`cat conftestval`
26639 else
26640 echo "$as_me: program exited with status $ac_status" >&5
26641 echo "$as_me: failed program was:" >&5
26642 sed 's/^/| /' conftest.$ac_ext >&5
26643
26644 ( exit $ac_status )
26645 ac_cv_header_png_h=no
26646 fi
26647 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26648 fi
26649
26650
26651
26652 fi
26653 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26654 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26655 { echo "$as_me:$LINENO: checking for png.h" >&5
26656 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26657 if test "${ac_cv_header_png_h+set}" = set; then
26658 echo $ECHO_N "(cached) $ECHO_C" >&6
26659 else
26660 cat >conftest.$ac_ext <<_ACEOF
26661 /* confdefs.h. */
26662 _ACEOF
26663 cat confdefs.h >>conftest.$ac_ext
26664 cat >>conftest.$ac_ext <<_ACEOF
26665 /* end confdefs.h. */
26666
26667
26668 #include <png.h>
26669 _ACEOF
26670 rm -f conftest.$ac_objext
26671 if { (ac_try="$ac_compile"
26672 case "(($ac_try" in
26673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26674 *) ac_try_echo=$ac_try;;
26675 esac
26676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26677 (eval "$ac_compile") 2>conftest.er1
26678 ac_status=$?
26679 grep -v '^ *+' conftest.er1 >conftest.err
26680 rm -f conftest.er1
26681 cat conftest.err >&5
26682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26683 (exit $ac_status); } && {
26684 test -z "$ac_c_werror_flag" ||
26685 test ! -s conftest.err
26686 } && test -s conftest.$ac_objext; then
26687 ac_cv_header_png_h=yes
26688 else
26689 echo "$as_me: failed program was:" >&5
26690 sed 's/^/| /' conftest.$ac_ext >&5
26691
26692 ac_cv_header_png_h=no
26693 fi
26694
26695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26696 fi
26697 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26698 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26699
26700
26701
26702 if test "$ac_cv_header_png_h" = "yes"; then
26703 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26704 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26705 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26706 echo $ECHO_N "(cached) $ECHO_C" >&6
26707 else
26708 ac_check_lib_save_LIBS=$LIBS
26709 LIBS="-lpng -lz -lm $LIBS"
26710 cat >conftest.$ac_ext <<_ACEOF
26711 /* confdefs.h. */
26712 _ACEOF
26713 cat confdefs.h >>conftest.$ac_ext
26714 cat >>conftest.$ac_ext <<_ACEOF
26715 /* end confdefs.h. */
26716
26717 /* Override any GCC internal prototype to avoid an error.
26718 Use char because int might match the return type of a GCC
26719 builtin and then its argument prototype would still apply. */
26720 #ifdef __cplusplus
26721 extern "C"
26722 #endif
26723 char png_check_sig ();
26724 int
26725 main ()
26726 {
26727 return png_check_sig ();
26728 ;
26729 return 0;
26730 }
26731 _ACEOF
26732 rm -f conftest.$ac_objext conftest$ac_exeext
26733 if { (ac_try="$ac_link"
26734 case "(($ac_try" in
26735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26736 *) ac_try_echo=$ac_try;;
26737 esac
26738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26739 (eval "$ac_link") 2>conftest.er1
26740 ac_status=$?
26741 grep -v '^ *+' conftest.er1 >conftest.err
26742 rm -f conftest.er1
26743 cat conftest.err >&5
26744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26745 (exit $ac_status); } && {
26746 test -z "$ac_c_werror_flag" ||
26747 test ! -s conftest.err
26748 } && test -s conftest$ac_exeext &&
26749 $as_test_x conftest$ac_exeext; then
26750 ac_cv_lib_png_png_check_sig=yes
26751 else
26752 echo "$as_me: failed program was:" >&5
26753 sed 's/^/| /' conftest.$ac_ext >&5
26754
26755 ac_cv_lib_png_png_check_sig=no
26756 fi
26757
26758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26759 conftest$ac_exeext conftest.$ac_ext
26760 LIBS=$ac_check_lib_save_LIBS
26761 fi
26762 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26763 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26764 if test $ac_cv_lib_png_png_check_sig = yes; then
26765 PNG_LINK=" -lpng -lz"
26766 fi
26767
26768 fi
26769
26770 if test "x$PNG_LINK" = "x" ; then
26771 if test "$wxUSE_LIBPNG" = "sys" ; then
26772 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26773 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26774 { (exit 1); exit 1; }; }
26775 else
26776 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26777 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26778 wxUSE_LIBPNG=builtin
26779 fi
26780 else
26781 wxUSE_LIBPNG=sys
26782 fi
26783 fi
26784 fi
26785 fi
26786
26787
26788 JPEG_LINK=
26789 if test "$wxUSE_LIBJPEG" != "no" ; then
26790 cat >>confdefs.h <<\_ACEOF
26791 #define wxUSE_LIBJPEG 1
26792 _ACEOF
26793
26794
26795 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26796 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26797 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26798 wxUSE_LIBJPEG=sys
26799 fi
26800
26801 if test "$wxUSE_MGL" != 1 ; then
26802 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26803 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26804 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26805 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26806 echo $ECHO_N "(cached) $ECHO_C" >&6
26807 else
26808 cat >conftest.$ac_ext <<_ACEOF
26809 /* confdefs.h. */
26810 _ACEOF
26811 cat confdefs.h >>conftest.$ac_ext
26812 cat >>conftest.$ac_ext <<_ACEOF
26813 /* end confdefs.h. */
26814
26815 #undef HAVE_STDLIB_H
26816 #include <stdio.h>
26817 #include <jpeglib.h>
26818
26819 int
26820 main ()
26821 {
26822
26823
26824 ;
26825 return 0;
26826 }
26827 _ACEOF
26828 rm -f conftest.$ac_objext
26829 if { (ac_try="$ac_compile"
26830 case "(($ac_try" in
26831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26832 *) ac_try_echo=$ac_try;;
26833 esac
26834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26835 (eval "$ac_compile") 2>conftest.er1
26836 ac_status=$?
26837 grep -v '^ *+' conftest.er1 >conftest.err
26838 rm -f conftest.er1
26839 cat conftest.err >&5
26840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26841 (exit $ac_status); } && {
26842 test -z "$ac_c_werror_flag" ||
26843 test ! -s conftest.err
26844 } && test -s conftest.$ac_objext; then
26845 ac_cv_header_jpeglib_h=yes
26846 else
26847 echo "$as_me: failed program was:" >&5
26848 sed 's/^/| /' conftest.$ac_ext >&5
26849
26850 ac_cv_header_jpeglib_h=no
26851
26852 fi
26853
26854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26855
26856 fi
26857
26858 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26859 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26860
26861 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26862 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26863 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26864 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26865 echo $ECHO_N "(cached) $ECHO_C" >&6
26866 else
26867 ac_check_lib_save_LIBS=$LIBS
26868 LIBS="-ljpeg $LIBS"
26869 cat >conftest.$ac_ext <<_ACEOF
26870 /* confdefs.h. */
26871 _ACEOF
26872 cat confdefs.h >>conftest.$ac_ext
26873 cat >>conftest.$ac_ext <<_ACEOF
26874 /* end confdefs.h. */
26875
26876 /* Override any GCC internal prototype to avoid an error.
26877 Use char because int might match the return type of a GCC
26878 builtin and then its argument prototype would still apply. */
26879 #ifdef __cplusplus
26880 extern "C"
26881 #endif
26882 char jpeg_read_header ();
26883 int
26884 main ()
26885 {
26886 return jpeg_read_header ();
26887 ;
26888 return 0;
26889 }
26890 _ACEOF
26891 rm -f conftest.$ac_objext conftest$ac_exeext
26892 if { (ac_try="$ac_link"
26893 case "(($ac_try" in
26894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26895 *) ac_try_echo=$ac_try;;
26896 esac
26897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26898 (eval "$ac_link") 2>conftest.er1
26899 ac_status=$?
26900 grep -v '^ *+' conftest.er1 >conftest.err
26901 rm -f conftest.er1
26902 cat conftest.err >&5
26903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26904 (exit $ac_status); } && {
26905 test -z "$ac_c_werror_flag" ||
26906 test ! -s conftest.err
26907 } && test -s conftest$ac_exeext &&
26908 $as_test_x conftest$ac_exeext; then
26909 ac_cv_lib_jpeg_jpeg_read_header=yes
26910 else
26911 echo "$as_me: failed program was:" >&5
26912 sed 's/^/| /' conftest.$ac_ext >&5
26913
26914 ac_cv_lib_jpeg_jpeg_read_header=no
26915 fi
26916
26917 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26918 conftest$ac_exeext conftest.$ac_ext
26919 LIBS=$ac_check_lib_save_LIBS
26920 fi
26921 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26922 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26923 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26924 JPEG_LINK=" -ljpeg"
26925 fi
26926
26927 fi
26928
26929 if test "x$JPEG_LINK" = "x" ; then
26930 if test "$wxUSE_LIBJPEG" = "sys" ; then
26931 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26932 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26933 { (exit 1); exit 1; }; }
26934 else
26935 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26936 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26937 wxUSE_LIBJPEG=builtin
26938 fi
26939 else
26940 wxUSE_LIBJPEG=sys
26941
26942 if test "$wxUSE_MSW" = 1; then
26943 { echo "$as_me:$LINENO: checking for boolean" >&5
26944 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26945 if test "${ac_cv_type_boolean+set}" = set; then
26946 echo $ECHO_N "(cached) $ECHO_C" >&6
26947 else
26948 cat >conftest.$ac_ext <<_ACEOF
26949 /* confdefs.h. */
26950 _ACEOF
26951 cat confdefs.h >>conftest.$ac_ext
26952 cat >>conftest.$ac_ext <<_ACEOF
26953 /* end confdefs.h. */
26954 #include <windows.h>
26955
26956 typedef boolean ac__type_new_;
26957 int
26958 main ()
26959 {
26960 if ((ac__type_new_ *) 0)
26961 return 0;
26962 if (sizeof (ac__type_new_))
26963 return 0;
26964 ;
26965 return 0;
26966 }
26967 _ACEOF
26968 rm -f conftest.$ac_objext
26969 if { (ac_try="$ac_compile"
26970 case "(($ac_try" in
26971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26972 *) ac_try_echo=$ac_try;;
26973 esac
26974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26975 (eval "$ac_compile") 2>conftest.er1
26976 ac_status=$?
26977 grep -v '^ *+' conftest.er1 >conftest.err
26978 rm -f conftest.er1
26979 cat conftest.err >&5
26980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26981 (exit $ac_status); } && {
26982 test -z "$ac_c_werror_flag" ||
26983 test ! -s conftest.err
26984 } && test -s conftest.$ac_objext; then
26985 ac_cv_type_boolean=yes
26986 else
26987 echo "$as_me: failed program was:" >&5
26988 sed 's/^/| /' conftest.$ac_ext >&5
26989
26990 ac_cv_type_boolean=no
26991 fi
26992
26993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26994 fi
26995 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26996 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26997 if test $ac_cv_type_boolean = yes; then
26998
26999 cat >>confdefs.h <<_ACEOF
27000 #define HAVE_BOOLEAN 1
27001 _ACEOF
27002
27003
27004 { echo "$as_me:$LINENO: checking for boolean" >&5
27005 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27006 if test "${ac_cv_type_boolean+set}" = set; then
27007 echo $ECHO_N "(cached) $ECHO_C" >&6
27008 else
27009 cat >conftest.$ac_ext <<_ACEOF
27010 /* confdefs.h. */
27011 _ACEOF
27012 cat confdefs.h >>conftest.$ac_ext
27013 cat >>conftest.$ac_ext <<_ACEOF
27014 /* end confdefs.h. */
27015
27016 #undef HAVE_BOOLEAN
27017 #include <stdio.h>
27018 #include <jpeglib.h>
27019
27020
27021 typedef boolean ac__type_new_;
27022 int
27023 main ()
27024 {
27025 if ((ac__type_new_ *) 0)
27026 return 0;
27027 if (sizeof (ac__type_new_))
27028 return 0;
27029 ;
27030 return 0;
27031 }
27032 _ACEOF
27033 rm -f conftest.$ac_objext
27034 if { (ac_try="$ac_compile"
27035 case "(($ac_try" in
27036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27037 *) ac_try_echo=$ac_try;;
27038 esac
27039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27040 (eval "$ac_compile") 2>conftest.er1
27041 ac_status=$?
27042 grep -v '^ *+' conftest.er1 >conftest.err
27043 rm -f conftest.er1
27044 cat conftest.err >&5
27045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27046 (exit $ac_status); } && {
27047 test -z "$ac_c_werror_flag" ||
27048 test ! -s conftest.err
27049 } && test -s conftest.$ac_objext; then
27050 ac_cv_type_boolean=yes
27051 else
27052 echo "$as_me: failed program was:" >&5
27053 sed 's/^/| /' conftest.$ac_ext >&5
27054
27055 ac_cv_type_boolean=no
27056 fi
27057
27058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27059 fi
27060 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27061 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27062
27063 # The cast to long int works around a bug in the HP C Compiler
27064 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27065 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27066 # This bug is HP SR number 8606223364.
27067 { echo "$as_me:$LINENO: checking size of boolean" >&5
27068 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27069 if test "${ac_cv_sizeof_boolean+set}" = set; then
27070 echo $ECHO_N "(cached) $ECHO_C" >&6
27071 else
27072 if test "$cross_compiling" = yes; then
27073 # Depending upon the size, compute the lo and hi bounds.
27074 cat >conftest.$ac_ext <<_ACEOF
27075 /* confdefs.h. */
27076 _ACEOF
27077 cat confdefs.h >>conftest.$ac_ext
27078 cat >>conftest.$ac_ext <<_ACEOF
27079 /* end confdefs.h. */
27080
27081 #undef HAVE_BOOLEAN
27082 #include <stdio.h>
27083 #include <jpeglib.h>
27084
27085
27086 typedef boolean ac__type_sizeof_;
27087 int
27088 main ()
27089 {
27090 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27091 test_array [0] = 0
27092
27093 ;
27094 return 0;
27095 }
27096 _ACEOF
27097 rm -f conftest.$ac_objext
27098 if { (ac_try="$ac_compile"
27099 case "(($ac_try" in
27100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27101 *) ac_try_echo=$ac_try;;
27102 esac
27103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27104 (eval "$ac_compile") 2>conftest.er1
27105 ac_status=$?
27106 grep -v '^ *+' conftest.er1 >conftest.err
27107 rm -f conftest.er1
27108 cat conftest.err >&5
27109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27110 (exit $ac_status); } && {
27111 test -z "$ac_c_werror_flag" ||
27112 test ! -s conftest.err
27113 } && test -s conftest.$ac_objext; then
27114 ac_lo=0 ac_mid=0
27115 while :; do
27116 cat >conftest.$ac_ext <<_ACEOF
27117 /* confdefs.h. */
27118 _ACEOF
27119 cat confdefs.h >>conftest.$ac_ext
27120 cat >>conftest.$ac_ext <<_ACEOF
27121 /* end confdefs.h. */
27122
27123 #undef HAVE_BOOLEAN
27124 #include <stdio.h>
27125 #include <jpeglib.h>
27126
27127
27128 typedef boolean ac__type_sizeof_;
27129 int
27130 main ()
27131 {
27132 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27133 test_array [0] = 0
27134
27135 ;
27136 return 0;
27137 }
27138 _ACEOF
27139 rm -f conftest.$ac_objext
27140 if { (ac_try="$ac_compile"
27141 case "(($ac_try" in
27142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27143 *) ac_try_echo=$ac_try;;
27144 esac
27145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27146 (eval "$ac_compile") 2>conftest.er1
27147 ac_status=$?
27148 grep -v '^ *+' conftest.er1 >conftest.err
27149 rm -f conftest.er1
27150 cat conftest.err >&5
27151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27152 (exit $ac_status); } && {
27153 test -z "$ac_c_werror_flag" ||
27154 test ! -s conftest.err
27155 } && test -s conftest.$ac_objext; then
27156 ac_hi=$ac_mid; break
27157 else
27158 echo "$as_me: failed program was:" >&5
27159 sed 's/^/| /' conftest.$ac_ext >&5
27160
27161 ac_lo=`expr $ac_mid + 1`
27162 if test $ac_lo -le $ac_mid; then
27163 ac_lo= ac_hi=
27164 break
27165 fi
27166 ac_mid=`expr 2 '*' $ac_mid + 1`
27167 fi
27168
27169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27170 done
27171 else
27172 echo "$as_me: failed program was:" >&5
27173 sed 's/^/| /' conftest.$ac_ext >&5
27174
27175 cat >conftest.$ac_ext <<_ACEOF
27176 /* confdefs.h. */
27177 _ACEOF
27178 cat confdefs.h >>conftest.$ac_ext
27179 cat >>conftest.$ac_ext <<_ACEOF
27180 /* end confdefs.h. */
27181
27182 #undef HAVE_BOOLEAN
27183 #include <stdio.h>
27184 #include <jpeglib.h>
27185
27186
27187 typedef boolean ac__type_sizeof_;
27188 int
27189 main ()
27190 {
27191 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27192 test_array [0] = 0
27193
27194 ;
27195 return 0;
27196 }
27197 _ACEOF
27198 rm -f conftest.$ac_objext
27199 if { (ac_try="$ac_compile"
27200 case "(($ac_try" in
27201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27202 *) ac_try_echo=$ac_try;;
27203 esac
27204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27205 (eval "$ac_compile") 2>conftest.er1
27206 ac_status=$?
27207 grep -v '^ *+' conftest.er1 >conftest.err
27208 rm -f conftest.er1
27209 cat conftest.err >&5
27210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27211 (exit $ac_status); } && {
27212 test -z "$ac_c_werror_flag" ||
27213 test ! -s conftest.err
27214 } && test -s conftest.$ac_objext; then
27215 ac_hi=-1 ac_mid=-1
27216 while :; do
27217 cat >conftest.$ac_ext <<_ACEOF
27218 /* confdefs.h. */
27219 _ACEOF
27220 cat confdefs.h >>conftest.$ac_ext
27221 cat >>conftest.$ac_ext <<_ACEOF
27222 /* end confdefs.h. */
27223
27224 #undef HAVE_BOOLEAN
27225 #include <stdio.h>
27226 #include <jpeglib.h>
27227
27228
27229 typedef boolean ac__type_sizeof_;
27230 int
27231 main ()
27232 {
27233 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27234 test_array [0] = 0
27235
27236 ;
27237 return 0;
27238 }
27239 _ACEOF
27240 rm -f conftest.$ac_objext
27241 if { (ac_try="$ac_compile"
27242 case "(($ac_try" in
27243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27244 *) ac_try_echo=$ac_try;;
27245 esac
27246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27247 (eval "$ac_compile") 2>conftest.er1
27248 ac_status=$?
27249 grep -v '^ *+' conftest.er1 >conftest.err
27250 rm -f conftest.er1
27251 cat conftest.err >&5
27252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27253 (exit $ac_status); } && {
27254 test -z "$ac_c_werror_flag" ||
27255 test ! -s conftest.err
27256 } && test -s conftest.$ac_objext; then
27257 ac_lo=$ac_mid; break
27258 else
27259 echo "$as_me: failed program was:" >&5
27260 sed 's/^/| /' conftest.$ac_ext >&5
27261
27262 ac_hi=`expr '(' $ac_mid ')' - 1`
27263 if test $ac_mid -le $ac_hi; then
27264 ac_lo= ac_hi=
27265 break
27266 fi
27267 ac_mid=`expr 2 '*' $ac_mid`
27268 fi
27269
27270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27271 done
27272 else
27273 echo "$as_me: failed program was:" >&5
27274 sed 's/^/| /' conftest.$ac_ext >&5
27275
27276 ac_lo= ac_hi=
27277 fi
27278
27279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27280 fi
27281
27282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27283 # Binary search between lo and hi bounds.
27284 while test "x$ac_lo" != "x$ac_hi"; do
27285 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27286 cat >conftest.$ac_ext <<_ACEOF
27287 /* confdefs.h. */
27288 _ACEOF
27289 cat confdefs.h >>conftest.$ac_ext
27290 cat >>conftest.$ac_ext <<_ACEOF
27291 /* end confdefs.h. */
27292
27293 #undef HAVE_BOOLEAN
27294 #include <stdio.h>
27295 #include <jpeglib.h>
27296
27297
27298 typedef boolean ac__type_sizeof_;
27299 int
27300 main ()
27301 {
27302 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27303 test_array [0] = 0
27304
27305 ;
27306 return 0;
27307 }
27308 _ACEOF
27309 rm -f conftest.$ac_objext
27310 if { (ac_try="$ac_compile"
27311 case "(($ac_try" in
27312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27313 *) ac_try_echo=$ac_try;;
27314 esac
27315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27316 (eval "$ac_compile") 2>conftest.er1
27317 ac_status=$?
27318 grep -v '^ *+' conftest.er1 >conftest.err
27319 rm -f conftest.er1
27320 cat conftest.err >&5
27321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27322 (exit $ac_status); } && {
27323 test -z "$ac_c_werror_flag" ||
27324 test ! -s conftest.err
27325 } && test -s conftest.$ac_objext; then
27326 ac_hi=$ac_mid
27327 else
27328 echo "$as_me: failed program was:" >&5
27329 sed 's/^/| /' conftest.$ac_ext >&5
27330
27331 ac_lo=`expr '(' $ac_mid ')' + 1`
27332 fi
27333
27334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27335 done
27336 case $ac_lo in
27337 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27338 '') if test "$ac_cv_type_boolean" = yes; then
27339 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27340 See \`config.log' for more details." >&5
27341 echo "$as_me: error: cannot compute sizeof (boolean)
27342 See \`config.log' for more details." >&2;}
27343 { (exit 77); exit 77; }; }
27344 else
27345 ac_cv_sizeof_boolean=0
27346 fi ;;
27347 esac
27348 else
27349 cat >conftest.$ac_ext <<_ACEOF
27350 /* confdefs.h. */
27351 _ACEOF
27352 cat confdefs.h >>conftest.$ac_ext
27353 cat >>conftest.$ac_ext <<_ACEOF
27354 /* end confdefs.h. */
27355
27356 #undef HAVE_BOOLEAN
27357 #include <stdio.h>
27358 #include <jpeglib.h>
27359
27360
27361 typedef boolean ac__type_sizeof_;
27362 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27363 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27364 #include <stdio.h>
27365 #include <stdlib.h>
27366 int
27367 main ()
27368 {
27369
27370 FILE *f = fopen ("conftest.val", "w");
27371 if (! f)
27372 return 1;
27373 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27374 {
27375 long int i = longval ();
27376 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27377 return 1;
27378 fprintf (f, "%ld\n", i);
27379 }
27380 else
27381 {
27382 unsigned long int i = ulongval ();
27383 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27384 return 1;
27385 fprintf (f, "%lu\n", i);
27386 }
27387 return ferror (f) || fclose (f) != 0;
27388
27389 ;
27390 return 0;
27391 }
27392 _ACEOF
27393 rm -f conftest$ac_exeext
27394 if { (ac_try="$ac_link"
27395 case "(($ac_try" in
27396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27397 *) ac_try_echo=$ac_try;;
27398 esac
27399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27400 (eval "$ac_link") 2>&5
27401 ac_status=$?
27402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27403 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27404 { (case "(($ac_try" in
27405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27406 *) ac_try_echo=$ac_try;;
27407 esac
27408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27409 (eval "$ac_try") 2>&5
27410 ac_status=$?
27411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27412 (exit $ac_status); }; }; then
27413 ac_cv_sizeof_boolean=`cat conftest.val`
27414 else
27415 echo "$as_me: program exited with status $ac_status" >&5
27416 echo "$as_me: failed program was:" >&5
27417 sed 's/^/| /' conftest.$ac_ext >&5
27418
27419 ( exit $ac_status )
27420 if test "$ac_cv_type_boolean" = yes; then
27421 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27422 See \`config.log' for more details." >&5
27423 echo "$as_me: error: cannot compute sizeof (boolean)
27424 See \`config.log' for more details." >&2;}
27425 { (exit 77); exit 77; }; }
27426 else
27427 ac_cv_sizeof_boolean=0
27428 fi
27429 fi
27430 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27431 fi
27432 rm -f conftest.val
27433 fi
27434 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27435 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27436
27437
27438
27439 cat >>confdefs.h <<_ACEOF
27440 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27441 _ACEOF
27442
27443
27444 cat >>confdefs.h <<_ACEOF
27445 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27446 _ACEOF
27447
27448
27449 fi
27450
27451 fi
27452 fi
27453 fi
27454 fi
27455 fi
27456
27457
27458 TIFF_LINK=
27459 TIFF_PREREQ_LINKS=-lm
27460 if test "$wxUSE_LIBTIFF" != "no" ; then
27461 cat >>confdefs.h <<\_ACEOF
27462 #define wxUSE_LIBTIFF 1
27463 _ACEOF
27464
27465
27466 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27467 if test "$wxUSE_LIBJPEG" = "sys"; then
27468 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27469 fi
27470 if test "$wxUSE_ZLIB" = "sys"; then
27471 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27472 fi
27473 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27474 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27475 if test "${ac_cv_header_tiffio_h+set}" = set; then
27476 echo $ECHO_N "(cached) $ECHO_C" >&6
27477 else
27478 cat >conftest.$ac_ext <<_ACEOF
27479 /* confdefs.h. */
27480 _ACEOF
27481 cat confdefs.h >>conftest.$ac_ext
27482 cat >>conftest.$ac_ext <<_ACEOF
27483 /* end confdefs.h. */
27484
27485
27486
27487 #include <tiffio.h>
27488 _ACEOF
27489 rm -f conftest.$ac_objext
27490 if { (ac_try="$ac_compile"
27491 case "(($ac_try" in
27492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27493 *) ac_try_echo=$ac_try;;
27494 esac
27495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27496 (eval "$ac_compile") 2>conftest.er1
27497 ac_status=$?
27498 grep -v '^ *+' conftest.er1 >conftest.err
27499 rm -f conftest.er1
27500 cat conftest.err >&5
27501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27502 (exit $ac_status); } && {
27503 test -z "$ac_c_werror_flag" ||
27504 test ! -s conftest.err
27505 } && test -s conftest.$ac_objext; then
27506 ac_cv_header_tiffio_h=yes
27507 else
27508 echo "$as_me: failed program was:" >&5
27509 sed 's/^/| /' conftest.$ac_ext >&5
27510
27511 ac_cv_header_tiffio_h=no
27512 fi
27513
27514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27515 fi
27516 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27517 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27518 if test $ac_cv_header_tiffio_h = yes; then
27519
27520 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27521 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27522 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27523 echo $ECHO_N "(cached) $ECHO_C" >&6
27524 else
27525 ac_check_lib_save_LIBS=$LIBS
27526 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27527 cat >conftest.$ac_ext <<_ACEOF
27528 /* confdefs.h. */
27529 _ACEOF
27530 cat confdefs.h >>conftest.$ac_ext
27531 cat >>conftest.$ac_ext <<_ACEOF
27532 /* end confdefs.h. */
27533
27534 /* Override any GCC internal prototype to avoid an error.
27535 Use char because int might match the return type of a GCC
27536 builtin and then its argument prototype would still apply. */
27537 #ifdef __cplusplus
27538 extern "C"
27539 #endif
27540 char TIFFError ();
27541 int
27542 main ()
27543 {
27544 return TIFFError ();
27545 ;
27546 return 0;
27547 }
27548 _ACEOF
27549 rm -f conftest.$ac_objext conftest$ac_exeext
27550 if { (ac_try="$ac_link"
27551 case "(($ac_try" in
27552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27553 *) ac_try_echo=$ac_try;;
27554 esac
27555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27556 (eval "$ac_link") 2>conftest.er1
27557 ac_status=$?
27558 grep -v '^ *+' conftest.er1 >conftest.err
27559 rm -f conftest.er1
27560 cat conftest.err >&5
27561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27562 (exit $ac_status); } && {
27563 test -z "$ac_c_werror_flag" ||
27564 test ! -s conftest.err
27565 } && test -s conftest$ac_exeext &&
27566 $as_test_x conftest$ac_exeext; then
27567 ac_cv_lib_tiff_TIFFError=yes
27568 else
27569 echo "$as_me: failed program was:" >&5
27570 sed 's/^/| /' conftest.$ac_ext >&5
27571
27572 ac_cv_lib_tiff_TIFFError=no
27573 fi
27574
27575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27576 conftest$ac_exeext conftest.$ac_ext
27577 LIBS=$ac_check_lib_save_LIBS
27578 fi
27579 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27580 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27581 if test $ac_cv_lib_tiff_TIFFError = yes; then
27582 TIFF_LINK=" -ltiff"
27583 fi
27584
27585
27586 fi
27587
27588
27589
27590 if test "x$TIFF_LINK" = "x" ; then
27591 if test "$wxUSE_LIBTIFF" = "sys" ; then
27592 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27593 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27594 { (exit 1); exit 1; }; }
27595 else
27596 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27597 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27598 wxUSE_LIBTIFF=builtin
27599 fi
27600 else
27601 wxUSE_LIBTIFF=sys
27602 fi
27603 fi
27604 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27605 if test "$wxUSE_LIBJPEG" = "no"; then
27606 ac_configure_args="$ac_configure_args --disable-jpeg"
27607 fi
27608 subdirs="$subdirs src/tiff"
27609
27610 fi
27611 fi
27612
27613
27614 if test "$wxUSE_WCHAR_T" != "yes"; then
27615 if test "$wxUSE_EXPAT" != "no"; then
27616 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27617 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27618 wxUSE_EXPAT=no
27619 fi
27620 if test "$wxUSE_XML" != "no"; then
27621 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27622 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27623 wxUSE_XML=no
27624 fi
27625 fi
27626
27627 if test "$wxUSE_EXPAT" != "no"; then
27628 wxUSE_XML=yes
27629 cat >>confdefs.h <<\_ACEOF
27630 #define wxUSE_EXPAT 1
27631 _ACEOF
27632
27633 cat >>confdefs.h <<\_ACEOF
27634 #define wxUSE_XML 1
27635 _ACEOF
27636
27637
27638 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27639 { echo "$as_me:$LINENO: checking for expat.h" >&5
27640 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27641 if test "${ac_cv_header_expat_h+set}" = set; then
27642 echo $ECHO_N "(cached) $ECHO_C" >&6
27643 else
27644 cat >conftest.$ac_ext <<_ACEOF
27645 /* confdefs.h. */
27646 _ACEOF
27647 cat confdefs.h >>conftest.$ac_ext
27648 cat >>conftest.$ac_ext <<_ACEOF
27649 /* end confdefs.h. */
27650
27651
27652 #include <expat.h>
27653 _ACEOF
27654 rm -f conftest.$ac_objext
27655 if { (ac_try="$ac_compile"
27656 case "(($ac_try" in
27657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27658 *) ac_try_echo=$ac_try;;
27659 esac
27660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27661 (eval "$ac_compile") 2>conftest.er1
27662 ac_status=$?
27663 grep -v '^ *+' conftest.er1 >conftest.err
27664 rm -f conftest.er1
27665 cat conftest.err >&5
27666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27667 (exit $ac_status); } && {
27668 test -z "$ac_c_werror_flag" ||
27669 test ! -s conftest.err
27670 } && test -s conftest.$ac_objext; then
27671 ac_cv_header_expat_h=yes
27672 else
27673 echo "$as_me: failed program was:" >&5
27674 sed 's/^/| /' conftest.$ac_ext >&5
27675
27676 ac_cv_header_expat_h=no
27677 fi
27678
27679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27680 fi
27681 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27682 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27683 if test $ac_cv_header_expat_h = yes; then
27684 found_expat_h=1
27685 fi
27686
27687
27688 if test "x$found_expat_h" = "x1"; then
27689 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27690 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27691 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27692 echo $ECHO_N "(cached) $ECHO_C" >&6
27693 else
27694
27695 ac_ext=cpp
27696 ac_cpp='$CXXCPP $CPPFLAGS'
27697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27700
27701 cat >conftest.$ac_ext <<_ACEOF
27702 /* confdefs.h. */
27703 _ACEOF
27704 cat confdefs.h >>conftest.$ac_ext
27705 cat >>conftest.$ac_ext <<_ACEOF
27706 /* end confdefs.h. */
27707 #include <expat.h>
27708 int
27709 main ()
27710 {
27711
27712 ;
27713 return 0;
27714 }
27715 _ACEOF
27716 rm -f conftest.$ac_objext
27717 if { (ac_try="$ac_compile"
27718 case "(($ac_try" in
27719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27720 *) ac_try_echo=$ac_try;;
27721 esac
27722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27723 (eval "$ac_compile") 2>conftest.er1
27724 ac_status=$?
27725 grep -v '^ *+' conftest.er1 >conftest.err
27726 rm -f conftest.er1
27727 cat conftest.err >&5
27728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27729 (exit $ac_status); } && {
27730 test -z "$ac_cxx_werror_flag" ||
27731 test ! -s conftest.err
27732 } && test -s conftest.$ac_objext; then
27733 wx_cv_expat_is_not_broken=yes
27734 else
27735 echo "$as_me: failed program was:" >&5
27736 sed 's/^/| /' conftest.$ac_ext >&5
27737
27738 wx_cv_expat_is_not_broken=no
27739
27740 fi
27741
27742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27743 ac_ext=c
27744 ac_cpp='$CPP $CPPFLAGS'
27745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27748
27749
27750
27751 fi
27752 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27753 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27754 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27755 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27756 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27757 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27758 echo $ECHO_N "(cached) $ECHO_C" >&6
27759 else
27760 ac_check_lib_save_LIBS=$LIBS
27761 LIBS="-lexpat $LIBS"
27762 cat >conftest.$ac_ext <<_ACEOF
27763 /* confdefs.h. */
27764 _ACEOF
27765 cat confdefs.h >>conftest.$ac_ext
27766 cat >>conftest.$ac_ext <<_ACEOF
27767 /* end confdefs.h. */
27768
27769 /* Override any GCC internal prototype to avoid an error.
27770 Use char because int might match the return type of a GCC
27771 builtin and then its argument prototype would still apply. */
27772 #ifdef __cplusplus
27773 extern "C"
27774 #endif
27775 char XML_ParserCreate ();
27776 int
27777 main ()
27778 {
27779 return XML_ParserCreate ();
27780 ;
27781 return 0;
27782 }
27783 _ACEOF
27784 rm -f conftest.$ac_objext conftest$ac_exeext
27785 if { (ac_try="$ac_link"
27786 case "(($ac_try" in
27787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27788 *) ac_try_echo=$ac_try;;
27789 esac
27790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27791 (eval "$ac_link") 2>conftest.er1
27792 ac_status=$?
27793 grep -v '^ *+' conftest.er1 >conftest.err
27794 rm -f conftest.er1
27795 cat conftest.err >&5
27796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27797 (exit $ac_status); } && {
27798 test -z "$ac_c_werror_flag" ||
27799 test ! -s conftest.err
27800 } && test -s conftest$ac_exeext &&
27801 $as_test_x conftest$ac_exeext; then
27802 ac_cv_lib_expat_XML_ParserCreate=yes
27803 else
27804 echo "$as_me: failed program was:" >&5
27805 sed 's/^/| /' conftest.$ac_ext >&5
27806
27807 ac_cv_lib_expat_XML_ParserCreate=no
27808 fi
27809
27810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27811 conftest$ac_exeext conftest.$ac_ext
27812 LIBS=$ac_check_lib_save_LIBS
27813 fi
27814 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27815 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27816 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27817 EXPAT_LINK=" -lexpat"
27818 fi
27819
27820 fi
27821 fi
27822 if test "x$EXPAT_LINK" = "x" ; then
27823 if test "$wxUSE_EXPAT" = "sys" ; then
27824 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27825 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27826 { (exit 1); exit 1; }; }
27827 else
27828 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27829 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27830 wxUSE_EXPAT=builtin
27831 fi
27832 else
27833 wxUSE_EXPAT=sys
27834 fi
27835 fi
27836 if test "$wxUSE_EXPAT" = "builtin" ; then
27837 subdirs="$subdirs src/expat"
27838
27839 fi
27840 fi
27841
27842
27843
27844 if test "$wxUSE_LIBMSPACK" != "no"; then
27845 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27846 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27847 if test "${ac_cv_header_mspack_h+set}" = set; then
27848 echo $ECHO_N "(cached) $ECHO_C" >&6
27849 else
27850 cat >conftest.$ac_ext <<_ACEOF
27851 /* confdefs.h. */
27852 _ACEOF
27853 cat confdefs.h >>conftest.$ac_ext
27854 cat >>conftest.$ac_ext <<_ACEOF
27855 /* end confdefs.h. */
27856
27857
27858 #include <mspack.h>
27859 _ACEOF
27860 rm -f conftest.$ac_objext
27861 if { (ac_try="$ac_compile"
27862 case "(($ac_try" in
27863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27864 *) ac_try_echo=$ac_try;;
27865 esac
27866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27867 (eval "$ac_compile") 2>conftest.er1
27868 ac_status=$?
27869 grep -v '^ *+' conftest.er1 >conftest.err
27870 rm -f conftest.er1
27871 cat conftest.err >&5
27872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27873 (exit $ac_status); } && {
27874 test -z "$ac_c_werror_flag" ||
27875 test ! -s conftest.err
27876 } && test -s conftest.$ac_objext; then
27877 ac_cv_header_mspack_h=yes
27878 else
27879 echo "$as_me: failed program was:" >&5
27880 sed 's/^/| /' conftest.$ac_ext >&5
27881
27882 ac_cv_header_mspack_h=no
27883 fi
27884
27885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27886 fi
27887 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27888 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27889 if test $ac_cv_header_mspack_h = yes; then
27890 found_mspack_h=1
27891 fi
27892
27893
27894 if test "x$found_mspack_h" = "x1"; then
27895 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27896 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
27897 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27898 echo $ECHO_N "(cached) $ECHO_C" >&6
27899 else
27900 ac_check_lib_save_LIBS=$LIBS
27901 LIBS="-lmspack $LIBS"
27902 cat >conftest.$ac_ext <<_ACEOF
27903 /* confdefs.h. */
27904 _ACEOF
27905 cat confdefs.h >>conftest.$ac_ext
27906 cat >>conftest.$ac_ext <<_ACEOF
27907 /* end confdefs.h. */
27908
27909 /* Override any GCC internal prototype to avoid an error.
27910 Use char because int might match the return type of a GCC
27911 builtin and then its argument prototype would still apply. */
27912 #ifdef __cplusplus
27913 extern "C"
27914 #endif
27915 char mspack_create_chm_decompressor ();
27916 int
27917 main ()
27918 {
27919 return mspack_create_chm_decompressor ();
27920 ;
27921 return 0;
27922 }
27923 _ACEOF
27924 rm -f conftest.$ac_objext conftest$ac_exeext
27925 if { (ac_try="$ac_link"
27926 case "(($ac_try" in
27927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27928 *) ac_try_echo=$ac_try;;
27929 esac
27930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27931 (eval "$ac_link") 2>conftest.er1
27932 ac_status=$?
27933 grep -v '^ *+' conftest.er1 >conftest.err
27934 rm -f conftest.er1
27935 cat conftest.err >&5
27936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27937 (exit $ac_status); } && {
27938 test -z "$ac_c_werror_flag" ||
27939 test ! -s conftest.err
27940 } && test -s conftest$ac_exeext &&
27941 $as_test_x conftest$ac_exeext; then
27942 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27943 else
27944 echo "$as_me: failed program was:" >&5
27945 sed 's/^/| /' conftest.$ac_ext >&5
27946
27947 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27948 fi
27949
27950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27951 conftest$ac_exeext conftest.$ac_ext
27952 LIBS=$ac_check_lib_save_LIBS
27953 fi
27954 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27955 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
27956 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27957 MSPACK_LINK=" -lmspack"
27958 fi
27959
27960 fi
27961 if test "x$MSPACK_LINK" = "x" ; then
27962 wxUSE_LIBMSPACK=no
27963 fi
27964 fi
27965
27966 if test "$wxUSE_LIBMSPACK" != "no"; then
27967 cat >>confdefs.h <<\_ACEOF
27968 #define wxUSE_LIBMSPACK 1
27969 _ACEOF
27970
27971 fi
27972
27973
27974
27975 AFMINSTALL=
27976 WIN32INSTALL=
27977
27978 TOOLKIT=
27979 TOOLKIT_INCLUDE=
27980 WIDGET_SET=
27981
27982 if test "$USE_WIN32" = 1 ; then
27983
27984 for ac_header in w32api.h
27985 do
27986 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27987 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27988 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27989 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27990 echo $ECHO_N "(cached) $ECHO_C" >&6
27991 else
27992 cat >conftest.$ac_ext <<_ACEOF
27993 /* confdefs.h. */
27994 _ACEOF
27995 cat confdefs.h >>conftest.$ac_ext
27996 cat >>conftest.$ac_ext <<_ACEOF
27997 /* end confdefs.h. */
27998
27999
28000 #include <$ac_header>
28001 _ACEOF
28002 rm -f conftest.$ac_objext
28003 if { (ac_try="$ac_compile"
28004 case "(($ac_try" in
28005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28006 *) ac_try_echo=$ac_try;;
28007 esac
28008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28009 (eval "$ac_compile") 2>conftest.er1
28010 ac_status=$?
28011 grep -v '^ *+' conftest.er1 >conftest.err
28012 rm -f conftest.er1
28013 cat conftest.err >&5
28014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28015 (exit $ac_status); } && {
28016 test -z "$ac_c_werror_flag" ||
28017 test ! -s conftest.err
28018 } && test -s conftest.$ac_objext; then
28019 eval "$as_ac_Header=yes"
28020 else
28021 echo "$as_me: failed program was:" >&5
28022 sed 's/^/| /' conftest.$ac_ext >&5
28023
28024 eval "$as_ac_Header=no"
28025 fi
28026
28027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28028 fi
28029 ac_res=`eval echo '${'$as_ac_Header'}'`
28030 { echo "$as_me:$LINENO: result: $ac_res" >&5
28031 echo "${ECHO_T}$ac_res" >&6; }
28032 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28033 cat >>confdefs.h <<_ACEOF
28034 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28035 _ACEOF
28036
28037 fi
28038
28039 done
28040
28041 { echo "$as_me:$LINENO: checking for windows.h" >&5
28042 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
28043 if test "${ac_cv_header_windows_h+set}" = set; then
28044 echo $ECHO_N "(cached) $ECHO_C" >&6
28045 else
28046 cat >conftest.$ac_ext <<_ACEOF
28047 /* confdefs.h. */
28048 _ACEOF
28049 cat confdefs.h >>conftest.$ac_ext
28050 cat >>conftest.$ac_ext <<_ACEOF
28051 /* end confdefs.h. */
28052
28053
28054 #include <windows.h>
28055 _ACEOF
28056 rm -f conftest.$ac_objext
28057 if { (ac_try="$ac_compile"
28058 case "(($ac_try" in
28059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28060 *) ac_try_echo=$ac_try;;
28061 esac
28062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28063 (eval "$ac_compile") 2>conftest.er1
28064 ac_status=$?
28065 grep -v '^ *+' conftest.er1 >conftest.err
28066 rm -f conftest.er1
28067 cat conftest.err >&5
28068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28069 (exit $ac_status); } && {
28070 test -z "$ac_c_werror_flag" ||
28071 test ! -s conftest.err
28072 } && test -s conftest.$ac_objext; then
28073 ac_cv_header_windows_h=yes
28074 else
28075 echo "$as_me: failed program was:" >&5
28076 sed 's/^/| /' conftest.$ac_ext >&5
28077
28078 ac_cv_header_windows_h=no
28079 fi
28080
28081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28082 fi
28083 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28084 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28085 if test $ac_cv_header_windows_h = yes; then
28086 :
28087 else
28088
28089 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28090 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28091 { (exit 1); exit 1; }; }
28092
28093 fi
28094
28095
28096
28097 case "${host}" in
28098 x86_64-*-mingw32* )
28099 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28100 ;;
28101 * )
28102 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28103 ;;
28104 esac
28105 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28106 LIBS="$LIBS -loleacc"
28107 fi
28108
28109 case "${host}" in
28110 *-*-cygwin* )
28111 LIBS="$LIBS -lkernel32 -luser32"
28112 esac
28113
28114 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28115 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28116
28117 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28118
28119 WIN32INSTALL=win32install
28120
28121 { echo "$as_me:$LINENO: checking for pbt.h" >&5
28122 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
28123 if test "${ac_cv_header_pbt_h+set}" = set; then
28124 echo $ECHO_N "(cached) $ECHO_C" >&6
28125 else
28126 cat >conftest.$ac_ext <<_ACEOF
28127 /* confdefs.h. */
28128 _ACEOF
28129 cat confdefs.h >>conftest.$ac_ext
28130 cat >>conftest.$ac_ext <<_ACEOF
28131 /* end confdefs.h. */
28132
28133
28134 #include <pbt.h>
28135 _ACEOF
28136 rm -f conftest.$ac_objext
28137 if { (ac_try="$ac_compile"
28138 case "(($ac_try" in
28139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28140 *) ac_try_echo=$ac_try;;
28141 esac
28142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28143 (eval "$ac_compile") 2>conftest.er1
28144 ac_status=$?
28145 grep -v '^ *+' conftest.er1 >conftest.err
28146 rm -f conftest.er1
28147 cat conftest.err >&5
28148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28149 (exit $ac_status); } && {
28150 test -z "$ac_c_werror_flag" ||
28151 test ! -s conftest.err
28152 } && test -s conftest.$ac_objext; then
28153 ac_cv_header_pbt_h=yes
28154 else
28155 echo "$as_me: failed program was:" >&5
28156 sed 's/^/| /' conftest.$ac_ext >&5
28157
28158 ac_cv_header_pbt_h=no
28159 fi
28160
28161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28162 fi
28163 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
28164 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28165 if test $ac_cv_header_pbt_h = yes; then
28166 :
28167 else
28168 cat >>confdefs.h <<\_ACEOF
28169 #define NEED_PBT_H 1
28170 _ACEOF
28171
28172 fi
28173
28174
28175 fi
28176
28177 if test "$wxUSE_GUI" = "yes"; then
28178 USE_GUI=1
28179
28180 GUI_TK_LIBRARY=
28181
28182 WXGTK12=
28183 WXGTK127=
28184 WXGTK2=
28185 WXGPE=
28186
28187 if test "$wxUSE_COCOA" = 1 ; then
28188 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28189 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28190 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28191 wxUSE_PRINTING_ARCHITECTURE=no
28192 fi
28193 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28194 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28195 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28196 wxUSE_DRAG_AND_DROP=no
28197 fi
28198 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28199 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
28200 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
28201 wxUSE_DRAGIMAGE=no
28202 fi
28203 fi
28204
28205 if test "$wxUSE_MSW" = 1 ; then
28206 TOOLKIT=MSW
28207 GUIDIST=MSW_DIST
28208
28209 case "${host}" in
28210 *-*-mingw32* )
28211 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28212 esac
28213 fi
28214
28215 if test "$wxUSE_GTK" = 1; then
28216 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
28217 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
28218
28219 gtk_version_cached=1
28220 if test "${wx_cv_lib_gtk+set}" = set; then
28221 echo $ECHO_N "(cached) $ECHO_C" >&6
28222 else
28223
28224 gtk_version_cached=0
28225 { echo "$as_me:$LINENO: result: " >&5
28226 echo "${ECHO_T}" >&6; }
28227
28228 GTK_MODULES=
28229 if test "$wxUSE_THREADS" = "yes"; then
28230 GTK_MODULES=gthread
28231 fi
28232
28233 wx_cv_lib_gtk=
28234 if test "x$wxGTK_VERSION" != "x1"
28235 then
28236 case "${host}" in
28237 *-*-solaris2* )
28238 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28239 enable_gtktest=no
28240 fi
28241 esac
28242
28243 # Check whether --enable-gtktest was given.
28244 if test "${enable_gtktest+set}" = set; then
28245 enableval=$enable_gtktest;
28246 else
28247 enable_gtktest=yes
28248 fi
28249
28250
28251 pkg_config_args=gtk+-2.0
28252 for module in . $GTK_MODULES
28253 do
28254 case "$module" in
28255 gthread)
28256 pkg_config_args="$pkg_config_args gthread-2.0"
28257 ;;
28258 esac
28259 done
28260
28261 no_gtk=""
28262
28263 # Extract the first word of "pkg-config", so it can be a program name with args.
28264 set dummy pkg-config; ac_word=$2
28265 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28267 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28268 echo $ECHO_N "(cached) $ECHO_C" >&6
28269 else
28270 case $PKG_CONFIG in
28271 [\\/]* | ?:[\\/]*)
28272 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28273 ;;
28274 *)
28275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28276 for as_dir in $PATH
28277 do
28278 IFS=$as_save_IFS
28279 test -z "$as_dir" && as_dir=.
28280 for ac_exec_ext in '' $ac_executable_extensions; do
28281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28282 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28283 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28284 break 2
28285 fi
28286 done
28287 done
28288 IFS=$as_save_IFS
28289
28290 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28291 ;;
28292 esac
28293 fi
28294 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28295 if test -n "$PKG_CONFIG"; then
28296 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28297 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28298 else
28299 { echo "$as_me:$LINENO: result: no" >&5
28300 echo "${ECHO_T}no" >&6; }
28301 fi
28302
28303
28304
28305 if test x$PKG_CONFIG != xno ; then
28306 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28307 :
28308 else
28309 echo "*** pkg-config too old; version 0.7 or better required."
28310 no_gtk=yes
28311 PKG_CONFIG=no
28312 fi
28313 else
28314 no_gtk=yes
28315 fi
28316
28317 min_gtk_version=2.4.0
28318 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28319 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28320
28321 if test x$PKG_CONFIG != xno ; then
28322 ## don't try to run the test against uninstalled libtool libs
28323 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28324 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28325 enable_gtktest=no
28326 fi
28327
28328 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28329 :
28330 else
28331 no_gtk=yes
28332 fi
28333 fi
28334
28335 if test x"$no_gtk" = x ; then
28336 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28337 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28338 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28339 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28340 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28341 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28342 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28343 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28344 if test "x$enable_gtktest" = "xyes" ; then
28345 ac_save_CFLAGS="$CFLAGS"
28346 ac_save_LIBS="$LIBS"
28347 CFLAGS="$CFLAGS $GTK_CFLAGS"
28348 LIBS="$GTK_LIBS $LIBS"
28349 rm -f conf.gtktest
28350 if test "$cross_compiling" = yes; then
28351 echo $ac_n "cross compiling; assumed OK... $ac_c"
28352 else
28353 cat >conftest.$ac_ext <<_ACEOF
28354 /* confdefs.h. */
28355 _ACEOF
28356 cat confdefs.h >>conftest.$ac_ext
28357 cat >>conftest.$ac_ext <<_ACEOF
28358 /* end confdefs.h. */
28359
28360 #include <gtk/gtk.h>
28361 #include <stdio.h>
28362 #include <stdlib.h>
28363
28364 int
28365 main ()
28366 {
28367 int major, minor, micro;
28368 char *tmp_version;
28369
28370 system ("touch conf.gtktest");
28371
28372 /* HP/UX 9 (%@#!) writes to sscanf strings */
28373 tmp_version = g_strdup("$min_gtk_version");
28374 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28375 printf("%s, bad version string\n", "$min_gtk_version");
28376 exit(1);
28377 }
28378
28379 if ((gtk_major_version != $gtk_config_major_version) ||
28380 (gtk_minor_version != $gtk_config_minor_version) ||
28381 (gtk_micro_version != $gtk_config_micro_version))
28382 {
28383 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28384 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28385 gtk_major_version, gtk_minor_version, gtk_micro_version);
28386 printf ("*** was found! If pkg-config was correct, then it is best\n");
28387 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28388 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28389 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28390 printf("*** required on your system.\n");
28391 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28392 printf("*** to point to the correct configuration files\n");
28393 }
28394 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28395 (gtk_minor_version != GTK_MINOR_VERSION) ||
28396 (gtk_micro_version != GTK_MICRO_VERSION))
28397 {
28398 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28399 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28400 printf("*** library (version %d.%d.%d)\n",
28401 gtk_major_version, gtk_minor_version, gtk_micro_version);
28402 }
28403 else
28404 {
28405 if ((gtk_major_version > major) ||
28406 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28407 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28408 {
28409 return 0;
28410 }
28411 else
28412 {
28413 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28414 gtk_major_version, gtk_minor_version, gtk_micro_version);
28415 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28416 major, minor, micro);
28417 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28418 printf("***\n");
28419 printf("*** If you have already installed a sufficiently new version, this error\n");
28420 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28421 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28422 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28423 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28424 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28425 printf("*** so that the correct libraries are found at run-time))\n");
28426 }
28427 }
28428 return 1;
28429 }
28430
28431 _ACEOF
28432 rm -f conftest$ac_exeext
28433 if { (ac_try="$ac_link"
28434 case "(($ac_try" in
28435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28436 *) ac_try_echo=$ac_try;;
28437 esac
28438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28439 (eval "$ac_link") 2>&5
28440 ac_status=$?
28441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28442 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28443 { (case "(($ac_try" in
28444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28445 *) ac_try_echo=$ac_try;;
28446 esac
28447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28448 (eval "$ac_try") 2>&5
28449 ac_status=$?
28450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28451 (exit $ac_status); }; }; then
28452 :
28453 else
28454 echo "$as_me: program exited with status $ac_status" >&5
28455 echo "$as_me: failed program was:" >&5
28456 sed 's/^/| /' conftest.$ac_ext >&5
28457
28458 ( exit $ac_status )
28459 no_gtk=yes
28460 fi
28461 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28462 fi
28463
28464
28465 CFLAGS="$ac_save_CFLAGS"
28466 LIBS="$ac_save_LIBS"
28467 fi
28468 fi
28469 if test "x$no_gtk" = x ; then
28470 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28471 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28472 wx_cv_lib_gtk=2.0
28473 else
28474 { echo "$as_me:$LINENO: result: no" >&5
28475 echo "${ECHO_T}no" >&6; }
28476 if test "$PKG_CONFIG" = "no" ; then
28477 echo "*** A new enough version of pkg-config was not found."
28478 echo "*** See http://pkgconfig.sourceforge.net"
28479 else
28480 if test -f conf.gtktest ; then
28481 :
28482 else
28483 echo "*** Could not run GTK+ test program, checking why..."
28484 ac_save_CFLAGS="$CFLAGS"
28485 ac_save_LIBS="$LIBS"
28486 CFLAGS="$CFLAGS $GTK_CFLAGS"
28487 LIBS="$LIBS $GTK_LIBS"
28488 cat >conftest.$ac_ext <<_ACEOF
28489 /* confdefs.h. */
28490 _ACEOF
28491 cat confdefs.h >>conftest.$ac_ext
28492 cat >>conftest.$ac_ext <<_ACEOF
28493 /* end confdefs.h. */
28494
28495 #include <gtk/gtk.h>
28496 #include <stdio.h>
28497
28498 int
28499 main ()
28500 {
28501 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28502 ;
28503 return 0;
28504 }
28505 _ACEOF
28506 rm -f conftest.$ac_objext conftest$ac_exeext
28507 if { (ac_try="$ac_link"
28508 case "(($ac_try" in
28509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28510 *) ac_try_echo=$ac_try;;
28511 esac
28512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28513 (eval "$ac_link") 2>conftest.er1
28514 ac_status=$?
28515 grep -v '^ *+' conftest.er1 >conftest.err
28516 rm -f conftest.er1
28517 cat conftest.err >&5
28518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28519 (exit $ac_status); } && {
28520 test -z "$ac_c_werror_flag" ||
28521 test ! -s conftest.err
28522 } && test -s conftest$ac_exeext &&
28523 $as_test_x conftest$ac_exeext; then
28524 echo "*** The test program compiled, but did not run. This usually means"
28525 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28526 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28527 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28528 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28529 echo "*** is required on your system"
28530 echo "***"
28531 echo "*** If you have an old version installed, it is best to remove it, although"
28532 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28533 else
28534 echo "$as_me: failed program was:" >&5
28535 sed 's/^/| /' conftest.$ac_ext >&5
28536
28537 echo "*** The test program failed to compile or link. See the file config.log for the"
28538 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28539 fi
28540
28541 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28542 conftest$ac_exeext conftest.$ac_ext
28543 CFLAGS="$ac_save_CFLAGS"
28544 LIBS="$ac_save_LIBS"
28545 fi
28546 fi
28547 GTK_CFLAGS=""
28548 GTK_LIBS=""
28549 :
28550 fi
28551
28552
28553 rm -f conf.gtktest
28554
28555
28556 case "${host}" in
28557 *-*-solaris2* )
28558 if test "$wxUSE_SHARED" != "yes"; then
28559 GTK_LIBS="$GTK_LIBS -lX11"
28560 fi
28561 esac
28562 fi
28563
28564 if test -z "$wx_cv_lib_gtk"; then
28565 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28566
28567 # Check whether --with-gtk-prefix was given.
28568 if test "${with_gtk_prefix+set}" = set; then
28569 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28570 else
28571 gtk_config_prefix=""
28572 fi
28573
28574
28575 # Check whether --with-gtk-exec-prefix was given.
28576 if test "${with_gtk_exec_prefix+set}" = set; then
28577 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28578 else
28579 gtk_config_exec_prefix=""
28580 fi
28581
28582 # Check whether --enable-gtktest was given.
28583 if test "${enable_gtktest+set}" = set; then
28584 enableval=$enable_gtktest;
28585 else
28586 enable_gtktest=yes
28587 fi
28588
28589
28590 for module in . $GTK_MODULES
28591 do
28592 case "$module" in
28593 gthread)
28594 gtk_config_args="$gtk_config_args gthread"
28595 ;;
28596 esac
28597 done
28598
28599 if test x$gtk_config_exec_prefix != x ; then
28600 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28601 if test x${GTK_CONFIG+set} != xset ; then
28602 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28603 fi
28604 fi
28605 if test x$gtk_config_prefix != x ; then
28606 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28607 if test x${GTK_CONFIG+set} != xset ; then
28608 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28609 fi
28610 fi
28611
28612 # Extract the first word of "gtk-config", so it can be a program name with args.
28613 set dummy gtk-config; ac_word=$2
28614 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28616 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28617 echo $ECHO_N "(cached) $ECHO_C" >&6
28618 else
28619 case $GTK_CONFIG in
28620 [\\/]* | ?:[\\/]*)
28621 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28622 ;;
28623 *)
28624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28625 for as_dir in $PATH
28626 do
28627 IFS=$as_save_IFS
28628 test -z "$as_dir" && as_dir=.
28629 for ac_exec_ext in '' $ac_executable_extensions; do
28630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28631 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28632 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28633 break 2
28634 fi
28635 done
28636 done
28637 IFS=$as_save_IFS
28638
28639 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28640 ;;
28641 esac
28642 fi
28643 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28644 if test -n "$GTK_CONFIG"; then
28645 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28646 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28647 else
28648 { echo "$as_me:$LINENO: result: no" >&5
28649 echo "${ECHO_T}no" >&6; }
28650 fi
28651
28652
28653 min_gtk_version=1.2.7
28654 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28655 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28656 no_gtk=""
28657 if test "$GTK_CONFIG" = "no" ; then
28658 no_gtk=yes
28659 else
28660 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28661 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28662 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28663 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28664 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28665 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28666 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28667 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28668 if test "x$enable_gtktest" = "xyes" ; then
28669 ac_save_CFLAGS="$CFLAGS"
28670 ac_save_LIBS="$LIBS"
28671 CFLAGS="$CFLAGS $GTK_CFLAGS"
28672 LIBS="$GTK_LIBS $LIBS"
28673 rm -f conf.gtktest
28674 if test "$cross_compiling" = yes; then
28675 echo $ac_n "cross compiling; assumed OK... $ac_c"
28676 else
28677 cat >conftest.$ac_ext <<_ACEOF
28678 /* confdefs.h. */
28679 _ACEOF
28680 cat confdefs.h >>conftest.$ac_ext
28681 cat >>conftest.$ac_ext <<_ACEOF
28682 /* end confdefs.h. */
28683
28684 #include <gtk/gtk.h>
28685 #include <stdio.h>
28686 #include <stdlib.h>
28687
28688 int
28689 main ()
28690 {
28691 int major, minor, micro;
28692 char *tmp_version;
28693
28694 system ("touch conf.gtktest");
28695
28696 /* HP/UX 9 (%@#!) writes to sscanf strings */
28697 tmp_version = g_strdup("$min_gtk_version");
28698 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28699 printf("%s, bad version string\n", "$min_gtk_version");
28700 exit(1);
28701 }
28702
28703 if ((gtk_major_version != $gtk_config_major_version) ||
28704 (gtk_minor_version != $gtk_config_minor_version) ||
28705 (gtk_micro_version != $gtk_config_micro_version))
28706 {
28707 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28708 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28709 gtk_major_version, gtk_minor_version, gtk_micro_version);
28710 printf ("*** was found! If gtk-config was correct, then it is best\n");
28711 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28712 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28713 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28714 printf("*** required on your system.\n");
28715 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28716 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28717 printf("*** before re-running configure\n");
28718 }
28719 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28720 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28721 (gtk_minor_version != GTK_MINOR_VERSION) ||
28722 (gtk_micro_version != GTK_MICRO_VERSION))
28723 {
28724 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28725 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28726 printf("*** library (version %d.%d.%d)\n",
28727 gtk_major_version, gtk_minor_version, gtk_micro_version);
28728 }
28729 #endif /* defined (GTK_MAJOR_VERSION) ... */
28730 else
28731 {
28732 if ((gtk_major_version > major) ||
28733 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28734 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28735 {
28736 return 0;
28737 }
28738 else
28739 {
28740 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28741 gtk_major_version, gtk_minor_version, gtk_micro_version);
28742 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28743 major, minor, micro);
28744 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28745 printf("***\n");
28746 printf("*** If you have already installed a sufficiently new version, this error\n");
28747 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28748 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28749 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28750 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28751 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28752 printf("*** so that the correct libraries are found at run-time))\n");
28753 }
28754 }
28755 return 1;
28756 }
28757
28758 _ACEOF
28759 rm -f conftest$ac_exeext
28760 if { (ac_try="$ac_link"
28761 case "(($ac_try" in
28762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28763 *) ac_try_echo=$ac_try;;
28764 esac
28765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28766 (eval "$ac_link") 2>&5
28767 ac_status=$?
28768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28769 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28770 { (case "(($ac_try" in
28771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28772 *) ac_try_echo=$ac_try;;
28773 esac
28774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28775 (eval "$ac_try") 2>&5
28776 ac_status=$?
28777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28778 (exit $ac_status); }; }; then
28779 :
28780 else
28781 echo "$as_me: program exited with status $ac_status" >&5
28782 echo "$as_me: failed program was:" >&5
28783 sed 's/^/| /' conftest.$ac_ext >&5
28784
28785 ( exit $ac_status )
28786 no_gtk=yes
28787 fi
28788 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28789 fi
28790
28791
28792 CFLAGS="$ac_save_CFLAGS"
28793 LIBS="$ac_save_LIBS"
28794 fi
28795 fi
28796 if test "x$no_gtk" = x ; then
28797 { echo "$as_me:$LINENO: result: yes" >&5
28798 echo "${ECHO_T}yes" >&6; }
28799 wx_cv_lib_gtk=1.2.7
28800 else
28801 { echo "$as_me:$LINENO: result: no" >&5
28802 echo "${ECHO_T}no" >&6; }
28803 if test "$GTK_CONFIG" = "no" ; then
28804 echo "*** The gtk-config script installed by GTK could not be found"
28805 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28806 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28807 echo "*** full path to gtk-config."
28808 else
28809 if test -f conf.gtktest ; then
28810 :
28811 else
28812 echo "*** Could not run GTK test program, checking why..."
28813 CFLAGS="$CFLAGS $GTK_CFLAGS"
28814 LIBS="$LIBS $GTK_LIBS"
28815 cat >conftest.$ac_ext <<_ACEOF
28816 /* confdefs.h. */
28817 _ACEOF
28818 cat confdefs.h >>conftest.$ac_ext
28819 cat >>conftest.$ac_ext <<_ACEOF
28820 /* end confdefs.h. */
28821
28822 #include <gtk/gtk.h>
28823 #include <stdio.h>
28824
28825 int
28826 main ()
28827 {
28828 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28829 ;
28830 return 0;
28831 }
28832 _ACEOF
28833 rm -f conftest.$ac_objext conftest$ac_exeext
28834 if { (ac_try="$ac_link"
28835 case "(($ac_try" in
28836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28837 *) ac_try_echo=$ac_try;;
28838 esac
28839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28840 (eval "$ac_link") 2>conftest.er1
28841 ac_status=$?
28842 grep -v '^ *+' conftest.er1 >conftest.err
28843 rm -f conftest.er1
28844 cat conftest.err >&5
28845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28846 (exit $ac_status); } && {
28847 test -z "$ac_c_werror_flag" ||
28848 test ! -s conftest.err
28849 } && test -s conftest$ac_exeext &&
28850 $as_test_x conftest$ac_exeext; then
28851 echo "*** The test program compiled, but did not run. This usually means"
28852 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28853 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28854 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28855 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28856 echo "*** is required on your system"
28857 echo "***"
28858 echo "*** If you have an old version installed, it is best to remove it, although"
28859 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28860 echo "***"
28861 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28862 echo "*** came with the system with the command"
28863 echo "***"
28864 echo "*** rpm --erase --nodeps gtk gtk-devel"
28865 else
28866 echo "$as_me: failed program was:" >&5
28867 sed 's/^/| /' conftest.$ac_ext >&5
28868
28869 echo "*** The test program failed to compile or link. See the file config.log for the"
28870 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28871 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28872 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28873 fi
28874
28875 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28876 conftest$ac_exeext conftest.$ac_ext
28877 CFLAGS="$ac_save_CFLAGS"
28878 LIBS="$ac_save_LIBS"
28879 fi
28880 fi
28881 GTK_CFLAGS=""
28882 GTK_LIBS=""
28883 :
28884 fi
28885
28886
28887 rm -f conf.gtktest
28888
28889
28890 if test -z "$wx_cv_lib_gtk"; then
28891
28892 # Check whether --with-gtk-prefix was given.
28893 if test "${with_gtk_prefix+set}" = set; then
28894 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28895 else
28896 gtk_config_prefix=""
28897 fi
28898
28899
28900 # Check whether --with-gtk-exec-prefix was given.
28901 if test "${with_gtk_exec_prefix+set}" = set; then
28902 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28903 else
28904 gtk_config_exec_prefix=""
28905 fi
28906
28907 # Check whether --enable-gtktest was given.
28908 if test "${enable_gtktest+set}" = set; then
28909 enableval=$enable_gtktest;
28910 else
28911 enable_gtktest=yes
28912 fi
28913
28914
28915 for module in . $GTK_MODULES
28916 do
28917 case "$module" in
28918 gthread)
28919 gtk_config_args="$gtk_config_args gthread"
28920 ;;
28921 esac
28922 done
28923
28924 if test x$gtk_config_exec_prefix != x ; then
28925 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28926 if test x${GTK_CONFIG+set} != xset ; then
28927 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28928 fi
28929 fi
28930 if test x$gtk_config_prefix != x ; then
28931 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28932 if test x${GTK_CONFIG+set} != xset ; then
28933 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28934 fi
28935 fi
28936
28937 # Extract the first word of "gtk-config", so it can be a program name with args.
28938 set dummy gtk-config; ac_word=$2
28939 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28941 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28942 echo $ECHO_N "(cached) $ECHO_C" >&6
28943 else
28944 case $GTK_CONFIG in
28945 [\\/]* | ?:[\\/]*)
28946 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28947 ;;
28948 *)
28949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28950 for as_dir in $PATH
28951 do
28952 IFS=$as_save_IFS
28953 test -z "$as_dir" && as_dir=.
28954 for ac_exec_ext in '' $ac_executable_extensions; do
28955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28956 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28958 break 2
28959 fi
28960 done
28961 done
28962 IFS=$as_save_IFS
28963
28964 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28965 ;;
28966 esac
28967 fi
28968 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28969 if test -n "$GTK_CONFIG"; then
28970 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28971 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28972 else
28973 { echo "$as_me:$LINENO: result: no" >&5
28974 echo "${ECHO_T}no" >&6; }
28975 fi
28976
28977
28978 min_gtk_version=1.2.3
28979 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28980 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28981 no_gtk=""
28982 if test "$GTK_CONFIG" = "no" ; then
28983 no_gtk=yes
28984 else
28985 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28986 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28987 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28988 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28989 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28990 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28991 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28992 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28993 if test "x$enable_gtktest" = "xyes" ; then
28994 ac_save_CFLAGS="$CFLAGS"
28995 ac_save_LIBS="$LIBS"
28996 CFLAGS="$CFLAGS $GTK_CFLAGS"
28997 LIBS="$GTK_LIBS $LIBS"
28998 rm -f conf.gtktest
28999 if test "$cross_compiling" = yes; then
29000 echo $ac_n "cross compiling; assumed OK... $ac_c"
29001 else
29002 cat >conftest.$ac_ext <<_ACEOF
29003 /* confdefs.h. */
29004 _ACEOF
29005 cat confdefs.h >>conftest.$ac_ext
29006 cat >>conftest.$ac_ext <<_ACEOF
29007 /* end confdefs.h. */
29008
29009 #include <gtk/gtk.h>
29010 #include <stdio.h>
29011 #include <stdlib.h>
29012
29013 int
29014 main ()
29015 {
29016 int major, minor, micro;
29017 char *tmp_version;
29018
29019 system ("touch conf.gtktest");
29020
29021 /* HP/UX 9 (%@#!) writes to sscanf strings */
29022 tmp_version = g_strdup("$min_gtk_version");
29023 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29024 printf("%s, bad version string\n", "$min_gtk_version");
29025 exit(1);
29026 }
29027
29028 if ((gtk_major_version != $gtk_config_major_version) ||
29029 (gtk_minor_version != $gtk_config_minor_version) ||
29030 (gtk_micro_version != $gtk_config_micro_version))
29031 {
29032 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29033 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29034 gtk_major_version, gtk_minor_version, gtk_micro_version);
29035 printf ("*** was found! If gtk-config was correct, then it is best\n");
29036 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29037 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29038 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29039 printf("*** required on your system.\n");
29040 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29041 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29042 printf("*** before re-running configure\n");
29043 }
29044 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29045 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29046 (gtk_minor_version != GTK_MINOR_VERSION) ||
29047 (gtk_micro_version != GTK_MICRO_VERSION))
29048 {
29049 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29050 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29051 printf("*** library (version %d.%d.%d)\n",
29052 gtk_major_version, gtk_minor_version, gtk_micro_version);
29053 }
29054 #endif /* defined (GTK_MAJOR_VERSION) ... */
29055 else
29056 {
29057 if ((gtk_major_version > major) ||
29058 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29059 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29060 {
29061 return 0;
29062 }
29063 else
29064 {
29065 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29066 gtk_major_version, gtk_minor_version, gtk_micro_version);
29067 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29068 major, minor, micro);
29069 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29070 printf("***\n");
29071 printf("*** If you have already installed a sufficiently new version, this error\n");
29072 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29073 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29074 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29075 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29076 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29077 printf("*** so that the correct libraries are found at run-time))\n");
29078 }
29079 }
29080 return 1;
29081 }
29082
29083 _ACEOF
29084 rm -f conftest$ac_exeext
29085 if { (ac_try="$ac_link"
29086 case "(($ac_try" in
29087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29088 *) ac_try_echo=$ac_try;;
29089 esac
29090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29091 (eval "$ac_link") 2>&5
29092 ac_status=$?
29093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29094 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29095 { (case "(($ac_try" in
29096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29097 *) ac_try_echo=$ac_try;;
29098 esac
29099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29100 (eval "$ac_try") 2>&5
29101 ac_status=$?
29102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29103 (exit $ac_status); }; }; then
29104 :
29105 else
29106 echo "$as_me: program exited with status $ac_status" >&5
29107 echo "$as_me: failed program was:" >&5
29108 sed 's/^/| /' conftest.$ac_ext >&5
29109
29110 ( exit $ac_status )
29111 no_gtk=yes
29112 fi
29113 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29114 fi
29115
29116
29117 CFLAGS="$ac_save_CFLAGS"
29118 LIBS="$ac_save_LIBS"
29119 fi
29120 fi
29121 if test "x$no_gtk" = x ; then
29122 { echo "$as_me:$LINENO: result: yes" >&5
29123 echo "${ECHO_T}yes" >&6; }
29124 wx_cv_lib_gtk=1.2.3
29125 else
29126 { echo "$as_me:$LINENO: result: no" >&5
29127 echo "${ECHO_T}no" >&6; }
29128 if test "$GTK_CONFIG" = "no" ; then
29129 echo "*** The gtk-config script installed by GTK could not be found"
29130 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29131 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29132 echo "*** full path to gtk-config."
29133 else
29134 if test -f conf.gtktest ; then
29135 :
29136 else
29137 echo "*** Could not run GTK test program, checking why..."
29138 CFLAGS="$CFLAGS $GTK_CFLAGS"
29139 LIBS="$LIBS $GTK_LIBS"
29140 cat >conftest.$ac_ext <<_ACEOF
29141 /* confdefs.h. */
29142 _ACEOF
29143 cat confdefs.h >>conftest.$ac_ext
29144 cat >>conftest.$ac_ext <<_ACEOF
29145 /* end confdefs.h. */
29146
29147 #include <gtk/gtk.h>
29148 #include <stdio.h>
29149
29150 int
29151 main ()
29152 {
29153 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29154 ;
29155 return 0;
29156 }
29157 _ACEOF
29158 rm -f conftest.$ac_objext conftest$ac_exeext
29159 if { (ac_try="$ac_link"
29160 case "(($ac_try" in
29161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29162 *) ac_try_echo=$ac_try;;
29163 esac
29164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29165 (eval "$ac_link") 2>conftest.er1
29166 ac_status=$?
29167 grep -v '^ *+' conftest.er1 >conftest.err
29168 rm -f conftest.er1
29169 cat conftest.err >&5
29170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29171 (exit $ac_status); } && {
29172 test -z "$ac_c_werror_flag" ||
29173 test ! -s conftest.err
29174 } && test -s conftest$ac_exeext &&
29175 $as_test_x conftest$ac_exeext; then
29176 echo "*** The test program compiled, but did not run. This usually means"
29177 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29178 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29179 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29180 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29181 echo "*** is required on your system"
29182 echo "***"
29183 echo "*** If you have an old version installed, it is best to remove it, although"
29184 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29185 echo "***"
29186 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29187 echo "*** came with the system with the command"
29188 echo "***"
29189 echo "*** rpm --erase --nodeps gtk gtk-devel"
29190 else
29191 echo "$as_me: failed program was:" >&5
29192 sed 's/^/| /' conftest.$ac_ext >&5
29193
29194 echo "*** The test program failed to compile or link. See the file config.log for the"
29195 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29196 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29197 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29198 fi
29199
29200 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29201 conftest$ac_exeext conftest.$ac_ext
29202 CFLAGS="$ac_save_CFLAGS"
29203 LIBS="$ac_save_LIBS"
29204 fi
29205 fi
29206 GTK_CFLAGS=""
29207 GTK_LIBS=""
29208 :
29209 fi
29210
29211
29212 rm -f conf.gtktest
29213
29214 fi
29215 fi
29216 fi
29217
29218 if test -z "$wx_cv_lib_gtk"; then
29219 wx_cv_lib_gtk=none
29220 else
29221 wx_cv_cflags_gtk=$GTK_CFLAGS
29222 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29223 fi
29224
29225
29226 fi
29227
29228
29229 if test "$gtk_version_cached" = 1; then
29230 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29231 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29232 fi
29233
29234 case "$wx_cv_lib_gtk" in
29235 2.0) WXGTK2=1
29236 TOOLKIT_VERSION=2
29237 ;;
29238 1.2.7) WXGTK127=1
29239 WXGTK12=1
29240 ;;
29241 1.2.3) WXGTK12=1
29242 ;;
29243 *) { { echo "$as_me:$LINENO: error:
29244 The development files for GTK+ were not found. For GTK+ 2, please
29245 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29246 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29247 and that the version is 1.2.3 or above. Also check that the
29248 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29249 --libs' are in the LD_LIBRARY_PATH or equivalent.
29250 " >&5
29251 echo "$as_me: error:
29252 The development files for GTK+ were not found. For GTK+ 2, please
29253 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29254 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29255 and that the version is 1.2.3 or above. Also check that the
29256 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29257 --libs' are in the LD_LIBRARY_PATH or equivalent.
29258 " >&2;}
29259 { (exit 1); exit 1; }; }
29260 ;;
29261 esac
29262
29263 if test "$WXGTK2" = 1; then
29264 save_CFLAGS="$CFLAGS"
29265 save_LIBS="$LIBS"
29266 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29267 LIBS="$LIBS $wx_cv_libs_gtk"
29268
29269 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29270 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29271 cat >conftest.$ac_ext <<_ACEOF
29272 /* confdefs.h. */
29273 _ACEOF
29274 cat confdefs.h >>conftest.$ac_ext
29275 cat >>conftest.$ac_ext <<_ACEOF
29276 /* end confdefs.h. */
29277
29278 #include <gtk/gtk.h>
29279
29280 int
29281 main ()
29282 {
29283
29284 #if !GTK_CHECK_VERSION(2,10,0)
29285 Not GTK+ 2.10
29286 #endif
29287
29288 ;
29289 return 0;
29290 }
29291 _ACEOF
29292 rm -f conftest.$ac_objext
29293 if { (ac_try="$ac_compile"
29294 case "(($ac_try" in
29295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29296 *) ac_try_echo=$ac_try;;
29297 esac
29298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29299 (eval "$ac_compile") 2>conftest.er1
29300 ac_status=$?
29301 grep -v '^ *+' conftest.er1 >conftest.err
29302 rm -f conftest.er1
29303 cat conftest.err >&5
29304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29305 (exit $ac_status); } && {
29306 test -z "$ac_c_werror_flag" ||
29307 test ! -s conftest.err
29308 } && test -s conftest.$ac_objext; then
29309
29310 cat >>confdefs.h <<\_ACEOF
29311 #define __WXGTK210__ 1
29312 _ACEOF
29313
29314 cat >>confdefs.h <<\_ACEOF
29315 #define __WXGTK26__ 1
29316 _ACEOF
29317
29318 { echo "$as_me:$LINENO: result: yes" >&5
29319 echo "${ECHO_T}yes" >&6; }
29320 ac_wxgtk210=1
29321
29322 else
29323 echo "$as_me: failed program was:" >&5
29324 sed 's/^/| /' conftest.$ac_ext >&5
29325
29326
29327 { echo "$as_me:$LINENO: result: no" >&5
29328 echo "${ECHO_T}no" >&6; }
29329 ac_wxgtk210=0
29330
29331 fi
29332
29333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29334
29335 if test "$ac_wxgtk210" = 0; then
29336 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29337 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29338 cat >conftest.$ac_ext <<_ACEOF
29339 /* confdefs.h. */
29340 _ACEOF
29341 cat confdefs.h >>conftest.$ac_ext
29342 cat >>conftest.$ac_ext <<_ACEOF
29343 /* end confdefs.h. */
29344
29345 #include <gtk/gtk.h>
29346
29347 int
29348 main ()
29349 {
29350
29351 #if !GTK_CHECK_VERSION(2,6,0)
29352 Not GTK+ 2.6
29353 #endif
29354
29355 ;
29356 return 0;
29357 }
29358 _ACEOF
29359 rm -f conftest.$ac_objext
29360 if { (ac_try="$ac_compile"
29361 case "(($ac_try" in
29362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29363 *) ac_try_echo=$ac_try;;
29364 esac
29365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29366 (eval "$ac_compile") 2>conftest.er1
29367 ac_status=$?
29368 grep -v '^ *+' conftest.er1 >conftest.err
29369 rm -f conftest.er1
29370 cat conftest.err >&5
29371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29372 (exit $ac_status); } && {
29373 test -z "$ac_c_werror_flag" ||
29374 test ! -s conftest.err
29375 } && test -s conftest.$ac_objext; then
29376
29377 cat >>confdefs.h <<\_ACEOF
29378 #define __WXGTK26__ 1
29379 _ACEOF
29380
29381 { echo "$as_me:$LINENO: result: yes" >&5
29382 echo "${ECHO_T}yes" >&6; }
29383 ac_wxgtk26=1
29384
29385 else
29386 echo "$as_me: failed program was:" >&5
29387 sed 's/^/| /' conftest.$ac_ext >&5
29388
29389
29390 { echo "$as_me:$LINENO: result: no" >&5
29391 echo "${ECHO_T}no" >&6; }
29392 ac_wxgtk26=0
29393
29394 fi
29395
29396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29397 fi
29398
29399 CFLAGS="$save_CFLAGS"
29400 LIBS="$save_LIBS"
29401 else
29402 if test "$wxUSE_UNICODE" = "yes"; then
29403 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29404 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29405 wxUSE_UNICODE=no
29406 fi
29407
29408 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29409 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29410 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29411 echo $ECHO_N "(cached) $ECHO_C" >&6
29412 else
29413 ac_check_lib_save_LIBS=$LIBS
29414 LIBS="-lgdk $LIBS"
29415 cat >conftest.$ac_ext <<_ACEOF
29416 /* confdefs.h. */
29417 _ACEOF
29418 cat confdefs.h >>conftest.$ac_ext
29419 cat >>conftest.$ac_ext <<_ACEOF
29420 /* end confdefs.h. */
29421
29422 /* Override any GCC internal prototype to avoid an error.
29423 Use char because int might match the return type of a GCC
29424 builtin and then its argument prototype would still apply. */
29425 #ifdef __cplusplus
29426 extern "C"
29427 #endif
29428 char gdk_im_open ();
29429 int
29430 main ()
29431 {
29432 return gdk_im_open ();
29433 ;
29434 return 0;
29435 }
29436 _ACEOF
29437 rm -f conftest.$ac_objext conftest$ac_exeext
29438 if { (ac_try="$ac_link"
29439 case "(($ac_try" in
29440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29441 *) ac_try_echo=$ac_try;;
29442 esac
29443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29444 (eval "$ac_link") 2>conftest.er1
29445 ac_status=$?
29446 grep -v '^ *+' conftest.er1 >conftest.err
29447 rm -f conftest.er1
29448 cat conftest.err >&5
29449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29450 (exit $ac_status); } && {
29451 test -z "$ac_c_werror_flag" ||
29452 test ! -s conftest.err
29453 } && test -s conftest$ac_exeext &&
29454 $as_test_x conftest$ac_exeext; then
29455 ac_cv_lib_gdk_gdk_im_open=yes
29456 else
29457 echo "$as_me: failed program was:" >&5
29458 sed 's/^/| /' conftest.$ac_ext >&5
29459
29460 ac_cv_lib_gdk_gdk_im_open=no
29461 fi
29462
29463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29464 conftest$ac_exeext conftest.$ac_ext
29465 LIBS=$ac_check_lib_save_LIBS
29466 fi
29467 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29468 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29469 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29470 cat >>confdefs.h <<\_ACEOF
29471 #define HAVE_XIM 1
29472 _ACEOF
29473
29474 fi
29475
29476
29477 if test "$USE_DARWIN" != 1; then
29478
29479 for ac_func in poll
29480 do
29481 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29482 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29484 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29485 echo $ECHO_N "(cached) $ECHO_C" >&6
29486 else
29487 cat >conftest.$ac_ext <<_ACEOF
29488 /* confdefs.h. */
29489 _ACEOF
29490 cat confdefs.h >>conftest.$ac_ext
29491 cat >>conftest.$ac_ext <<_ACEOF
29492 /* end confdefs.h. */
29493 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29495 #define $ac_func innocuous_$ac_func
29496
29497 /* System header to define __stub macros and hopefully few prototypes,
29498 which can conflict with char $ac_func (); below.
29499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29500 <limits.h> exists even on freestanding compilers. */
29501
29502 #ifdef __STDC__
29503 # include <limits.h>
29504 #else
29505 # include <assert.h>
29506 #endif
29507
29508 #undef $ac_func
29509
29510 /* Override any GCC internal prototype to avoid an error.
29511 Use char because int might match the return type of a GCC
29512 builtin and then its argument prototype would still apply. */
29513 #ifdef __cplusplus
29514 extern "C"
29515 #endif
29516 char $ac_func ();
29517 /* The GNU C library defines this for functions which it implements
29518 to always fail with ENOSYS. Some functions are actually named
29519 something starting with __ and the normal name is an alias. */
29520 #if defined __stub_$ac_func || defined __stub___$ac_func
29521 choke me
29522 #endif
29523
29524 int
29525 main ()
29526 {
29527 return $ac_func ();
29528 ;
29529 return 0;
29530 }
29531 _ACEOF
29532 rm -f conftest.$ac_objext conftest$ac_exeext
29533 if { (ac_try="$ac_link"
29534 case "(($ac_try" in
29535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29536 *) ac_try_echo=$ac_try;;
29537 esac
29538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29539 (eval "$ac_link") 2>conftest.er1
29540 ac_status=$?
29541 grep -v '^ *+' conftest.er1 >conftest.err
29542 rm -f conftest.er1
29543 cat conftest.err >&5
29544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29545 (exit $ac_status); } && {
29546 test -z "$ac_c_werror_flag" ||
29547 test ! -s conftest.err
29548 } && test -s conftest$ac_exeext &&
29549 $as_test_x conftest$ac_exeext; then
29550 eval "$as_ac_var=yes"
29551 else
29552 echo "$as_me: failed program was:" >&5
29553 sed 's/^/| /' conftest.$ac_ext >&5
29554
29555 eval "$as_ac_var=no"
29556 fi
29557
29558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29559 conftest$ac_exeext conftest.$ac_ext
29560 fi
29561 ac_res=`eval echo '${'$as_ac_var'}'`
29562 { echo "$as_me:$LINENO: result: $ac_res" >&5
29563 echo "${ECHO_T}$ac_res" >&6; }
29564 if test `eval echo '${'$as_ac_var'}'` = yes; then
29565 cat >>confdefs.h <<_ACEOF
29566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29567 _ACEOF
29568
29569 fi
29570 done
29571
29572 fi
29573 fi
29574
29575 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29576 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29577
29578 AFMINSTALL=afminstall
29579 TOOLKIT=GTK
29580 GUIDIST=GTK_DIST
29581
29582 if test "$wxUSE_GPE" = "yes"; then
29583 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29584 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29585
29586 ac_find_libraries=
29587 for ac_dir in $SEARCH_LIB;
29588 do
29589 for ac_extension in a so sl dylib dll.a; do
29590 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29591 ac_find_libraries=$ac_dir
29592 break 2
29593 fi
29594 done
29595 done
29596
29597 if test "$ac_find_libraries" != "" ; then
29598
29599 if test "$ac_find_libraries" = "default location"; then
29600 ac_path_to_link=""
29601 else
29602 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29603 result=$?
29604 if test $result = 0; then
29605 ac_path_to_link=""
29606 else
29607 ac_path_to_link=" -L$ac_find_libraries"
29608 fi
29609 fi
29610
29611 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29612 WXGPE=1
29613 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29614 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29615 else
29616 { echo "$as_me:$LINENO: result: not found" >&5
29617 echo "${ECHO_T}not found" >&6; }
29618 fi
29619
29620 fi
29621 fi
29622
29623 if test "$wxUSE_MGL" = 1; then
29624 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29625 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29626 if test "x$MGL_ROOT" = x ; then
29627 { echo "$as_me:$LINENO: result: not found" >&5
29628 echo "${ECHO_T}not found" >&6; }
29629 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29630 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29631 { (exit 1); exit 1; }; }
29632 else
29633 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29634 echo "${ECHO_T}$MGL_ROOT" >&6; }
29635 fi
29636
29637 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29638 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29639 case "${host}" in
29640 *-*-linux* )
29641 if test "x$wxUSE_SHARED" = xyes ; then
29642 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29643 else
29644 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29645 fi
29646 ;;
29647 *-pc-msdosdjgpp )
29648 mgl_os_candidates="dos32/dj2"
29649 ;;
29650 *)
29651 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29652 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29653 { (exit 1); exit 1; }; }
29654 esac
29655
29656 mgl_lib_type=""
29657 mgl_os=""
29658
29659 for mgl_os_i in $mgl_os_candidates ; do
29660 if test "x$mgl_os" = x ; then
29661 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29662 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29663 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29664 mgl_lib_type=debug
29665 mgl_os=$mgl_os_i
29666 fi
29667 fi
29668 if test "x$mgl_lib_type" = x ; then
29669 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29670 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29671 mgl_lib_type=release
29672 mgl_os=$mgl_os_i
29673 fi
29674 fi
29675 fi
29676 done
29677
29678 if test "x$mgl_os" = x ; then
29679 { echo "$as_me:$LINENO: result: not found" >&5
29680 echo "${ECHO_T}not found" >&6; }
29681 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29682 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29683 { (exit 1); exit 1; }; }
29684 fi
29685 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29686 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29687
29688 wxUSE_UNIVERSAL="yes"
29689
29690 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29691 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29692
29693 AFMINSTALL=afminstall
29694 TOOLKIT=MGL
29695 GUIDIST=MGL_DIST
29696 fi
29697
29698 if test "$wxUSE_DFB" = 1; then
29699
29700
29701 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29702 if test -n "$ac_tool_prefix"; then
29703 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29704 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29705 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29707 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29708 echo $ECHO_N "(cached) $ECHO_C" >&6
29709 else
29710 case $PKG_CONFIG in
29711 [\\/]* | ?:[\\/]*)
29712 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29713 ;;
29714 *)
29715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29716 for as_dir in $PATH
29717 do
29718 IFS=$as_save_IFS
29719 test -z "$as_dir" && as_dir=.
29720 for ac_exec_ext in '' $ac_executable_extensions; do
29721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29722 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29724 break 2
29725 fi
29726 done
29727 done
29728 IFS=$as_save_IFS
29729
29730 ;;
29731 esac
29732 fi
29733 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29734 if test -n "$PKG_CONFIG"; then
29735 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29736 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29737 else
29738 { echo "$as_me:$LINENO: result: no" >&5
29739 echo "${ECHO_T}no" >&6; }
29740 fi
29741
29742
29743 fi
29744 if test -z "$ac_cv_path_PKG_CONFIG"; then
29745 ac_pt_PKG_CONFIG=$PKG_CONFIG
29746 # Extract the first word of "pkg-config", so it can be a program name with args.
29747 set dummy pkg-config; ac_word=$2
29748 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29750 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29751 echo $ECHO_N "(cached) $ECHO_C" >&6
29752 else
29753 case $ac_pt_PKG_CONFIG in
29754 [\\/]* | ?:[\\/]*)
29755 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29756 ;;
29757 *)
29758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29759 for as_dir in $PATH
29760 do
29761 IFS=$as_save_IFS
29762 test -z "$as_dir" && as_dir=.
29763 for ac_exec_ext in '' $ac_executable_extensions; do
29764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29765 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29767 break 2
29768 fi
29769 done
29770 done
29771 IFS=$as_save_IFS
29772
29773 ;;
29774 esac
29775 fi
29776 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29777 if test -n "$ac_pt_PKG_CONFIG"; then
29778 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29779 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29780 else
29781 { echo "$as_me:$LINENO: result: no" >&5
29782 echo "${ECHO_T}no" >&6; }
29783 fi
29784
29785 if test "x$ac_pt_PKG_CONFIG" = x; then
29786 PKG_CONFIG=""
29787 else
29788 case $cross_compiling:$ac_tool_warned in
29789 yes:)
29790 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29791 whose name does not start with the host triplet. If you think this
29792 configuration is useful to you, please write to autoconf@gnu.org." >&5
29793 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29794 whose name does not start with the host triplet. If you think this
29795 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29796 ac_tool_warned=yes ;;
29797 esac
29798 PKG_CONFIG=$ac_pt_PKG_CONFIG
29799 fi
29800 else
29801 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29802 fi
29803
29804 fi
29805 if test -n "$PKG_CONFIG"; then
29806 _pkg_min_version=0.9.0
29807 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29808 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29809 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29810 { echo "$as_me:$LINENO: result: yes" >&5
29811 echo "${ECHO_T}yes" >&6; }
29812 else
29813 { echo "$as_me:$LINENO: result: no" >&5
29814 echo "${ECHO_T}no" >&6; }
29815 PKG_CONFIG=""
29816 fi
29817
29818 fi
29819
29820
29821 pkg_failed=no
29822 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29823 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29824
29825 if test -n "$PKG_CONFIG"; then
29826 if test -n "$DIRECTFB_CFLAGS"; then
29827 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29828 else
29829 if test -n "$PKG_CONFIG" && \
29830 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29831 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29832 ac_status=$?
29833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29834 (exit $ac_status); }; then
29835 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29836 else
29837 pkg_failed=yes
29838 fi
29839 fi
29840 else
29841 pkg_failed=untried
29842 fi
29843 if test -n "$PKG_CONFIG"; then
29844 if test -n "$DIRECTFB_LIBS"; then
29845 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29846 else
29847 if test -n "$PKG_CONFIG" && \
29848 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29849 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29850 ac_status=$?
29851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29852 (exit $ac_status); }; then
29853 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29854 else
29855 pkg_failed=yes
29856 fi
29857 fi
29858 else
29859 pkg_failed=untried
29860 fi
29861
29862
29863
29864 if test $pkg_failed = yes; then
29865
29866 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29867 _pkg_short_errors_supported=yes
29868 else
29869 _pkg_short_errors_supported=no
29870 fi
29871 if test $_pkg_short_errors_supported = yes; then
29872 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29873 else
29874 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29875 fi
29876 # Put the nasty error message in config.log where it belongs
29877 echo "$DIRECTFB_PKG_ERRORS" >&5
29878
29879
29880 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29881 echo "$as_me: error: DirectFB not found." >&2;}
29882 { (exit 1); exit 1; }; }
29883
29884
29885 elif test $pkg_failed = untried; then
29886
29887 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29888 echo "$as_me: error: DirectFB not found." >&2;}
29889 { (exit 1); exit 1; }; }
29890
29891
29892 else
29893 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29894 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29895 { echo "$as_me:$LINENO: result: yes" >&5
29896 echo "${ECHO_T}yes" >&6; }
29897
29898 wxUSE_UNIVERSAL="yes"
29899 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29900 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29901 TOOLKIT=DFB
29902 GUIDIST=DFB_DIST
29903
29904 fi
29905 fi
29906
29907 if test "$wxUSE_MICROWIN" = 1; then
29908 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29909 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29910 if test "x$MICROWINDOWS" = x ; then
29911 { echo "$as_me:$LINENO: result: not found" >&5
29912 echo "${ECHO_T}not found" >&6; }
29913 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29914 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29915 { (exit 1); exit 1; }; }
29916 else
29917 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29918 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29919 fi
29920
29921 if test -f $MICROWINDOWS/lib/libmwin.a; then
29922 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29923 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
29924 else
29925 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29926 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29927 { (exit 1); exit 1; }; }
29928 fi
29929
29930 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29931 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29932
29933 wxUSE_UNIVERSAL="yes"
29934
29935 AFMINSTALL=afminstall
29936 TOOLKIT=MICROWIN
29937 GUIDIST=MICROWIN_DIST
29938
29939 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29940 fi
29941
29942 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29943 { echo "$as_me:$LINENO: checking for X" >&5
29944 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29945
29946
29947 # Check whether --with-x was given.
29948 if test "${with_x+set}" = set; then
29949 withval=$with_x;
29950 fi
29951
29952 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29953 if test "x$with_x" = xno; then
29954 # The user explicitly disabled X.
29955 have_x=disabled
29956 else
29957 case $x_includes,$x_libraries in #(
29958 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29959 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
29960 { (exit 1); exit 1; }; };; #(
29961 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29962 echo $ECHO_N "(cached) $ECHO_C" >&6
29963 else
29964 # One or both of the vars are not set, and there is no cached value.
29965 ac_x_includes=no ac_x_libraries=no
29966 rm -f -r conftest.dir
29967 if mkdir conftest.dir; then
29968 cd conftest.dir
29969 cat >Imakefile <<'_ACEOF'
29970 incroot:
29971 @echo incroot='${INCROOT}'
29972 usrlibdir:
29973 @echo usrlibdir='${USRLIBDIR}'
29974 libdir:
29975 @echo libdir='${LIBDIR}'
29976 _ACEOF
29977 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29978 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29979 for ac_var in incroot usrlibdir libdir; do
29980 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
29981 done
29982 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29983 for ac_extension in a so sl; do
29984 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29985 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29986 ac_im_usrlibdir=$ac_im_libdir; break
29987 fi
29988 done
29989 # Screen out bogus values from the imake configuration. They are
29990 # bogus both because they are the default anyway, and because
29991 # using them would break gcc on systems where it needs fixed includes.
29992 case $ac_im_incroot in
29993 /usr/include) ac_x_includes= ;;
29994 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29995 esac
29996 case $ac_im_usrlibdir in
29997 /usr/lib | /lib) ;;
29998 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29999 esac
30000 fi
30001 cd ..
30002 rm -f -r conftest.dir
30003 fi
30004
30005 # Standard set of common directories for X headers.
30006 # Check X11 before X11Rn because it is often a symlink to the current release.
30007 ac_x_header_dirs='
30008 /usr/X11/include
30009 /usr/X11R6/include
30010 /usr/X11R5/include
30011 /usr/X11R4/include
30012
30013 /usr/include/X11
30014 /usr/include/X11R6
30015 /usr/include/X11R5
30016 /usr/include/X11R4
30017
30018 /usr/local/X11/include
30019 /usr/local/X11R6/include
30020 /usr/local/X11R5/include
30021 /usr/local/X11R4/include
30022
30023 /usr/local/include/X11
30024 /usr/local/include/X11R6
30025 /usr/local/include/X11R5
30026 /usr/local/include/X11R4
30027
30028 /usr/X386/include
30029 /usr/x386/include
30030 /usr/XFree86/include/X11
30031
30032 /usr/include
30033 /usr/local/include
30034 /usr/unsupported/include
30035 /usr/athena/include
30036 /usr/local/x11r5/include
30037 /usr/lpp/Xamples/include
30038
30039 /usr/openwin/include
30040 /usr/openwin/share/include'
30041
30042 if test "$ac_x_includes" = no; then
30043 # Guess where to find include files, by looking for Xlib.h.
30044 # First, try using that file with no special directory specified.
30045 cat >conftest.$ac_ext <<_ACEOF
30046 /* confdefs.h. */
30047 _ACEOF
30048 cat confdefs.h >>conftest.$ac_ext
30049 cat >>conftest.$ac_ext <<_ACEOF
30050 /* end confdefs.h. */
30051 #include <X11/Xlib.h>
30052 _ACEOF
30053 if { (ac_try="$ac_cpp conftest.$ac_ext"
30054 case "(($ac_try" in
30055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30056 *) ac_try_echo=$ac_try;;
30057 esac
30058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30059 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30060 ac_status=$?
30061 grep -v '^ *+' conftest.er1 >conftest.err
30062 rm -f conftest.er1
30063 cat conftest.err >&5
30064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30065 (exit $ac_status); } >/dev/null && {
30066 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30067 test ! -s conftest.err
30068 }; then
30069 # We can compile using X headers with no special include directory.
30070 ac_x_includes=
30071 else
30072 echo "$as_me: failed program was:" >&5
30073 sed 's/^/| /' conftest.$ac_ext >&5
30074
30075 for ac_dir in $ac_x_header_dirs; do
30076 if test -r "$ac_dir/X11/Xlib.h"; then
30077 ac_x_includes=$ac_dir
30078 break
30079 fi
30080 done
30081 fi
30082
30083 rm -f conftest.err conftest.$ac_ext
30084 fi # $ac_x_includes = no
30085
30086 if test "$ac_x_libraries" = no; then
30087 # Check for the libraries.
30088 # See if we find them without any special options.
30089 # Don't add to $LIBS permanently.
30090 ac_save_LIBS=$LIBS
30091 LIBS="-lX11 $LIBS"
30092 cat >conftest.$ac_ext <<_ACEOF
30093 /* confdefs.h. */
30094 _ACEOF
30095 cat confdefs.h >>conftest.$ac_ext
30096 cat >>conftest.$ac_ext <<_ACEOF
30097 /* end confdefs.h. */
30098 #include <X11/Xlib.h>
30099 int
30100 main ()
30101 {
30102 XrmInitialize ()
30103 ;
30104 return 0;
30105 }
30106 _ACEOF
30107 rm -f conftest.$ac_objext conftest$ac_exeext
30108 if { (ac_try="$ac_link"
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_link") 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); } && {
30121 test -z "$ac_c_werror_flag" ||
30122 test ! -s conftest.err
30123 } && test -s conftest$ac_exeext &&
30124 $as_test_x conftest$ac_exeext; then
30125 LIBS=$ac_save_LIBS
30126 # We can link X programs with no special library path.
30127 ac_x_libraries=
30128 else
30129 echo "$as_me: failed program was:" >&5
30130 sed 's/^/| /' conftest.$ac_ext >&5
30131
30132 LIBS=$ac_save_LIBS
30133 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30134 do
30135 # Don't even attempt the hair of trying to link an X program!
30136 for ac_extension in a so sl; do
30137 if test -r "$ac_dir/libX11.$ac_extension"; then
30138 ac_x_libraries=$ac_dir
30139 break 2
30140 fi
30141 done
30142 done
30143 fi
30144
30145 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30146 conftest$ac_exeext conftest.$ac_ext
30147 fi # $ac_x_libraries = no
30148
30149 case $ac_x_includes,$ac_x_libraries in #(
30150 no,* | *,no | *\'*)
30151 # Didn't find X, or a directory has "'" in its name.
30152 ac_cv_have_x="have_x=no";; #(
30153 *)
30154 # Record where we found X for the cache.
30155 ac_cv_have_x="have_x=yes\
30156 ac_x_includes='$ac_x_includes'\
30157 ac_x_libraries='$ac_x_libraries'"
30158 esac
30159 fi
30160 ;; #(
30161 *) have_x=yes;;
30162 esac
30163 eval "$ac_cv_have_x"
30164 fi # $with_x != no
30165
30166 if test "$have_x" != yes; then
30167 { echo "$as_me:$LINENO: result: $have_x" >&5
30168 echo "${ECHO_T}$have_x" >&6; }
30169 no_x=yes
30170 else
30171 # If each of the values was on the command line, it overrides each guess.
30172 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30173 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30174 # Update the cache value to reflect the command line values.
30175 ac_cv_have_x="have_x=yes\
30176 ac_x_includes='$x_includes'\
30177 ac_x_libraries='$x_libraries'"
30178 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30179 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30180 fi
30181
30182 if test "$no_x" = yes; then
30183 # Not all programs may use this symbol, but it does not hurt to define it.
30184
30185 cat >>confdefs.h <<\_ACEOF
30186 #define X_DISPLAY_MISSING 1
30187 _ACEOF
30188
30189 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30190 else
30191 if test -n "$x_includes"; then
30192 X_CFLAGS="$X_CFLAGS -I$x_includes"
30193 fi
30194
30195 # It would also be nice to do this for all -L options, not just this one.
30196 if test -n "$x_libraries"; then
30197 X_LIBS="$X_LIBS -L$x_libraries"
30198 # For Solaris; some versions of Sun CC require a space after -R and
30199 # others require no space. Words are not sufficient . . . .
30200 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30201 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30202 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30203 ac_xsave_c_werror_flag=$ac_c_werror_flag
30204 ac_c_werror_flag=yes
30205 cat >conftest.$ac_ext <<_ACEOF
30206 /* confdefs.h. */
30207 _ACEOF
30208 cat confdefs.h >>conftest.$ac_ext
30209 cat >>conftest.$ac_ext <<_ACEOF
30210 /* end confdefs.h. */
30211
30212 int
30213 main ()
30214 {
30215
30216 ;
30217 return 0;
30218 }
30219 _ACEOF
30220 rm -f conftest.$ac_objext conftest$ac_exeext
30221 if { (ac_try="$ac_link"
30222 case "(($ac_try" in
30223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30224 *) ac_try_echo=$ac_try;;
30225 esac
30226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30227 (eval "$ac_link") 2>conftest.er1
30228 ac_status=$?
30229 grep -v '^ *+' conftest.er1 >conftest.err
30230 rm -f conftest.er1
30231 cat conftest.err >&5
30232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30233 (exit $ac_status); } && {
30234 test -z "$ac_c_werror_flag" ||
30235 test ! -s conftest.err
30236 } && test -s conftest$ac_exeext &&
30237 $as_test_x conftest$ac_exeext; then
30238 { echo "$as_me:$LINENO: result: no" >&5
30239 echo "${ECHO_T}no" >&6; }
30240 X_LIBS="$X_LIBS -R$x_libraries"
30241 else
30242 echo "$as_me: failed program was:" >&5
30243 sed 's/^/| /' conftest.$ac_ext >&5
30244
30245 LIBS="$ac_xsave_LIBS -R $x_libraries"
30246 cat >conftest.$ac_ext <<_ACEOF
30247 /* confdefs.h. */
30248 _ACEOF
30249 cat confdefs.h >>conftest.$ac_ext
30250 cat >>conftest.$ac_ext <<_ACEOF
30251 /* end confdefs.h. */
30252
30253 int
30254 main ()
30255 {
30256
30257 ;
30258 return 0;
30259 }
30260 _ACEOF
30261 rm -f conftest.$ac_objext conftest$ac_exeext
30262 if { (ac_try="$ac_link"
30263 case "(($ac_try" in
30264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30265 *) ac_try_echo=$ac_try;;
30266 esac
30267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30268 (eval "$ac_link") 2>conftest.er1
30269 ac_status=$?
30270 grep -v '^ *+' conftest.er1 >conftest.err
30271 rm -f conftest.er1
30272 cat conftest.err >&5
30273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30274 (exit $ac_status); } && {
30275 test -z "$ac_c_werror_flag" ||
30276 test ! -s conftest.err
30277 } && test -s conftest$ac_exeext &&
30278 $as_test_x conftest$ac_exeext; then
30279 { echo "$as_me:$LINENO: result: yes" >&5
30280 echo "${ECHO_T}yes" >&6; }
30281 X_LIBS="$X_LIBS -R $x_libraries"
30282 else
30283 echo "$as_me: failed program was:" >&5
30284 sed 's/^/| /' conftest.$ac_ext >&5
30285
30286 { echo "$as_me:$LINENO: result: neither works" >&5
30287 echo "${ECHO_T}neither works" >&6; }
30288 fi
30289
30290 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30291 conftest$ac_exeext conftest.$ac_ext
30292 fi
30293
30294 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30295 conftest$ac_exeext conftest.$ac_ext
30296 ac_c_werror_flag=$ac_xsave_c_werror_flag
30297 LIBS=$ac_xsave_LIBS
30298 fi
30299
30300 # Check for system-dependent libraries X programs must link with.
30301 # Do this before checking for the system-independent R6 libraries
30302 # (-lICE), since we may need -lsocket or whatever for X linking.
30303
30304 if test "$ISC" = yes; then
30305 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30306 else
30307 # Martyn Johnson says this is needed for Ultrix, if the X
30308 # libraries were built with DECnet support. And Karl Berry says
30309 # the Alpha needs dnet_stub (dnet does not exist).
30310 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30311 cat >conftest.$ac_ext <<_ACEOF
30312 /* confdefs.h. */
30313 _ACEOF
30314 cat confdefs.h >>conftest.$ac_ext
30315 cat >>conftest.$ac_ext <<_ACEOF
30316 /* end confdefs.h. */
30317
30318 /* Override any GCC internal prototype to avoid an error.
30319 Use char because int might match the return type of a GCC
30320 builtin and then its argument prototype would still apply. */
30321 #ifdef __cplusplus
30322 extern "C"
30323 #endif
30324 char XOpenDisplay ();
30325 int
30326 main ()
30327 {
30328 return XOpenDisplay ();
30329 ;
30330 return 0;
30331 }
30332 _ACEOF
30333 rm -f conftest.$ac_objext conftest$ac_exeext
30334 if { (ac_try="$ac_link"
30335 case "(($ac_try" in
30336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30337 *) ac_try_echo=$ac_try;;
30338 esac
30339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30340 (eval "$ac_link") 2>conftest.er1
30341 ac_status=$?
30342 grep -v '^ *+' conftest.er1 >conftest.err
30343 rm -f conftest.er1
30344 cat conftest.err >&5
30345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30346 (exit $ac_status); } && {
30347 test -z "$ac_c_werror_flag" ||
30348 test ! -s conftest.err
30349 } && test -s conftest$ac_exeext &&
30350 $as_test_x conftest$ac_exeext; then
30351 :
30352 else
30353 echo "$as_me: failed program was:" >&5
30354 sed 's/^/| /' conftest.$ac_ext >&5
30355
30356 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30357 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30358 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30359 echo $ECHO_N "(cached) $ECHO_C" >&6
30360 else
30361 ac_check_lib_save_LIBS=$LIBS
30362 LIBS="-ldnet $LIBS"
30363 cat >conftest.$ac_ext <<_ACEOF
30364 /* confdefs.h. */
30365 _ACEOF
30366 cat confdefs.h >>conftest.$ac_ext
30367 cat >>conftest.$ac_ext <<_ACEOF
30368 /* end confdefs.h. */
30369
30370 /* Override any GCC internal prototype to avoid an error.
30371 Use char because int might match the return type of a GCC
30372 builtin and then its argument prototype would still apply. */
30373 #ifdef __cplusplus
30374 extern "C"
30375 #endif
30376 char dnet_ntoa ();
30377 int
30378 main ()
30379 {
30380 return dnet_ntoa ();
30381 ;
30382 return 0;
30383 }
30384 _ACEOF
30385 rm -f conftest.$ac_objext conftest$ac_exeext
30386 if { (ac_try="$ac_link"
30387 case "(($ac_try" in
30388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30389 *) ac_try_echo=$ac_try;;
30390 esac
30391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30392 (eval "$ac_link") 2>conftest.er1
30393 ac_status=$?
30394 grep -v '^ *+' conftest.er1 >conftest.err
30395 rm -f conftest.er1
30396 cat conftest.err >&5
30397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30398 (exit $ac_status); } && {
30399 test -z "$ac_c_werror_flag" ||
30400 test ! -s conftest.err
30401 } && test -s conftest$ac_exeext &&
30402 $as_test_x conftest$ac_exeext; then
30403 ac_cv_lib_dnet_dnet_ntoa=yes
30404 else
30405 echo "$as_me: failed program was:" >&5
30406 sed 's/^/| /' conftest.$ac_ext >&5
30407
30408 ac_cv_lib_dnet_dnet_ntoa=no
30409 fi
30410
30411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30412 conftest$ac_exeext conftest.$ac_ext
30413 LIBS=$ac_check_lib_save_LIBS
30414 fi
30415 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30416 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30417 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30418 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30419 fi
30420
30421 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30422 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30423 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30424 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30425 echo $ECHO_N "(cached) $ECHO_C" >&6
30426 else
30427 ac_check_lib_save_LIBS=$LIBS
30428 LIBS="-ldnet_stub $LIBS"
30429 cat >conftest.$ac_ext <<_ACEOF
30430 /* confdefs.h. */
30431 _ACEOF
30432 cat confdefs.h >>conftest.$ac_ext
30433 cat >>conftest.$ac_ext <<_ACEOF
30434 /* end confdefs.h. */
30435
30436 /* Override any GCC internal prototype to avoid an error.
30437 Use char because int might match the return type of a GCC
30438 builtin and then its argument prototype would still apply. */
30439 #ifdef __cplusplus
30440 extern "C"
30441 #endif
30442 char dnet_ntoa ();
30443 int
30444 main ()
30445 {
30446 return dnet_ntoa ();
30447 ;
30448 return 0;
30449 }
30450 _ACEOF
30451 rm -f conftest.$ac_objext conftest$ac_exeext
30452 if { (ac_try="$ac_link"
30453 case "(($ac_try" in
30454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30455 *) ac_try_echo=$ac_try;;
30456 esac
30457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30458 (eval "$ac_link") 2>conftest.er1
30459 ac_status=$?
30460 grep -v '^ *+' conftest.er1 >conftest.err
30461 rm -f conftest.er1
30462 cat conftest.err >&5
30463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30464 (exit $ac_status); } && {
30465 test -z "$ac_c_werror_flag" ||
30466 test ! -s conftest.err
30467 } && test -s conftest$ac_exeext &&
30468 $as_test_x conftest$ac_exeext; then
30469 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30470 else
30471 echo "$as_me: failed program was:" >&5
30472 sed 's/^/| /' conftest.$ac_ext >&5
30473
30474 ac_cv_lib_dnet_stub_dnet_ntoa=no
30475 fi
30476
30477 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30478 conftest$ac_exeext conftest.$ac_ext
30479 LIBS=$ac_check_lib_save_LIBS
30480 fi
30481 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30482 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30483 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30484 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30485 fi
30486
30487 fi
30488 fi
30489
30490 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30491 conftest$ac_exeext conftest.$ac_ext
30492 LIBS="$ac_xsave_LIBS"
30493
30494 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30495 # to get the SysV transport functions.
30496 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30497 # needs -lnsl.
30498 # The nsl library prevents programs from opening the X display
30499 # on Irix 5.2, according to T.E. Dickey.
30500 # The functions gethostbyname, getservbyname, and inet_addr are
30501 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30502 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30503 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30504 if test "${ac_cv_func_gethostbyname+set}" = set; then
30505 echo $ECHO_N "(cached) $ECHO_C" >&6
30506 else
30507 cat >conftest.$ac_ext <<_ACEOF
30508 /* confdefs.h. */
30509 _ACEOF
30510 cat confdefs.h >>conftest.$ac_ext
30511 cat >>conftest.$ac_ext <<_ACEOF
30512 /* end confdefs.h. */
30513 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30515 #define gethostbyname innocuous_gethostbyname
30516
30517 /* System header to define __stub macros and hopefully few prototypes,
30518 which can conflict with char gethostbyname (); below.
30519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30520 <limits.h> exists even on freestanding compilers. */
30521
30522 #ifdef __STDC__
30523 # include <limits.h>
30524 #else
30525 # include <assert.h>
30526 #endif
30527
30528 #undef gethostbyname
30529
30530 /* Override any GCC internal prototype to avoid an error.
30531 Use char because int might match the return type of a GCC
30532 builtin and then its argument prototype would still apply. */
30533 #ifdef __cplusplus
30534 extern "C"
30535 #endif
30536 char gethostbyname ();
30537 /* The GNU C library defines this for functions which it implements
30538 to always fail with ENOSYS. Some functions are actually named
30539 something starting with __ and the normal name is an alias. */
30540 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30541 choke me
30542 #endif
30543
30544 int
30545 main ()
30546 {
30547 return gethostbyname ();
30548 ;
30549 return 0;
30550 }
30551 _ACEOF
30552 rm -f conftest.$ac_objext conftest$ac_exeext
30553 if { (ac_try="$ac_link"
30554 case "(($ac_try" in
30555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30556 *) ac_try_echo=$ac_try;;
30557 esac
30558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30559 (eval "$ac_link") 2>conftest.er1
30560 ac_status=$?
30561 grep -v '^ *+' conftest.er1 >conftest.err
30562 rm -f conftest.er1
30563 cat conftest.err >&5
30564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30565 (exit $ac_status); } && {
30566 test -z "$ac_c_werror_flag" ||
30567 test ! -s conftest.err
30568 } && test -s conftest$ac_exeext &&
30569 $as_test_x conftest$ac_exeext; then
30570 ac_cv_func_gethostbyname=yes
30571 else
30572 echo "$as_me: failed program was:" >&5
30573 sed 's/^/| /' conftest.$ac_ext >&5
30574
30575 ac_cv_func_gethostbyname=no
30576 fi
30577
30578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30579 conftest$ac_exeext conftest.$ac_ext
30580 fi
30581 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30582 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30583
30584 if test $ac_cv_func_gethostbyname = no; then
30585 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30586 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30587 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30588 echo $ECHO_N "(cached) $ECHO_C" >&6
30589 else
30590 ac_check_lib_save_LIBS=$LIBS
30591 LIBS="-lnsl $LIBS"
30592 cat >conftest.$ac_ext <<_ACEOF
30593 /* confdefs.h. */
30594 _ACEOF
30595 cat confdefs.h >>conftest.$ac_ext
30596 cat >>conftest.$ac_ext <<_ACEOF
30597 /* end confdefs.h. */
30598
30599 /* Override any GCC internal prototype to avoid an error.
30600 Use char because int might match the return type of a GCC
30601 builtin and then its argument prototype would still apply. */
30602 #ifdef __cplusplus
30603 extern "C"
30604 #endif
30605 char gethostbyname ();
30606 int
30607 main ()
30608 {
30609 return gethostbyname ();
30610 ;
30611 return 0;
30612 }
30613 _ACEOF
30614 rm -f conftest.$ac_objext conftest$ac_exeext
30615 if { (ac_try="$ac_link"
30616 case "(($ac_try" in
30617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30618 *) ac_try_echo=$ac_try;;
30619 esac
30620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30621 (eval "$ac_link") 2>conftest.er1
30622 ac_status=$?
30623 grep -v '^ *+' conftest.er1 >conftest.err
30624 rm -f conftest.er1
30625 cat conftest.err >&5
30626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30627 (exit $ac_status); } && {
30628 test -z "$ac_c_werror_flag" ||
30629 test ! -s conftest.err
30630 } && test -s conftest$ac_exeext &&
30631 $as_test_x conftest$ac_exeext; then
30632 ac_cv_lib_nsl_gethostbyname=yes
30633 else
30634 echo "$as_me: failed program was:" >&5
30635 sed 's/^/| /' conftest.$ac_ext >&5
30636
30637 ac_cv_lib_nsl_gethostbyname=no
30638 fi
30639
30640 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30641 conftest$ac_exeext conftest.$ac_ext
30642 LIBS=$ac_check_lib_save_LIBS
30643 fi
30644 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30645 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30646 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30647 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30648 fi
30649
30650 if test $ac_cv_lib_nsl_gethostbyname = no; then
30651 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30652 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30653 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30654 echo $ECHO_N "(cached) $ECHO_C" >&6
30655 else
30656 ac_check_lib_save_LIBS=$LIBS
30657 LIBS="-lbsd $LIBS"
30658 cat >conftest.$ac_ext <<_ACEOF
30659 /* confdefs.h. */
30660 _ACEOF
30661 cat confdefs.h >>conftest.$ac_ext
30662 cat >>conftest.$ac_ext <<_ACEOF
30663 /* end confdefs.h. */
30664
30665 /* Override any GCC internal prototype to avoid an error.
30666 Use char because int might match the return type of a GCC
30667 builtin and then its argument prototype would still apply. */
30668 #ifdef __cplusplus
30669 extern "C"
30670 #endif
30671 char gethostbyname ();
30672 int
30673 main ()
30674 {
30675 return gethostbyname ();
30676 ;
30677 return 0;
30678 }
30679 _ACEOF
30680 rm -f conftest.$ac_objext conftest$ac_exeext
30681 if { (ac_try="$ac_link"
30682 case "(($ac_try" in
30683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30684 *) ac_try_echo=$ac_try;;
30685 esac
30686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30687 (eval "$ac_link") 2>conftest.er1
30688 ac_status=$?
30689 grep -v '^ *+' conftest.er1 >conftest.err
30690 rm -f conftest.er1
30691 cat conftest.err >&5
30692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30693 (exit $ac_status); } && {
30694 test -z "$ac_c_werror_flag" ||
30695 test ! -s conftest.err
30696 } && test -s conftest$ac_exeext &&
30697 $as_test_x conftest$ac_exeext; then
30698 ac_cv_lib_bsd_gethostbyname=yes
30699 else
30700 echo "$as_me: failed program was:" >&5
30701 sed 's/^/| /' conftest.$ac_ext >&5
30702
30703 ac_cv_lib_bsd_gethostbyname=no
30704 fi
30705
30706 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30707 conftest$ac_exeext conftest.$ac_ext
30708 LIBS=$ac_check_lib_save_LIBS
30709 fi
30710 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30711 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30712 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30713 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30714 fi
30715
30716 fi
30717 fi
30718
30719 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30720 # socket/setsockopt and other routines are undefined under SCO ODT
30721 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30722 # on later versions), says Simon Leinen: it contains gethostby*
30723 # variants that don't use the name server (or something). -lsocket
30724 # must be given before -lnsl if both are needed. We assume that
30725 # if connect needs -lnsl, so does gethostbyname.
30726 { echo "$as_me:$LINENO: checking for connect" >&5
30727 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30728 if test "${ac_cv_func_connect+set}" = set; then
30729 echo $ECHO_N "(cached) $ECHO_C" >&6
30730 else
30731 cat >conftest.$ac_ext <<_ACEOF
30732 /* confdefs.h. */
30733 _ACEOF
30734 cat confdefs.h >>conftest.$ac_ext
30735 cat >>conftest.$ac_ext <<_ACEOF
30736 /* end confdefs.h. */
30737 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30739 #define connect innocuous_connect
30740
30741 /* System header to define __stub macros and hopefully few prototypes,
30742 which can conflict with char connect (); below.
30743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30744 <limits.h> exists even on freestanding compilers. */
30745
30746 #ifdef __STDC__
30747 # include <limits.h>
30748 #else
30749 # include <assert.h>
30750 #endif
30751
30752 #undef connect
30753
30754 /* Override any GCC internal prototype to avoid an error.
30755 Use char because int might match the return type of a GCC
30756 builtin and then its argument prototype would still apply. */
30757 #ifdef __cplusplus
30758 extern "C"
30759 #endif
30760 char connect ();
30761 /* The GNU C library defines this for functions which it implements
30762 to always fail with ENOSYS. Some functions are actually named
30763 something starting with __ and the normal name is an alias. */
30764 #if defined __stub_connect || defined __stub___connect
30765 choke me
30766 #endif
30767
30768 int
30769 main ()
30770 {
30771 return connect ();
30772 ;
30773 return 0;
30774 }
30775 _ACEOF
30776 rm -f conftest.$ac_objext conftest$ac_exeext
30777 if { (ac_try="$ac_link"
30778 case "(($ac_try" in
30779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30780 *) ac_try_echo=$ac_try;;
30781 esac
30782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30783 (eval "$ac_link") 2>conftest.er1
30784 ac_status=$?
30785 grep -v '^ *+' conftest.er1 >conftest.err
30786 rm -f conftest.er1
30787 cat conftest.err >&5
30788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30789 (exit $ac_status); } && {
30790 test -z "$ac_c_werror_flag" ||
30791 test ! -s conftest.err
30792 } && test -s conftest$ac_exeext &&
30793 $as_test_x conftest$ac_exeext; then
30794 ac_cv_func_connect=yes
30795 else
30796 echo "$as_me: failed program was:" >&5
30797 sed 's/^/| /' conftest.$ac_ext >&5
30798
30799 ac_cv_func_connect=no
30800 fi
30801
30802 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30803 conftest$ac_exeext conftest.$ac_ext
30804 fi
30805 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30806 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30807
30808 if test $ac_cv_func_connect = no; then
30809 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30810 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30811 if test "${ac_cv_lib_socket_connect+set}" = set; then
30812 echo $ECHO_N "(cached) $ECHO_C" >&6
30813 else
30814 ac_check_lib_save_LIBS=$LIBS
30815 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30816 cat >conftest.$ac_ext <<_ACEOF
30817 /* confdefs.h. */
30818 _ACEOF
30819 cat confdefs.h >>conftest.$ac_ext
30820 cat >>conftest.$ac_ext <<_ACEOF
30821 /* end confdefs.h. */
30822
30823 /* Override any GCC internal prototype to avoid an error.
30824 Use char because int might match the return type of a GCC
30825 builtin and then its argument prototype would still apply. */
30826 #ifdef __cplusplus
30827 extern "C"
30828 #endif
30829 char connect ();
30830 int
30831 main ()
30832 {
30833 return connect ();
30834 ;
30835 return 0;
30836 }
30837 _ACEOF
30838 rm -f conftest.$ac_objext conftest$ac_exeext
30839 if { (ac_try="$ac_link"
30840 case "(($ac_try" in
30841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30842 *) ac_try_echo=$ac_try;;
30843 esac
30844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30845 (eval "$ac_link") 2>conftest.er1
30846 ac_status=$?
30847 grep -v '^ *+' conftest.er1 >conftest.err
30848 rm -f conftest.er1
30849 cat conftest.err >&5
30850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30851 (exit $ac_status); } && {
30852 test -z "$ac_c_werror_flag" ||
30853 test ! -s conftest.err
30854 } && test -s conftest$ac_exeext &&
30855 $as_test_x conftest$ac_exeext; then
30856 ac_cv_lib_socket_connect=yes
30857 else
30858 echo "$as_me: failed program was:" >&5
30859 sed 's/^/| /' conftest.$ac_ext >&5
30860
30861 ac_cv_lib_socket_connect=no
30862 fi
30863
30864 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30865 conftest$ac_exeext conftest.$ac_ext
30866 LIBS=$ac_check_lib_save_LIBS
30867 fi
30868 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30869 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30870 if test $ac_cv_lib_socket_connect = yes; then
30871 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30872 fi
30873
30874 fi
30875
30876 # Guillermo Gomez says -lposix is necessary on A/UX.
30877 { echo "$as_me:$LINENO: checking for remove" >&5
30878 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30879 if test "${ac_cv_func_remove+set}" = set; then
30880 echo $ECHO_N "(cached) $ECHO_C" >&6
30881 else
30882 cat >conftest.$ac_ext <<_ACEOF
30883 /* confdefs.h. */
30884 _ACEOF
30885 cat confdefs.h >>conftest.$ac_ext
30886 cat >>conftest.$ac_ext <<_ACEOF
30887 /* end confdefs.h. */
30888 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30890 #define remove innocuous_remove
30891
30892 /* System header to define __stub macros and hopefully few prototypes,
30893 which can conflict with char remove (); below.
30894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30895 <limits.h> exists even on freestanding compilers. */
30896
30897 #ifdef __STDC__
30898 # include <limits.h>
30899 #else
30900 # include <assert.h>
30901 #endif
30902
30903 #undef remove
30904
30905 /* Override any GCC internal prototype to avoid an error.
30906 Use char because int might match the return type of a GCC
30907 builtin and then its argument prototype would still apply. */
30908 #ifdef __cplusplus
30909 extern "C"
30910 #endif
30911 char remove ();
30912 /* The GNU C library defines this for functions which it implements
30913 to always fail with ENOSYS. Some functions are actually named
30914 something starting with __ and the normal name is an alias. */
30915 #if defined __stub_remove || defined __stub___remove
30916 choke me
30917 #endif
30918
30919 int
30920 main ()
30921 {
30922 return remove ();
30923 ;
30924 return 0;
30925 }
30926 _ACEOF
30927 rm -f conftest.$ac_objext conftest$ac_exeext
30928 if { (ac_try="$ac_link"
30929 case "(($ac_try" in
30930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30931 *) ac_try_echo=$ac_try;;
30932 esac
30933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30934 (eval "$ac_link") 2>conftest.er1
30935 ac_status=$?
30936 grep -v '^ *+' conftest.er1 >conftest.err
30937 rm -f conftest.er1
30938 cat conftest.err >&5
30939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30940 (exit $ac_status); } && {
30941 test -z "$ac_c_werror_flag" ||
30942 test ! -s conftest.err
30943 } && test -s conftest$ac_exeext &&
30944 $as_test_x conftest$ac_exeext; then
30945 ac_cv_func_remove=yes
30946 else
30947 echo "$as_me: failed program was:" >&5
30948 sed 's/^/| /' conftest.$ac_ext >&5
30949
30950 ac_cv_func_remove=no
30951 fi
30952
30953 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30954 conftest$ac_exeext conftest.$ac_ext
30955 fi
30956 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30957 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30958
30959 if test $ac_cv_func_remove = no; then
30960 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30961 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30962 if test "${ac_cv_lib_posix_remove+set}" = set; then
30963 echo $ECHO_N "(cached) $ECHO_C" >&6
30964 else
30965 ac_check_lib_save_LIBS=$LIBS
30966 LIBS="-lposix $LIBS"
30967 cat >conftest.$ac_ext <<_ACEOF
30968 /* confdefs.h. */
30969 _ACEOF
30970 cat confdefs.h >>conftest.$ac_ext
30971 cat >>conftest.$ac_ext <<_ACEOF
30972 /* end confdefs.h. */
30973
30974 /* Override any GCC internal prototype to avoid an error.
30975 Use char because int might match the return type of a GCC
30976 builtin and then its argument prototype would still apply. */
30977 #ifdef __cplusplus
30978 extern "C"
30979 #endif
30980 char remove ();
30981 int
30982 main ()
30983 {
30984 return remove ();
30985 ;
30986 return 0;
30987 }
30988 _ACEOF
30989 rm -f conftest.$ac_objext conftest$ac_exeext
30990 if { (ac_try="$ac_link"
30991 case "(($ac_try" in
30992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30993 *) ac_try_echo=$ac_try;;
30994 esac
30995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30996 (eval "$ac_link") 2>conftest.er1
30997 ac_status=$?
30998 grep -v '^ *+' conftest.er1 >conftest.err
30999 rm -f conftest.er1
31000 cat conftest.err >&5
31001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31002 (exit $ac_status); } && {
31003 test -z "$ac_c_werror_flag" ||
31004 test ! -s conftest.err
31005 } && test -s conftest$ac_exeext &&
31006 $as_test_x conftest$ac_exeext; then
31007 ac_cv_lib_posix_remove=yes
31008 else
31009 echo "$as_me: failed program was:" >&5
31010 sed 's/^/| /' conftest.$ac_ext >&5
31011
31012 ac_cv_lib_posix_remove=no
31013 fi
31014
31015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31016 conftest$ac_exeext conftest.$ac_ext
31017 LIBS=$ac_check_lib_save_LIBS
31018 fi
31019 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31020 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31021 if test $ac_cv_lib_posix_remove = yes; then
31022 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31023 fi
31024
31025 fi
31026
31027 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31028 { echo "$as_me:$LINENO: checking for shmat" >&5
31029 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31030 if test "${ac_cv_func_shmat+set}" = set; then
31031 echo $ECHO_N "(cached) $ECHO_C" >&6
31032 else
31033 cat >conftest.$ac_ext <<_ACEOF
31034 /* confdefs.h. */
31035 _ACEOF
31036 cat confdefs.h >>conftest.$ac_ext
31037 cat >>conftest.$ac_ext <<_ACEOF
31038 /* end confdefs.h. */
31039 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31041 #define shmat innocuous_shmat
31042
31043 /* System header to define __stub macros and hopefully few prototypes,
31044 which can conflict with char shmat (); below.
31045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31046 <limits.h> exists even on freestanding compilers. */
31047
31048 #ifdef __STDC__
31049 # include <limits.h>
31050 #else
31051 # include <assert.h>
31052 #endif
31053
31054 #undef shmat
31055
31056 /* Override any GCC internal prototype to avoid an error.
31057 Use char because int might match the return type of a GCC
31058 builtin and then its argument prototype would still apply. */
31059 #ifdef __cplusplus
31060 extern "C"
31061 #endif
31062 char shmat ();
31063 /* The GNU C library defines this for functions which it implements
31064 to always fail with ENOSYS. Some functions are actually named
31065 something starting with __ and the normal name is an alias. */
31066 #if defined __stub_shmat || defined __stub___shmat
31067 choke me
31068 #endif
31069
31070 int
31071 main ()
31072 {
31073 return shmat ();
31074 ;
31075 return 0;
31076 }
31077 _ACEOF
31078 rm -f conftest.$ac_objext conftest$ac_exeext
31079 if { (ac_try="$ac_link"
31080 case "(($ac_try" in
31081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31082 *) ac_try_echo=$ac_try;;
31083 esac
31084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31085 (eval "$ac_link") 2>conftest.er1
31086 ac_status=$?
31087 grep -v '^ *+' conftest.er1 >conftest.err
31088 rm -f conftest.er1
31089 cat conftest.err >&5
31090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31091 (exit $ac_status); } && {
31092 test -z "$ac_c_werror_flag" ||
31093 test ! -s conftest.err
31094 } && test -s conftest$ac_exeext &&
31095 $as_test_x conftest$ac_exeext; then
31096 ac_cv_func_shmat=yes
31097 else
31098 echo "$as_me: failed program was:" >&5
31099 sed 's/^/| /' conftest.$ac_ext >&5
31100
31101 ac_cv_func_shmat=no
31102 fi
31103
31104 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31105 conftest$ac_exeext conftest.$ac_ext
31106 fi
31107 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31108 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31109
31110 if test $ac_cv_func_shmat = no; then
31111 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31112 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31113 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31114 echo $ECHO_N "(cached) $ECHO_C" >&6
31115 else
31116 ac_check_lib_save_LIBS=$LIBS
31117 LIBS="-lipc $LIBS"
31118 cat >conftest.$ac_ext <<_ACEOF
31119 /* confdefs.h. */
31120 _ACEOF
31121 cat confdefs.h >>conftest.$ac_ext
31122 cat >>conftest.$ac_ext <<_ACEOF
31123 /* end confdefs.h. */
31124
31125 /* Override any GCC internal prototype to avoid an error.
31126 Use char because int might match the return type of a GCC
31127 builtin and then its argument prototype would still apply. */
31128 #ifdef __cplusplus
31129 extern "C"
31130 #endif
31131 char shmat ();
31132 int
31133 main ()
31134 {
31135 return shmat ();
31136 ;
31137 return 0;
31138 }
31139 _ACEOF
31140 rm -f conftest.$ac_objext conftest$ac_exeext
31141 if { (ac_try="$ac_link"
31142 case "(($ac_try" in
31143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31144 *) ac_try_echo=$ac_try;;
31145 esac
31146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31147 (eval "$ac_link") 2>conftest.er1
31148 ac_status=$?
31149 grep -v '^ *+' conftest.er1 >conftest.err
31150 rm -f conftest.er1
31151 cat conftest.err >&5
31152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31153 (exit $ac_status); } && {
31154 test -z "$ac_c_werror_flag" ||
31155 test ! -s conftest.err
31156 } && test -s conftest$ac_exeext &&
31157 $as_test_x conftest$ac_exeext; then
31158 ac_cv_lib_ipc_shmat=yes
31159 else
31160 echo "$as_me: failed program was:" >&5
31161 sed 's/^/| /' conftest.$ac_ext >&5
31162
31163 ac_cv_lib_ipc_shmat=no
31164 fi
31165
31166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31167 conftest$ac_exeext conftest.$ac_ext
31168 LIBS=$ac_check_lib_save_LIBS
31169 fi
31170 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31171 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31172 if test $ac_cv_lib_ipc_shmat = yes; then
31173 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31174 fi
31175
31176 fi
31177 fi
31178
31179 # Check for libraries that X11R6 Xt/Xaw programs need.
31180 ac_save_LDFLAGS=$LDFLAGS
31181 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31182 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31183 # check for ICE first), but we must link in the order -lSM -lICE or
31184 # we get undefined symbols. So assume we have SM if we have ICE.
31185 # These have to be linked with before -lX11, unlike the other
31186 # libraries we check for below, so use a different variable.
31187 # John Interrante, Karl Berry
31188 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31189 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31190 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31191 echo $ECHO_N "(cached) $ECHO_C" >&6
31192 else
31193 ac_check_lib_save_LIBS=$LIBS
31194 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31195 cat >conftest.$ac_ext <<_ACEOF
31196 /* confdefs.h. */
31197 _ACEOF
31198 cat confdefs.h >>conftest.$ac_ext
31199 cat >>conftest.$ac_ext <<_ACEOF
31200 /* end confdefs.h. */
31201
31202 /* Override any GCC internal prototype to avoid an error.
31203 Use char because int might match the return type of a GCC
31204 builtin and then its argument prototype would still apply. */
31205 #ifdef __cplusplus
31206 extern "C"
31207 #endif
31208 char IceConnectionNumber ();
31209 int
31210 main ()
31211 {
31212 return IceConnectionNumber ();
31213 ;
31214 return 0;
31215 }
31216 _ACEOF
31217 rm -f conftest.$ac_objext conftest$ac_exeext
31218 if { (ac_try="$ac_link"
31219 case "(($ac_try" in
31220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31221 *) ac_try_echo=$ac_try;;
31222 esac
31223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31224 (eval "$ac_link") 2>conftest.er1
31225 ac_status=$?
31226 grep -v '^ *+' conftest.er1 >conftest.err
31227 rm -f conftest.er1
31228 cat conftest.err >&5
31229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31230 (exit $ac_status); } && {
31231 test -z "$ac_c_werror_flag" ||
31232 test ! -s conftest.err
31233 } && test -s conftest$ac_exeext &&
31234 $as_test_x conftest$ac_exeext; then
31235 ac_cv_lib_ICE_IceConnectionNumber=yes
31236 else
31237 echo "$as_me: failed program was:" >&5
31238 sed 's/^/| /' conftest.$ac_ext >&5
31239
31240 ac_cv_lib_ICE_IceConnectionNumber=no
31241 fi
31242
31243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31244 conftest$ac_exeext conftest.$ac_ext
31245 LIBS=$ac_check_lib_save_LIBS
31246 fi
31247 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31248 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31249 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31250 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31251 fi
31252
31253 LDFLAGS=$ac_save_LDFLAGS
31254
31255 fi
31256
31257
31258 if test "$no_x" = "yes"; then
31259 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31260 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31261 { (exit 1); exit 1; }; }
31262 fi
31263
31264 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31265 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31266 AFMINSTALL=afminstall
31267 COMPILED_X_PROGRAM=0
31268
31269 fi
31270
31271 if test "$wxUSE_X11" = 1; then
31272 if test "$wxUSE_NANOX" = "yes"; then
31273 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31274 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31275 if test "x$MICROWIN" = x ; then
31276 { echo "$as_me:$LINENO: result: not found" >&5
31277 echo "${ECHO_T}not found" >&6; }
31278 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31279 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31280 { (exit 1); exit 1; }; }
31281 else
31282 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31283 echo "${ECHO_T}$MICROWIN" >&6; }
31284 cat >>confdefs.h <<\_ACEOF
31285 #define wxUSE_NANOX 1
31286 _ACEOF
31287
31288 fi
31289 fi
31290
31291 if test "$wxUSE_UNICODE" = "yes"; then
31292
31293
31294 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31295 if test -n "$ac_tool_prefix"; then
31296 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31297 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31298 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31300 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31301 echo $ECHO_N "(cached) $ECHO_C" >&6
31302 else
31303 case $PKG_CONFIG in
31304 [\\/]* | ?:[\\/]*)
31305 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31306 ;;
31307 *)
31308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31309 for as_dir in $PATH
31310 do
31311 IFS=$as_save_IFS
31312 test -z "$as_dir" && as_dir=.
31313 for ac_exec_ext in '' $ac_executable_extensions; do
31314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31315 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31317 break 2
31318 fi
31319 done
31320 done
31321 IFS=$as_save_IFS
31322
31323 ;;
31324 esac
31325 fi
31326 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31327 if test -n "$PKG_CONFIG"; then
31328 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31329 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31330 else
31331 { echo "$as_me:$LINENO: result: no" >&5
31332 echo "${ECHO_T}no" >&6; }
31333 fi
31334
31335
31336 fi
31337 if test -z "$ac_cv_path_PKG_CONFIG"; then
31338 ac_pt_PKG_CONFIG=$PKG_CONFIG
31339 # Extract the first word of "pkg-config", so it can be a program name with args.
31340 set dummy pkg-config; ac_word=$2
31341 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31343 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31344 echo $ECHO_N "(cached) $ECHO_C" >&6
31345 else
31346 case $ac_pt_PKG_CONFIG in
31347 [\\/]* | ?:[\\/]*)
31348 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31349 ;;
31350 *)
31351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31352 for as_dir in $PATH
31353 do
31354 IFS=$as_save_IFS
31355 test -z "$as_dir" && as_dir=.
31356 for ac_exec_ext in '' $ac_executable_extensions; do
31357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31358 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31360 break 2
31361 fi
31362 done
31363 done
31364 IFS=$as_save_IFS
31365
31366 ;;
31367 esac
31368 fi
31369 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31370 if test -n "$ac_pt_PKG_CONFIG"; then
31371 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31372 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31373 else
31374 { echo "$as_me:$LINENO: result: no" >&5
31375 echo "${ECHO_T}no" >&6; }
31376 fi
31377
31378 if test "x$ac_pt_PKG_CONFIG" = x; then
31379 PKG_CONFIG=""
31380 else
31381 case $cross_compiling:$ac_tool_warned in
31382 yes:)
31383 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31384 whose name does not start with the host triplet. If you think this
31385 configuration is useful to you, please write to autoconf@gnu.org." >&5
31386 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31387 whose name does not start with the host triplet. If you think this
31388 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31389 ac_tool_warned=yes ;;
31390 esac
31391 PKG_CONFIG=$ac_pt_PKG_CONFIG
31392 fi
31393 else
31394 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31395 fi
31396
31397 fi
31398 if test -n "$PKG_CONFIG"; then
31399 _pkg_min_version=0.9.0
31400 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31401 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31402 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31403 { echo "$as_me:$LINENO: result: yes" >&5
31404 echo "${ECHO_T}yes" >&6; }
31405 else
31406 { echo "$as_me:$LINENO: result: no" >&5
31407 echo "${ECHO_T}no" >&6; }
31408 PKG_CONFIG=""
31409 fi
31410
31411 fi
31412
31413
31414 pkg_failed=no
31415 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31416 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31417
31418 if test -n "$PKG_CONFIG"; then
31419 if test -n "$PANGOX_CFLAGS"; then
31420 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31421 else
31422 if test -n "$PKG_CONFIG" && \
31423 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31424 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31425 ac_status=$?
31426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31427 (exit $ac_status); }; then
31428 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31429 else
31430 pkg_failed=yes
31431 fi
31432 fi
31433 else
31434 pkg_failed=untried
31435 fi
31436 if test -n "$PKG_CONFIG"; then
31437 if test -n "$PANGOX_LIBS"; then
31438 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31439 else
31440 if test -n "$PKG_CONFIG" && \
31441 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31442 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31443 ac_status=$?
31444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31445 (exit $ac_status); }; then
31446 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31447 else
31448 pkg_failed=yes
31449 fi
31450 fi
31451 else
31452 pkg_failed=untried
31453 fi
31454
31455
31456
31457 if test $pkg_failed = yes; then
31458
31459 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31460 _pkg_short_errors_supported=yes
31461 else
31462 _pkg_short_errors_supported=no
31463 fi
31464 if test $_pkg_short_errors_supported = yes; then
31465 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31466 else
31467 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31468 fi
31469 # Put the nasty error message in config.log where it belongs
31470 echo "$PANGOX_PKG_ERRORS" >&5
31471
31472
31473 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31474 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31475 { (exit 1); exit 1; }; }
31476
31477
31478 elif test $pkg_failed = untried; then
31479
31480 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31481 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31482 { (exit 1); exit 1; }; }
31483
31484
31485 else
31486 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31487 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31488 { echo "$as_me:$LINENO: result: yes" >&5
31489 echo "${ECHO_T}yes" >&6; }
31490
31491 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31492 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31493 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31494
31495 fi
31496
31497 pkg_failed=no
31498 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31499 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31500
31501 if test -n "$PKG_CONFIG"; then
31502 if test -n "$PANGOFT2_CFLAGS"; then
31503 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31504 else
31505 if test -n "$PKG_CONFIG" && \
31506 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31507 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31508 ac_status=$?
31509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31510 (exit $ac_status); }; then
31511 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31512 else
31513 pkg_failed=yes
31514 fi
31515 fi
31516 else
31517 pkg_failed=untried
31518 fi
31519 if test -n "$PKG_CONFIG"; then
31520 if test -n "$PANGOFT2_LIBS"; then
31521 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31522 else
31523 if test -n "$PKG_CONFIG" && \
31524 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31525 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31526 ac_status=$?
31527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31528 (exit $ac_status); }; then
31529 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31530 else
31531 pkg_failed=yes
31532 fi
31533 fi
31534 else
31535 pkg_failed=untried
31536 fi
31537
31538
31539
31540 if test $pkg_failed = yes; then
31541
31542 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31543 _pkg_short_errors_supported=yes
31544 else
31545 _pkg_short_errors_supported=no
31546 fi
31547 if test $_pkg_short_errors_supported = yes; then
31548 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31549 else
31550 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31551 fi
31552 # Put the nasty error message in config.log where it belongs
31553 echo "$PANGOFT2_PKG_ERRORS" >&5
31554
31555
31556 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31557 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31558 wxUSE_PRINTING_ARCHITECTURE="no"
31559
31560
31561 elif test $pkg_failed = untried; then
31562
31563 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31564 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31565 wxUSE_PRINTING_ARCHITECTURE="no"
31566
31567
31568 else
31569 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31570 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31571 { echo "$as_me:$LINENO: result: yes" >&5
31572 echo "${ECHO_T}yes" >&6; }
31573
31574 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31575 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31576 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31577
31578 fi
31579
31580 pkg_failed=no
31581 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31582 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31583
31584 if test -n "$PKG_CONFIG"; then
31585 if test -n "$PANGOXFT_CFLAGS"; then
31586 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31587 else
31588 if test -n "$PKG_CONFIG" && \
31589 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31590 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31591 ac_status=$?
31592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31593 (exit $ac_status); }; then
31594 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31595 else
31596 pkg_failed=yes
31597 fi
31598 fi
31599 else
31600 pkg_failed=untried
31601 fi
31602 if test -n "$PKG_CONFIG"; then
31603 if test -n "$PANGOXFT_LIBS"; then
31604 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31605 else
31606 if test -n "$PKG_CONFIG" && \
31607 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31608 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31609 ac_status=$?
31610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31611 (exit $ac_status); }; then
31612 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31613 else
31614 pkg_failed=yes
31615 fi
31616 fi
31617 else
31618 pkg_failed=untried
31619 fi
31620
31621
31622
31623 if test $pkg_failed = yes; then
31624
31625 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31626 _pkg_short_errors_supported=yes
31627 else
31628 _pkg_short_errors_supported=no
31629 fi
31630 if test $_pkg_short_errors_supported = yes; then
31631 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31632 else
31633 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31634 fi
31635 # Put the nasty error message in config.log where it belongs
31636 echo "$PANGOXFT_PKG_ERRORS" >&5
31637
31638
31639 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31640 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31641
31642
31643 elif test $pkg_failed = untried; then
31644
31645 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31646 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31647
31648
31649 else
31650 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31651 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31652 { echo "$as_me:$LINENO: result: yes" >&5
31653 echo "${ECHO_T}yes" >&6; }
31654
31655 cat >>confdefs.h <<\_ACEOF
31656 #define HAVE_PANGO_XFT 1
31657 _ACEOF
31658
31659 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31660 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31661 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31662
31663 fi
31664 save_LIBS="$LIBS"
31665 LIBS="$LIBS $PANGOX_LIBS"
31666
31667 for ac_func in pango_font_family_is_monospace
31668 do
31669 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31670 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31672 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31673 echo $ECHO_N "(cached) $ECHO_C" >&6
31674 else
31675 cat >conftest.$ac_ext <<_ACEOF
31676 /* confdefs.h. */
31677 _ACEOF
31678 cat confdefs.h >>conftest.$ac_ext
31679 cat >>conftest.$ac_ext <<_ACEOF
31680 /* end confdefs.h. */
31681 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31682 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31683 #define $ac_func innocuous_$ac_func
31684
31685 /* System header to define __stub macros and hopefully few prototypes,
31686 which can conflict with char $ac_func (); below.
31687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31688 <limits.h> exists even on freestanding compilers. */
31689
31690 #ifdef __STDC__
31691 # include <limits.h>
31692 #else
31693 # include <assert.h>
31694 #endif
31695
31696 #undef $ac_func
31697
31698 /* Override any GCC internal prototype to avoid an error.
31699 Use char because int might match the return type of a GCC
31700 builtin and then its argument prototype would still apply. */
31701 #ifdef __cplusplus
31702 extern "C"
31703 #endif
31704 char $ac_func ();
31705 /* The GNU C library defines this for functions which it implements
31706 to always fail with ENOSYS. Some functions are actually named
31707 something starting with __ and the normal name is an alias. */
31708 #if defined __stub_$ac_func || defined __stub___$ac_func
31709 choke me
31710 #endif
31711
31712 int
31713 main ()
31714 {
31715 return $ac_func ();
31716 ;
31717 return 0;
31718 }
31719 _ACEOF
31720 rm -f conftest.$ac_objext conftest$ac_exeext
31721 if { (ac_try="$ac_link"
31722 case "(($ac_try" in
31723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31724 *) ac_try_echo=$ac_try;;
31725 esac
31726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31727 (eval "$ac_link") 2>conftest.er1
31728 ac_status=$?
31729 grep -v '^ *+' conftest.er1 >conftest.err
31730 rm -f conftest.er1
31731 cat conftest.err >&5
31732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31733 (exit $ac_status); } && {
31734 test -z "$ac_c_werror_flag" ||
31735 test ! -s conftest.err
31736 } && test -s conftest$ac_exeext &&
31737 $as_test_x conftest$ac_exeext; then
31738 eval "$as_ac_var=yes"
31739 else
31740 echo "$as_me: failed program was:" >&5
31741 sed 's/^/| /' conftest.$ac_ext >&5
31742
31743 eval "$as_ac_var=no"
31744 fi
31745
31746 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31747 conftest$ac_exeext conftest.$ac_ext
31748 fi
31749 ac_res=`eval echo '${'$as_ac_var'}'`
31750 { echo "$as_me:$LINENO: result: $ac_res" >&5
31751 echo "${ECHO_T}$ac_res" >&6; }
31752 if test `eval echo '${'$as_ac_var'}'` = yes; then
31753 cat >>confdefs.h <<_ACEOF
31754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31755 _ACEOF
31756
31757 fi
31758 done
31759
31760 LIBS="$save_LIBS"
31761 fi
31762
31763 wxUSE_UNIVERSAL="yes"
31764
31765 if test "$wxUSE_NANOX" = "yes"; then
31766 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31767 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"
31768 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31769 else
31770 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31771 fi
31772
31773 TOOLKIT=X11
31774 GUIDIST=X11_DIST
31775 fi
31776
31777 if test "$wxUSE_MOTIF" = 1; then
31778 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31779 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31780
31781 ac_find_includes=
31782 for ac_dir in $SEARCH_INCLUDE /usr/include;
31783 do
31784 if test -f "$ac_dir/Xm/Xm.h"; then
31785 ac_find_includes=$ac_dir
31786 break
31787 fi
31788 done
31789
31790 if test "$ac_find_includes" != "" ; then
31791 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31792 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31793
31794 if test "x$ac_find_includes" = "x/usr/include"; then
31795 ac_path_to_include=""
31796 else
31797 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31798 result=$?
31799 if test $result = 0; then
31800 ac_path_to_include=""
31801 else
31802 ac_path_to_include=" -I$ac_find_includes"
31803 fi
31804 fi
31805
31806 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31807 else
31808 save_CFLAGS=$CFLAGS
31809 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31810
31811 cat >conftest.$ac_ext <<_ACEOF
31812 /* confdefs.h. */
31813 _ACEOF
31814 cat confdefs.h >>conftest.$ac_ext
31815 cat >>conftest.$ac_ext <<_ACEOF
31816 /* end confdefs.h. */
31817
31818 #include <Xm/Xm.h>
31819
31820 int
31821 main ()
31822 {
31823
31824 int version;
31825 version = xmUseVersion;
31826
31827 ;
31828 return 0;
31829 }
31830 _ACEOF
31831 rm -f conftest.$ac_objext
31832 if { (ac_try="$ac_compile"
31833 case "(($ac_try" in
31834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31835 *) ac_try_echo=$ac_try;;
31836 esac
31837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31838 (eval "$ac_compile") 2>conftest.er1
31839 ac_status=$?
31840 grep -v '^ *+' conftest.er1 >conftest.err
31841 rm -f conftest.er1
31842 cat conftest.err >&5
31843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31844 (exit $ac_status); } && {
31845 test -z "$ac_c_werror_flag" ||
31846 test ! -s conftest.err
31847 } && test -s conftest.$ac_objext; then
31848
31849 { echo "$as_me:$LINENO: result: found in default search path" >&5
31850 echo "${ECHO_T}found in default search path" >&6; }
31851 COMPILED_X_PROGRAM=1
31852
31853 else
31854 echo "$as_me: failed program was:" >&5
31855 sed 's/^/| /' conftest.$ac_ext >&5
31856
31857
31858 { echo "$as_me:$LINENO: result: no" >&5
31859 echo "${ECHO_T}no" >&6; }
31860 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31861 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31862 { (exit 1); exit 1; }; }
31863
31864
31865 fi
31866
31867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31868
31869 CFLAGS=$save_CFLAGS
31870 fi
31871
31872
31873 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31874 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31875
31876 ac_find_libraries=
31877 for ac_dir in $SEARCH_LIB;
31878 do
31879 for ac_extension in a so sl dylib dll.a; do
31880 if test -f "$ac_dir/libXm.$ac_extension"; then
31881 ac_find_libraries=$ac_dir
31882 break 2
31883 fi
31884 done
31885 done
31886
31887
31888 if test "x$ac_find_libraries" != "x" ; then
31889 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31890 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31891
31892
31893 if test "$ac_find_libraries" = "default location"; then
31894 ac_path_to_link=""
31895 else
31896 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31897 result=$?
31898 if test $result = 0; then
31899 ac_path_to_link=""
31900 else
31901 ac_path_to_link=" -L$ac_find_libraries"
31902 fi
31903 fi
31904
31905 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31906 else
31907 save_CFLAGS=$CFLAGS
31908 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31909 save_LIBS="$LIBS"
31910 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31911
31912 cat >conftest.$ac_ext <<_ACEOF
31913 /* confdefs.h. */
31914 _ACEOF
31915 cat confdefs.h >>conftest.$ac_ext
31916 cat >>conftest.$ac_ext <<_ACEOF
31917 /* end confdefs.h. */
31918
31919 #include <Xm/Xm.h>
31920
31921 int
31922 main ()
31923 {
31924
31925 int version;
31926 version = xmUseVersion;
31927
31928 ;
31929 return 0;
31930 }
31931 _ACEOF
31932 rm -f conftest.$ac_objext conftest$ac_exeext
31933 if { (ac_try="$ac_link"
31934 case "(($ac_try" in
31935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31936 *) ac_try_echo=$ac_try;;
31937 esac
31938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31939 (eval "$ac_link") 2>conftest.er1
31940 ac_status=$?
31941 grep -v '^ *+' conftest.er1 >conftest.err
31942 rm -f conftest.er1
31943 cat conftest.err >&5
31944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31945 (exit $ac_status); } && {
31946 test -z "$ac_c_werror_flag" ||
31947 test ! -s conftest.err
31948 } && test -s conftest$ac_exeext &&
31949 $as_test_x conftest$ac_exeext; then
31950
31951 { echo "$as_me:$LINENO: result: found in default search path" >&5
31952 echo "${ECHO_T}found in default search path" >&6; }
31953 COMPILED_X_PROGRAM=1
31954
31955 else
31956 echo "$as_me: failed program was:" >&5
31957 sed 's/^/| /' conftest.$ac_ext >&5
31958
31959
31960 { echo "$as_me:$LINENO: result: no" >&5
31961 echo "${ECHO_T}no" >&6; }
31962 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31963 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31964 { (exit 1); exit 1; }; }
31965
31966
31967 fi
31968
31969 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31970 conftest$ac_exeext conftest.$ac_ext
31971
31972 CFLAGS=$save_CFLAGS
31973 LIBS="$save_LIBS"
31974 fi
31975
31976 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31977 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31978 libp_link=""
31979 libsm_ice_link=""
31980 libs_found=0
31981 for libp in "" " -lXp"; do
31982 if test "$libs_found" = 0; then
31983 for libsm_ice in "" " -lSM -lICE"; do
31984 if test "$libs_found" = 0; then
31985 save_LIBS="$LIBS"
31986 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31987 save_CFLAGS=$CFLAGS
31988 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31989
31990 cat >conftest.$ac_ext <<_ACEOF
31991 /* confdefs.h. */
31992 _ACEOF
31993 cat confdefs.h >>conftest.$ac_ext
31994 cat >>conftest.$ac_ext <<_ACEOF
31995 /* end confdefs.h. */
31996
31997 #include <Xm/Xm.h>
31998 #include <Xm/List.h>
31999
32000 int
32001 main ()
32002 {
32003
32004 XmString string = NULL;
32005 Widget w = NULL;
32006 int position = 0;
32007 XmListAddItem(w, string, position);
32008
32009 ;
32010 return 0;
32011 }
32012 _ACEOF
32013 rm -f conftest.$ac_objext conftest$ac_exeext
32014 if { (ac_try="$ac_link"
32015 case "(($ac_try" in
32016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32017 *) ac_try_echo=$ac_try;;
32018 esac
32019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32020 (eval "$ac_link") 2>conftest.er1
32021 ac_status=$?
32022 grep -v '^ *+' conftest.er1 >conftest.err
32023 rm -f conftest.er1
32024 cat conftest.err >&5
32025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32026 (exit $ac_status); } && {
32027 test -z "$ac_c_werror_flag" ||
32028 test ! -s conftest.err
32029 } && test -s conftest$ac_exeext &&
32030 $as_test_x conftest$ac_exeext; then
32031
32032 libp_link="$libp"
32033 libsm_ice_link="$libsm_ice"
32034 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32035 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32036 libs_found=1
32037
32038 else
32039 echo "$as_me: failed program was:" >&5
32040 sed 's/^/| /' conftest.$ac_ext >&5
32041
32042
32043
32044 fi
32045
32046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32047 conftest$ac_exeext conftest.$ac_ext
32048
32049 LIBS="$save_LIBS"
32050 CFLAGS=$save_CFLAGS
32051 fi
32052 done
32053 fi
32054 done
32055
32056 if test "$libs_found" = 0; then
32057 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32058 echo "${ECHO_T}can't find the right libraries" >&6; }
32059 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32060 echo "$as_me: error: can't link a simple motif program" >&2;}
32061 { (exit 1); exit 1; }; }
32062 fi
32063
32064 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32065 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32066 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32067 echo $ECHO_N "(cached) $ECHO_C" >&6
32068 else
32069 ac_check_lib_save_LIBS=$LIBS
32070 LIBS="-lSgm $LIBS"
32071 cat >conftest.$ac_ext <<_ACEOF
32072 /* confdefs.h. */
32073 _ACEOF
32074 cat confdefs.h >>conftest.$ac_ext
32075 cat >>conftest.$ac_ext <<_ACEOF
32076 /* end confdefs.h. */
32077
32078 /* Override any GCC internal prototype to avoid an error.
32079 Use char because int might match the return type of a GCC
32080 builtin and then its argument prototype would still apply. */
32081 #ifdef __cplusplus
32082 extern "C"
32083 #endif
32084 char SgCreateList ();
32085 int
32086 main ()
32087 {
32088 return SgCreateList ();
32089 ;
32090 return 0;
32091 }
32092 _ACEOF
32093 rm -f conftest.$ac_objext conftest$ac_exeext
32094 if { (ac_try="$ac_link"
32095 case "(($ac_try" in
32096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32097 *) ac_try_echo=$ac_try;;
32098 esac
32099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32100 (eval "$ac_link") 2>conftest.er1
32101 ac_status=$?
32102 grep -v '^ *+' conftest.er1 >conftest.err
32103 rm -f conftest.er1
32104 cat conftest.err >&5
32105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32106 (exit $ac_status); } && {
32107 test -z "$ac_c_werror_flag" ||
32108 test ! -s conftest.err
32109 } && test -s conftest$ac_exeext &&
32110 $as_test_x conftest$ac_exeext; then
32111 ac_cv_lib_Sgm_SgCreateList=yes
32112 else
32113 echo "$as_me: failed program was:" >&5
32114 sed 's/^/| /' conftest.$ac_ext >&5
32115
32116 ac_cv_lib_Sgm_SgCreateList=no
32117 fi
32118
32119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32120 conftest$ac_exeext conftest.$ac_ext
32121 LIBS=$ac_check_lib_save_LIBS
32122 fi
32123 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32124 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32125 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32126 libsgm_link=" -lSgm"
32127 fi
32128
32129
32130 save_CFLAGS=$CFLAGS
32131 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32132
32133 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32134 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32135 if test "${wx_cv_lib_motif2+set}" = set; then
32136 echo $ECHO_N "(cached) $ECHO_C" >&6
32137 else
32138 cat >conftest.$ac_ext <<_ACEOF
32139 /* confdefs.h. */
32140 _ACEOF
32141 cat confdefs.h >>conftest.$ac_ext
32142 cat >>conftest.$ac_ext <<_ACEOF
32143 /* end confdefs.h. */
32144
32145 #include <Xm/Xm.h>
32146
32147 int
32148 main ()
32149 {
32150
32151 #if XmVersion < 2000
32152 Not Motif 2
32153 #endif
32154
32155 ;
32156 return 0;
32157 }
32158 _ACEOF
32159 rm -f conftest.$ac_objext
32160 if { (ac_try="$ac_compile"
32161 case "(($ac_try" in
32162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32163 *) ac_try_echo=$ac_try;;
32164 esac
32165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32166 (eval "$ac_compile") 2>conftest.er1
32167 ac_status=$?
32168 grep -v '^ *+' conftest.er1 >conftest.err
32169 rm -f conftest.er1
32170 cat conftest.err >&5
32171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32172 (exit $ac_status); } && {
32173 test -z "$ac_c_werror_flag" ||
32174 test ! -s conftest.err
32175 } && test -s conftest.$ac_objext; then
32176 wx_cv_lib_motif2="yes"
32177 else
32178 echo "$as_me: failed program was:" >&5
32179 sed 's/^/| /' conftest.$ac_ext >&5
32180
32181 wx_cv_lib_motif2="no"
32182 fi
32183
32184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32185 fi
32186 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32187 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32188 if test "$wx_cv_lib_motif2" = "yes"; then
32189 cat >>confdefs.h <<\_ACEOF
32190 #define __WXMOTIF20__ 1
32191 _ACEOF
32192
32193 else
32194 cat >>confdefs.h <<\_ACEOF
32195 #define __WXMOTIF20__ 0
32196 _ACEOF
32197
32198 fi
32199
32200 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32201 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32202 if test "${wx_cv_lib_lesstif+set}" = set; then
32203 echo $ECHO_N "(cached) $ECHO_C" >&6
32204 else
32205 cat >conftest.$ac_ext <<_ACEOF
32206 /* confdefs.h. */
32207 _ACEOF
32208 cat confdefs.h >>conftest.$ac_ext
32209 cat >>conftest.$ac_ext <<_ACEOF
32210 /* end confdefs.h. */
32211
32212 #include <Xm/Xm.h>
32213
32214 int
32215 main ()
32216 {
32217
32218 #if !defined(LesstifVersion) || LesstifVersion <= 0
32219 Not Lesstif
32220 #endif
32221
32222 ;
32223 return 0;
32224 }
32225 _ACEOF
32226 rm -f conftest.$ac_objext
32227 if { (ac_try="$ac_compile"
32228 case "(($ac_try" in
32229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32230 *) ac_try_echo=$ac_try;;
32231 esac
32232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32233 (eval "$ac_compile") 2>conftest.er1
32234 ac_status=$?
32235 grep -v '^ *+' conftest.er1 >conftest.err
32236 rm -f conftest.er1
32237 cat conftest.err >&5
32238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32239 (exit $ac_status); } && {
32240 test -z "$ac_c_werror_flag" ||
32241 test ! -s conftest.err
32242 } && test -s conftest.$ac_objext; then
32243 wx_cv_lib_lesstif="yes"
32244 else
32245 echo "$as_me: failed program was:" >&5
32246 sed 's/^/| /' conftest.$ac_ext >&5
32247
32248 wx_cv_lib_lesstif="no"
32249 fi
32250
32251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32252
32253 fi
32254 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32255 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32256 if test "$wx_cv_lib_lesstif" = "yes"; then
32257 cat >>confdefs.h <<\_ACEOF
32258 #define __WXLESSTIF__ 1
32259 _ACEOF
32260
32261 else
32262 cat >>confdefs.h <<\_ACEOF
32263 #define __WXLESSTIF__ 0
32264 _ACEOF
32265
32266 fi
32267
32268 CFLAGS=$save_CFLAGS
32269
32270 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32271 TOOLKIT=MOTIF
32272 GUIDIST=MOTIF_DIST
32273 fi
32274
32275 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32276 if test "$wxUSE_LIBXPM" = "sys"; then
32277 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32278 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32279
32280 ac_find_libraries=
32281 for ac_dir in $SEARCH_LIB;
32282 do
32283 for ac_extension in a so sl dylib dll.a; do
32284 if test -f "$ac_dir/libXpm.$ac_extension"; then
32285 ac_find_libraries=$ac_dir
32286 break 2
32287 fi
32288 done
32289 done
32290
32291 if test "$ac_find_libraries" != "" ; then
32292
32293 if test "$ac_find_libraries" = "default location"; then
32294 ac_path_to_link=""
32295 else
32296 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32297 result=$?
32298 if test $result = 0; then
32299 ac_path_to_link=""
32300 else
32301 ac_path_to_link=" -L$ac_find_libraries"
32302 fi
32303 fi
32304
32305 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32306 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32307 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32308
32309 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32310 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32311 if test "${wx_cv_x11_xpm_h+set}" = set; then
32312 echo $ECHO_N "(cached) $ECHO_C" >&6
32313 else
32314
32315 save_CFLAGS=$CFLAGS
32316 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32317
32318 cat >conftest.$ac_ext <<_ACEOF
32319 /* confdefs.h. */
32320 _ACEOF
32321 cat confdefs.h >>conftest.$ac_ext
32322 cat >>conftest.$ac_ext <<_ACEOF
32323 /* end confdefs.h. */
32324
32325 #include <X11/xpm.h>
32326
32327 int
32328 main ()
32329 {
32330
32331 int version;
32332 version = XpmLibraryVersion();
32333
32334 ;
32335 return 0;
32336 }
32337 _ACEOF
32338 rm -f conftest.$ac_objext
32339 if { (ac_try="$ac_compile"
32340 case "(($ac_try" in
32341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32342 *) ac_try_echo=$ac_try;;
32343 esac
32344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32345 (eval "$ac_compile") 2>conftest.er1
32346 ac_status=$?
32347 grep -v '^ *+' conftest.er1 >conftest.err
32348 rm -f conftest.er1
32349 cat conftest.err >&5
32350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32351 (exit $ac_status); } && {
32352 test -z "$ac_c_werror_flag" ||
32353 test ! -s conftest.err
32354 } && test -s conftest.$ac_objext; then
32355 wx_cv_x11_xpm_h=yes
32356 else
32357 echo "$as_me: failed program was:" >&5
32358 sed 's/^/| /' conftest.$ac_ext >&5
32359
32360 wx_cv_x11_xpm_h=no
32361
32362 fi
32363
32364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32365
32366 CFLAGS=$save_CFLAGS
32367
32368
32369 fi
32370 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32371 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32372
32373 if test $wx_cv_x11_xpm_h = "yes"; then
32374 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32375 cat >>confdefs.h <<\_ACEOF
32376 #define wxHAVE_LIB_XPM 1
32377 _ACEOF
32378
32379 else
32380 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32381 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32382 fi
32383 fi
32384
32385 fi
32386
32387 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32388 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32389 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32390 echo $ECHO_N "(cached) $ECHO_C" >&6
32391 else
32392 ac_check_lib_save_LIBS=$LIBS
32393 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32394 cat >conftest.$ac_ext <<_ACEOF
32395 /* confdefs.h. */
32396 _ACEOF
32397 cat confdefs.h >>conftest.$ac_ext
32398 cat >>conftest.$ac_ext <<_ACEOF
32399 /* end confdefs.h. */
32400
32401 /* Override any GCC internal prototype to avoid an error.
32402 Use char because int might match the return type of a GCC
32403 builtin and then its argument prototype would still apply. */
32404 #ifdef __cplusplus
32405 extern "C"
32406 #endif
32407 char XShapeQueryExtension ();
32408 int
32409 main ()
32410 {
32411 return XShapeQueryExtension ();
32412 ;
32413 return 0;
32414 }
32415 _ACEOF
32416 rm -f conftest.$ac_objext conftest$ac_exeext
32417 if { (ac_try="$ac_link"
32418 case "(($ac_try" in
32419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32420 *) ac_try_echo=$ac_try;;
32421 esac
32422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32423 (eval "$ac_link") 2>conftest.er1
32424 ac_status=$?
32425 grep -v '^ *+' conftest.er1 >conftest.err
32426 rm -f conftest.er1
32427 cat conftest.err >&5
32428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32429 (exit $ac_status); } && {
32430 test -z "$ac_c_werror_flag" ||
32431 test ! -s conftest.err
32432 } && test -s conftest$ac_exeext &&
32433 $as_test_x conftest$ac_exeext; then
32434 ac_cv_lib_Xext_XShapeQueryExtension=yes
32435 else
32436 echo "$as_me: failed program was:" >&5
32437 sed 's/^/| /' conftest.$ac_ext >&5
32438
32439 ac_cv_lib_Xext_XShapeQueryExtension=no
32440 fi
32441
32442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32443 conftest$ac_exeext conftest.$ac_ext
32444 LIBS=$ac_check_lib_save_LIBS
32445 fi
32446 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32447 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32448 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32449
32450 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32451 wxHAVE_XEXT_LIB=1
32452
32453 fi
32454
32455
32456 if test "$wxHAVE_XEXT_LIB" = 1; then
32457 save_CFLAGS="$CFLAGS"
32458 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32459
32460 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32461 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32462 cat >conftest.$ac_ext <<_ACEOF
32463 /* confdefs.h. */
32464 _ACEOF
32465 cat confdefs.h >>conftest.$ac_ext
32466 cat >>conftest.$ac_ext <<_ACEOF
32467 /* end confdefs.h. */
32468
32469 #include <X11/Xlib.h>
32470 #include <X11/extensions/shape.h>
32471
32472 int
32473 main ()
32474 {
32475
32476 int dummy1, dummy2;
32477 XShapeQueryExtension((Display*)NULL,
32478 (int*)NULL, (int*)NULL);
32479
32480 ;
32481 return 0;
32482 }
32483 _ACEOF
32484 rm -f conftest.$ac_objext
32485 if { (ac_try="$ac_compile"
32486 case "(($ac_try" in
32487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32488 *) ac_try_echo=$ac_try;;
32489 esac
32490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32491 (eval "$ac_compile") 2>conftest.er1
32492 ac_status=$?
32493 grep -v '^ *+' conftest.er1 >conftest.err
32494 rm -f conftest.er1
32495 cat conftest.err >&5
32496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32497 (exit $ac_status); } && {
32498 test -z "$ac_c_werror_flag" ||
32499 test ! -s conftest.err
32500 } && test -s conftest.$ac_objext; then
32501
32502 cat >>confdefs.h <<\_ACEOF
32503 #define HAVE_XSHAPE 1
32504 _ACEOF
32505
32506 { echo "$as_me:$LINENO: result: found" >&5
32507 echo "${ECHO_T}found" >&6; }
32508
32509 else
32510 echo "$as_me: failed program was:" >&5
32511 sed 's/^/| /' conftest.$ac_ext >&5
32512
32513
32514 { echo "$as_me:$LINENO: result: not found" >&5
32515 echo "${ECHO_T}not found" >&6; }
32516
32517 fi
32518
32519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32520 CFLAGS="$save_CFLAGS"
32521
32522 fi
32523 fi
32524
32525 if test "$wxUSE_OSX_CARBON" = 1; then
32526 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32527 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32528 if test "$GCC" = yes; then
32529 { echo "$as_me:$LINENO: result: gcc" >&5
32530 echo "${ECHO_T}gcc" >&6; }
32531 CPPFLAGS_PASCAL="-fpascal-strings"
32532 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32533 { echo "$as_me:$LINENO: result: xlc" >&5
32534 echo "${ECHO_T}xlc" >&6; }
32535 CPPFLAGS_PASCAL="-qmacpstr"
32536 else
32537 { echo "$as_me:$LINENO: result: none" >&5
32538 echo "${ECHO_T}none" >&6; }
32539 fi
32540
32541 if test "x$wxUSE_UNIX" = "xyes"; then
32542 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32543 else
32544 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32545 fi
32546
32547 TOOLKIT=OSX_CARBON
32548 GUIDIST=OSX_CARBON_DIST
32549 WXBASEPORT="_carbon"
32550 fi
32551
32552 if test "$wxUSE_OSX_COCOA" = 1; then
32553 TOOLKIT=OSX_COCOA
32554 GUIDIST=OSX_COCOA_DIST
32555 fi
32556
32557 if test "$wxUSE_COCOA" = 1; then
32558 TOOLKIT=COCOA
32559 GUIDIST=COCOA_DIST
32560 fi
32561
32562 if test "$wxUSE_PM" = 1; then
32563 TOOLKIT=PM
32564 GUIDIST=PM_DIST
32565 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32566 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32567 if test "${wx_cv_spbcdata+set}" = set; then
32568 echo $ECHO_N "(cached) $ECHO_C" >&6
32569 else
32570
32571 cat >conftest.$ac_ext <<_ACEOF
32572 /* confdefs.h. */
32573 _ACEOF
32574 cat confdefs.h >>conftest.$ac_ext
32575 cat >>conftest.$ac_ext <<_ACEOF
32576 /* end confdefs.h. */
32577
32578 #define INCL_PM
32579 #include <os2.h>
32580
32581 int
32582 main ()
32583 {
32584
32585 SPBCDATA test;
32586
32587 ;
32588 return 0;
32589 }
32590 _ACEOF
32591 rm -f conftest.$ac_objext
32592 if { (ac_try="$ac_compile"
32593 case "(($ac_try" in
32594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32595 *) ac_try_echo=$ac_try;;
32596 esac
32597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32598 (eval "$ac_compile") 2>conftest.er1
32599 ac_status=$?
32600 grep -v '^ *+' conftest.er1 >conftest.err
32601 rm -f conftest.er1
32602 cat conftest.err >&5
32603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32604 (exit $ac_status); } && {
32605 test -z "$ac_c_werror_flag" ||
32606 test ! -s conftest.err
32607 } && test -s conftest.$ac_objext; then
32608 wx_cv_spbcdata=yes
32609 else
32610 echo "$as_me: failed program was:" >&5
32611 sed 's/^/| /' conftest.$ac_ext >&5
32612
32613 wx_cv_spbcdata=no
32614
32615 fi
32616
32617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32618
32619
32620 fi
32621 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32622 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32623
32624 if test $wx_cv_spbcdata = "yes"; then
32625 cat >>confdefs.h <<\_ACEOF
32626 #define HAVE_SPBCDATA 1
32627 _ACEOF
32628
32629 fi
32630 fi
32631
32632 if test "$TOOLKIT" = "PM" ; then
32633 TOOLKIT_DIR="os2"
32634 else
32635 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32636 fi
32637
32638 if test "$wxUSE_UNIVERSAL" = "yes"; then
32639 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32640 WIDGET_SET=univ
32641 fi
32642
32643 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32644 DISTDIR="wx\$(TOOLKIT)"
32645 else
32646 USE_GUI=0
32647
32648 TOOLKIT_DIR="base"
32649
32650 if test "$USE_WIN32" = 1 ; then
32651 TOOLKIT="MSW"
32652 fi
32653
32654 GUIDIST="BASE_DIST"
32655 DISTDIR="wxBase"
32656 fi
32657
32658
32659
32660 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32661 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32662 wxUSE_UNICODE_UTF8=yes
32663 elif test "$USE_OS2" = 1 ; then
32664 wxUSE_UNICODE_UTF8=yes
32665 else
32666 wxUSE_UNICODE_UTF8=no
32667 fi
32668 fi
32669
32670
32671 if test "$wxUSE_GUI" = "yes"; then
32672 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32673
32674 for ac_header in X11/Xlib.h
32675 do
32676 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32677 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32678 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32679 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32680 echo $ECHO_N "(cached) $ECHO_C" >&6
32681 else
32682 cat >conftest.$ac_ext <<_ACEOF
32683 /* confdefs.h. */
32684 _ACEOF
32685 cat confdefs.h >>conftest.$ac_ext
32686 cat >>conftest.$ac_ext <<_ACEOF
32687 /* end confdefs.h. */
32688
32689
32690 #include <$ac_header>
32691 _ACEOF
32692 rm -f conftest.$ac_objext
32693 if { (ac_try="$ac_compile"
32694 case "(($ac_try" in
32695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32696 *) ac_try_echo=$ac_try;;
32697 esac
32698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32699 (eval "$ac_compile") 2>conftest.er1
32700 ac_status=$?
32701 grep -v '^ *+' conftest.er1 >conftest.err
32702 rm -f conftest.er1
32703 cat conftest.err >&5
32704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32705 (exit $ac_status); } && {
32706 test -z "$ac_c_werror_flag" ||
32707 test ! -s conftest.err
32708 } && test -s conftest.$ac_objext; then
32709 eval "$as_ac_Header=yes"
32710 else
32711 echo "$as_me: failed program was:" >&5
32712 sed 's/^/| /' conftest.$ac_ext >&5
32713
32714 eval "$as_ac_Header=no"
32715 fi
32716
32717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32718 fi
32719 ac_res=`eval echo '${'$as_ac_Header'}'`
32720 { echo "$as_me:$LINENO: result: $ac_res" >&5
32721 echo "${ECHO_T}$ac_res" >&6; }
32722 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32723 cat >>confdefs.h <<_ACEOF
32724 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32725 _ACEOF
32726
32727 fi
32728
32729 done
32730
32731
32732 for ac_header in X11/XKBlib.h
32733 do
32734 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32735 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32736 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32737 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32738 echo $ECHO_N "(cached) $ECHO_C" >&6
32739 else
32740 cat >conftest.$ac_ext <<_ACEOF
32741 /* confdefs.h. */
32742 _ACEOF
32743 cat confdefs.h >>conftest.$ac_ext
32744 cat >>conftest.$ac_ext <<_ACEOF
32745 /* end confdefs.h. */
32746
32747 #if HAVE_X11_XLIB_H
32748 #include <X11/Xlib.h>
32749 #endif
32750
32751
32752 #include <$ac_header>
32753 _ACEOF
32754 rm -f conftest.$ac_objext
32755 if { (ac_try="$ac_compile"
32756 case "(($ac_try" in
32757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32758 *) ac_try_echo=$ac_try;;
32759 esac
32760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32761 (eval "$ac_compile") 2>conftest.er1
32762 ac_status=$?
32763 grep -v '^ *+' conftest.er1 >conftest.err
32764 rm -f conftest.er1
32765 cat conftest.err >&5
32766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32767 (exit $ac_status); } && {
32768 test -z "$ac_c_werror_flag" ||
32769 test ! -s conftest.err
32770 } && test -s conftest.$ac_objext; then
32771 eval "$as_ac_Header=yes"
32772 else
32773 echo "$as_me: failed program was:" >&5
32774 sed 's/^/| /' conftest.$ac_ext >&5
32775
32776 eval "$as_ac_Header=no"
32777 fi
32778
32779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32780 fi
32781 ac_res=`eval echo '${'$as_ac_Header'}'`
32782 { echo "$as_me:$LINENO: result: $ac_res" >&5
32783 echo "${ECHO_T}$ac_res" >&6; }
32784 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32785 cat >>confdefs.h <<_ACEOF
32786 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32787 _ACEOF
32788
32789 fi
32790
32791 done
32792
32793 fi
32794 fi
32795
32796
32797
32798 if test "$wxUSE_DISPLAY" = "yes"; then
32799 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32800 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32801 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32802
32803 ac_find_libraries=
32804 for ac_dir in $SEARCH_LIB;
32805 do
32806 for ac_extension in a so sl dylib dll.a; do
32807 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32808 ac_find_libraries=$ac_dir
32809 break 2
32810 fi
32811 done
32812 done
32813
32814 if test "$ac_find_libraries" != "" ; then
32815
32816 if test "$ac_find_libraries" = "default location"; then
32817 ac_path_to_link=""
32818 else
32819 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32820 result=$?
32821 if test $result = 0; then
32822 ac_path_to_link=""
32823 else
32824 ac_path_to_link=" -L$ac_find_libraries"
32825 fi
32826 fi
32827
32828 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32829 LDFLAGS="$LDFLAGS $ac_path_to_link"
32830 fi
32831 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32832 { echo "$as_me:$LINENO: result: yes" >&5
32833 echo "${ECHO_T}yes" >&6; }
32834
32835 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32836 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32837
32838 ac_find_libraries=
32839 for ac_dir in $SEARCH_LIB;
32840 do
32841 for ac_extension in a so sl dylib dll.a; do
32842 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32843 ac_find_libraries=$ac_dir
32844 break 2
32845 fi
32846 done
32847 done
32848
32849 if test "$ac_find_libraries" != "" ; then
32850 { echo "$as_me:$LINENO: result: yes" >&5
32851 echo "${ECHO_T}yes" >&6; }
32852
32853 for ac_header in X11/extensions/xf86vmode.h
32854 do
32855 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32856 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32857 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32858 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32859 echo $ECHO_N "(cached) $ECHO_C" >&6
32860 else
32861 cat >conftest.$ac_ext <<_ACEOF
32862 /* confdefs.h. */
32863 _ACEOF
32864 cat confdefs.h >>conftest.$ac_ext
32865 cat >>conftest.$ac_ext <<_ACEOF
32866 /* end confdefs.h. */
32867
32868 #if HAVE_X11_XLIB_H
32869 #include <X11/Xlib.h>
32870 #endif
32871
32872
32873 #include <$ac_header>
32874 _ACEOF
32875 rm -f conftest.$ac_objext
32876 if { (ac_try="$ac_compile"
32877 case "(($ac_try" in
32878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32879 *) ac_try_echo=$ac_try;;
32880 esac
32881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32882 (eval "$ac_compile") 2>conftest.er1
32883 ac_status=$?
32884 grep -v '^ *+' conftest.er1 >conftest.err
32885 rm -f conftest.er1
32886 cat conftest.err >&5
32887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32888 (exit $ac_status); } && {
32889 test -z "$ac_c_werror_flag" ||
32890 test ! -s conftest.err
32891 } && test -s conftest.$ac_objext; then
32892 eval "$as_ac_Header=yes"
32893 else
32894 echo "$as_me: failed program was:" >&5
32895 sed 's/^/| /' conftest.$ac_ext >&5
32896
32897 eval "$as_ac_Header=no"
32898 fi
32899
32900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32901 fi
32902 ac_res=`eval echo '${'$as_ac_Header'}'`
32903 { echo "$as_me:$LINENO: result: $ac_res" >&5
32904 echo "${ECHO_T}$ac_res" >&6; }
32905 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32906 cat >>confdefs.h <<_ACEOF
32907 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32908 _ACEOF
32909
32910 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32911
32912 fi
32913
32914 done
32915
32916 else
32917 { echo "$as_me:$LINENO: result: no" >&5
32918 echo "${ECHO_T}no" >&6; }
32919 fi
32920
32921 else
32922 { echo "$as_me:$LINENO: result: no" >&5
32923 echo "${ECHO_T}no" >&6; }
32924 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32925 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32926 wxUSE_DISPLAY="no"
32927 fi
32928 elif test "$wxUSE_MSW" = 1; then
32929 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32930 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32931 if test "${ac_cv_header_ddraw_h+set}" = set; then
32932 echo $ECHO_N "(cached) $ECHO_C" >&6
32933 else
32934 cat >conftest.$ac_ext <<_ACEOF
32935 /* confdefs.h. */
32936 _ACEOF
32937 cat confdefs.h >>conftest.$ac_ext
32938 cat >>conftest.$ac_ext <<_ACEOF
32939 /* end confdefs.h. */
32940 #include <windows.h>
32941
32942 #include <ddraw.h>
32943 _ACEOF
32944 rm -f conftest.$ac_objext
32945 if { (ac_try="$ac_compile"
32946 case "(($ac_try" in
32947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32948 *) ac_try_echo=$ac_try;;
32949 esac
32950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32951 (eval "$ac_compile") 2>conftest.er1
32952 ac_status=$?
32953 grep -v '^ *+' conftest.er1 >conftest.err
32954 rm -f conftest.er1
32955 cat conftest.err >&5
32956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32957 (exit $ac_status); } && {
32958 test -z "$ac_c_werror_flag" ||
32959 test ! -s conftest.err
32960 } && test -s conftest.$ac_objext; then
32961 ac_cv_header_ddraw_h=yes
32962 else
32963 echo "$as_me: failed program was:" >&5
32964 sed 's/^/| /' conftest.$ac_ext >&5
32965
32966 ac_cv_header_ddraw_h=no
32967 fi
32968
32969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32970 fi
32971 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32972 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32973
32974
32975 fi
32976 fi
32977
32978 if test "$wxUSE_DETECT_SM" = "yes"; then
32979 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32980 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32981 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32982
32983 ac_find_libraries=
32984 for ac_dir in $SEARCH_LIB;
32985 do
32986 for ac_extension in a so sl dylib dll.a; do
32987 if test -f "$ac_dir/libSM.$ac_extension"; then
32988 ac_find_libraries=$ac_dir
32989 break 2
32990 fi
32991 done
32992 done
32993
32994 if test "$ac_find_libraries" != "" ; then
32995
32996 if test "$ac_find_libraries" = "default location"; then
32997 ac_path_to_link=""
32998 else
32999 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33000 result=$?
33001 if test $result = 0; then
33002 ac_path_to_link=""
33003 else
33004 ac_path_to_link=" -L$ac_find_libraries"
33005 fi
33006 fi
33007
33008 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33009 LDFLAGS="$LDFLAGS $ac_path_to_link"
33010 fi
33011 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33012 { echo "$as_me:$LINENO: result: yes" >&5
33013 echo "${ECHO_T}yes" >&6; }
33014 else
33015 { echo "$as_me:$LINENO: result: no" >&5
33016 echo "${ECHO_T}no" >&6; }
33017 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33018 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33019 wxUSE_DETECT_SM="no"
33020 fi
33021 else
33022 wxUSE_DETECT_SM="no"
33023 fi
33024 fi
33025
33026
33027
33028 USE_OPENGL=0
33029 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33030
33031
33032 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33033 OPENGL_LIBS="-framework OpenGL -framework AGL"
33034 elif test "$wxUSE_MSW" = 1; then
33035 OPENGL_LIBS="-lopengl32 -lglu32"
33036 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33037
33038 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33039 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33040
33041 ac_find_includes=
33042 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33043 do
33044 if test -f "$ac_dir/GL/gl.h"; then
33045 ac_find_includes=$ac_dir
33046 break
33047 fi
33048 done
33049
33050 if test "$ac_find_includes" != "" ; then
33051 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33052 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33053
33054 if test "x$ac_find_includes" = "x/usr/include"; then
33055 ac_path_to_include=""
33056 else
33057 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33058 result=$?
33059 if test $result = 0; then
33060 ac_path_to_include=""
33061 else
33062 ac_path_to_include=" -I$ac_find_includes"
33063 fi
33064 fi
33065
33066 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33067 else
33068 { echo "$as_me:$LINENO: result: not found" >&5
33069 echo "${ECHO_T}not found" >&6; }
33070 fi
33071
33072 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33073 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33074 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33075 echo $ECHO_N "(cached) $ECHO_C" >&6
33076 else
33077 cat >conftest.$ac_ext <<_ACEOF
33078 /* confdefs.h. */
33079 _ACEOF
33080 cat confdefs.h >>conftest.$ac_ext
33081 cat >>conftest.$ac_ext <<_ACEOF
33082 /* end confdefs.h. */
33083
33084
33085 #include <GL/gl.h>
33086 _ACEOF
33087 rm -f conftest.$ac_objext
33088 if { (ac_try="$ac_compile"
33089 case "(($ac_try" in
33090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33091 *) ac_try_echo=$ac_try;;
33092 esac
33093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33094 (eval "$ac_compile") 2>conftest.er1
33095 ac_status=$?
33096 grep -v '^ *+' conftest.er1 >conftest.err
33097 rm -f conftest.er1
33098 cat conftest.err >&5
33099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33100 (exit $ac_status); } && {
33101 test -z "$ac_c_werror_flag" ||
33102 test ! -s conftest.err
33103 } && test -s conftest.$ac_objext; then
33104 ac_cv_header_GL_gl_h=yes
33105 else
33106 echo "$as_me: failed program was:" >&5
33107 sed 's/^/| /' conftest.$ac_ext >&5
33108
33109 ac_cv_header_GL_gl_h=no
33110 fi
33111
33112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33113 fi
33114 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33115 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33116 if test $ac_cv_header_GL_gl_h = yes; then
33117
33118 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33119 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33120 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33121 echo $ECHO_N "(cached) $ECHO_C" >&6
33122 else
33123 cat >conftest.$ac_ext <<_ACEOF
33124 /* confdefs.h. */
33125 _ACEOF
33126 cat confdefs.h >>conftest.$ac_ext
33127 cat >>conftest.$ac_ext <<_ACEOF
33128 /* end confdefs.h. */
33129
33130
33131 #include <GL/glu.h>
33132 _ACEOF
33133 rm -f conftest.$ac_objext
33134 if { (ac_try="$ac_compile"
33135 case "(($ac_try" in
33136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33137 *) ac_try_echo=$ac_try;;
33138 esac
33139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33140 (eval "$ac_compile") 2>conftest.er1
33141 ac_status=$?
33142 grep -v '^ *+' conftest.er1 >conftest.err
33143 rm -f conftest.er1
33144 cat conftest.err >&5
33145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33146 (exit $ac_status); } && {
33147 test -z "$ac_c_werror_flag" ||
33148 test ! -s conftest.err
33149 } && test -s conftest.$ac_objext; then
33150 ac_cv_header_GL_glu_h=yes
33151 else
33152 echo "$as_me: failed program was:" >&5
33153 sed 's/^/| /' conftest.$ac_ext >&5
33154
33155 ac_cv_header_GL_glu_h=no
33156 fi
33157
33158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33159 fi
33160 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33161 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33162 if test $ac_cv_header_GL_glu_h = yes; then
33163
33164 found_gl=0
33165
33166 { echo "$as_me:$LINENO: checking for -lGL" >&5
33167 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33168
33169 ac_find_libraries=
33170 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33171 do
33172 for ac_extension in a so sl dylib dll.a; do
33173 if test -f "$ac_dir/libGL.$ac_extension"; then
33174 ac_find_libraries=$ac_dir
33175 break 2
33176 fi
33177 done
33178 done
33179
33180 if test "$ac_find_libraries" != "" ; then
33181 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33182 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33183
33184
33185 if test "$ac_find_libraries" = "default location"; then
33186 ac_path_to_link=""
33187 else
33188 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33189 result=$?
33190 if test $result = 0; then
33191 ac_path_to_link=""
33192 else
33193 ac_path_to_link=" -L$ac_find_libraries"
33194 fi
33195 fi
33196
33197 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33198 LDFLAGS_GL="$ac_path_to_link"
33199 fi
33200
33201 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33202 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33203
33204 ac_find_libraries=
33205 for ac_dir in $SEARCH_LIB;
33206 do
33207 for ac_extension in a so sl dylib dll.a; do
33208 if test -f "$ac_dir/libGLU.$ac_extension"; then
33209 ac_find_libraries=$ac_dir
33210 break 2
33211 fi
33212 done
33213 done
33214
33215 if test "$ac_find_libraries" != "" ; then
33216
33217 if test "$ac_find_libraries" = "default location"; then
33218 ac_path_to_link=""
33219 else
33220 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33221 result=$?
33222 if test $result = 0; then
33223 ac_path_to_link=""
33224 else
33225 ac_path_to_link=" -L$ac_find_libraries"
33226 fi
33227 fi
33228
33229 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33230 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33231 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33232 fi
33233
33234 found_gl=1
33235 OPENGL_LIBS="-lGL -lGLU"
33236 { echo "$as_me:$LINENO: result: yes" >&5
33237 echo "${ECHO_T}yes" >&6; }
33238 else
33239 { echo "$as_me:$LINENO: result: no" >&5
33240 echo "${ECHO_T}no" >&6; }
33241 fi
33242 else
33243 { echo "$as_me:$LINENO: result: no" >&5
33244 echo "${ECHO_T}no" >&6; }
33245 fi
33246
33247 if test "$found_gl" != 1; then
33248 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33249 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33250
33251 ac_find_libraries=
33252 for ac_dir in $SEARCH_LIB;
33253 do
33254 for ac_extension in a so sl dylib dll.a; do
33255 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33256 ac_find_libraries=$ac_dir
33257 break 2
33258 fi
33259 done
33260 done
33261
33262 if test "$ac_find_libraries" != "" ; then
33263
33264 if test "$ac_find_libraries" = "default location"; then
33265 ac_path_to_link=""
33266 else
33267 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33268 result=$?
33269 if test $result = 0; then
33270 ac_path_to_link=""
33271 else
33272 ac_path_to_link=" -L$ac_find_libraries"
33273 fi
33274 fi
33275
33276 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33277 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33278 { echo "$as_me:$LINENO: result: yes" >&5
33279 echo "${ECHO_T}yes" >&6; }
33280 else
33281 { echo "$as_me:$LINENO: result: no" >&5
33282 echo "${ECHO_T}no" >&6; }
33283 fi
33284 fi
33285
33286 fi
33287
33288
33289
33290 fi
33291
33292
33293
33294 if test "x$OPENGL_LIBS" = "x"; then
33295 if test "$wxUSE_OPENGL" = "yes"; then
33296 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33297 echo "$as_me: error: OpenGL libraries not available" >&2;}
33298 { (exit 1); exit 1; }; }
33299 else
33300 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33301 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33302 wxUSE_OPENGL=no
33303 USE_OPENGL=0
33304 fi
33305 else
33306 wxUSE_OPENGL=yes
33307 fi
33308 else
33309 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33310 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33311 wxUSE_OPENGL="no"
33312 fi
33313
33314 if test "$wxUSE_OPENGL" = "yes"; then
33315 USE_OPENGL=1
33316 cat >>confdefs.h <<\_ACEOF
33317 #define wxUSE_OPENGL 1
33318 _ACEOF
33319
33320 cat >>confdefs.h <<\_ACEOF
33321 #define wxUSE_GLCANVAS 1
33322 _ACEOF
33323
33324 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33325 fi
33326 fi
33327
33328
33329 if test -n "$TOOLKIT" ; then
33330 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33331 fi
33332
33333
33334
33335 if test "$wxUSE_SHARED" = "yes"; then
33336 case "${host}" in
33337 *-pc-msdosdjgpp )
33338 wxUSE_SHARED=no
33339 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33340 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33341 ;;
33342 esac
33343 fi
33344
33345 if test "$wxUSE_SHARED" = "yes"; then
33346
33347
33348 case "${host}" in
33349 *-*-cygwin* | *-*-mingw* )
33350 wx_cv_version_script=no
33351 ;;
33352
33353 *)
33354 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33355 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33356 if test "${wx_cv_version_script+set}" = set; then
33357 echo $ECHO_N "(cached) $ECHO_C" >&6
33358 else
33359
33360 echo "VER_1 { *; };" >conftest.sym
33361 echo "int main() { return 0; }" >conftest.cpp
33362
33363 if { ac_try='
33364 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33365 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33367 (eval $ac_try) 2>&5
33368 ac_status=$?
33369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33370 (exit $ac_status); }; } ; then
33371 if test -s conftest.stderr ; then
33372 wx_cv_version_script=no
33373 else
33374 wx_cv_version_script=yes
33375 fi
33376 else
33377 wx_cv_version_script=no
33378 fi
33379
33380 if test $wx_cv_version_script = yes
33381 then
33382 echo "struct B { virtual ~B() { } }; \
33383 struct D : public B { }; \
33384 void F() { D d; }" > conftest.cpp
33385
33386 if { ac_try='
33387 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33388 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33390 (eval $ac_try) 2>&5
33391 ac_status=$?
33392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33393 (exit $ac_status); }; } &&
33394 { ac_try='
33395 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33396 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33398 (eval $ac_try) 2>&5
33399 ac_status=$?
33400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33401 (exit $ac_status); }; }
33402 then
33403 if { ac_try='
33404 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33405 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33407 (eval $ac_try) 2>&5
33408 ac_status=$?
33409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33410 (exit $ac_status); }; }
33411 then
33412 wx_cv_version_script=yes
33413 else
33414 wx_cv_version_script=no
33415 fi
33416 fi
33417 fi
33418
33419 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33420 rm -f conftest1.output conftest2.output conftest3.output
33421
33422 fi
33423 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33424 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33425
33426 if test $wx_cv_version_script = yes ; then
33427 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33428 fi
33429 ;;
33430 esac
33431
33432
33433 if test "$wxUSE_VISIBILITY" != "no"; then
33434
33435
33436 if test -n "$GCC"; then
33437 CFLAGS_VISIBILITY="-fvisibility=hidden"
33438 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33439 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33440 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33441 if test "${wx_cv_cc_visibility+set}" = set; then
33442 echo $ECHO_N "(cached) $ECHO_C" >&6
33443 else
33444
33445 wx_save_CXXFLAGS="$CXXFLAGS"
33446 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33447 ac_ext=cpp
33448 ac_cpp='$CXXCPP $CPPFLAGS'
33449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33452
33453 cat >conftest.$ac_ext <<_ACEOF
33454 /* confdefs.h. */
33455 _ACEOF
33456 cat confdefs.h >>conftest.$ac_ext
33457 cat >>conftest.$ac_ext <<_ACEOF
33458 /* end confdefs.h. */
33459
33460 /* we need gcc >= 4.0, older versions with visibility support
33461 didn't have class visibility: */
33462 #if defined(__GNUC__) && __GNUC__ < 4
33463 error this gcc is too old;
33464 #endif
33465
33466 /* visibility only makes sense for ELF shared libs: */
33467 #if !defined(__ELF__) && !defined(__APPLE__)
33468 error this platform has no visibility;
33469 #endif
33470
33471 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33472 extern __attribute__((__visibility__("default"))) int exportedvar;
33473 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33474 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33475 class __attribute__((__visibility__("default"))) Foo {
33476 Foo() {}
33477 };
33478
33479 int
33480 main ()
33481 {
33482
33483 ;
33484 return 0;
33485 }
33486 _ACEOF
33487 rm -f conftest.$ac_objext
33488 if { (ac_try="$ac_compile"
33489 case "(($ac_try" in
33490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33491 *) ac_try_echo=$ac_try;;
33492 esac
33493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33494 (eval "$ac_compile") 2>conftest.er1
33495 ac_status=$?
33496 grep -v '^ *+' conftest.er1 >conftest.err
33497 rm -f conftest.er1
33498 cat conftest.err >&5
33499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33500 (exit $ac_status); } && {
33501 test -z "$ac_cxx_werror_flag" ||
33502 test ! -s conftest.err
33503 } && test -s conftest.$ac_objext; then
33504 wx_cv_cc_visibility=yes
33505 else
33506 echo "$as_me: failed program was:" >&5
33507 sed 's/^/| /' conftest.$ac_ext >&5
33508
33509 wx_cv_cc_visibility=no
33510 fi
33511
33512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33513 ac_ext=c
33514 ac_cpp='$CPP $CPPFLAGS'
33515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33518
33519 CXXFLAGS="$wx_save_CXXFLAGS"
33520 fi
33521
33522 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33523 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33524 if test $wx_cv_cc_visibility = yes; then
33525 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33526 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33527 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33528 echo $ECHO_N "(cached) $ECHO_C" >&6
33529 else
33530
33531 wx_save_CXXFLAGS="$CXXFLAGS"
33532 wx_save_LDFLAGS="$LDFLAGS"
33533 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33534 LDFLAGS="$LDFLAGS -shared -fPIC"
33535 ac_ext=cpp
33536 ac_cpp='$CXXCPP $CPPFLAGS'
33537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33540
33541 cat >conftest.$ac_ext <<_ACEOF
33542 /* confdefs.h. */
33543 _ACEOF
33544 cat confdefs.h >>conftest.$ac_ext
33545 cat >>conftest.$ac_ext <<_ACEOF
33546 /* end confdefs.h. */
33547
33548 #include <string>
33549
33550 int
33551 main ()
33552 {
33553
33554 std::string s("hello");
33555 return s.length();
33556
33557 ;
33558 return 0;
33559 }
33560 _ACEOF
33561 rm -f conftest.$ac_objext conftest$ac_exeext
33562 if { (ac_try="$ac_link"
33563 case "(($ac_try" in
33564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33565 *) ac_try_echo=$ac_try;;
33566 esac
33567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33568 (eval "$ac_link") 2>conftest.er1
33569 ac_status=$?
33570 grep -v '^ *+' conftest.er1 >conftest.err
33571 rm -f conftest.er1
33572 cat conftest.err >&5
33573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33574 (exit $ac_status); } && {
33575 test -z "$ac_cxx_werror_flag" ||
33576 test ! -s conftest.err
33577 } && test -s conftest$ac_exeext &&
33578 $as_test_x conftest$ac_exeext; then
33579 wx_cv_cc_broken_libstdcxx_visibility=no
33580 else
33581 echo "$as_me: failed program was:" >&5
33582 sed 's/^/| /' conftest.$ac_ext >&5
33583
33584 wx_cv_cc_broken_libstdcxx_visibility=yes
33585 fi
33586
33587 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33588 conftest$ac_exeext conftest.$ac_ext
33589 ac_ext=c
33590 ac_cpp='$CPP $CPPFLAGS'
33591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33594
33595 CXXFLAGS="$wx_save_CXXFLAGS"
33596 LDFLAGS="$wx_save_LDFLAGS"
33597 fi
33598
33599 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33600 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33601
33602 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33603 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33604 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33605 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33606 echo $ECHO_N "(cached) $ECHO_C" >&6
33607 else
33608
33609 ac_ext=cpp
33610 ac_cpp='$CXXCPP $CPPFLAGS'
33611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33614
33615 cat >conftest.$ac_ext <<_ACEOF
33616 /* confdefs.h. */
33617 _ACEOF
33618 cat confdefs.h >>conftest.$ac_ext
33619 cat >>conftest.$ac_ext <<_ACEOF
33620 /* end confdefs.h. */
33621
33622 #pragma GCC visibility push(default)
33623 #include <string>
33624 #pragma GCC visibility pop
33625
33626 int
33627 main ()
33628 {
33629
33630 std::string s("hello");
33631 return s.length();
33632
33633 ;
33634 return 0;
33635 }
33636 _ACEOF
33637 rm -f conftest.$ac_objext conftest$ac_exeext
33638 if { (ac_try="$ac_link"
33639 case "(($ac_try" in
33640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33641 *) ac_try_echo=$ac_try;;
33642 esac
33643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33644 (eval "$ac_link") 2>conftest.er1
33645 ac_status=$?
33646 grep -v '^ *+' conftest.er1 >conftest.err
33647 rm -f conftest.er1
33648 cat conftest.err >&5
33649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33650 (exit $ac_status); } && {
33651 test -z "$ac_cxx_werror_flag" ||
33652 test ! -s conftest.err
33653 } && test -s conftest$ac_exeext &&
33654 $as_test_x conftest$ac_exeext; then
33655 wx_cv_cc_visibility_workaround=no
33656 else
33657 echo "$as_me: failed program was:" >&5
33658 sed 's/^/| /' conftest.$ac_ext >&5
33659
33660 wx_cv_cc_visibility_workaround=yes
33661 fi
33662
33663 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33664 conftest$ac_exeext conftest.$ac_ext
33665 ac_ext=c
33666 ac_cpp='$CPP $CPPFLAGS'
33667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33670
33671
33672 fi
33673
33674 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33675 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33676
33677 if test $wx_cv_cc_visibility_workaround = no; then
33678 wx_cv_cc_visibility=no
33679 fi
33680 fi
33681 fi
33682
33683 if test $wx_cv_cc_visibility = yes; then
33684 cat >>confdefs.h <<\_ACEOF
33685 #define HAVE_VISIBILITY 1
33686 _ACEOF
33687
33688 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33689 cat >>confdefs.h <<\_ACEOF
33690 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33691 _ACEOF
33692
33693 fi
33694 else
33695 CFLAGS_VISIBILITY=""
33696 CXXFLAGS_VISIBILITY=""
33697 fi
33698
33699
33700 fi
33701
33702 fi
33703
33704 if test "x$SUNCXX" = xyes; then
33705 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33706 WXCONFIG_RPATH="-R\$libdir"
33707 else
33708 case "${host}" in
33709 *-*-linux* | *-*-gnu* )
33710 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33711 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33712 ;;
33713
33714 *-*-solaris2* )
33715
33716 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33717
33718 saveLdflags="$LDFLAGS"
33719 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33720 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33721 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33722 cat >conftest.$ac_ext <<_ACEOF
33723 /* confdefs.h. */
33724 _ACEOF
33725 cat confdefs.h >>conftest.$ac_ext
33726 cat >>conftest.$ac_ext <<_ACEOF
33727 /* end confdefs.h. */
33728
33729 int
33730 main ()
33731 {
33732
33733 ;
33734 return 0;
33735 }
33736 _ACEOF
33737 rm -f conftest.$ac_objext conftest$ac_exeext
33738 if { (ac_try="$ac_link"
33739 case "(($ac_try" in
33740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33741 *) ac_try_echo=$ac_try;;
33742 esac
33743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33744 (eval "$ac_link") 2>conftest.er1
33745 ac_status=$?
33746 grep -v '^ *+' conftest.er1 >conftest.err
33747 rm -f conftest.er1
33748 cat conftest.err >&5
33749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33750 (exit $ac_status); } && {
33751 test -z "$ac_c_werror_flag" ||
33752 test ! -s conftest.err
33753 } && test -s conftest$ac_exeext &&
33754 $as_test_x conftest$ac_exeext; then
33755
33756 { echo "$as_me:$LINENO: result: yes" >&5
33757 echo "${ECHO_T}yes" >&6; }
33758 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33759 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33760
33761 else
33762 echo "$as_me: failed program was:" >&5
33763 sed 's/^/| /' conftest.$ac_ext >&5
33764
33765
33766 { echo "$as_me:$LINENO: result: no" >&5
33767 echo "${ECHO_T}no" >&6; }
33768 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33769 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33770 LDFLAGS="$saveLdflags -Wl,-R,/"
33771 cat >conftest.$ac_ext <<_ACEOF
33772 /* confdefs.h. */
33773 _ACEOF
33774 cat confdefs.h >>conftest.$ac_ext
33775 cat >>conftest.$ac_ext <<_ACEOF
33776 /* end confdefs.h. */
33777
33778 int
33779 main ()
33780 {
33781
33782 ;
33783 return 0;
33784 }
33785 _ACEOF
33786 rm -f conftest.$ac_objext conftest$ac_exeext
33787 if { (ac_try="$ac_link"
33788 case "(($ac_try" in
33789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33790 *) ac_try_echo=$ac_try;;
33791 esac
33792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33793 (eval "$ac_link") 2>conftest.er1
33794 ac_status=$?
33795 grep -v '^ *+' conftest.er1 >conftest.err
33796 rm -f conftest.er1
33797 cat conftest.err >&5
33798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33799 (exit $ac_status); } && {
33800 test -z "$ac_c_werror_flag" ||
33801 test ! -s conftest.err
33802 } && test -s conftest$ac_exeext &&
33803 $as_test_x conftest$ac_exeext; then
33804
33805 { echo "$as_me:$LINENO: result: yes" >&5
33806 echo "${ECHO_T}yes" >&6; }
33807 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33808 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33809
33810 else
33811 echo "$as_me: failed program was:" >&5
33812 sed 's/^/| /' conftest.$ac_ext >&5
33813
33814
33815 { echo "$as_me:$LINENO: result: no" >&5
33816 echo "${ECHO_T}no" >&6; }
33817
33818 fi
33819
33820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33821 conftest$ac_exeext conftest.$ac_ext
33822
33823 fi
33824
33825 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33826 conftest$ac_exeext conftest.$ac_ext
33827 LDFLAGS="$saveLdflags"
33828 ;;
33829
33830 *-*-darwin* )
33831 install_name_tool=`which install_name_tool`
33832 if test "$install_name_tool" -a -x "$install_name_tool"; then
33833 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33834 cat <<EOF >change-install-names
33835 #!/bin/sh
33836 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33837 inst_cmd="install_name_tool "
33838 for i in \${libnames} ; do
33839 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33840 done
33841 \${inst_cmd} \${3}
33842 EOF
33843 chmod +x change-install-names
33844 fi
33845
33846 HEADER_PAD_OPTION="-headerpad_max_install_names"
33847 ;;
33848
33849 *-*-cygwin* | *-*-mingw32* )
33850 ;;
33851
33852 *-*-hpux* )
33853 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33854 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33855 ;;
33856
33857 esac
33858 fi
33859
33860 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33861
33862 if test $wxUSE_RPATH = "no"; then
33863 SAMPLES_RPATH_FLAG=''
33864 SAMPLES_RPATH_POSTLINK=''
33865 WXCONFIG_RPATH=''
33866 fi
33867
33868 SHARED=1
33869
33870 else
33871
33872 config_linkage_component="-static"
33873 SHARED=0
33874
33875 fi
33876
33877
33878 UNICODE=0
33879 lib_unicode_suffix=
33880 WX_CHARTYPE="ansi"
33881 if test "$wxUSE_UNICODE" = "yes"; then
33882 lib_unicode_suffix=u
33883 WX_CHARTYPE="unicode"
33884 UNICODE=1
33885 fi
33886
33887 lib_debug_suffix=
33888 WX_DEBUGTYPE="release"
33889 DEBUG_FLAG=0
33890 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33891 lib_debug_suffix=d
33892 WX_DEBUGTYPE="debug"
33893 DEBUG_FLAG=1
33894 fi
33895
33896 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33897 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33898
33899 DEBUG_INFO=0
33900 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33901 DEBUG_INFO=1
33902 fi
33903
33904 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33905
33906 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33907
33908 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33909
33910 if test "$cross_compiling" = "yes"; then
33911 HOST_SUFFIX="-$host_alias"
33912 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33913 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33914 fi
33915
33916
33917 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33918 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33919 else
33920 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33921 fi
33922 if test "${TOOLKIT_DIR}" = "os2"; then
33923 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33924 else
33925 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33926 fi
33927
33928
33929
33930 if test "$wxUSE_COCOA" = 1; then
33931
33932 ac_ext=c
33933 ac_cpp='$CPP $CPPFLAGS'
33934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33937
33938 ac_ext=m
33939
33940 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33941 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33942 cat >conftest.$ac_ext <<_ACEOF
33943 /* confdefs.h. */
33944 _ACEOF
33945 cat confdefs.h >>conftest.$ac_ext
33946 cat >>conftest.$ac_ext <<_ACEOF
33947 /* end confdefs.h. */
33948 #include <AppKit/NSEvent.h>
33949 #include <CoreFoundation/CoreFoundation.h>
33950
33951 int
33952 main ()
33953 {
33954
33955 ;
33956 return 0;
33957 }
33958 _ACEOF
33959 rm -f conftest.$ac_objext
33960 if { (ac_try="$ac_compile"
33961 case "(($ac_try" in
33962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33963 *) ac_try_echo=$ac_try;;
33964 esac
33965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33966 (eval "$ac_compile") 2>conftest.er1
33967 ac_status=$?
33968 grep -v '^ *+' conftest.er1 >conftest.err
33969 rm -f conftest.er1
33970 cat conftest.err >&5
33971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33972 (exit $ac_status); } && {
33973 test -z "$ac_c_werror_flag" ||
33974 test ! -s conftest.err
33975 } && test -s conftest.$ac_objext; then
33976 { echo "$as_me:$LINENO: result: no" >&5
33977 echo "${ECHO_T}no" >&6; }
33978 else
33979 echo "$as_me: failed program was:" >&5
33980 sed 's/^/| /' conftest.$ac_ext >&5
33981
33982 { echo "$as_me:$LINENO: result: yes" >&5
33983 echo "${ECHO_T}yes" >&6; }
33984 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33985 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33986 cat >conftest.$ac_ext <<_ACEOF
33987 /* confdefs.h. */
33988 _ACEOF
33989 cat confdefs.h >>conftest.$ac_ext
33990 cat >>conftest.$ac_ext <<_ACEOF
33991 /* end confdefs.h. */
33992 #define __Point__ 1
33993 #include <AppKit/NSEvent.h>
33994 #include <CoreFoundation/CoreFoundation.h>
33995
33996 int
33997 main ()
33998 {
33999
34000 ;
34001 return 0;
34002 }
34003 _ACEOF
34004 rm -f conftest.$ac_objext
34005 if { (ac_try="$ac_compile"
34006 case "(($ac_try" in
34007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34008 *) ac_try_echo=$ac_try;;
34009 esac
34010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34011 (eval "$ac_compile") 2>conftest.er1
34012 ac_status=$?
34013 grep -v '^ *+' conftest.er1 >conftest.err
34014 rm -f conftest.er1
34015 cat conftest.err >&5
34016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34017 (exit $ac_status); } && {
34018 test -z "$ac_c_werror_flag" ||
34019 test ! -s conftest.err
34020 } && test -s conftest.$ac_objext; then
34021 { echo "$as_me:$LINENO: result: yes" >&5
34022 echo "${ECHO_T}yes" >&6; }
34023 cat >>confdefs.h <<\_ACEOF
34024 #define __Point__ 1
34025 _ACEOF
34026
34027
34028 else
34029 echo "$as_me: failed program was:" >&5
34030 sed 's/^/| /' conftest.$ac_ext >&5
34031
34032 { { echo "$as_me:$LINENO: error: no
34033 See \`config.log' for more details." >&5
34034 echo "$as_me: error: no
34035 See \`config.log' for more details." >&2;}
34036 { (exit 1); exit 1; }; }
34037
34038 fi
34039
34040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34041
34042 fi
34043
34044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34045 ac_ext=c
34046 ac_cpp='$CPP $CPPFLAGS'
34047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34050
34051 fi
34052
34053
34054 { echo "$as_me:$LINENO: checking for mode_t" >&5
34055 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34056 if test "${ac_cv_type_mode_t+set}" = set; then
34057 echo $ECHO_N "(cached) $ECHO_C" >&6
34058 else
34059 cat >conftest.$ac_ext <<_ACEOF
34060 /* confdefs.h. */
34061 _ACEOF
34062 cat confdefs.h >>conftest.$ac_ext
34063 cat >>conftest.$ac_ext <<_ACEOF
34064 /* end confdefs.h. */
34065 $ac_includes_default
34066 typedef mode_t ac__type_new_;
34067 int
34068 main ()
34069 {
34070 if ((ac__type_new_ *) 0)
34071 return 0;
34072 if (sizeof (ac__type_new_))
34073 return 0;
34074 ;
34075 return 0;
34076 }
34077 _ACEOF
34078 rm -f conftest.$ac_objext
34079 if { (ac_try="$ac_compile"
34080 case "(($ac_try" in
34081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34082 *) ac_try_echo=$ac_try;;
34083 esac
34084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34085 (eval "$ac_compile") 2>conftest.er1
34086 ac_status=$?
34087 grep -v '^ *+' conftest.er1 >conftest.err
34088 rm -f conftest.er1
34089 cat conftest.err >&5
34090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34091 (exit $ac_status); } && {
34092 test -z "$ac_c_werror_flag" ||
34093 test ! -s conftest.err
34094 } && test -s conftest.$ac_objext; then
34095 ac_cv_type_mode_t=yes
34096 else
34097 echo "$as_me: failed program was:" >&5
34098 sed 's/^/| /' conftest.$ac_ext >&5
34099
34100 ac_cv_type_mode_t=no
34101 fi
34102
34103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34104 fi
34105 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34106 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34107 if test $ac_cv_type_mode_t = yes; then
34108 :
34109 else
34110
34111 cat >>confdefs.h <<_ACEOF
34112 #define mode_t int
34113 _ACEOF
34114
34115 fi
34116
34117 { echo "$as_me:$LINENO: checking for off_t" >&5
34118 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34119 if test "${ac_cv_type_off_t+set}" = set; then
34120 echo $ECHO_N "(cached) $ECHO_C" >&6
34121 else
34122 cat >conftest.$ac_ext <<_ACEOF
34123 /* confdefs.h. */
34124 _ACEOF
34125 cat confdefs.h >>conftest.$ac_ext
34126 cat >>conftest.$ac_ext <<_ACEOF
34127 /* end confdefs.h. */
34128 $ac_includes_default
34129 typedef off_t ac__type_new_;
34130 int
34131 main ()
34132 {
34133 if ((ac__type_new_ *) 0)
34134 return 0;
34135 if (sizeof (ac__type_new_))
34136 return 0;
34137 ;
34138 return 0;
34139 }
34140 _ACEOF
34141 rm -f conftest.$ac_objext
34142 if { (ac_try="$ac_compile"
34143 case "(($ac_try" in
34144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34145 *) ac_try_echo=$ac_try;;
34146 esac
34147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34148 (eval "$ac_compile") 2>conftest.er1
34149 ac_status=$?
34150 grep -v '^ *+' conftest.er1 >conftest.err
34151 rm -f conftest.er1
34152 cat conftest.err >&5
34153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34154 (exit $ac_status); } && {
34155 test -z "$ac_c_werror_flag" ||
34156 test ! -s conftest.err
34157 } && test -s conftest.$ac_objext; then
34158 ac_cv_type_off_t=yes
34159 else
34160 echo "$as_me: failed program was:" >&5
34161 sed 's/^/| /' conftest.$ac_ext >&5
34162
34163 ac_cv_type_off_t=no
34164 fi
34165
34166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34167 fi
34168 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34169 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34170 if test $ac_cv_type_off_t = yes; then
34171 :
34172 else
34173
34174 cat >>confdefs.h <<_ACEOF
34175 #define off_t long int
34176 _ACEOF
34177
34178 fi
34179
34180 { echo "$as_me:$LINENO: checking for pid_t" >&5
34181 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34182 if test "${ac_cv_type_pid_t+set}" = set; then
34183 echo $ECHO_N "(cached) $ECHO_C" >&6
34184 else
34185 cat >conftest.$ac_ext <<_ACEOF
34186 /* confdefs.h. */
34187 _ACEOF
34188 cat confdefs.h >>conftest.$ac_ext
34189 cat >>conftest.$ac_ext <<_ACEOF
34190 /* end confdefs.h. */
34191 $ac_includes_default
34192 typedef pid_t ac__type_new_;
34193 int
34194 main ()
34195 {
34196 if ((ac__type_new_ *) 0)
34197 return 0;
34198 if (sizeof (ac__type_new_))
34199 return 0;
34200 ;
34201 return 0;
34202 }
34203 _ACEOF
34204 rm -f conftest.$ac_objext
34205 if { (ac_try="$ac_compile"
34206 case "(($ac_try" in
34207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34208 *) ac_try_echo=$ac_try;;
34209 esac
34210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34211 (eval "$ac_compile") 2>conftest.er1
34212 ac_status=$?
34213 grep -v '^ *+' conftest.er1 >conftest.err
34214 rm -f conftest.er1
34215 cat conftest.err >&5
34216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34217 (exit $ac_status); } && {
34218 test -z "$ac_c_werror_flag" ||
34219 test ! -s conftest.err
34220 } && test -s conftest.$ac_objext; then
34221 ac_cv_type_pid_t=yes
34222 else
34223 echo "$as_me: failed program was:" >&5
34224 sed 's/^/| /' conftest.$ac_ext >&5
34225
34226 ac_cv_type_pid_t=no
34227 fi
34228
34229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34230 fi
34231 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34232 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34233 if test $ac_cv_type_pid_t = yes; then
34234 :
34235 else
34236
34237 cat >>confdefs.h <<_ACEOF
34238 #define pid_t int
34239 _ACEOF
34240
34241 fi
34242
34243 { echo "$as_me:$LINENO: checking for size_t" >&5
34244 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34245 if test "${ac_cv_type_size_t+set}" = set; then
34246 echo $ECHO_N "(cached) $ECHO_C" >&6
34247 else
34248 cat >conftest.$ac_ext <<_ACEOF
34249 /* confdefs.h. */
34250 _ACEOF
34251 cat confdefs.h >>conftest.$ac_ext
34252 cat >>conftest.$ac_ext <<_ACEOF
34253 /* end confdefs.h. */
34254 $ac_includes_default
34255 typedef size_t ac__type_new_;
34256 int
34257 main ()
34258 {
34259 if ((ac__type_new_ *) 0)
34260 return 0;
34261 if (sizeof (ac__type_new_))
34262 return 0;
34263 ;
34264 return 0;
34265 }
34266 _ACEOF
34267 rm -f conftest.$ac_objext
34268 if { (ac_try="$ac_compile"
34269 case "(($ac_try" in
34270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34271 *) ac_try_echo=$ac_try;;
34272 esac
34273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34274 (eval "$ac_compile") 2>conftest.er1
34275 ac_status=$?
34276 grep -v '^ *+' conftest.er1 >conftest.err
34277 rm -f conftest.er1
34278 cat conftest.err >&5
34279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34280 (exit $ac_status); } && {
34281 test -z "$ac_c_werror_flag" ||
34282 test ! -s conftest.err
34283 } && test -s conftest.$ac_objext; then
34284 ac_cv_type_size_t=yes
34285 else
34286 echo "$as_me: failed program was:" >&5
34287 sed 's/^/| /' conftest.$ac_ext >&5
34288
34289 ac_cv_type_size_t=no
34290 fi
34291
34292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34293 fi
34294 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34295 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34296 if test $ac_cv_type_size_t = yes; then
34297 :
34298 else
34299
34300 cat >>confdefs.h <<_ACEOF
34301 #define size_t unsigned int
34302 _ACEOF
34303
34304 fi
34305
34306
34307 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34308 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34309 if test "${ac_cv_type_ssize_t+set}" = set; then
34310 echo $ECHO_N "(cached) $ECHO_C" >&6
34311 else
34312 cat >conftest.$ac_ext <<_ACEOF
34313 /* confdefs.h. */
34314 _ACEOF
34315 cat confdefs.h >>conftest.$ac_ext
34316 cat >>conftest.$ac_ext <<_ACEOF
34317 /* end confdefs.h. */
34318 $ac_includes_default
34319 typedef ssize_t ac__type_new_;
34320 int
34321 main ()
34322 {
34323 if ((ac__type_new_ *) 0)
34324 return 0;
34325 if (sizeof (ac__type_new_))
34326 return 0;
34327 ;
34328 return 0;
34329 }
34330 _ACEOF
34331 rm -f conftest.$ac_objext
34332 if { (ac_try="$ac_compile"
34333 case "(($ac_try" in
34334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34335 *) ac_try_echo=$ac_try;;
34336 esac
34337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34338 (eval "$ac_compile") 2>conftest.er1
34339 ac_status=$?
34340 grep -v '^ *+' conftest.er1 >conftest.err
34341 rm -f conftest.er1
34342 cat conftest.err >&5
34343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34344 (exit $ac_status); } && {
34345 test -z "$ac_c_werror_flag" ||
34346 test ! -s conftest.err
34347 } && test -s conftest.$ac_objext; then
34348 ac_cv_type_ssize_t=yes
34349 else
34350 echo "$as_me: failed program was:" >&5
34351 sed 's/^/| /' conftest.$ac_ext >&5
34352
34353 ac_cv_type_ssize_t=no
34354 fi
34355
34356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34357 fi
34358 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34359 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34360 if test $ac_cv_type_ssize_t = yes; then
34361
34362 cat >>confdefs.h <<_ACEOF
34363 #define HAVE_SSIZE_T 1
34364 _ACEOF
34365
34366
34367 fi
34368
34369
34370 ac_ext=cpp
34371 ac_cpp='$CXXCPP $CPPFLAGS'
34372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34375 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34376 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34377 if test "${wx_cv_size_t_is_uint+set}" = set; then
34378 echo $ECHO_N "(cached) $ECHO_C" >&6
34379 else
34380
34381 cat >conftest.$ac_ext <<_ACEOF
34382 /* confdefs.h. */
34383 _ACEOF
34384 cat confdefs.h >>conftest.$ac_ext
34385 cat >>conftest.$ac_ext <<_ACEOF
34386 /* end confdefs.h. */
34387 #include <stddef.h>
34388 int
34389 main ()
34390 {
34391
34392 return 0; }
34393
34394 struct Foo { void foo(size_t); void foo(unsigned int); };
34395
34396 int bar() {
34397
34398 ;
34399 return 0;
34400 }
34401 _ACEOF
34402 rm -f conftest.$ac_objext
34403 if { (ac_try="$ac_compile"
34404 case "(($ac_try" in
34405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34406 *) ac_try_echo=$ac_try;;
34407 esac
34408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34409 (eval "$ac_compile") 2>conftest.er1
34410 ac_status=$?
34411 grep -v '^ *+' conftest.er1 >conftest.err
34412 rm -f conftest.er1
34413 cat conftest.err >&5
34414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34415 (exit $ac_status); } && {
34416 test -z "$ac_cxx_werror_flag" ||
34417 test ! -s conftest.err
34418 } && test -s conftest.$ac_objext; then
34419 wx_cv_size_t_is_uint=no
34420 else
34421 echo "$as_me: failed program was:" >&5
34422 sed 's/^/| /' conftest.$ac_ext >&5
34423
34424 wx_cv_size_t_is_uint=yes
34425
34426 fi
34427
34428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34429
34430
34431 fi
34432 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34433 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34434
34435 if test "$wx_cv_size_t_is_uint" = "yes"; then
34436 cat >>confdefs.h <<\_ACEOF
34437 #define wxSIZE_T_IS_UINT 1
34438 _ACEOF
34439
34440 else
34441 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34442 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34443 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34444 echo $ECHO_N "(cached) $ECHO_C" >&6
34445 else
34446 cat >conftest.$ac_ext <<_ACEOF
34447 /* confdefs.h. */
34448 _ACEOF
34449 cat confdefs.h >>conftest.$ac_ext
34450 cat >>conftest.$ac_ext <<_ACEOF
34451 /* end confdefs.h. */
34452 #include <stddef.h>
34453 int
34454 main ()
34455 {
34456
34457 return 0; }
34458
34459 struct Foo { void foo(size_t); void foo(unsigned long); };
34460
34461 int bar() {
34462
34463 ;
34464 return 0;
34465 }
34466 _ACEOF
34467 rm -f conftest.$ac_objext
34468 if { (ac_try="$ac_compile"
34469 case "(($ac_try" in
34470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34471 *) ac_try_echo=$ac_try;;
34472 esac
34473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34474 (eval "$ac_compile") 2>conftest.er1
34475 ac_status=$?
34476 grep -v '^ *+' conftest.er1 >conftest.err
34477 rm -f conftest.er1
34478 cat conftest.err >&5
34479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34480 (exit $ac_status); } && {
34481 test -z "$ac_cxx_werror_flag" ||
34482 test ! -s conftest.err
34483 } && test -s conftest.$ac_objext; then
34484 wx_cv_size_t_is_ulong=no
34485 else
34486 echo "$as_me: failed program was:" >&5
34487 sed 's/^/| /' conftest.$ac_ext >&5
34488
34489 wx_cv_size_t_is_ulong=yes
34490
34491 fi
34492
34493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34494
34495 fi
34496 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34497 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34498
34499 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34500 cat >>confdefs.h <<\_ACEOF
34501 #define wxSIZE_T_IS_ULONG 1
34502 _ACEOF
34503
34504 fi
34505 fi
34506
34507 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34508 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34509 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34510 echo $ECHO_N "(cached) $ECHO_C" >&6
34511 else
34512 cat >conftest.$ac_ext <<_ACEOF
34513 /* confdefs.h. */
34514 _ACEOF
34515 cat confdefs.h >>conftest.$ac_ext
34516 cat >>conftest.$ac_ext <<_ACEOF
34517 /* end confdefs.h. */
34518 #include <wchar.h>
34519 int
34520 main ()
34521 {
34522
34523 return 0; }
34524
34525 struct Foo { void foo(wchar_t);
34526 void foo(unsigned short);
34527 void foo(unsigned int);
34528 void foo(unsigned long); };
34529
34530 int bar() {
34531
34532 ;
34533 return 0;
34534 }
34535 _ACEOF
34536 rm -f conftest.$ac_objext
34537 if { (ac_try="$ac_compile"
34538 case "(($ac_try" in
34539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34540 *) ac_try_echo=$ac_try;;
34541 esac
34542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34543 (eval "$ac_compile") 2>conftest.er1
34544 ac_status=$?
34545 grep -v '^ *+' conftest.er1 >conftest.err
34546 rm -f conftest.er1
34547 cat conftest.err >&5
34548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34549 (exit $ac_status); } && {
34550 test -z "$ac_cxx_werror_flag" ||
34551 test ! -s conftest.err
34552 } && test -s conftest.$ac_objext; then
34553 wx_cv_wchar_t_is_separate_type=yes
34554 else
34555 echo "$as_me: failed program was:" >&5
34556 sed 's/^/| /' conftest.$ac_ext >&5
34557
34558 wx_cv_wchar_t_is_separate_type=no
34559
34560 fi
34561
34562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34563
34564 fi
34565 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34566 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34567
34568 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34569 cat >>confdefs.h <<\_ACEOF
34570 #define wxWCHAR_T_IS_REAL_TYPE 1
34571 _ACEOF
34572
34573 else
34574 cat >>confdefs.h <<\_ACEOF
34575 #define wxWCHAR_T_IS_REAL_TYPE 0
34576 _ACEOF
34577
34578 fi
34579
34580 ac_ext=c
34581 ac_cpp='$CPP $CPPFLAGS'
34582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34585
34586
34587 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34588 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34589 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34590 echo $ECHO_N "(cached) $ECHO_C" >&6
34591 else
34592
34593 cat >conftest.$ac_ext <<_ACEOF
34594 /* confdefs.h. */
34595 _ACEOF
34596 cat confdefs.h >>conftest.$ac_ext
34597 cat >>conftest.$ac_ext <<_ACEOF
34598 /* end confdefs.h. */
34599 #include <pwd.h>
34600 int
34601 main ()
34602 {
34603
34604 char *p;
34605 struct passwd *pw;
34606 p = pw->pw_gecos;
34607
34608 ;
34609 return 0;
34610 }
34611 _ACEOF
34612 rm -f conftest.$ac_objext
34613 if { (ac_try="$ac_compile"
34614 case "(($ac_try" in
34615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34616 *) ac_try_echo=$ac_try;;
34617 esac
34618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34619 (eval "$ac_compile") 2>conftest.er1
34620 ac_status=$?
34621 grep -v '^ *+' conftest.er1 >conftest.err
34622 rm -f conftest.er1
34623 cat conftest.err >&5
34624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34625 (exit $ac_status); } && {
34626 test -z "$ac_c_werror_flag" ||
34627 test ! -s conftest.err
34628 } && test -s conftest.$ac_objext; then
34629
34630 wx_cv_struct_pw_gecos=yes
34631
34632 else
34633 echo "$as_me: failed program was:" >&5
34634 sed 's/^/| /' conftest.$ac_ext >&5
34635
34636
34637 wx_cv_struct_pw_gecos=no
34638
34639
34640 fi
34641
34642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34643
34644
34645 fi
34646 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34647 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34648
34649 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34650 cat >>confdefs.h <<\_ACEOF
34651 #define HAVE_PW_GECOS 1
34652 _ACEOF
34653
34654 fi
34655
34656
34657 if test "$wxUSE_WCHAR_T" = "yes"; then
34658 cat >>confdefs.h <<\_ACEOF
34659 #define wxUSE_WCHAR_T 1
34660 _ACEOF
34661
34662
34663 WCSLEN_FOUND=0
34664 WCHAR_LINK=
34665
34666 for ac_func in wcslen
34667 do
34668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34669 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34671 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34672 echo $ECHO_N "(cached) $ECHO_C" >&6
34673 else
34674 cat >conftest.$ac_ext <<_ACEOF
34675 /* confdefs.h. */
34676 _ACEOF
34677 cat confdefs.h >>conftest.$ac_ext
34678 cat >>conftest.$ac_ext <<_ACEOF
34679 /* end confdefs.h. */
34680 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34681 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34682 #define $ac_func innocuous_$ac_func
34683
34684 /* System header to define __stub macros and hopefully few prototypes,
34685 which can conflict with char $ac_func (); below.
34686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34687 <limits.h> exists even on freestanding compilers. */
34688
34689 #ifdef __STDC__
34690 # include <limits.h>
34691 #else
34692 # include <assert.h>
34693 #endif
34694
34695 #undef $ac_func
34696
34697 /* Override any GCC internal prototype to avoid an error.
34698 Use char because int might match the return type of a GCC
34699 builtin and then its argument prototype would still apply. */
34700 #ifdef __cplusplus
34701 extern "C"
34702 #endif
34703 char $ac_func ();
34704 /* The GNU C library defines this for functions which it implements
34705 to always fail with ENOSYS. Some functions are actually named
34706 something starting with __ and the normal name is an alias. */
34707 #if defined __stub_$ac_func || defined __stub___$ac_func
34708 choke me
34709 #endif
34710
34711 int
34712 main ()
34713 {
34714 return $ac_func ();
34715 ;
34716 return 0;
34717 }
34718 _ACEOF
34719 rm -f conftest.$ac_objext conftest$ac_exeext
34720 if { (ac_try="$ac_link"
34721 case "(($ac_try" in
34722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34723 *) ac_try_echo=$ac_try;;
34724 esac
34725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34726 (eval "$ac_link") 2>conftest.er1
34727 ac_status=$?
34728 grep -v '^ *+' conftest.er1 >conftest.err
34729 rm -f conftest.er1
34730 cat conftest.err >&5
34731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34732 (exit $ac_status); } && {
34733 test -z "$ac_c_werror_flag" ||
34734 test ! -s conftest.err
34735 } && test -s conftest$ac_exeext &&
34736 $as_test_x conftest$ac_exeext; then
34737 eval "$as_ac_var=yes"
34738 else
34739 echo "$as_me: failed program was:" >&5
34740 sed 's/^/| /' conftest.$ac_ext >&5
34741
34742 eval "$as_ac_var=no"
34743 fi
34744
34745 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34746 conftest$ac_exeext conftest.$ac_ext
34747 fi
34748 ac_res=`eval echo '${'$as_ac_var'}'`
34749 { echo "$as_me:$LINENO: result: $ac_res" >&5
34750 echo "${ECHO_T}$ac_res" >&6; }
34751 if test `eval echo '${'$as_ac_var'}'` = yes; then
34752 cat >>confdefs.h <<_ACEOF
34753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34754 _ACEOF
34755 WCSLEN_FOUND=1
34756 fi
34757 done
34758
34759
34760 if test "$WCSLEN_FOUND" = 0; then
34761 if test "$TOOLKIT" = "MSW"; then
34762 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34763 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34764 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34765 echo $ECHO_N "(cached) $ECHO_C" >&6
34766 else
34767 ac_check_lib_save_LIBS=$LIBS
34768 LIBS="-lmsvcrt $LIBS"
34769 cat >conftest.$ac_ext <<_ACEOF
34770 /* confdefs.h. */
34771 _ACEOF
34772 cat confdefs.h >>conftest.$ac_ext
34773 cat >>conftest.$ac_ext <<_ACEOF
34774 /* end confdefs.h. */
34775
34776 /* Override any GCC internal prototype to avoid an error.
34777 Use char because int might match the return type of a GCC
34778 builtin and then its argument prototype would still apply. */
34779 #ifdef __cplusplus
34780 extern "C"
34781 #endif
34782 char wcslen ();
34783 int
34784 main ()
34785 {
34786 return wcslen ();
34787 ;
34788 return 0;
34789 }
34790 _ACEOF
34791 rm -f conftest.$ac_objext conftest$ac_exeext
34792 if { (ac_try="$ac_link"
34793 case "(($ac_try" in
34794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34795 *) ac_try_echo=$ac_try;;
34796 esac
34797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34798 (eval "$ac_link") 2>conftest.er1
34799 ac_status=$?
34800 grep -v '^ *+' conftest.er1 >conftest.err
34801 rm -f conftest.er1
34802 cat conftest.err >&5
34803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34804 (exit $ac_status); } && {
34805 test -z "$ac_c_werror_flag" ||
34806 test ! -s conftest.err
34807 } && test -s conftest$ac_exeext &&
34808 $as_test_x conftest$ac_exeext; then
34809 ac_cv_lib_msvcrt_wcslen=yes
34810 else
34811 echo "$as_me: failed program was:" >&5
34812 sed 's/^/| /' conftest.$ac_ext >&5
34813
34814 ac_cv_lib_msvcrt_wcslen=no
34815 fi
34816
34817 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34818 conftest$ac_exeext conftest.$ac_ext
34819 LIBS=$ac_check_lib_save_LIBS
34820 fi
34821 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34822 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34823 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34824 WCHAR_OK=1
34825 fi
34826
34827 else
34828 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34829 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34830 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34831 echo $ECHO_N "(cached) $ECHO_C" >&6
34832 else
34833 ac_check_lib_save_LIBS=$LIBS
34834 LIBS="-lw $LIBS"
34835 cat >conftest.$ac_ext <<_ACEOF
34836 /* confdefs.h. */
34837 _ACEOF
34838 cat confdefs.h >>conftest.$ac_ext
34839 cat >>conftest.$ac_ext <<_ACEOF
34840 /* end confdefs.h. */
34841
34842 /* Override any GCC internal prototype to avoid an error.
34843 Use char because int might match the return type of a GCC
34844 builtin and then its argument prototype would still apply. */
34845 #ifdef __cplusplus
34846 extern "C"
34847 #endif
34848 char wcslen ();
34849 int
34850 main ()
34851 {
34852 return wcslen ();
34853 ;
34854 return 0;
34855 }
34856 _ACEOF
34857 rm -f conftest.$ac_objext conftest$ac_exeext
34858 if { (ac_try="$ac_link"
34859 case "(($ac_try" in
34860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34861 *) ac_try_echo=$ac_try;;
34862 esac
34863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34864 (eval "$ac_link") 2>conftest.er1
34865 ac_status=$?
34866 grep -v '^ *+' conftest.er1 >conftest.err
34867 rm -f conftest.er1
34868 cat conftest.err >&5
34869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34870 (exit $ac_status); } && {
34871 test -z "$ac_c_werror_flag" ||
34872 test ! -s conftest.err
34873 } && test -s conftest$ac_exeext &&
34874 $as_test_x conftest$ac_exeext; then
34875 ac_cv_lib_w_wcslen=yes
34876 else
34877 echo "$as_me: failed program was:" >&5
34878 sed 's/^/| /' conftest.$ac_ext >&5
34879
34880 ac_cv_lib_w_wcslen=no
34881 fi
34882
34883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34884 conftest$ac_exeext conftest.$ac_ext
34885 LIBS=$ac_check_lib_save_LIBS
34886 fi
34887 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34888 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34889 if test $ac_cv_lib_w_wcslen = yes; then
34890
34891 WCHAR_LINK=" -lw"
34892 WCSLEN_FOUND=1
34893
34894 fi
34895
34896 fi
34897 fi
34898
34899 if test "$WCSLEN_FOUND" = 1; then
34900 cat >>confdefs.h <<\_ACEOF
34901 #define HAVE_WCSLEN 1
34902 _ACEOF
34903
34904 fi
34905
34906
34907 for ac_func in wcsdup
34908 do
34909 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34910 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34912 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34913 echo $ECHO_N "(cached) $ECHO_C" >&6
34914 else
34915 cat >conftest.$ac_ext <<_ACEOF
34916 /* confdefs.h. */
34917 _ACEOF
34918 cat confdefs.h >>conftest.$ac_ext
34919 cat >>conftest.$ac_ext <<_ACEOF
34920 /* end confdefs.h. */
34921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34923 #define $ac_func innocuous_$ac_func
34924
34925 /* System header to define __stub macros and hopefully few prototypes,
34926 which can conflict with char $ac_func (); below.
34927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34928 <limits.h> exists even on freestanding compilers. */
34929
34930 #ifdef __STDC__
34931 # include <limits.h>
34932 #else
34933 # include <assert.h>
34934 #endif
34935
34936 #undef $ac_func
34937
34938 /* Override any GCC internal prototype to avoid an error.
34939 Use char because int might match the return type of a GCC
34940 builtin and then its argument prototype would still apply. */
34941 #ifdef __cplusplus
34942 extern "C"
34943 #endif
34944 char $ac_func ();
34945 /* The GNU C library defines this for functions which it implements
34946 to always fail with ENOSYS. Some functions are actually named
34947 something starting with __ and the normal name is an alias. */
34948 #if defined __stub_$ac_func || defined __stub___$ac_func
34949 choke me
34950 #endif
34951
34952 int
34953 main ()
34954 {
34955 return $ac_func ();
34956 ;
34957 return 0;
34958 }
34959 _ACEOF
34960 rm -f conftest.$ac_objext conftest$ac_exeext
34961 if { (ac_try="$ac_link"
34962 case "(($ac_try" in
34963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34964 *) ac_try_echo=$ac_try;;
34965 esac
34966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34967 (eval "$ac_link") 2>conftest.er1
34968 ac_status=$?
34969 grep -v '^ *+' conftest.er1 >conftest.err
34970 rm -f conftest.er1
34971 cat conftest.err >&5
34972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34973 (exit $ac_status); } && {
34974 test -z "$ac_c_werror_flag" ||
34975 test ! -s conftest.err
34976 } && test -s conftest$ac_exeext &&
34977 $as_test_x conftest$ac_exeext; then
34978 eval "$as_ac_var=yes"
34979 else
34980 echo "$as_me: failed program was:" >&5
34981 sed 's/^/| /' conftest.$ac_ext >&5
34982
34983 eval "$as_ac_var=no"
34984 fi
34985
34986 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34987 conftest$ac_exeext conftest.$ac_ext
34988 fi
34989 ac_res=`eval echo '${'$as_ac_var'}'`
34990 { echo "$as_me:$LINENO: result: $ac_res" >&5
34991 echo "${ECHO_T}$ac_res" >&6; }
34992 if test `eval echo '${'$as_ac_var'}'` = yes; then
34993 cat >>confdefs.h <<_ACEOF
34994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34995 _ACEOF
34996
34997 fi
34998 done
34999
35000
35001 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35002 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35003 fi
35004
35005 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35006 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35007 if test "${ac_cv_type_mbstate_t+set}" = set; then
35008 echo $ECHO_N "(cached) $ECHO_C" >&6
35009 else
35010 cat >conftest.$ac_ext <<_ACEOF
35011 /* confdefs.h. */
35012 _ACEOF
35013 cat confdefs.h >>conftest.$ac_ext
35014 cat >>conftest.$ac_ext <<_ACEOF
35015 /* end confdefs.h. */
35016 #include <wchar.h>
35017
35018 typedef mbstate_t ac__type_new_;
35019 int
35020 main ()
35021 {
35022 if ((ac__type_new_ *) 0)
35023 return 0;
35024 if (sizeof (ac__type_new_))
35025 return 0;
35026 ;
35027 return 0;
35028 }
35029 _ACEOF
35030 rm -f conftest.$ac_objext
35031 if { (ac_try="$ac_compile"
35032 case "(($ac_try" in
35033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35034 *) ac_try_echo=$ac_try;;
35035 esac
35036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35037 (eval "$ac_compile") 2>conftest.er1
35038 ac_status=$?
35039 grep -v '^ *+' conftest.er1 >conftest.err
35040 rm -f conftest.er1
35041 cat conftest.err >&5
35042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35043 (exit $ac_status); } && {
35044 test -z "$ac_c_werror_flag" ||
35045 test ! -s conftest.err
35046 } && test -s conftest.$ac_objext; then
35047 ac_cv_type_mbstate_t=yes
35048 else
35049 echo "$as_me: failed program was:" >&5
35050 sed 's/^/| /' conftest.$ac_ext >&5
35051
35052 ac_cv_type_mbstate_t=no
35053 fi
35054
35055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35056 fi
35057 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35058 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35059 if test $ac_cv_type_mbstate_t = yes; then
35060
35061 cat >>confdefs.h <<_ACEOF
35062 #define HAVE_MBSTATE_T 1
35063 _ACEOF
35064
35065
35066 for ac_func in wcsrtombs
35067 do
35068 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35069 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35070 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35071 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35072 echo $ECHO_N "(cached) $ECHO_C" >&6
35073 else
35074 cat >conftest.$ac_ext <<_ACEOF
35075 /* confdefs.h. */
35076 _ACEOF
35077 cat confdefs.h >>conftest.$ac_ext
35078 cat >>conftest.$ac_ext <<_ACEOF
35079 /* end confdefs.h. */
35080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35081 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35082 #define $ac_func innocuous_$ac_func
35083
35084 /* System header to define __stub macros and hopefully few prototypes,
35085 which can conflict with char $ac_func (); below.
35086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35087 <limits.h> exists even on freestanding compilers. */
35088
35089 #ifdef __STDC__
35090 # include <limits.h>
35091 #else
35092 # include <assert.h>
35093 #endif
35094
35095 #undef $ac_func
35096
35097 /* Override any GCC internal prototype to avoid an error.
35098 Use char because int might match the return type of a GCC
35099 builtin and then its argument prototype would still apply. */
35100 #ifdef __cplusplus
35101 extern "C"
35102 #endif
35103 char $ac_func ();
35104 /* The GNU C library defines this for functions which it implements
35105 to always fail with ENOSYS. Some functions are actually named
35106 something starting with __ and the normal name is an alias. */
35107 #if defined __stub_$ac_func || defined __stub___$ac_func
35108 choke me
35109 #endif
35110
35111 int
35112 main ()
35113 {
35114 return $ac_func ();
35115 ;
35116 return 0;
35117 }
35118 _ACEOF
35119 rm -f conftest.$ac_objext conftest$ac_exeext
35120 if { (ac_try="$ac_link"
35121 case "(($ac_try" in
35122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35123 *) ac_try_echo=$ac_try;;
35124 esac
35125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35126 (eval "$ac_link") 2>conftest.er1
35127 ac_status=$?
35128 grep -v '^ *+' conftest.er1 >conftest.err
35129 rm -f conftest.er1
35130 cat conftest.err >&5
35131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35132 (exit $ac_status); } && {
35133 test -z "$ac_c_werror_flag" ||
35134 test ! -s conftest.err
35135 } && test -s conftest$ac_exeext &&
35136 $as_test_x conftest$ac_exeext; then
35137 eval "$as_ac_var=yes"
35138 else
35139 echo "$as_me: failed program was:" >&5
35140 sed 's/^/| /' conftest.$ac_ext >&5
35141
35142 eval "$as_ac_var=no"
35143 fi
35144
35145 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35146 conftest$ac_exeext conftest.$ac_ext
35147 fi
35148 ac_res=`eval echo '${'$as_ac_var'}'`
35149 { echo "$as_me:$LINENO: result: $ac_res" >&5
35150 echo "${ECHO_T}$ac_res" >&6; }
35151 if test `eval echo '${'$as_ac_var'}'` = yes; then
35152 cat >>confdefs.h <<_ACEOF
35153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35154 _ACEOF
35155
35156 fi
35157 done
35158
35159 fi
35160
35161 else
35162 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35163 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35164 fi
35165
35166
35167
35168
35169 for ac_func in snprintf vsnprintf vsscanf
35170 do
35171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35172 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35174 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35175 echo $ECHO_N "(cached) $ECHO_C" >&6
35176 else
35177 cat >conftest.$ac_ext <<_ACEOF
35178 /* confdefs.h. */
35179 _ACEOF
35180 cat confdefs.h >>conftest.$ac_ext
35181 cat >>conftest.$ac_ext <<_ACEOF
35182 /* end confdefs.h. */
35183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35185 #define $ac_func innocuous_$ac_func
35186
35187 /* System header to define __stub macros and hopefully few prototypes,
35188 which can conflict with char $ac_func (); below.
35189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35190 <limits.h> exists even on freestanding compilers. */
35191
35192 #ifdef __STDC__
35193 # include <limits.h>
35194 #else
35195 # include <assert.h>
35196 #endif
35197
35198 #undef $ac_func
35199
35200 /* Override any GCC internal prototype to avoid an error.
35201 Use char because int might match the return type of a GCC
35202 builtin and then its argument prototype would still apply. */
35203 #ifdef __cplusplus
35204 extern "C"
35205 #endif
35206 char $ac_func ();
35207 /* The GNU C library defines this for functions which it implements
35208 to always fail with ENOSYS. Some functions are actually named
35209 something starting with __ and the normal name is an alias. */
35210 #if defined __stub_$ac_func || defined __stub___$ac_func
35211 choke me
35212 #endif
35213
35214 int
35215 main ()
35216 {
35217 return $ac_func ();
35218 ;
35219 return 0;
35220 }
35221 _ACEOF
35222 rm -f conftest.$ac_objext conftest$ac_exeext
35223 if { (ac_try="$ac_link"
35224 case "(($ac_try" in
35225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35226 *) ac_try_echo=$ac_try;;
35227 esac
35228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35229 (eval "$ac_link") 2>conftest.er1
35230 ac_status=$?
35231 grep -v '^ *+' conftest.er1 >conftest.err
35232 rm -f conftest.er1
35233 cat conftest.err >&5
35234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35235 (exit $ac_status); } && {
35236 test -z "$ac_c_werror_flag" ||
35237 test ! -s conftest.err
35238 } && test -s conftest$ac_exeext &&
35239 $as_test_x conftest$ac_exeext; then
35240 eval "$as_ac_var=yes"
35241 else
35242 echo "$as_me: failed program was:" >&5
35243 sed 's/^/| /' conftest.$ac_ext >&5
35244
35245 eval "$as_ac_var=no"
35246 fi
35247
35248 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35249 conftest$ac_exeext conftest.$ac_ext
35250 fi
35251 ac_res=`eval echo '${'$as_ac_var'}'`
35252 { echo "$as_me:$LINENO: result: $ac_res" >&5
35253 echo "${ECHO_T}$ac_res" >&6; }
35254 if test `eval echo '${'$as_ac_var'}'` = yes; then
35255 cat >>confdefs.h <<_ACEOF
35256 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35257 _ACEOF
35258
35259 fi
35260 done
35261
35262
35263 ac_ext=cpp
35264 ac_cpp='$CXXCPP $CPPFLAGS'
35265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35268
35269 if test "$ac_cv_func_vsnprintf" = "yes"; then
35270 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35271 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35272 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35273 echo $ECHO_N "(cached) $ECHO_C" >&6
35274 else
35275
35276 cat >conftest.$ac_ext <<_ACEOF
35277 /* confdefs.h. */
35278 _ACEOF
35279 cat confdefs.h >>conftest.$ac_ext
35280 cat >>conftest.$ac_ext <<_ACEOF
35281 /* end confdefs.h. */
35282
35283 #include <stdio.h>
35284 #include <stdarg.h>
35285 #ifdef __MSL__
35286 #if __MSL__ >= 0x6000
35287 namespace std {}
35288 using namespace std;
35289 #endif
35290 #endif
35291
35292 int
35293 main ()
35294 {
35295
35296 char *buf;
35297 va_list ap;
35298 vsnprintf(buf, 10u, "%s", ap);
35299
35300 ;
35301 return 0;
35302 }
35303 _ACEOF
35304 rm -f conftest.$ac_objext
35305 if { (ac_try="$ac_compile"
35306 case "(($ac_try" in
35307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35308 *) ac_try_echo=$ac_try;;
35309 esac
35310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35311 (eval "$ac_compile") 2>conftest.er1
35312 ac_status=$?
35313 grep -v '^ *+' conftest.er1 >conftest.err
35314 rm -f conftest.er1
35315 cat conftest.err >&5
35316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35317 (exit $ac_status); } && {
35318 test -z "$ac_cxx_werror_flag" ||
35319 test ! -s conftest.err
35320 } && test -s conftest.$ac_objext; then
35321 wx_cv_func_vsnprintf_decl=yes
35322 else
35323 echo "$as_me: failed program was:" >&5
35324 sed 's/^/| /' conftest.$ac_ext >&5
35325
35326 wx_cv_func_vsnprintf_decl=no
35327
35328 fi
35329
35330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35331
35332
35333 fi
35334 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35335 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35336
35337 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35338 cat >>confdefs.h <<\_ACEOF
35339 #define HAVE_VSNPRINTF_DECL 1
35340 _ACEOF
35341
35342
35343 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35344 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35345 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35346 echo $ECHO_N "(cached) $ECHO_C" >&6
35347 else
35348
35349 cat >conftest.$ac_ext <<_ACEOF
35350 /* confdefs.h. */
35351 _ACEOF
35352 cat confdefs.h >>conftest.$ac_ext
35353 cat >>conftest.$ac_ext <<_ACEOF
35354 /* end confdefs.h. */
35355
35356 #include <stdio.h>
35357 #include <stdarg.h>
35358 #ifdef __MSL__
35359 #if __MSL__ >= 0x6000
35360 namespace std {}
35361 using namespace std;
35362 #endif
35363 #endif
35364
35365 int
35366 main ()
35367 {
35368
35369 char *buf;
35370 va_list ap;
35371 const char *fmt = "%s";
35372 vsnprintf(buf, 10u, fmt, ap);
35373
35374 ;
35375 return 0;
35376 }
35377 _ACEOF
35378 rm -f conftest.$ac_objext
35379 if { (ac_try="$ac_compile"
35380 case "(($ac_try" in
35381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35382 *) ac_try_echo=$ac_try;;
35383 esac
35384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35385 (eval "$ac_compile") 2>conftest.er1
35386 ac_status=$?
35387 grep -v '^ *+' conftest.er1 >conftest.err
35388 rm -f conftest.er1
35389 cat conftest.err >&5
35390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35391 (exit $ac_status); } && {
35392 test -z "$ac_cxx_werror_flag" ||
35393 test ! -s conftest.err
35394 } && test -s conftest.$ac_objext; then
35395 wx_cv_func_broken_vsnprintf_decl=no
35396 else
35397 echo "$as_me: failed program was:" >&5
35398 sed 's/^/| /' conftest.$ac_ext >&5
35399
35400 wx_cv_func_broken_vsnprintf_decl=yes
35401
35402 fi
35403
35404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35405
35406
35407 fi
35408 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35409 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35410
35411 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35412 cat >>confdefs.h <<\_ACEOF
35413 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35414 _ACEOF
35415
35416 fi
35417 fi
35418 fi
35419
35420 if test "$ac_cv_func_snprintf" = "yes"; then
35421 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35422 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35423 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35424 echo $ECHO_N "(cached) $ECHO_C" >&6
35425 else
35426
35427 cat >conftest.$ac_ext <<_ACEOF
35428 /* confdefs.h. */
35429 _ACEOF
35430 cat confdefs.h >>conftest.$ac_ext
35431 cat >>conftest.$ac_ext <<_ACEOF
35432 /* end confdefs.h. */
35433
35434 #include <stdio.h>
35435 #include <stdarg.h>
35436 #ifdef __MSL__
35437 #if __MSL__ >= 0x6000
35438 namespace std {}
35439 using namespace std;
35440 #endif
35441 #endif
35442
35443 int
35444 main ()
35445 {
35446
35447 char *buf;
35448 snprintf(buf, 10u, "%s", "wx");
35449
35450 ;
35451 return 0;
35452 }
35453 _ACEOF
35454 rm -f conftest.$ac_objext
35455 if { (ac_try="$ac_compile"
35456 case "(($ac_try" in
35457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35458 *) ac_try_echo=$ac_try;;
35459 esac
35460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35461 (eval "$ac_compile") 2>conftest.er1
35462 ac_status=$?
35463 grep -v '^ *+' conftest.er1 >conftest.err
35464 rm -f conftest.er1
35465 cat conftest.err >&5
35466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35467 (exit $ac_status); } && {
35468 test -z "$ac_cxx_werror_flag" ||
35469 test ! -s conftest.err
35470 } && test -s conftest.$ac_objext; then
35471 wx_cv_func_snprintf_decl=yes
35472 else
35473 echo "$as_me: failed program was:" >&5
35474 sed 's/^/| /' conftest.$ac_ext >&5
35475
35476 wx_cv_func_snprintf_decl=no
35477
35478 fi
35479
35480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35481
35482
35483 fi
35484 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35485 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35486
35487 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35488 cat >>confdefs.h <<\_ACEOF
35489 #define HAVE_SNPRINTF_DECL 1
35490 _ACEOF
35491
35492 fi
35493
35494 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35495
35496 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35497 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35498 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35499 echo $ECHO_N "(cached) $ECHO_C" >&6
35500 else
35501
35502 if test "$cross_compiling" = yes; then
35503
35504 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35505 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35506 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35507 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35508 wx_cv_func_snprintf_pos_params=no
35509
35510
35511 else
35512 cat >conftest.$ac_ext <<_ACEOF
35513 /* confdefs.h. */
35514 _ACEOF
35515 cat confdefs.h >>conftest.$ac_ext
35516 cat >>conftest.$ac_ext <<_ACEOF
35517 /* end confdefs.h. */
35518
35519 #include <stdio.h>
35520
35521 int main (void)
35522 {
35523 char buffer[128];
35524 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35525 if (strcmp ("2 3 1", buffer) == 0)
35526 exit (0);
35527 exit (1);
35528 }
35529
35530 _ACEOF
35531 rm -f conftest$ac_exeext
35532 if { (ac_try="$ac_link"
35533 case "(($ac_try" in
35534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35535 *) ac_try_echo=$ac_try;;
35536 esac
35537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35538 (eval "$ac_link") 2>&5
35539 ac_status=$?
35540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35541 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35542 { (case "(($ac_try" in
35543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35544 *) ac_try_echo=$ac_try;;
35545 esac
35546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35547 (eval "$ac_try") 2>&5
35548 ac_status=$?
35549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35550 (exit $ac_status); }; }; then
35551 wx_cv_func_snprintf_pos_params=no
35552 else
35553 echo "$as_me: program exited with status $ac_status" >&5
35554 echo "$as_me: failed program was:" >&5
35555 sed 's/^/| /' conftest.$ac_ext >&5
35556
35557 ( exit $ac_status )
35558 wx_cv_func_snprintf_pos_params=yes
35559 fi
35560 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35561 fi
35562
35563
35564
35565
35566 fi
35567 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35568 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35569
35570 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35571 cat >>confdefs.h <<\_ACEOF
35572 #define HAVE_UNIX98_PRINTF 1
35573 _ACEOF
35574
35575 fi
35576 fi
35577 fi
35578
35579 if test "$ac_cv_func_vsscanf" = "yes"; then
35580 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35581 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35582 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35583 echo $ECHO_N "(cached) $ECHO_C" >&6
35584 else
35585
35586 cat >conftest.$ac_ext <<_ACEOF
35587 /* confdefs.h. */
35588 _ACEOF
35589 cat confdefs.h >>conftest.$ac_ext
35590 cat >>conftest.$ac_ext <<_ACEOF
35591 /* end confdefs.h. */
35592
35593 #include <stdio.h>
35594 #include <stdarg.h>
35595 #ifdef __MSL__
35596 #if __MSL__ >= 0x6000
35597 namespace std {}
35598 using namespace std;
35599 #endif
35600 #endif
35601
35602 int
35603 main ()
35604 {
35605
35606 char *buf;
35607 va_list args;
35608 vsscanf(buf, "%s", args);
35609
35610 ;
35611 return 0;
35612 }
35613 _ACEOF
35614 rm -f conftest.$ac_objext
35615 if { (ac_try="$ac_compile"
35616 case "(($ac_try" in
35617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35618 *) ac_try_echo=$ac_try;;
35619 esac
35620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35621 (eval "$ac_compile") 2>conftest.er1
35622 ac_status=$?
35623 grep -v '^ *+' conftest.er1 >conftest.err
35624 rm -f conftest.er1
35625 cat conftest.err >&5
35626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35627 (exit $ac_status); } && {
35628 test -z "$ac_cxx_werror_flag" ||
35629 test ! -s conftest.err
35630 } && test -s conftest.$ac_objext; then
35631 wx_cv_func_vsscanf_decl=yes
35632 else
35633 echo "$as_me: failed program was:" >&5
35634 sed 's/^/| /' conftest.$ac_ext >&5
35635
35636 wx_cv_func_vsscanf_decl=no
35637
35638 fi
35639
35640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35641
35642
35643 fi
35644 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35645 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35646
35647 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35648 cat >>confdefs.h <<\_ACEOF
35649 #define HAVE_VSSCANF_DECL 1
35650 _ACEOF
35651
35652 fi
35653 fi
35654 ac_ext=c
35655 ac_cpp='$CPP $CPPFLAGS'
35656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35659
35660
35661 if test "$wxUSE_UNICODE" = yes; then
35662
35663 wchar_headers="#include <stdio.h>
35664 #include <wchar.h>"
35665 case "${host}" in
35666 *-*-solaris2* )
35667
35668 for ac_header in widec.h
35669 do
35670 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35671 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35672 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35673 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35674 echo $ECHO_N "(cached) $ECHO_C" >&6
35675 else
35676 cat >conftest.$ac_ext <<_ACEOF
35677 /* confdefs.h. */
35678 _ACEOF
35679 cat confdefs.h >>conftest.$ac_ext
35680 cat >>conftest.$ac_ext <<_ACEOF
35681 /* end confdefs.h. */
35682 $ac_includes_default
35683
35684 #include <$ac_header>
35685 _ACEOF
35686 rm -f conftest.$ac_objext
35687 if { (ac_try="$ac_compile"
35688 case "(($ac_try" in
35689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35690 *) ac_try_echo=$ac_try;;
35691 esac
35692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35693 (eval "$ac_compile") 2>conftest.er1
35694 ac_status=$?
35695 grep -v '^ *+' conftest.er1 >conftest.err
35696 rm -f conftest.er1
35697 cat conftest.err >&5
35698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35699 (exit $ac_status); } && {
35700 test -z "$ac_c_werror_flag" ||
35701 test ! -s conftest.err
35702 } && test -s conftest.$ac_objext; then
35703 eval "$as_ac_Header=yes"
35704 else
35705 echo "$as_me: failed program was:" >&5
35706 sed 's/^/| /' conftest.$ac_ext >&5
35707
35708 eval "$as_ac_Header=no"
35709 fi
35710
35711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35712 fi
35713 ac_res=`eval echo '${'$as_ac_Header'}'`
35714 { echo "$as_me:$LINENO: result: $ac_res" >&5
35715 echo "${ECHO_T}$ac_res" >&6; }
35716 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35717 cat >>confdefs.h <<_ACEOF
35718 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35719 _ACEOF
35720
35721 fi
35722
35723 done
35724
35725 if test "$ac_cv_header_widec_h" = "yes"; then
35726 wchar_headers="$wchar_headers
35727 #include <widec.h>"
35728 fi
35729 esac
35730
35731
35732 for wx_func in putws fputws wprintf vswprintf vswscanf
35733 do
35734 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35735 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35736 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35737 echo $ECHO_N "(cached) $ECHO_C" >&6
35738 else
35739
35740 cat >conftest.$ac_ext <<_ACEOF
35741
35742 /* confdefs.h. */
35743 _ACEOF
35744 cat confdefs.h >>conftest.$ac_ext
35745 cat >>conftest.$ac_ext <<_ACEOF
35746 /* end confdefs.h. */
35747
35748 $wchar_headers
35749 $ac_includes_default
35750
35751 int
35752 main ()
35753 {
35754
35755 #ifndef $wx_func
35756 &$wx_func;
35757 #endif
35758
35759
35760 ;
35761 return 0;
35762 }
35763
35764 _ACEOF
35765 rm -f conftest.$ac_objext conftest$ac_exeext
35766 if { (ac_try="$ac_link"
35767 case "(($ac_try" in
35768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35769 *) ac_try_echo=$ac_try;;
35770 esac
35771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35772 (eval "$ac_link") 2>conftest.er1
35773 ac_status=$?
35774 grep -v '^ *+' conftest.er1 >conftest.err
35775 rm -f conftest.er1
35776 cat conftest.err >&5
35777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35778 (exit $ac_status); } && {
35779 test -z "$ac_c_werror_flag" ||
35780 test ! -s conftest.err
35781 } && test -s conftest$ac_exeext &&
35782 $as_test_x conftest$ac_exeext; then
35783 eval wx_cv_func_$wx_func=yes
35784 else
35785 echo "$as_me: failed program was:" >&5
35786 sed 's/^/| /' conftest.$ac_ext >&5
35787
35788 eval wx_cv_func_$wx_func=no
35789 fi
35790
35791 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35792 conftest$ac_exeext conftest.$ac_ext
35793
35794 fi
35795 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35796 { echo "$as_me:$LINENO: result: $ac_res" >&5
35797 echo "${ECHO_T}$ac_res" >&6; }
35798
35799 if eval test \$wx_cv_func_$wx_func = yes
35800 then
35801 cat >>confdefs.h <<_ACEOF
35802 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35803 _ACEOF
35804
35805
35806 else
35807 :
35808
35809 fi
35810 done
35811
35812
35813 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35814 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35815 cat >conftest.$ac_ext <<_ACEOF
35816 /* confdefs.h. */
35817 _ACEOF
35818 cat confdefs.h >>conftest.$ac_ext
35819 cat >>conftest.$ac_ext <<_ACEOF
35820 /* end confdefs.h. */
35821 #include <wchar.h>
35822 int
35823 main ()
35824 {
35825 &_vsnwprintf;
35826 ;
35827 return 0;
35828 }
35829 _ACEOF
35830 rm -f conftest.$ac_objext
35831 if { (ac_try="$ac_compile"
35832 case "(($ac_try" in
35833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35834 *) ac_try_echo=$ac_try;;
35835 esac
35836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35837 (eval "$ac_compile") 2>conftest.er1
35838 ac_status=$?
35839 grep -v '^ *+' conftest.er1 >conftest.err
35840 rm -f conftest.er1
35841 cat conftest.err >&5
35842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35843 (exit $ac_status); } && {
35844 test -z "$ac_c_werror_flag" ||
35845 test ! -s conftest.err
35846 } && test -s conftest.$ac_objext; then
35847 { echo "$as_me:$LINENO: result: yes" >&5
35848 echo "${ECHO_T}yes" >&6; }
35849 cat >>confdefs.h <<\_ACEOF
35850 #define HAVE__VSNWPRINTF 1
35851 _ACEOF
35852
35853 else
35854 echo "$as_me: failed program was:" >&5
35855 sed 's/^/| /' conftest.$ac_ext >&5
35856
35857 { echo "$as_me:$LINENO: result: no" >&5
35858 echo "${ECHO_T}no" >&6; }
35859 fi
35860
35861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35862 fi
35863
35864 if test "$wxUSE_FILE" = "yes"; then
35865
35866 for wx_func in fsync
35867 do
35868 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35869 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35870 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35871 echo $ECHO_N "(cached) $ECHO_C" >&6
35872 else
35873
35874 cat >conftest.$ac_ext <<_ACEOF
35875
35876 /* confdefs.h. */
35877 _ACEOF
35878 cat confdefs.h >>conftest.$ac_ext
35879 cat >>conftest.$ac_ext <<_ACEOF
35880 /* end confdefs.h. */
35881
35882
35883 $ac_includes_default
35884
35885 int
35886 main ()
35887 {
35888
35889 #ifndef $wx_func
35890 &$wx_func;
35891 #endif
35892
35893
35894 ;
35895 return 0;
35896 }
35897
35898 _ACEOF
35899 rm -f conftest.$ac_objext conftest$ac_exeext
35900 if { (ac_try="$ac_link"
35901 case "(($ac_try" in
35902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35903 *) ac_try_echo=$ac_try;;
35904 esac
35905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35906 (eval "$ac_link") 2>conftest.er1
35907 ac_status=$?
35908 grep -v '^ *+' conftest.er1 >conftest.err
35909 rm -f conftest.er1
35910 cat conftest.err >&5
35911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35912 (exit $ac_status); } && {
35913 test -z "$ac_c_werror_flag" ||
35914 test ! -s conftest.err
35915 } && test -s conftest$ac_exeext &&
35916 $as_test_x conftest$ac_exeext; then
35917 eval wx_cv_func_$wx_func=yes
35918 else
35919 echo "$as_me: failed program was:" >&5
35920 sed 's/^/| /' conftest.$ac_ext >&5
35921
35922 eval wx_cv_func_$wx_func=no
35923 fi
35924
35925 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35926 conftest$ac_exeext conftest.$ac_ext
35927
35928 fi
35929 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35930 { echo "$as_me:$LINENO: result: $ac_res" >&5
35931 echo "${ECHO_T}$ac_res" >&6; }
35932
35933 if eval test \$wx_cv_func_$wx_func = yes
35934 then
35935 cat >>confdefs.h <<_ACEOF
35936 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35937 _ACEOF
35938
35939
35940 else
35941 :
35942
35943 fi
35944 done
35945
35946 fi
35947
35948 ac_ext=cpp
35949 ac_cpp='$CXXCPP $CPPFLAGS'
35950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35953
35954
35955 for wx_func in round
35956 do
35957 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35958 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35959 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35960 echo $ECHO_N "(cached) $ECHO_C" >&6
35961 else
35962
35963 cat >conftest.$ac_ext <<_ACEOF
35964
35965 /* confdefs.h. */
35966 _ACEOF
35967 cat confdefs.h >>conftest.$ac_ext
35968 cat >>conftest.$ac_ext <<_ACEOF
35969 /* end confdefs.h. */
35970
35971 #include <math.h>
35972 $ac_includes_default
35973
35974 int
35975 main ()
35976 {
35977
35978 #ifndef $wx_func
35979 &$wx_func;
35980 #endif
35981
35982
35983 ;
35984 return 0;
35985 }
35986
35987 _ACEOF
35988 rm -f conftest.$ac_objext conftest$ac_exeext
35989 if { (ac_try="$ac_link"
35990 case "(($ac_try" in
35991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35992 *) ac_try_echo=$ac_try;;
35993 esac
35994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35995 (eval "$ac_link") 2>conftest.er1
35996 ac_status=$?
35997 grep -v '^ *+' conftest.er1 >conftest.err
35998 rm -f conftest.er1
35999 cat conftest.err >&5
36000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36001 (exit $ac_status); } && {
36002 test -z "$ac_cxx_werror_flag" ||
36003 test ! -s conftest.err
36004 } && test -s conftest$ac_exeext &&
36005 $as_test_x conftest$ac_exeext; then
36006 eval wx_cv_func_$wx_func=yes
36007 else
36008 echo "$as_me: failed program was:" >&5
36009 sed 's/^/| /' conftest.$ac_ext >&5
36010
36011 eval wx_cv_func_$wx_func=no
36012 fi
36013
36014 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36015 conftest$ac_exeext conftest.$ac_ext
36016
36017 fi
36018 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36019 { echo "$as_me:$LINENO: result: $ac_res" >&5
36020 echo "${ECHO_T}$ac_res" >&6; }
36021
36022 if eval test \$wx_cv_func_$wx_func = yes
36023 then
36024 cat >>confdefs.h <<_ACEOF
36025 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36026 _ACEOF
36027
36028
36029 else
36030 :
36031
36032 fi
36033 done
36034
36035 ac_ext=c
36036 ac_cpp='$CPP $CPPFLAGS'
36037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36040
36041
36042 if test "$TOOLKIT" != "MSW"; then
36043
36044 if test "$wxUSE_LIBICONV" != "no" ; then
36045
36046
36047
36048 # Check whether --with-libiconv-prefix was given.
36049 if test "${with_libiconv_prefix+set}" = set; then
36050 withval=$with_libiconv_prefix;
36051 for dir in `echo "$withval" | tr : ' '`; do
36052 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36053 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36054 done
36055
36056 fi
36057
36058
36059 { echo "$as_me:$LINENO: checking for iconv" >&5
36060 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36061 if test "${am_cv_func_iconv+set}" = set; then
36062 echo $ECHO_N "(cached) $ECHO_C" >&6
36063 else
36064
36065 am_cv_func_iconv="no, consider installing GNU libiconv"
36066 am_cv_lib_iconv=no
36067 cat >conftest.$ac_ext <<_ACEOF
36068 /* confdefs.h. */
36069 _ACEOF
36070 cat confdefs.h >>conftest.$ac_ext
36071 cat >>conftest.$ac_ext <<_ACEOF
36072 /* end confdefs.h. */
36073 #include <stdlib.h>
36074 #include <iconv.h>
36075 int
36076 main ()
36077 {
36078 iconv_t cd = iconv_open("","");
36079 iconv(cd,NULL,NULL,NULL,NULL);
36080 iconv_close(cd);
36081 ;
36082 return 0;
36083 }
36084 _ACEOF
36085 rm -f conftest.$ac_objext conftest$ac_exeext
36086 if { (ac_try="$ac_link"
36087 case "(($ac_try" in
36088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36089 *) ac_try_echo=$ac_try;;
36090 esac
36091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36092 (eval "$ac_link") 2>conftest.er1
36093 ac_status=$?
36094 grep -v '^ *+' conftest.er1 >conftest.err
36095 rm -f conftest.er1
36096 cat conftest.err >&5
36097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36098 (exit $ac_status); } && {
36099 test -z "$ac_c_werror_flag" ||
36100 test ! -s conftest.err
36101 } && test -s conftest$ac_exeext &&
36102 $as_test_x conftest$ac_exeext; then
36103 am_cv_func_iconv=yes
36104 else
36105 echo "$as_me: failed program was:" >&5
36106 sed 's/^/| /' conftest.$ac_ext >&5
36107
36108
36109 fi
36110
36111 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36112 conftest$ac_exeext conftest.$ac_ext
36113 if test "$am_cv_func_iconv" != yes; then
36114 am_save_LIBS="$LIBS"
36115 LIBS="$LIBS -liconv"
36116 cat >conftest.$ac_ext <<_ACEOF
36117 /* confdefs.h. */
36118 _ACEOF
36119 cat confdefs.h >>conftest.$ac_ext
36120 cat >>conftest.$ac_ext <<_ACEOF
36121 /* end confdefs.h. */
36122 #include <stdlib.h>
36123 #include <iconv.h>
36124 int
36125 main ()
36126 {
36127 iconv_t cd = iconv_open("","");
36128 iconv(cd,NULL,NULL,NULL,NULL);
36129 iconv_close(cd);
36130 ;
36131 return 0;
36132 }
36133 _ACEOF
36134 rm -f conftest.$ac_objext conftest$ac_exeext
36135 if { (ac_try="$ac_link"
36136 case "(($ac_try" in
36137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36138 *) ac_try_echo=$ac_try;;
36139 esac
36140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36141 (eval "$ac_link") 2>conftest.er1
36142 ac_status=$?
36143 grep -v '^ *+' conftest.er1 >conftest.err
36144 rm -f conftest.er1
36145 cat conftest.err >&5
36146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36147 (exit $ac_status); } && {
36148 test -z "$ac_c_werror_flag" ||
36149 test ! -s conftest.err
36150 } && test -s conftest$ac_exeext &&
36151 $as_test_x conftest$ac_exeext; then
36152 am_cv_lib_iconv=yes
36153 am_cv_func_iconv=yes
36154 else
36155 echo "$as_me: failed program was:" >&5
36156 sed 's/^/| /' conftest.$ac_ext >&5
36157
36158
36159 fi
36160
36161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36162 conftest$ac_exeext conftest.$ac_ext
36163 LIBS="$am_save_LIBS"
36164 fi
36165
36166 fi
36167 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36168 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36169 if test "$am_cv_func_iconv" = yes; then
36170
36171 cat >>confdefs.h <<\_ACEOF
36172 #define HAVE_ICONV 1
36173 _ACEOF
36174
36175 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36176 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36177 if test "${wx_cv_func_iconv_const+set}" = set; then
36178 echo $ECHO_N "(cached) $ECHO_C" >&6
36179 else
36180 cat >conftest.$ac_ext <<_ACEOF
36181 /* confdefs.h. */
36182 _ACEOF
36183 cat confdefs.h >>conftest.$ac_ext
36184 cat >>conftest.$ac_ext <<_ACEOF
36185 /* end confdefs.h. */
36186
36187 #include <stdlib.h>
36188 #include <iconv.h>
36189 extern
36190 #ifdef __cplusplus
36191 "C"
36192 #endif
36193 #if defined(__STDC__) || defined(__cplusplus)
36194 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36195 #else
36196 size_t iconv();
36197 #endif
36198
36199 int
36200 main ()
36201 {
36202
36203 ;
36204 return 0;
36205 }
36206 _ACEOF
36207 rm -f conftest.$ac_objext
36208 if { (ac_try="$ac_compile"
36209 case "(($ac_try" in
36210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36211 *) ac_try_echo=$ac_try;;
36212 esac
36213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36214 (eval "$ac_compile") 2>conftest.er1
36215 ac_status=$?
36216 grep -v '^ *+' conftest.er1 >conftest.err
36217 rm -f conftest.er1
36218 cat conftest.err >&5
36219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36220 (exit $ac_status); } && {
36221 test -z "$ac_c_werror_flag" ||
36222 test ! -s conftest.err
36223 } && test -s conftest.$ac_objext; then
36224 wx_cv_func_iconv_const="no"
36225 else
36226 echo "$as_me: failed program was:" >&5
36227 sed 's/^/| /' conftest.$ac_ext >&5
36228
36229 wx_cv_func_iconv_const="yes"
36230
36231 fi
36232
36233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36234
36235 fi
36236 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36237 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36238
36239 iconv_const=
36240 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36241 iconv_const="const"
36242 fi
36243
36244
36245 cat >>confdefs.h <<_ACEOF
36246 #define ICONV_CONST $iconv_const
36247 _ACEOF
36248
36249 fi
36250 LIBICONV=
36251 if test "$am_cv_lib_iconv" = yes; then
36252 LIBICONV="-liconv"
36253 fi
36254
36255
36256 LIBS="$LIBICONV $LIBS"
36257 fi
36258
36259 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36260
36261 for ac_func in sigaction
36262 do
36263 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36264 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36266 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36267 echo $ECHO_N "(cached) $ECHO_C" >&6
36268 else
36269 cat >conftest.$ac_ext <<_ACEOF
36270 /* confdefs.h. */
36271 _ACEOF
36272 cat confdefs.h >>conftest.$ac_ext
36273 cat >>conftest.$ac_ext <<_ACEOF
36274 /* end confdefs.h. */
36275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36277 #define $ac_func innocuous_$ac_func
36278
36279 /* System header to define __stub macros and hopefully few prototypes,
36280 which can conflict with char $ac_func (); below.
36281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36282 <limits.h> exists even on freestanding compilers. */
36283
36284 #ifdef __STDC__
36285 # include <limits.h>
36286 #else
36287 # include <assert.h>
36288 #endif
36289
36290 #undef $ac_func
36291
36292 /* Override any GCC internal prototype to avoid an error.
36293 Use char because int might match the return type of a GCC
36294 builtin and then its argument prototype would still apply. */
36295 #ifdef __cplusplus
36296 extern "C"
36297 #endif
36298 char $ac_func ();
36299 /* The GNU C library defines this for functions which it implements
36300 to always fail with ENOSYS. Some functions are actually named
36301 something starting with __ and the normal name is an alias. */
36302 #if defined __stub_$ac_func || defined __stub___$ac_func
36303 choke me
36304 #endif
36305
36306 int
36307 main ()
36308 {
36309 return $ac_func ();
36310 ;
36311 return 0;
36312 }
36313 _ACEOF
36314 rm -f conftest.$ac_objext conftest$ac_exeext
36315 if { (ac_try="$ac_link"
36316 case "(($ac_try" in
36317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36318 *) ac_try_echo=$ac_try;;
36319 esac
36320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36321 (eval "$ac_link") 2>conftest.er1
36322 ac_status=$?
36323 grep -v '^ *+' conftest.er1 >conftest.err
36324 rm -f conftest.er1
36325 cat conftest.err >&5
36326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36327 (exit $ac_status); } && {
36328 test -z "$ac_c_werror_flag" ||
36329 test ! -s conftest.err
36330 } && test -s conftest$ac_exeext &&
36331 $as_test_x conftest$ac_exeext; then
36332 eval "$as_ac_var=yes"
36333 else
36334 echo "$as_me: failed program was:" >&5
36335 sed 's/^/| /' conftest.$ac_ext >&5
36336
36337 eval "$as_ac_var=no"
36338 fi
36339
36340 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36341 conftest$ac_exeext conftest.$ac_ext
36342 fi
36343 ac_res=`eval echo '${'$as_ac_var'}'`
36344 { echo "$as_me:$LINENO: result: $ac_res" >&5
36345 echo "${ECHO_T}$ac_res" >&6; }
36346 if test `eval echo '${'$as_ac_var'}'` = yes; then
36347 cat >>confdefs.h <<_ACEOF
36348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36349 _ACEOF
36350
36351 fi
36352 done
36353
36354
36355 if test "$ac_cv_func_sigaction" = "no"; then
36356 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36357 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36358 wxUSE_ON_FATAL_EXCEPTION=no
36359 fi
36360
36361 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36362 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36363 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36364 if test "${wx_cv_type_sa_handler+set}" = set; then
36365 echo $ECHO_N "(cached) $ECHO_C" >&6
36366 else
36367
36368 ac_ext=cpp
36369 ac_cpp='$CXXCPP $CPPFLAGS'
36370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36373
36374 cat >conftest.$ac_ext <<_ACEOF
36375 /* confdefs.h. */
36376 _ACEOF
36377 cat confdefs.h >>conftest.$ac_ext
36378 cat >>conftest.$ac_ext <<_ACEOF
36379 /* end confdefs.h. */
36380 #include <signal.h>
36381 int
36382 main ()
36383 {
36384
36385 extern void testSigHandler(int);
36386
36387 struct sigaction sa;
36388 sa.sa_handler = testSigHandler;
36389
36390 ;
36391 return 0;
36392 }
36393 _ACEOF
36394 rm -f conftest.$ac_objext
36395 if { (ac_try="$ac_compile"
36396 case "(($ac_try" in
36397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36398 *) ac_try_echo=$ac_try;;
36399 esac
36400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36401 (eval "$ac_compile") 2>conftest.er1
36402 ac_status=$?
36403 grep -v '^ *+' conftest.er1 >conftest.err
36404 rm -f conftest.er1
36405 cat conftest.err >&5
36406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36407 (exit $ac_status); } && {
36408 test -z "$ac_cxx_werror_flag" ||
36409 test ! -s conftest.err
36410 } && test -s conftest.$ac_objext; then
36411
36412 wx_cv_type_sa_handler=int
36413
36414 else
36415 echo "$as_me: failed program was:" >&5
36416 sed 's/^/| /' conftest.$ac_ext >&5
36417
36418
36419 wx_cv_type_sa_handler=void
36420
36421 fi
36422
36423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36424 ac_ext=c
36425 ac_cpp='$CPP $CPPFLAGS'
36426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36429
36430
36431 fi
36432 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36433 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36434
36435 cat >>confdefs.h <<_ACEOF
36436 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36437 _ACEOF
36438
36439 fi
36440 fi
36441
36442 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36443 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36444 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36445 if test "${wx_cv_func_backtrace+set}" = set; then
36446 echo $ECHO_N "(cached) $ECHO_C" >&6
36447 else
36448
36449 ac_ext=cpp
36450 ac_cpp='$CXXCPP $CPPFLAGS'
36451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36454
36455 cat >conftest.$ac_ext <<_ACEOF
36456 /* confdefs.h. */
36457 _ACEOF
36458 cat confdefs.h >>conftest.$ac_ext
36459 cat >>conftest.$ac_ext <<_ACEOF
36460 /* end confdefs.h. */
36461 #include <execinfo.h>
36462 int
36463 main ()
36464 {
36465
36466 void *trace[1];
36467 char **messages;
36468
36469 backtrace(trace, 1);
36470 messages = backtrace_symbols(trace, 1);
36471
36472 ;
36473 return 0;
36474 }
36475 _ACEOF
36476 rm -f conftest.$ac_objext
36477 if { (ac_try="$ac_compile"
36478 case "(($ac_try" in
36479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36480 *) ac_try_echo=$ac_try;;
36481 esac
36482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36483 (eval "$ac_compile") 2>conftest.er1
36484 ac_status=$?
36485 grep -v '^ *+' conftest.er1 >conftest.err
36486 rm -f conftest.er1
36487 cat conftest.err >&5
36488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36489 (exit $ac_status); } && {
36490 test -z "$ac_cxx_werror_flag" ||
36491 test ! -s conftest.err
36492 } && test -s conftest.$ac_objext; then
36493 wx_cv_func_backtrace=yes
36494 else
36495 echo "$as_me: failed program was:" >&5
36496 sed 's/^/| /' conftest.$ac_ext >&5
36497
36498 wx_cv_func_backtrace=no
36499
36500 fi
36501
36502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36503 ac_ext=c
36504 ac_cpp='$CPP $CPPFLAGS'
36505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36508
36509
36510
36511 fi
36512 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36513 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36514
36515
36516 if test "$wx_cv_func_backtrace" = "no"; then
36517 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36518 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36519 wxUSE_STACKWALKER=no
36520 else
36521 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36522 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36523 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36524 echo $ECHO_N "(cached) $ECHO_C" >&6
36525 else
36526
36527 ac_ext=cpp
36528 ac_cpp='$CXXCPP $CPPFLAGS'
36529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36532
36533 cat >conftest.$ac_ext <<_ACEOF
36534 /* confdefs.h. */
36535 _ACEOF
36536 cat confdefs.h >>conftest.$ac_ext
36537 cat >>conftest.$ac_ext <<_ACEOF
36538 /* end confdefs.h. */
36539 #include <cxxabi.h>
36540 int
36541 main ()
36542 {
36543
36544 int rc;
36545 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36546
36547 ;
36548 return 0;
36549 }
36550 _ACEOF
36551 rm -f conftest.$ac_objext conftest$ac_exeext
36552 if { (ac_try="$ac_link"
36553 case "(($ac_try" in
36554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36555 *) ac_try_echo=$ac_try;;
36556 esac
36557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36558 (eval "$ac_link") 2>conftest.er1
36559 ac_status=$?
36560 grep -v '^ *+' conftest.er1 >conftest.err
36561 rm -f conftest.er1
36562 cat conftest.err >&5
36563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36564 (exit $ac_status); } && {
36565 test -z "$ac_cxx_werror_flag" ||
36566 test ! -s conftest.err
36567 } && test -s conftest$ac_exeext &&
36568 $as_test_x conftest$ac_exeext; then
36569 wx_cv_func_cxa_demangle=yes
36570 else
36571 echo "$as_me: failed program was:" >&5
36572 sed 's/^/| /' conftest.$ac_ext >&5
36573
36574 wx_cv_func_cxa_demangle=no
36575
36576 fi
36577
36578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36579 conftest$ac_exeext conftest.$ac_ext
36580 ac_ext=c
36581 ac_cpp='$CPP $CPPFLAGS'
36582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36585
36586
36587
36588 fi
36589 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36590 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36591
36592 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36593 cat >>confdefs.h <<\_ACEOF
36594 #define HAVE_CXA_DEMANGLE 1
36595 _ACEOF
36596
36597 fi
36598 fi
36599 fi
36600
36601 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36602 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36603 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36604 wxUSE_STACKWALKER=no
36605 fi
36606
36607
36608
36609
36610 for ac_func in mkstemp mktemp
36611 do
36612 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36613 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36615 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36616 echo $ECHO_N "(cached) $ECHO_C" >&6
36617 else
36618 cat >conftest.$ac_ext <<_ACEOF
36619 /* confdefs.h. */
36620 _ACEOF
36621 cat confdefs.h >>conftest.$ac_ext
36622 cat >>conftest.$ac_ext <<_ACEOF
36623 /* end confdefs.h. */
36624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36626 #define $ac_func innocuous_$ac_func
36627
36628 /* System header to define __stub macros and hopefully few prototypes,
36629 which can conflict with char $ac_func (); below.
36630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36631 <limits.h> exists even on freestanding compilers. */
36632
36633 #ifdef __STDC__
36634 # include <limits.h>
36635 #else
36636 # include <assert.h>
36637 #endif
36638
36639 #undef $ac_func
36640
36641 /* Override any GCC internal prototype to avoid an error.
36642 Use char because int might match the return type of a GCC
36643 builtin and then its argument prototype would still apply. */
36644 #ifdef __cplusplus
36645 extern "C"
36646 #endif
36647 char $ac_func ();
36648 /* The GNU C library defines this for functions which it implements
36649 to always fail with ENOSYS. Some functions are actually named
36650 something starting with __ and the normal name is an alias. */
36651 #if defined __stub_$ac_func || defined __stub___$ac_func
36652 choke me
36653 #endif
36654
36655 int
36656 main ()
36657 {
36658 return $ac_func ();
36659 ;
36660 return 0;
36661 }
36662 _ACEOF
36663 rm -f conftest.$ac_objext conftest$ac_exeext
36664 if { (ac_try="$ac_link"
36665 case "(($ac_try" in
36666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36667 *) ac_try_echo=$ac_try;;
36668 esac
36669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36670 (eval "$ac_link") 2>conftest.er1
36671 ac_status=$?
36672 grep -v '^ *+' conftest.er1 >conftest.err
36673 rm -f conftest.er1
36674 cat conftest.err >&5
36675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36676 (exit $ac_status); } && {
36677 test -z "$ac_c_werror_flag" ||
36678 test ! -s conftest.err
36679 } && test -s conftest$ac_exeext &&
36680 $as_test_x conftest$ac_exeext; then
36681 eval "$as_ac_var=yes"
36682 else
36683 echo "$as_me: failed program was:" >&5
36684 sed 's/^/| /' conftest.$ac_ext >&5
36685
36686 eval "$as_ac_var=no"
36687 fi
36688
36689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36690 conftest$ac_exeext conftest.$ac_ext
36691 fi
36692 ac_res=`eval echo '${'$as_ac_var'}'`
36693 { echo "$as_me:$LINENO: result: $ac_res" >&5
36694 echo "${ECHO_T}$ac_res" >&6; }
36695 if test `eval echo '${'$as_ac_var'}'` = yes; then
36696 cat >>confdefs.h <<_ACEOF
36697 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36698 _ACEOF
36699 break
36700 fi
36701 done
36702
36703
36704 { echo "$as_me:$LINENO: checking for statfs" >&5
36705 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36706 if test "${wx_cv_func_statfs+set}" = set; then
36707 echo $ECHO_N "(cached) $ECHO_C" >&6
36708 else
36709 cat >conftest.$ac_ext <<_ACEOF
36710 /* confdefs.h. */
36711 _ACEOF
36712 cat confdefs.h >>conftest.$ac_ext
36713 cat >>conftest.$ac_ext <<_ACEOF
36714 /* end confdefs.h. */
36715
36716 #if defined(__BSD__)
36717 #include <sys/param.h>
36718 #include <sys/mount.h>
36719 #else
36720 #include <sys/vfs.h>
36721 #endif
36722
36723 int
36724 main ()
36725 {
36726
36727 long l;
36728 struct statfs fs;
36729 statfs("/", &fs);
36730 l = fs.f_bsize;
36731 l += fs.f_blocks;
36732 l += fs.f_bavail;
36733
36734 ;
36735 return 0;
36736 }
36737 _ACEOF
36738 rm -f conftest.$ac_objext
36739 if { (ac_try="$ac_compile"
36740 case "(($ac_try" in
36741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36742 *) ac_try_echo=$ac_try;;
36743 esac
36744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36745 (eval "$ac_compile") 2>conftest.er1
36746 ac_status=$?
36747 grep -v '^ *+' conftest.er1 >conftest.err
36748 rm -f conftest.er1
36749 cat conftest.err >&5
36750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36751 (exit $ac_status); } && {
36752 test -z "$ac_c_werror_flag" ||
36753 test ! -s conftest.err
36754 } && test -s conftest.$ac_objext; then
36755 wx_cv_func_statfs=yes
36756 else
36757 echo "$as_me: failed program was:" >&5
36758 sed 's/^/| /' conftest.$ac_ext >&5
36759
36760 wx_cv_func_statfs=no
36761
36762 fi
36763
36764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36765
36766 fi
36767 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36768 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36769
36770 if test "$wx_cv_func_statfs" = "yes"; then
36771 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36772 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36773 if test "${wx_cv_func_statfs_decl+set}" = set; then
36774 echo $ECHO_N "(cached) $ECHO_C" >&6
36775 else
36776 ac_ext=cpp
36777 ac_cpp='$CXXCPP $CPPFLAGS'
36778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36781
36782 cat >conftest.$ac_ext <<_ACEOF
36783 /* confdefs.h. */
36784 _ACEOF
36785 cat confdefs.h >>conftest.$ac_ext
36786 cat >>conftest.$ac_ext <<_ACEOF
36787 /* end confdefs.h. */
36788
36789 #if defined(__BSD__)
36790 #include <sys/param.h>
36791 #include <sys/mount.h>
36792 #else
36793 #include <sys/vfs.h>
36794 #endif
36795
36796 int
36797 main ()
36798 {
36799
36800 struct statfs fs;
36801 statfs("", &fs);
36802
36803 ;
36804 return 0;
36805 }
36806 _ACEOF
36807 rm -f conftest.$ac_objext
36808 if { (ac_try="$ac_compile"
36809 case "(($ac_try" in
36810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36811 *) ac_try_echo=$ac_try;;
36812 esac
36813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36814 (eval "$ac_compile") 2>conftest.er1
36815 ac_status=$?
36816 grep -v '^ *+' conftest.er1 >conftest.err
36817 rm -f conftest.er1
36818 cat conftest.err >&5
36819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36820 (exit $ac_status); } && {
36821 test -z "$ac_cxx_werror_flag" ||
36822 test ! -s conftest.err
36823 } && test -s conftest.$ac_objext; then
36824 wx_cv_func_statfs_decl=yes
36825 else
36826 echo "$as_me: failed program was:" >&5
36827 sed 's/^/| /' conftest.$ac_ext >&5
36828
36829 wx_cv_func_statfs_decl=no
36830
36831 fi
36832
36833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36834 ac_ext=c
36835 ac_cpp='$CPP $CPPFLAGS'
36836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36839
36840
36841 fi
36842 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36843 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36844
36845 if test "$wx_cv_func_statfs_decl" = "yes"; then
36846 cat >>confdefs.h <<\_ACEOF
36847 #define HAVE_STATFS_DECL 1
36848 _ACEOF
36849
36850 fi
36851
36852 wx_cv_type_statvfs_t="struct statfs"
36853 cat >>confdefs.h <<\_ACEOF
36854 #define HAVE_STATFS 1
36855 _ACEOF
36856
36857 else
36858 { echo "$as_me:$LINENO: checking for statvfs" >&5
36859 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36860 if test "${wx_cv_func_statvfs+set}" = set; then
36861 echo $ECHO_N "(cached) $ECHO_C" >&6
36862 else
36863 cat >conftest.$ac_ext <<_ACEOF
36864 /* confdefs.h. */
36865 _ACEOF
36866 cat confdefs.h >>conftest.$ac_ext
36867 cat >>conftest.$ac_ext <<_ACEOF
36868 /* end confdefs.h. */
36869
36870 #include <stddef.h>
36871 #include <sys/statvfs.h>
36872
36873 int
36874 main ()
36875 {
36876
36877 statvfs("/", NULL);
36878
36879 ;
36880 return 0;
36881 }
36882 _ACEOF
36883 rm -f conftest.$ac_objext
36884 if { (ac_try="$ac_compile"
36885 case "(($ac_try" in
36886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36887 *) ac_try_echo=$ac_try;;
36888 esac
36889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36890 (eval "$ac_compile") 2>conftest.er1
36891 ac_status=$?
36892 grep -v '^ *+' conftest.er1 >conftest.err
36893 rm -f conftest.er1
36894 cat conftest.err >&5
36895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36896 (exit $ac_status); } && {
36897 test -z "$ac_c_werror_flag" ||
36898 test ! -s conftest.err
36899 } && test -s conftest.$ac_objext; then
36900 wx_cv_func_statvfs=yes
36901 else
36902 echo "$as_me: failed program was:" >&5
36903 sed 's/^/| /' conftest.$ac_ext >&5
36904
36905 wx_cv_func_statvfs=no
36906
36907 fi
36908
36909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36910
36911 fi
36912 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36913 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36914
36915 if test "$wx_cv_func_statvfs" = "yes"; then
36916 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36917 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36918 if test "${wx_cv_type_statvfs_t+set}" = set; then
36919 echo $ECHO_N "(cached) $ECHO_C" >&6
36920 else
36921 ac_ext=cpp
36922 ac_cpp='$CXXCPP $CPPFLAGS'
36923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36926
36927 cat >conftest.$ac_ext <<_ACEOF
36928 /* confdefs.h. */
36929 _ACEOF
36930 cat confdefs.h >>conftest.$ac_ext
36931 cat >>conftest.$ac_ext <<_ACEOF
36932 /* end confdefs.h. */
36933
36934 #include <sys/statvfs.h>
36935
36936 int
36937 main ()
36938 {
36939
36940 long l;
36941 statvfs_t fs;
36942 statvfs("/", &fs);
36943 l = fs.f_bsize;
36944 l += fs.f_blocks;
36945 l += fs.f_bavail;
36946
36947 ;
36948 return 0;
36949 }
36950 _ACEOF
36951 rm -f conftest.$ac_objext
36952 if { (ac_try="$ac_compile"
36953 case "(($ac_try" in
36954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36955 *) ac_try_echo=$ac_try;;
36956 esac
36957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36958 (eval "$ac_compile") 2>conftest.er1
36959 ac_status=$?
36960 grep -v '^ *+' conftest.er1 >conftest.err
36961 rm -f conftest.er1
36962 cat conftest.err >&5
36963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36964 (exit $ac_status); } && {
36965 test -z "$ac_cxx_werror_flag" ||
36966 test ! -s conftest.err
36967 } && test -s conftest.$ac_objext; then
36968 wx_cv_type_statvfs_t=statvfs_t
36969 else
36970 echo "$as_me: failed program was:" >&5
36971 sed 's/^/| /' conftest.$ac_ext >&5
36972
36973
36974 cat >conftest.$ac_ext <<_ACEOF
36975 /* confdefs.h. */
36976 _ACEOF
36977 cat confdefs.h >>conftest.$ac_ext
36978 cat >>conftest.$ac_ext <<_ACEOF
36979 /* end confdefs.h. */
36980
36981 #include <sys/statvfs.h>
36982
36983 int
36984 main ()
36985 {
36986
36987 long l;
36988 struct statvfs fs;
36989 statvfs("/", &fs);
36990 l = fs.f_bsize;
36991 l += fs.f_blocks;
36992 l += fs.f_bavail;
36993
36994 ;
36995 return 0;
36996 }
36997 _ACEOF
36998 rm -f conftest.$ac_objext
36999 if { (ac_try="$ac_compile"
37000 case "(($ac_try" in
37001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37002 *) ac_try_echo=$ac_try;;
37003 esac
37004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37005 (eval "$ac_compile") 2>conftest.er1
37006 ac_status=$?
37007 grep -v '^ *+' conftest.er1 >conftest.err
37008 rm -f conftest.er1
37009 cat conftest.err >&5
37010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37011 (exit $ac_status); } && {
37012 test -z "$ac_cxx_werror_flag" ||
37013 test ! -s conftest.err
37014 } && test -s conftest.$ac_objext; then
37015 wx_cv_type_statvfs_t="struct statvfs"
37016 else
37017 echo "$as_me: failed program was:" >&5
37018 sed 's/^/| /' conftest.$ac_ext >&5
37019
37020 wx_cv_type_statvfs_t="unknown"
37021
37022 fi
37023
37024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37025
37026
37027 fi
37028
37029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37030 ac_ext=c
37031 ac_cpp='$CPP $CPPFLAGS'
37032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37035
37036
37037 fi
37038 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37039 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37040
37041 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37042 cat >>confdefs.h <<\_ACEOF
37043 #define HAVE_STATVFS 1
37044 _ACEOF
37045
37046 fi
37047 else
37048 wx_cv_type_statvfs_t="unknown"
37049 fi
37050 fi
37051
37052 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37053 cat >>confdefs.h <<_ACEOF
37054 #define WX_STATFS_T $wx_cv_type_statvfs_t
37055 _ACEOF
37056
37057 else
37058 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37059 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37060 fi
37061
37062 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37063
37064
37065 for ac_func in fcntl flock
37066 do
37067 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37068 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37070 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37071 echo $ECHO_N "(cached) $ECHO_C" >&6
37072 else
37073 cat >conftest.$ac_ext <<_ACEOF
37074 /* confdefs.h. */
37075 _ACEOF
37076 cat confdefs.h >>conftest.$ac_ext
37077 cat >>conftest.$ac_ext <<_ACEOF
37078 /* end confdefs.h. */
37079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37081 #define $ac_func innocuous_$ac_func
37082
37083 /* System header to define __stub macros and hopefully few prototypes,
37084 which can conflict with char $ac_func (); below.
37085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37086 <limits.h> exists even on freestanding compilers. */
37087
37088 #ifdef __STDC__
37089 # include <limits.h>
37090 #else
37091 # include <assert.h>
37092 #endif
37093
37094 #undef $ac_func
37095
37096 /* Override any GCC internal prototype to avoid an error.
37097 Use char because int might match the return type of a GCC
37098 builtin and then its argument prototype would still apply. */
37099 #ifdef __cplusplus
37100 extern "C"
37101 #endif
37102 char $ac_func ();
37103 /* The GNU C library defines this for functions which it implements
37104 to always fail with ENOSYS. Some functions are actually named
37105 something starting with __ and the normal name is an alias. */
37106 #if defined __stub_$ac_func || defined __stub___$ac_func
37107 choke me
37108 #endif
37109
37110 int
37111 main ()
37112 {
37113 return $ac_func ();
37114 ;
37115 return 0;
37116 }
37117 _ACEOF
37118 rm -f conftest.$ac_objext conftest$ac_exeext
37119 if { (ac_try="$ac_link"
37120 case "(($ac_try" in
37121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37122 *) ac_try_echo=$ac_try;;
37123 esac
37124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37125 (eval "$ac_link") 2>conftest.er1
37126 ac_status=$?
37127 grep -v '^ *+' conftest.er1 >conftest.err
37128 rm -f conftest.er1
37129 cat conftest.err >&5
37130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37131 (exit $ac_status); } && {
37132 test -z "$ac_c_werror_flag" ||
37133 test ! -s conftest.err
37134 } && test -s conftest$ac_exeext &&
37135 $as_test_x conftest$ac_exeext; then
37136 eval "$as_ac_var=yes"
37137 else
37138 echo "$as_me: failed program was:" >&5
37139 sed 's/^/| /' conftest.$ac_ext >&5
37140
37141 eval "$as_ac_var=no"
37142 fi
37143
37144 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37145 conftest$ac_exeext conftest.$ac_ext
37146 fi
37147 ac_res=`eval echo '${'$as_ac_var'}'`
37148 { echo "$as_me:$LINENO: result: $ac_res" >&5
37149 echo "${ECHO_T}$ac_res" >&6; }
37150 if test `eval echo '${'$as_ac_var'}'` = yes; then
37151 cat >>confdefs.h <<_ACEOF
37152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37153 _ACEOF
37154 break
37155 fi
37156 done
37157
37158
37159 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37160 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37161 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37162 wxUSE_SNGLINST_CHECKER=no
37163 fi
37164 fi
37165
37166
37167
37168 for ac_func in setenv putenv
37169 do
37170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37171 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37173 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37174 echo $ECHO_N "(cached) $ECHO_C" >&6
37175 else
37176 cat >conftest.$ac_ext <<_ACEOF
37177 /* confdefs.h. */
37178 _ACEOF
37179 cat confdefs.h >>conftest.$ac_ext
37180 cat >>conftest.$ac_ext <<_ACEOF
37181 /* end confdefs.h. */
37182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37184 #define $ac_func innocuous_$ac_func
37185
37186 /* System header to define __stub macros and hopefully few prototypes,
37187 which can conflict with char $ac_func (); below.
37188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37189 <limits.h> exists even on freestanding compilers. */
37190
37191 #ifdef __STDC__
37192 # include <limits.h>
37193 #else
37194 # include <assert.h>
37195 #endif
37196
37197 #undef $ac_func
37198
37199 /* Override any GCC internal prototype to avoid an error.
37200 Use char because int might match the return type of a GCC
37201 builtin and then its argument prototype would still apply. */
37202 #ifdef __cplusplus
37203 extern "C"
37204 #endif
37205 char $ac_func ();
37206 /* The GNU C library defines this for functions which it implements
37207 to always fail with ENOSYS. Some functions are actually named
37208 something starting with __ and the normal name is an alias. */
37209 #if defined __stub_$ac_func || defined __stub___$ac_func
37210 choke me
37211 #endif
37212
37213 int
37214 main ()
37215 {
37216 return $ac_func ();
37217 ;
37218 return 0;
37219 }
37220 _ACEOF
37221 rm -f conftest.$ac_objext conftest$ac_exeext
37222 if { (ac_try="$ac_link"
37223 case "(($ac_try" in
37224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37225 *) ac_try_echo=$ac_try;;
37226 esac
37227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37228 (eval "$ac_link") 2>conftest.er1
37229 ac_status=$?
37230 grep -v '^ *+' conftest.er1 >conftest.err
37231 rm -f conftest.er1
37232 cat conftest.err >&5
37233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37234 (exit $ac_status); } && {
37235 test -z "$ac_c_werror_flag" ||
37236 test ! -s conftest.err
37237 } && test -s conftest$ac_exeext &&
37238 $as_test_x conftest$ac_exeext; then
37239 eval "$as_ac_var=yes"
37240 else
37241 echo "$as_me: failed program was:" >&5
37242 sed 's/^/| /' conftest.$ac_ext >&5
37243
37244 eval "$as_ac_var=no"
37245 fi
37246
37247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37248 conftest$ac_exeext conftest.$ac_ext
37249 fi
37250 ac_res=`eval echo '${'$as_ac_var'}'`
37251 { echo "$as_me:$LINENO: result: $ac_res" >&5
37252 echo "${ECHO_T}$ac_res" >&6; }
37253 if test `eval echo '${'$as_ac_var'}'` = yes; then
37254 cat >>confdefs.h <<_ACEOF
37255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37256 _ACEOF
37257 break
37258 fi
37259 done
37260
37261 if test "$ac_cv_func_setenv" = "yes"; then
37262
37263 for ac_func in unsetenv
37264 do
37265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37266 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37268 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37269 echo $ECHO_N "(cached) $ECHO_C" >&6
37270 else
37271 cat >conftest.$ac_ext <<_ACEOF
37272 /* confdefs.h. */
37273 _ACEOF
37274 cat confdefs.h >>conftest.$ac_ext
37275 cat >>conftest.$ac_ext <<_ACEOF
37276 /* end confdefs.h. */
37277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37279 #define $ac_func innocuous_$ac_func
37280
37281 /* System header to define __stub macros and hopefully few prototypes,
37282 which can conflict with char $ac_func (); below.
37283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37284 <limits.h> exists even on freestanding compilers. */
37285
37286 #ifdef __STDC__
37287 # include <limits.h>
37288 #else
37289 # include <assert.h>
37290 #endif
37291
37292 #undef $ac_func
37293
37294 /* Override any GCC internal prototype to avoid an error.
37295 Use char because int might match the return type of a GCC
37296 builtin and then its argument prototype would still apply. */
37297 #ifdef __cplusplus
37298 extern "C"
37299 #endif
37300 char $ac_func ();
37301 /* The GNU C library defines this for functions which it implements
37302 to always fail with ENOSYS. Some functions are actually named
37303 something starting with __ and the normal name is an alias. */
37304 #if defined __stub_$ac_func || defined __stub___$ac_func
37305 choke me
37306 #endif
37307
37308 int
37309 main ()
37310 {
37311 return $ac_func ();
37312 ;
37313 return 0;
37314 }
37315 _ACEOF
37316 rm -f conftest.$ac_objext conftest$ac_exeext
37317 if { (ac_try="$ac_link"
37318 case "(($ac_try" in
37319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37320 *) ac_try_echo=$ac_try;;
37321 esac
37322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37323 (eval "$ac_link") 2>conftest.er1
37324 ac_status=$?
37325 grep -v '^ *+' conftest.er1 >conftest.err
37326 rm -f conftest.er1
37327 cat conftest.err >&5
37328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37329 (exit $ac_status); } && {
37330 test -z "$ac_c_werror_flag" ||
37331 test ! -s conftest.err
37332 } && test -s conftest$ac_exeext &&
37333 $as_test_x conftest$ac_exeext; then
37334 eval "$as_ac_var=yes"
37335 else
37336 echo "$as_me: failed program was:" >&5
37337 sed 's/^/| /' conftest.$ac_ext >&5
37338
37339 eval "$as_ac_var=no"
37340 fi
37341
37342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37343 conftest$ac_exeext conftest.$ac_ext
37344 fi
37345 ac_res=`eval echo '${'$as_ac_var'}'`
37346 { echo "$as_me:$LINENO: result: $ac_res" >&5
37347 echo "${ECHO_T}$ac_res" >&6; }
37348 if test `eval echo '${'$as_ac_var'}'` = yes; then
37349 cat >>confdefs.h <<_ACEOF
37350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37351 _ACEOF
37352
37353 fi
37354 done
37355
37356 fi
37357
37358 HAVE_SOME_SLEEP_FUNC=0
37359 if test "$USE_BEOS" = 1; then
37360 cat >>confdefs.h <<\_ACEOF
37361 #define HAVE_SLEEP 1
37362 _ACEOF
37363
37364 HAVE_SOME_SLEEP_FUNC=1
37365 fi
37366
37367 if test "$USE_DARWIN" = 1; then
37368 cat >>confdefs.h <<\_ACEOF
37369 #define HAVE_USLEEP 1
37370 _ACEOF
37371
37372 HAVE_SOME_SLEEP_FUNC=1
37373 fi
37374
37375 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37376 POSIX4_LINK=
37377
37378 for ac_func in nanosleep
37379 do
37380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37381 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37383 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37384 echo $ECHO_N "(cached) $ECHO_C" >&6
37385 else
37386 cat >conftest.$ac_ext <<_ACEOF
37387 /* confdefs.h. */
37388 _ACEOF
37389 cat confdefs.h >>conftest.$ac_ext
37390 cat >>conftest.$ac_ext <<_ACEOF
37391 /* end confdefs.h. */
37392 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37393 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37394 #define $ac_func innocuous_$ac_func
37395
37396 /* System header to define __stub macros and hopefully few prototypes,
37397 which can conflict with char $ac_func (); below.
37398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37399 <limits.h> exists even on freestanding compilers. */
37400
37401 #ifdef __STDC__
37402 # include <limits.h>
37403 #else
37404 # include <assert.h>
37405 #endif
37406
37407 #undef $ac_func
37408
37409 /* Override any GCC internal prototype to avoid an error.
37410 Use char because int might match the return type of a GCC
37411 builtin and then its argument prototype would still apply. */
37412 #ifdef __cplusplus
37413 extern "C"
37414 #endif
37415 char $ac_func ();
37416 /* The GNU C library defines this for functions which it implements
37417 to always fail with ENOSYS. Some functions are actually named
37418 something starting with __ and the normal name is an alias. */
37419 #if defined __stub_$ac_func || defined __stub___$ac_func
37420 choke me
37421 #endif
37422
37423 int
37424 main ()
37425 {
37426 return $ac_func ();
37427 ;
37428 return 0;
37429 }
37430 _ACEOF
37431 rm -f conftest.$ac_objext conftest$ac_exeext
37432 if { (ac_try="$ac_link"
37433 case "(($ac_try" in
37434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37435 *) ac_try_echo=$ac_try;;
37436 esac
37437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37438 (eval "$ac_link") 2>conftest.er1
37439 ac_status=$?
37440 grep -v '^ *+' conftest.er1 >conftest.err
37441 rm -f conftest.er1
37442 cat conftest.err >&5
37443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37444 (exit $ac_status); } && {
37445 test -z "$ac_c_werror_flag" ||
37446 test ! -s conftest.err
37447 } && test -s conftest$ac_exeext &&
37448 $as_test_x conftest$ac_exeext; then
37449 eval "$as_ac_var=yes"
37450 else
37451 echo "$as_me: failed program was:" >&5
37452 sed 's/^/| /' conftest.$ac_ext >&5
37453
37454 eval "$as_ac_var=no"
37455 fi
37456
37457 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37458 conftest$ac_exeext conftest.$ac_ext
37459 fi
37460 ac_res=`eval echo '${'$as_ac_var'}'`
37461 { echo "$as_me:$LINENO: result: $ac_res" >&5
37462 echo "${ECHO_T}$ac_res" >&6; }
37463 if test `eval echo '${'$as_ac_var'}'` = yes; then
37464 cat >>confdefs.h <<_ACEOF
37465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37466 _ACEOF
37467 cat >>confdefs.h <<\_ACEOF
37468 #define HAVE_NANOSLEEP 1
37469 _ACEOF
37470
37471 else
37472
37473 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37474 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37475 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37476 echo $ECHO_N "(cached) $ECHO_C" >&6
37477 else
37478 ac_check_lib_save_LIBS=$LIBS
37479 LIBS="-lposix4 $LIBS"
37480 cat >conftest.$ac_ext <<_ACEOF
37481 /* confdefs.h. */
37482 _ACEOF
37483 cat confdefs.h >>conftest.$ac_ext
37484 cat >>conftest.$ac_ext <<_ACEOF
37485 /* end confdefs.h. */
37486
37487 /* Override any GCC internal prototype to avoid an error.
37488 Use char because int might match the return type of a GCC
37489 builtin and then its argument prototype would still apply. */
37490 #ifdef __cplusplus
37491 extern "C"
37492 #endif
37493 char nanosleep ();
37494 int
37495 main ()
37496 {
37497 return nanosleep ();
37498 ;
37499 return 0;
37500 }
37501 _ACEOF
37502 rm -f conftest.$ac_objext conftest$ac_exeext
37503 if { (ac_try="$ac_link"
37504 case "(($ac_try" in
37505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37506 *) ac_try_echo=$ac_try;;
37507 esac
37508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37509 (eval "$ac_link") 2>conftest.er1
37510 ac_status=$?
37511 grep -v '^ *+' conftest.er1 >conftest.err
37512 rm -f conftest.er1
37513 cat conftest.err >&5
37514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37515 (exit $ac_status); } && {
37516 test -z "$ac_c_werror_flag" ||
37517 test ! -s conftest.err
37518 } && test -s conftest$ac_exeext &&
37519 $as_test_x conftest$ac_exeext; then
37520 ac_cv_lib_posix4_nanosleep=yes
37521 else
37522 echo "$as_me: failed program was:" >&5
37523 sed 's/^/| /' conftest.$ac_ext >&5
37524
37525 ac_cv_lib_posix4_nanosleep=no
37526 fi
37527
37528 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37529 conftest$ac_exeext conftest.$ac_ext
37530 LIBS=$ac_check_lib_save_LIBS
37531 fi
37532 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37533 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37534 if test $ac_cv_lib_posix4_nanosleep = yes; then
37535
37536 cat >>confdefs.h <<\_ACEOF
37537 #define HAVE_NANOSLEEP 1
37538 _ACEOF
37539
37540 POSIX4_LINK=" -lposix4"
37541
37542 else
37543
37544
37545 for wx_func in usleep
37546 do
37547 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37548 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37549 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37550 echo $ECHO_N "(cached) $ECHO_C" >&6
37551 else
37552
37553 cat >conftest.$ac_ext <<_ACEOF
37554
37555 /* confdefs.h. */
37556 _ACEOF
37557 cat confdefs.h >>conftest.$ac_ext
37558 cat >>conftest.$ac_ext <<_ACEOF
37559 /* end confdefs.h. */
37560
37561
37562 $ac_includes_default
37563
37564 int
37565 main ()
37566 {
37567
37568 #ifndef $wx_func
37569 &$wx_func;
37570 #endif
37571
37572
37573 ;
37574 return 0;
37575 }
37576
37577 _ACEOF
37578 rm -f conftest.$ac_objext conftest$ac_exeext
37579 if { (ac_try="$ac_link"
37580 case "(($ac_try" in
37581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37582 *) ac_try_echo=$ac_try;;
37583 esac
37584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37585 (eval "$ac_link") 2>conftest.er1
37586 ac_status=$?
37587 grep -v '^ *+' conftest.er1 >conftest.err
37588 rm -f conftest.er1
37589 cat conftest.err >&5
37590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37591 (exit $ac_status); } && {
37592 test -z "$ac_c_werror_flag" ||
37593 test ! -s conftest.err
37594 } && test -s conftest$ac_exeext &&
37595 $as_test_x conftest$ac_exeext; then
37596 eval wx_cv_func_$wx_func=yes
37597 else
37598 echo "$as_me: failed program was:" >&5
37599 sed 's/^/| /' conftest.$ac_ext >&5
37600
37601 eval wx_cv_func_$wx_func=no
37602 fi
37603
37604 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37605 conftest$ac_exeext conftest.$ac_ext
37606
37607 fi
37608 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37609 { echo "$as_me:$LINENO: result: $ac_res" >&5
37610 echo "${ECHO_T}$ac_res" >&6; }
37611
37612 if eval test \$wx_cv_func_$wx_func = yes
37613 then
37614 cat >>confdefs.h <<_ACEOF
37615 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37616 _ACEOF
37617
37618
37619 else
37620 :
37621 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37622 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37623
37624 fi
37625 done
37626
37627
37628
37629 fi
37630
37631
37632
37633 fi
37634 done
37635
37636 fi
37637
37638
37639 for wx_func in uname
37640 do
37641 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37642 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37643 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37644 echo $ECHO_N "(cached) $ECHO_C" >&6
37645 else
37646
37647 cat >conftest.$ac_ext <<_ACEOF
37648
37649 /* confdefs.h. */
37650 _ACEOF
37651 cat confdefs.h >>conftest.$ac_ext
37652 cat >>conftest.$ac_ext <<_ACEOF
37653 /* end confdefs.h. */
37654
37655 #include <sys/utsname.h>
37656 $ac_includes_default
37657
37658 int
37659 main ()
37660 {
37661
37662 #ifndef $wx_func
37663 &$wx_func;
37664 #endif
37665
37666
37667 ;
37668 return 0;
37669 }
37670
37671 _ACEOF
37672 rm -f conftest.$ac_objext conftest$ac_exeext
37673 if { (ac_try="$ac_link"
37674 case "(($ac_try" in
37675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37676 *) ac_try_echo=$ac_try;;
37677 esac
37678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37679 (eval "$ac_link") 2>conftest.er1
37680 ac_status=$?
37681 grep -v '^ *+' conftest.er1 >conftest.err
37682 rm -f conftest.er1
37683 cat conftest.err >&5
37684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37685 (exit $ac_status); } && {
37686 test -z "$ac_c_werror_flag" ||
37687 test ! -s conftest.err
37688 } && test -s conftest$ac_exeext &&
37689 $as_test_x conftest$ac_exeext; then
37690 eval wx_cv_func_$wx_func=yes
37691 else
37692 echo "$as_me: failed program was:" >&5
37693 sed 's/^/| /' conftest.$ac_ext >&5
37694
37695 eval wx_cv_func_$wx_func=no
37696 fi
37697
37698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37699 conftest$ac_exeext conftest.$ac_ext
37700
37701 fi
37702 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37703 { echo "$as_me:$LINENO: result: $ac_res" >&5
37704 echo "${ECHO_T}$ac_res" >&6; }
37705
37706 if eval test \$wx_cv_func_$wx_func = yes
37707 then
37708 cat >>confdefs.h <<_ACEOF
37709 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37710 _ACEOF
37711
37712
37713 else
37714 :
37715
37716 fi
37717 done
37718
37719 if test "$wx_cv_func_uname" != yes; then
37720
37721 for wx_func in gethostname
37722 do
37723 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37724 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37725 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37726 echo $ECHO_N "(cached) $ECHO_C" >&6
37727 else
37728
37729 cat >conftest.$ac_ext <<_ACEOF
37730
37731 /* confdefs.h. */
37732 _ACEOF
37733 cat confdefs.h >>conftest.$ac_ext
37734 cat >>conftest.$ac_ext <<_ACEOF
37735 /* end confdefs.h. */
37736
37737
37738 $ac_includes_default
37739
37740 int
37741 main ()
37742 {
37743
37744 #ifndef $wx_func
37745 &$wx_func;
37746 #endif
37747
37748
37749 ;
37750 return 0;
37751 }
37752
37753 _ACEOF
37754 rm -f conftest.$ac_objext conftest$ac_exeext
37755 if { (ac_try="$ac_link"
37756 case "(($ac_try" in
37757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37758 *) ac_try_echo=$ac_try;;
37759 esac
37760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37761 (eval "$ac_link") 2>conftest.er1
37762 ac_status=$?
37763 grep -v '^ *+' conftest.er1 >conftest.err
37764 rm -f conftest.er1
37765 cat conftest.err >&5
37766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37767 (exit $ac_status); } && {
37768 test -z "$ac_c_werror_flag" ||
37769 test ! -s conftest.err
37770 } && test -s conftest$ac_exeext &&
37771 $as_test_x conftest$ac_exeext; then
37772 eval wx_cv_func_$wx_func=yes
37773 else
37774 echo "$as_me: failed program was:" >&5
37775 sed 's/^/| /' conftest.$ac_ext >&5
37776
37777 eval wx_cv_func_$wx_func=no
37778 fi
37779
37780 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37781 conftest$ac_exeext conftest.$ac_ext
37782
37783 fi
37784 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37785 { echo "$as_me:$LINENO: result: $ac_res" >&5
37786 echo "${ECHO_T}$ac_res" >&6; }
37787
37788 if eval test \$wx_cv_func_$wx_func = yes
37789 then
37790 cat >>confdefs.h <<_ACEOF
37791 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37792 _ACEOF
37793
37794
37795 else
37796 :
37797
37798 fi
37799 done
37800
37801 fi
37802
37803
37804 for wx_func in strtok_r
37805 do
37806 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37807 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37808 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37809 echo $ECHO_N "(cached) $ECHO_C" >&6
37810 else
37811
37812 cat >conftest.$ac_ext <<_ACEOF
37813
37814 /* confdefs.h. */
37815 _ACEOF
37816 cat confdefs.h >>conftest.$ac_ext
37817 cat >>conftest.$ac_ext <<_ACEOF
37818 /* end confdefs.h. */
37819
37820 #define _REENTRANT
37821 $ac_includes_default
37822
37823 int
37824 main ()
37825 {
37826
37827 #ifndef $wx_func
37828 &$wx_func;
37829 #endif
37830
37831
37832 ;
37833 return 0;
37834 }
37835
37836 _ACEOF
37837 rm -f conftest.$ac_objext conftest$ac_exeext
37838 if { (ac_try="$ac_link"
37839 case "(($ac_try" in
37840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37841 *) ac_try_echo=$ac_try;;
37842 esac
37843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37844 (eval "$ac_link") 2>conftest.er1
37845 ac_status=$?
37846 grep -v '^ *+' conftest.er1 >conftest.err
37847 rm -f conftest.er1
37848 cat conftest.err >&5
37849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37850 (exit $ac_status); } && {
37851 test -z "$ac_c_werror_flag" ||
37852 test ! -s conftest.err
37853 } && test -s conftest$ac_exeext &&
37854 $as_test_x conftest$ac_exeext; then
37855 eval wx_cv_func_$wx_func=yes
37856 else
37857 echo "$as_me: failed program was:" >&5
37858 sed 's/^/| /' conftest.$ac_ext >&5
37859
37860 eval wx_cv_func_$wx_func=no
37861 fi
37862
37863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37864 conftest$ac_exeext conftest.$ac_ext
37865
37866 fi
37867 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37868 { echo "$as_me:$LINENO: result: $ac_res" >&5
37869 echo "${ECHO_T}$ac_res" >&6; }
37870
37871 if eval test \$wx_cv_func_$wx_func = yes
37872 then
37873 cat >>confdefs.h <<_ACEOF
37874 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37875 _ACEOF
37876
37877
37878 else
37879 :
37880
37881 fi
37882 done
37883
37884
37885 INET_LINK=
37886
37887 for ac_func in inet_addr
37888 do
37889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37890 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37892 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37893 echo $ECHO_N "(cached) $ECHO_C" >&6
37894 else
37895 cat >conftest.$ac_ext <<_ACEOF
37896 /* confdefs.h. */
37897 _ACEOF
37898 cat confdefs.h >>conftest.$ac_ext
37899 cat >>conftest.$ac_ext <<_ACEOF
37900 /* end confdefs.h. */
37901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37903 #define $ac_func innocuous_$ac_func
37904
37905 /* System header to define __stub macros and hopefully few prototypes,
37906 which can conflict with char $ac_func (); below.
37907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37908 <limits.h> exists even on freestanding compilers. */
37909
37910 #ifdef __STDC__
37911 # include <limits.h>
37912 #else
37913 # include <assert.h>
37914 #endif
37915
37916 #undef $ac_func
37917
37918 /* Override any GCC internal prototype to avoid an error.
37919 Use char because int might match the return type of a GCC
37920 builtin and then its argument prototype would still apply. */
37921 #ifdef __cplusplus
37922 extern "C"
37923 #endif
37924 char $ac_func ();
37925 /* The GNU C library defines this for functions which it implements
37926 to always fail with ENOSYS. Some functions are actually named
37927 something starting with __ and the normal name is an alias. */
37928 #if defined __stub_$ac_func || defined __stub___$ac_func
37929 choke me
37930 #endif
37931
37932 int
37933 main ()
37934 {
37935 return $ac_func ();
37936 ;
37937 return 0;
37938 }
37939 _ACEOF
37940 rm -f conftest.$ac_objext conftest$ac_exeext
37941 if { (ac_try="$ac_link"
37942 case "(($ac_try" in
37943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37944 *) ac_try_echo=$ac_try;;
37945 esac
37946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37947 (eval "$ac_link") 2>conftest.er1
37948 ac_status=$?
37949 grep -v '^ *+' conftest.er1 >conftest.err
37950 rm -f conftest.er1
37951 cat conftest.err >&5
37952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37953 (exit $ac_status); } && {
37954 test -z "$ac_c_werror_flag" ||
37955 test ! -s conftest.err
37956 } && test -s conftest$ac_exeext &&
37957 $as_test_x conftest$ac_exeext; then
37958 eval "$as_ac_var=yes"
37959 else
37960 echo "$as_me: failed program was:" >&5
37961 sed 's/^/| /' conftest.$ac_ext >&5
37962
37963 eval "$as_ac_var=no"
37964 fi
37965
37966 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37967 conftest$ac_exeext conftest.$ac_ext
37968 fi
37969 ac_res=`eval echo '${'$as_ac_var'}'`
37970 { echo "$as_me:$LINENO: result: $ac_res" >&5
37971 echo "${ECHO_T}$ac_res" >&6; }
37972 if test `eval echo '${'$as_ac_var'}'` = yes; then
37973 cat >>confdefs.h <<_ACEOF
37974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37975 _ACEOF
37976 cat >>confdefs.h <<\_ACEOF
37977 #define HAVE_INET_ADDR 1
37978 _ACEOF
37979
37980 else
37981
37982 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37983 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37984 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37985 echo $ECHO_N "(cached) $ECHO_C" >&6
37986 else
37987 ac_check_lib_save_LIBS=$LIBS
37988 LIBS="-lnsl $LIBS"
37989 cat >conftest.$ac_ext <<_ACEOF
37990 /* confdefs.h. */
37991 _ACEOF
37992 cat confdefs.h >>conftest.$ac_ext
37993 cat >>conftest.$ac_ext <<_ACEOF
37994 /* end confdefs.h. */
37995
37996 /* Override any GCC internal prototype to avoid an error.
37997 Use char because int might match the return type of a GCC
37998 builtin and then its argument prototype would still apply. */
37999 #ifdef __cplusplus
38000 extern "C"
38001 #endif
38002 char inet_addr ();
38003 int
38004 main ()
38005 {
38006 return inet_addr ();
38007 ;
38008 return 0;
38009 }
38010 _ACEOF
38011 rm -f conftest.$ac_objext conftest$ac_exeext
38012 if { (ac_try="$ac_link"
38013 case "(($ac_try" in
38014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38015 *) ac_try_echo=$ac_try;;
38016 esac
38017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38018 (eval "$ac_link") 2>conftest.er1
38019 ac_status=$?
38020 grep -v '^ *+' conftest.er1 >conftest.err
38021 rm -f conftest.er1
38022 cat conftest.err >&5
38023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38024 (exit $ac_status); } && {
38025 test -z "$ac_c_werror_flag" ||
38026 test ! -s conftest.err
38027 } && test -s conftest$ac_exeext &&
38028 $as_test_x conftest$ac_exeext; then
38029 ac_cv_lib_nsl_inet_addr=yes
38030 else
38031 echo "$as_me: failed program was:" >&5
38032 sed 's/^/| /' conftest.$ac_ext >&5
38033
38034 ac_cv_lib_nsl_inet_addr=no
38035 fi
38036
38037 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38038 conftest$ac_exeext conftest.$ac_ext
38039 LIBS=$ac_check_lib_save_LIBS
38040 fi
38041 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38042 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38043 if test $ac_cv_lib_nsl_inet_addr = yes; then
38044 INET_LINK="nsl"
38045 else
38046
38047 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38048 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38049 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38050 echo $ECHO_N "(cached) $ECHO_C" >&6
38051 else
38052 ac_check_lib_save_LIBS=$LIBS
38053 LIBS="-lresolv $LIBS"
38054 cat >conftest.$ac_ext <<_ACEOF
38055 /* confdefs.h. */
38056 _ACEOF
38057 cat confdefs.h >>conftest.$ac_ext
38058 cat >>conftest.$ac_ext <<_ACEOF
38059 /* end confdefs.h. */
38060
38061 /* Override any GCC internal prototype to avoid an error.
38062 Use char because int might match the return type of a GCC
38063 builtin and then its argument prototype would still apply. */
38064 #ifdef __cplusplus
38065 extern "C"
38066 #endif
38067 char inet_addr ();
38068 int
38069 main ()
38070 {
38071 return inet_addr ();
38072 ;
38073 return 0;
38074 }
38075 _ACEOF
38076 rm -f conftest.$ac_objext conftest$ac_exeext
38077 if { (ac_try="$ac_link"
38078 case "(($ac_try" in
38079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38080 *) ac_try_echo=$ac_try;;
38081 esac
38082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38083 (eval "$ac_link") 2>conftest.er1
38084 ac_status=$?
38085 grep -v '^ *+' conftest.er1 >conftest.err
38086 rm -f conftest.er1
38087 cat conftest.err >&5
38088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38089 (exit $ac_status); } && {
38090 test -z "$ac_c_werror_flag" ||
38091 test ! -s conftest.err
38092 } && test -s conftest$ac_exeext &&
38093 $as_test_x conftest$ac_exeext; then
38094 ac_cv_lib_resolv_inet_addr=yes
38095 else
38096 echo "$as_me: failed program was:" >&5
38097 sed 's/^/| /' conftest.$ac_ext >&5
38098
38099 ac_cv_lib_resolv_inet_addr=no
38100 fi
38101
38102 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38103 conftest$ac_exeext conftest.$ac_ext
38104 LIBS=$ac_check_lib_save_LIBS
38105 fi
38106 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38107 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38108 if test $ac_cv_lib_resolv_inet_addr = yes; then
38109 INET_LINK="resolv"
38110 else
38111
38112 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38113 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38114 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38115 echo $ECHO_N "(cached) $ECHO_C" >&6
38116 else
38117 ac_check_lib_save_LIBS=$LIBS
38118 LIBS="-lsocket $LIBS"
38119 cat >conftest.$ac_ext <<_ACEOF
38120 /* confdefs.h. */
38121 _ACEOF
38122 cat confdefs.h >>conftest.$ac_ext
38123 cat >>conftest.$ac_ext <<_ACEOF
38124 /* end confdefs.h. */
38125
38126 /* Override any GCC internal prototype to avoid an error.
38127 Use char because int might match the return type of a GCC
38128 builtin and then its argument prototype would still apply. */
38129 #ifdef __cplusplus
38130 extern "C"
38131 #endif
38132 char inet_addr ();
38133 int
38134 main ()
38135 {
38136 return inet_addr ();
38137 ;
38138 return 0;
38139 }
38140 _ACEOF
38141 rm -f conftest.$ac_objext conftest$ac_exeext
38142 if { (ac_try="$ac_link"
38143 case "(($ac_try" in
38144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38145 *) ac_try_echo=$ac_try;;
38146 esac
38147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38148 (eval "$ac_link") 2>conftest.er1
38149 ac_status=$?
38150 grep -v '^ *+' conftest.er1 >conftest.err
38151 rm -f conftest.er1
38152 cat conftest.err >&5
38153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38154 (exit $ac_status); } && {
38155 test -z "$ac_c_werror_flag" ||
38156 test ! -s conftest.err
38157 } && test -s conftest$ac_exeext &&
38158 $as_test_x conftest$ac_exeext; then
38159 ac_cv_lib_socket_inet_addr=yes
38160 else
38161 echo "$as_me: failed program was:" >&5
38162 sed 's/^/| /' conftest.$ac_ext >&5
38163
38164 ac_cv_lib_socket_inet_addr=no
38165 fi
38166
38167 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38168 conftest$ac_exeext conftest.$ac_ext
38169 LIBS=$ac_check_lib_save_LIBS
38170 fi
38171 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38172 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38173 if test $ac_cv_lib_socket_inet_addr = yes; then
38174 INET_LINK="socket"
38175
38176 fi
38177
38178
38179
38180 fi
38181
38182
38183
38184 fi
38185
38186
38187
38188 fi
38189 done
38190
38191
38192
38193 for ac_func in inet_aton
38194 do
38195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38196 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38198 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38199 echo $ECHO_N "(cached) $ECHO_C" >&6
38200 else
38201 cat >conftest.$ac_ext <<_ACEOF
38202 /* confdefs.h. */
38203 _ACEOF
38204 cat confdefs.h >>conftest.$ac_ext
38205 cat >>conftest.$ac_ext <<_ACEOF
38206 /* end confdefs.h. */
38207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38208 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38209 #define $ac_func innocuous_$ac_func
38210
38211 /* System header to define __stub macros and hopefully few prototypes,
38212 which can conflict with char $ac_func (); below.
38213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38214 <limits.h> exists even on freestanding compilers. */
38215
38216 #ifdef __STDC__
38217 # include <limits.h>
38218 #else
38219 # include <assert.h>
38220 #endif
38221
38222 #undef $ac_func
38223
38224 /* Override any GCC internal prototype to avoid an error.
38225 Use char because int might match the return type of a GCC
38226 builtin and then its argument prototype would still apply. */
38227 #ifdef __cplusplus
38228 extern "C"
38229 #endif
38230 char $ac_func ();
38231 /* The GNU C library defines this for functions which it implements
38232 to always fail with ENOSYS. Some functions are actually named
38233 something starting with __ and the normal name is an alias. */
38234 #if defined __stub_$ac_func || defined __stub___$ac_func
38235 choke me
38236 #endif
38237
38238 int
38239 main ()
38240 {
38241 return $ac_func ();
38242 ;
38243 return 0;
38244 }
38245 _ACEOF
38246 rm -f conftest.$ac_objext conftest$ac_exeext
38247 if { (ac_try="$ac_link"
38248 case "(($ac_try" in
38249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38250 *) ac_try_echo=$ac_try;;
38251 esac
38252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38253 (eval "$ac_link") 2>conftest.er1
38254 ac_status=$?
38255 grep -v '^ *+' conftest.er1 >conftest.err
38256 rm -f conftest.er1
38257 cat conftest.err >&5
38258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38259 (exit $ac_status); } && {
38260 test -z "$ac_c_werror_flag" ||
38261 test ! -s conftest.err
38262 } && test -s conftest$ac_exeext &&
38263 $as_test_x conftest$ac_exeext; then
38264 eval "$as_ac_var=yes"
38265 else
38266 echo "$as_me: failed program was:" >&5
38267 sed 's/^/| /' conftest.$ac_ext >&5
38268
38269 eval "$as_ac_var=no"
38270 fi
38271
38272 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38273 conftest$ac_exeext conftest.$ac_ext
38274 fi
38275 ac_res=`eval echo '${'$as_ac_var'}'`
38276 { echo "$as_me:$LINENO: result: $ac_res" >&5
38277 echo "${ECHO_T}$ac_res" >&6; }
38278 if test `eval echo '${'$as_ac_var'}'` = yes; then
38279 cat >>confdefs.h <<_ACEOF
38280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38281 _ACEOF
38282 cat >>confdefs.h <<\_ACEOF
38283 #define HAVE_INET_ATON 1
38284 _ACEOF
38285
38286 else
38287
38288 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38289 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38290 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38291 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38292 echo $ECHO_N "(cached) $ECHO_C" >&6
38293 else
38294 ac_check_lib_save_LIBS=$LIBS
38295 LIBS="-l$INET_LINK $LIBS"
38296 cat >conftest.$ac_ext <<_ACEOF
38297 /* confdefs.h. */
38298 _ACEOF
38299 cat confdefs.h >>conftest.$ac_ext
38300 cat >>conftest.$ac_ext <<_ACEOF
38301 /* end confdefs.h. */
38302
38303 /* Override any GCC internal prototype to avoid an error.
38304 Use char because int might match the return type of a GCC
38305 builtin and then its argument prototype would still apply. */
38306 #ifdef __cplusplus
38307 extern "C"
38308 #endif
38309 char inet_aton ();
38310 int
38311 main ()
38312 {
38313 return inet_aton ();
38314 ;
38315 return 0;
38316 }
38317 _ACEOF
38318 rm -f conftest.$ac_objext conftest$ac_exeext
38319 if { (ac_try="$ac_link"
38320 case "(($ac_try" in
38321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38322 *) ac_try_echo=$ac_try;;
38323 esac
38324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38325 (eval "$ac_link") 2>conftest.er1
38326 ac_status=$?
38327 grep -v '^ *+' conftest.er1 >conftest.err
38328 rm -f conftest.er1
38329 cat conftest.err >&5
38330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38331 (exit $ac_status); } && {
38332 test -z "$ac_c_werror_flag" ||
38333 test ! -s conftest.err
38334 } && test -s conftest$ac_exeext &&
38335 $as_test_x conftest$ac_exeext; then
38336 eval "$as_ac_Lib=yes"
38337 else
38338 echo "$as_me: failed program was:" >&5
38339 sed 's/^/| /' conftest.$ac_ext >&5
38340
38341 eval "$as_ac_Lib=no"
38342 fi
38343
38344 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38345 conftest$ac_exeext conftest.$ac_ext
38346 LIBS=$ac_check_lib_save_LIBS
38347 fi
38348 ac_res=`eval echo '${'$as_ac_Lib'}'`
38349 { echo "$as_me:$LINENO: result: $ac_res" >&5
38350 echo "${ECHO_T}$ac_res" >&6; }
38351 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38352 cat >>confdefs.h <<\_ACEOF
38353 #define HAVE_INET_ATON 1
38354 _ACEOF
38355
38356 fi
38357
38358
38359 fi
38360 done
38361
38362
38363 if test "x$INET_LINK" != "x"; then
38364 cat >>confdefs.h <<\_ACEOF
38365 #define HAVE_INET_ADDR 1
38366 _ACEOF
38367
38368 INET_LINK=" -l$INET_LINK"
38369 fi
38370
38371
38372 for wx_func in fdopen
38373 do
38374 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38375 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38376 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38377 echo $ECHO_N "(cached) $ECHO_C" >&6
38378 else
38379
38380 cat >conftest.$ac_ext <<_ACEOF
38381
38382 /* confdefs.h. */
38383 _ACEOF
38384 cat confdefs.h >>conftest.$ac_ext
38385 cat >>conftest.$ac_ext <<_ACEOF
38386 /* end confdefs.h. */
38387
38388
38389 $ac_includes_default
38390
38391 int
38392 main ()
38393 {
38394
38395 #ifndef $wx_func
38396 &$wx_func;
38397 #endif
38398
38399
38400 ;
38401 return 0;
38402 }
38403
38404 _ACEOF
38405 rm -f conftest.$ac_objext conftest$ac_exeext
38406 if { (ac_try="$ac_link"
38407 case "(($ac_try" in
38408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38409 *) ac_try_echo=$ac_try;;
38410 esac
38411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38412 (eval "$ac_link") 2>conftest.er1
38413 ac_status=$?
38414 grep -v '^ *+' conftest.er1 >conftest.err
38415 rm -f conftest.er1
38416 cat conftest.err >&5
38417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38418 (exit $ac_status); } && {
38419 test -z "$ac_c_werror_flag" ||
38420 test ! -s conftest.err
38421 } && test -s conftest$ac_exeext &&
38422 $as_test_x conftest$ac_exeext; then
38423 eval wx_cv_func_$wx_func=yes
38424 else
38425 echo "$as_me: failed program was:" >&5
38426 sed 's/^/| /' conftest.$ac_ext >&5
38427
38428 eval wx_cv_func_$wx_func=no
38429 fi
38430
38431 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38432 conftest$ac_exeext conftest.$ac_ext
38433
38434 fi
38435 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38436 { echo "$as_me:$LINENO: result: $ac_res" >&5
38437 echo "${ECHO_T}$ac_res" >&6; }
38438
38439 if eval test \$wx_cv_func_$wx_func = yes
38440 then
38441 cat >>confdefs.h <<_ACEOF
38442 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38443 _ACEOF
38444
38445
38446 else
38447 :
38448
38449 fi
38450 done
38451
38452
38453 if test "$wxUSE_TARSTREAM" = "yes"; then
38454
38455 for wx_func in sysconf
38456 do
38457 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38458 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38459 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38460 echo $ECHO_N "(cached) $ECHO_C" >&6
38461 else
38462
38463 cat >conftest.$ac_ext <<_ACEOF
38464
38465 /* confdefs.h. */
38466 _ACEOF
38467 cat confdefs.h >>conftest.$ac_ext
38468 cat >>conftest.$ac_ext <<_ACEOF
38469 /* end confdefs.h. */
38470
38471
38472 $ac_includes_default
38473
38474 int
38475 main ()
38476 {
38477
38478 #ifndef $wx_func
38479 &$wx_func;
38480 #endif
38481
38482
38483 ;
38484 return 0;
38485 }
38486
38487 _ACEOF
38488 rm -f conftest.$ac_objext conftest$ac_exeext
38489 if { (ac_try="$ac_link"
38490 case "(($ac_try" in
38491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38492 *) ac_try_echo=$ac_try;;
38493 esac
38494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38495 (eval "$ac_link") 2>conftest.er1
38496 ac_status=$?
38497 grep -v '^ *+' conftest.er1 >conftest.err
38498 rm -f conftest.er1
38499 cat conftest.err >&5
38500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38501 (exit $ac_status); } && {
38502 test -z "$ac_c_werror_flag" ||
38503 test ! -s conftest.err
38504 } && test -s conftest$ac_exeext &&
38505 $as_test_x conftest$ac_exeext; then
38506 eval wx_cv_func_$wx_func=yes
38507 else
38508 echo "$as_me: failed program was:" >&5
38509 sed 's/^/| /' conftest.$ac_ext >&5
38510
38511 eval wx_cv_func_$wx_func=no
38512 fi
38513
38514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38515 conftest$ac_exeext conftest.$ac_ext
38516
38517 fi
38518 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38519 { echo "$as_me:$LINENO: result: $ac_res" >&5
38520 echo "${ECHO_T}$ac_res" >&6; }
38521
38522 if eval test \$wx_cv_func_$wx_func = yes
38523 then
38524 cat >>confdefs.h <<_ACEOF
38525 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38526 _ACEOF
38527
38528
38529 else
38530 :
38531
38532 fi
38533 done
38534
38535
38536
38537 for wx_func in getpwuid_r
38538 do
38539 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38540 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38541 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38542 echo $ECHO_N "(cached) $ECHO_C" >&6
38543 else
38544
38545 cat >conftest.$ac_ext <<_ACEOF
38546
38547 /* confdefs.h. */
38548 _ACEOF
38549 cat confdefs.h >>conftest.$ac_ext
38550 cat >>conftest.$ac_ext <<_ACEOF
38551 /* end confdefs.h. */
38552
38553
38554 #define _REENTRANT
38555 #include <pwd.h>
38556
38557 $ac_includes_default
38558
38559 int
38560 main ()
38561 {
38562
38563 #ifndef $wx_func
38564 &$wx_func;
38565 #endif
38566
38567 struct passwd pw, *ppw;
38568 char buf[1024];
38569 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38570
38571
38572 ;
38573 return 0;
38574 }
38575
38576 _ACEOF
38577 rm -f conftest.$ac_objext conftest$ac_exeext
38578 if { (ac_try="$ac_link"
38579 case "(($ac_try" in
38580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38581 *) ac_try_echo=$ac_try;;
38582 esac
38583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38584 (eval "$ac_link") 2>conftest.er1
38585 ac_status=$?
38586 grep -v '^ *+' conftest.er1 >conftest.err
38587 rm -f conftest.er1
38588 cat conftest.err >&5
38589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38590 (exit $ac_status); } && {
38591 test -z "$ac_c_werror_flag" ||
38592 test ! -s conftest.err
38593 } && test -s conftest$ac_exeext &&
38594 $as_test_x conftest$ac_exeext; then
38595 eval wx_cv_func_$wx_func=yes
38596 else
38597 echo "$as_me: failed program was:" >&5
38598 sed 's/^/| /' conftest.$ac_ext >&5
38599
38600 eval wx_cv_func_$wx_func=no
38601 fi
38602
38603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38604 conftest$ac_exeext conftest.$ac_ext
38605
38606 fi
38607 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38608 { echo "$as_me:$LINENO: result: $ac_res" >&5
38609 echo "${ECHO_T}$ac_res" >&6; }
38610
38611 if eval test \$wx_cv_func_$wx_func = yes
38612 then
38613 cat >>confdefs.h <<_ACEOF
38614 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38615 _ACEOF
38616
38617
38618 else
38619 :
38620
38621 fi
38622 done
38623
38624
38625
38626 for wx_func in getgrgid_r
38627 do
38628 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38629 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38630 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38631 echo $ECHO_N "(cached) $ECHO_C" >&6
38632 else
38633
38634 cat >conftest.$ac_ext <<_ACEOF
38635
38636 /* confdefs.h. */
38637 _ACEOF
38638 cat confdefs.h >>conftest.$ac_ext
38639 cat >>conftest.$ac_ext <<_ACEOF
38640 /* end confdefs.h. */
38641
38642
38643 #define _REENTRANT
38644 #include <grp.h>
38645
38646 $ac_includes_default
38647
38648 int
38649 main ()
38650 {
38651
38652 #ifndef $wx_func
38653 &$wx_func;
38654 #endif
38655
38656 struct group grp, *pgrp;
38657 char buf[1024];
38658 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38659
38660
38661 ;
38662 return 0;
38663 }
38664
38665 _ACEOF
38666 rm -f conftest.$ac_objext conftest$ac_exeext
38667 if { (ac_try="$ac_link"
38668 case "(($ac_try" in
38669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38670 *) ac_try_echo=$ac_try;;
38671 esac
38672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38673 (eval "$ac_link") 2>conftest.er1
38674 ac_status=$?
38675 grep -v '^ *+' conftest.er1 >conftest.err
38676 rm -f conftest.er1
38677 cat conftest.err >&5
38678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38679 (exit $ac_status); } && {
38680 test -z "$ac_c_werror_flag" ||
38681 test ! -s conftest.err
38682 } && test -s conftest$ac_exeext &&
38683 $as_test_x conftest$ac_exeext; then
38684 eval wx_cv_func_$wx_func=yes
38685 else
38686 echo "$as_me: failed program was:" >&5
38687 sed 's/^/| /' conftest.$ac_ext >&5
38688
38689 eval wx_cv_func_$wx_func=no
38690 fi
38691
38692 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38693 conftest$ac_exeext conftest.$ac_ext
38694
38695 fi
38696 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38697 { echo "$as_me:$LINENO: result: $ac_res" >&5
38698 echo "${ECHO_T}$ac_res" >&6; }
38699
38700 if eval test \$wx_cv_func_$wx_func = yes
38701 then
38702 cat >>confdefs.h <<_ACEOF
38703 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38704 _ACEOF
38705
38706
38707 else
38708 :
38709
38710 fi
38711 done
38712
38713 fi
38714
38715 fi
38716
38717
38718
38719 cat >confcache <<\_ACEOF
38720 # This file is a shell script that caches the results of configure
38721 # tests run on this system so they can be shared between configure
38722 # scripts and configure runs, see configure's option --config-cache.
38723 # It is not useful on other systems. If it contains results you don't
38724 # want to keep, you may remove or edit it.
38725 #
38726 # config.status only pays attention to the cache file if you give it
38727 # the --recheck option to rerun configure.
38728 #
38729 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38730 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38731 # following values.
38732
38733 _ACEOF
38734
38735 # The following way of writing the cache mishandles newlines in values,
38736 # but we know of no workaround that is simple, portable, and efficient.
38737 # So, we kill variables containing newlines.
38738 # Ultrix sh set writes to stderr and can't be redirected directly,
38739 # and sets the high bit in the cache file unless we assign to the vars.
38740 (
38741 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38742 eval ac_val=\$$ac_var
38743 case $ac_val in #(
38744 *${as_nl}*)
38745 case $ac_var in #(
38746 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38747 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38748 esac
38749 case $ac_var in #(
38750 _ | IFS | as_nl) ;; #(
38751 *) $as_unset $ac_var ;;
38752 esac ;;
38753 esac
38754 done
38755
38756 (set) 2>&1 |
38757 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38758 *${as_nl}ac_space=\ *)
38759 # `set' does not quote correctly, so add quotes (double-quote
38760 # substitution turns \\\\ into \\, and sed turns \\ into \).
38761 sed -n \
38762 "s/'/'\\\\''/g;
38763 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38764 ;; #(
38765 *)
38766 # `set' quotes correctly as required by POSIX, so do not add quotes.
38767 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38768 ;;
38769 esac |
38770 sort
38771 ) |
38772 sed '
38773 /^ac_cv_env_/b end
38774 t clear
38775 :clear
38776 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38777 t end
38778 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38779 :end' >>confcache
38780 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38781 if test -w "$cache_file"; then
38782 test "x$cache_file" != "x/dev/null" &&
38783 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38784 echo "$as_me: updating cache $cache_file" >&6;}
38785 cat confcache >$cache_file
38786 else
38787 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38788 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38789 fi
38790 fi
38791 rm -f confcache
38792
38793
38794 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38795
38796
38797 THREADS_LINK=
38798 THREADS_CFLAGS=
38799
38800 if test "$wxUSE_THREADS" = "yes" ; then
38801 if test "$USE_BEOS" = 1; then
38802 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38803 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38804 wxUSE_THREADS="no"
38805 fi
38806 fi
38807
38808 if test "$wxUSE_THREADS" = "yes" ; then
38809
38810
38811 THREAD_OPTS="-pthread"
38812 if test "x$SUNCXX" = xyes; then
38813 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38814 fi
38815
38816 case "${host}" in
38817 *-*-solaris2* | *-*-sunos4* )
38818 if test "x$GCC" = "xyes"; then
38819 THREAD_OPTS="-pthreads $THREAD_OPTS"
38820 fi
38821 ;;
38822 *-*-freebsd*)
38823 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38824 ;;
38825 *-*-darwin* | *-*-cygwin* )
38826 THREAD_OPTS=""
38827 ;;
38828 *-*-aix*)
38829 THREAD_OPTS="pthreads"
38830 ;;
38831 *-hp-hpux* )
38832 if test "x$GCC" = "xyes"; then
38833 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38834 THREAD_OPTS=""
38835 else
38836 THREAD_OPTS="-mt"
38837 fi
38838 ;;
38839
38840 *-*-irix* )
38841 if test "x$GCC" = "xyes"; then
38842 THREAD_OPTS=""
38843 fi
38844 ;;
38845
38846 *-*-*UnixWare*)
38847 if test "x$GCC" != "xyes"; then
38848 THREAD_OPTS="-Ethread"
38849 fi
38850 ;;
38851 esac
38852
38853 THREAD_OPTS="$THREAD_OPTS pthread none"
38854
38855 THREADS_OK=no
38856 for flag in $THREAD_OPTS; do
38857 case $flag in
38858 none)
38859 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38860 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38861 ;;
38862
38863 -*)
38864 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38865 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38866 THREADS_CFLAGS="$flag"
38867 ;;
38868
38869 *)
38870 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38871 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38872 THREADS_LINK="-l$flag"
38873 ;;
38874 esac
38875
38876 save_LIBS="$LIBS"
38877 save_CFLAGS="$CFLAGS"
38878 LIBS="$THREADS_LINK $LIBS"
38879 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38880
38881 cat >conftest.$ac_ext <<_ACEOF
38882 /* confdefs.h. */
38883 _ACEOF
38884 cat confdefs.h >>conftest.$ac_ext
38885 cat >>conftest.$ac_ext <<_ACEOF
38886 /* end confdefs.h. */
38887 #include <pthread.h>
38888 int
38889 main ()
38890 {
38891 pthread_create(0,0,0,0);
38892 ;
38893 return 0;
38894 }
38895 _ACEOF
38896 rm -f conftest.$ac_objext conftest$ac_exeext
38897 if { (ac_try="$ac_link"
38898 case "(($ac_try" in
38899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38900 *) ac_try_echo=$ac_try;;
38901 esac
38902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38903 (eval "$ac_link") 2>conftest.er1
38904 ac_status=$?
38905 grep -v '^ *+' conftest.er1 >conftest.err
38906 rm -f conftest.er1
38907 cat conftest.err >&5
38908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38909 (exit $ac_status); } && {
38910 test -z "$ac_c_werror_flag" ||
38911 test ! -s conftest.err
38912 } && test -s conftest$ac_exeext &&
38913 $as_test_x conftest$ac_exeext; then
38914 THREADS_OK=yes
38915 else
38916 echo "$as_me: failed program was:" >&5
38917 sed 's/^/| /' conftest.$ac_ext >&5
38918
38919
38920 fi
38921
38922 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38923 conftest$ac_exeext conftest.$ac_ext
38924
38925 LIBS="$save_LIBS"
38926 CFLAGS="$save_CFLAGS"
38927
38928 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38929 echo "${ECHO_T}$THREADS_OK" >&6; }
38930 if test "x$THREADS_OK" = "xyes"; then
38931 break;
38932 fi
38933
38934 THREADS_LINK=""
38935 THREADS_CFLAGS=""
38936 done
38937
38938 if test "x$THREADS_OK" != "xyes"; then
38939 wxUSE_THREADS=no
38940 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38941 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38942 else
38943 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38944 LIBS="$THREADS_LINK $LIBS"
38945
38946 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38947 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38948 flag=no
38949 case "${host}" in
38950 *-aix*)
38951 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38952 flag="-D_THREAD_SAFE"
38953 ;;
38954 *-freebsd*)
38955 flag="-D_THREAD_SAFE"
38956 ;;
38957 *-hp-hpux* )
38958 flag="-D_REENTRANT"
38959 if test "x$GCC" != "xyes"; then
38960 flag="$flag -D_RWSTD_MULTI_THREAD"
38961 fi
38962 ;;
38963 *solaris* | alpha*-osf*)
38964 flag="-D_REENTRANT"
38965 ;;
38966 esac
38967 { echo "$as_me:$LINENO: result: ${flag}" >&5
38968 echo "${ECHO_T}${flag}" >&6; }
38969 if test "x$flag" != xno; then
38970 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38971 fi
38972
38973 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38974 fi
38975 fi
38976
38977 if test "$wxUSE_THREADS" = "yes" ; then
38978
38979 for ac_func in thr_setconcurrency
38980 do
38981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38982 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38984 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38985 echo $ECHO_N "(cached) $ECHO_C" >&6
38986 else
38987 cat >conftest.$ac_ext <<_ACEOF
38988 /* confdefs.h. */
38989 _ACEOF
38990 cat confdefs.h >>conftest.$ac_ext
38991 cat >>conftest.$ac_ext <<_ACEOF
38992 /* end confdefs.h. */
38993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38995 #define $ac_func innocuous_$ac_func
38996
38997 /* System header to define __stub macros and hopefully few prototypes,
38998 which can conflict with char $ac_func (); below.
38999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39000 <limits.h> exists even on freestanding compilers. */
39001
39002 #ifdef __STDC__
39003 # include <limits.h>
39004 #else
39005 # include <assert.h>
39006 #endif
39007
39008 #undef $ac_func
39009
39010 /* Override any GCC internal prototype to avoid an error.
39011 Use char because int might match the return type of a GCC
39012 builtin and then its argument prototype would still apply. */
39013 #ifdef __cplusplus
39014 extern "C"
39015 #endif
39016 char $ac_func ();
39017 /* The GNU C library defines this for functions which it implements
39018 to always fail with ENOSYS. Some functions are actually named
39019 something starting with __ and the normal name is an alias. */
39020 #if defined __stub_$ac_func || defined __stub___$ac_func
39021 choke me
39022 #endif
39023
39024 int
39025 main ()
39026 {
39027 return $ac_func ();
39028 ;
39029 return 0;
39030 }
39031 _ACEOF
39032 rm -f conftest.$ac_objext conftest$ac_exeext
39033 if { (ac_try="$ac_link"
39034 case "(($ac_try" in
39035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39036 *) ac_try_echo=$ac_try;;
39037 esac
39038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39039 (eval "$ac_link") 2>conftest.er1
39040 ac_status=$?
39041 grep -v '^ *+' conftest.er1 >conftest.err
39042 rm -f conftest.er1
39043 cat conftest.err >&5
39044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39045 (exit $ac_status); } && {
39046 test -z "$ac_c_werror_flag" ||
39047 test ! -s conftest.err
39048 } && test -s conftest$ac_exeext &&
39049 $as_test_x conftest$ac_exeext; then
39050 eval "$as_ac_var=yes"
39051 else
39052 echo "$as_me: failed program was:" >&5
39053 sed 's/^/| /' conftest.$ac_ext >&5
39054
39055 eval "$as_ac_var=no"
39056 fi
39057
39058 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39059 conftest$ac_exeext conftest.$ac_ext
39060 fi
39061 ac_res=`eval echo '${'$as_ac_var'}'`
39062 { echo "$as_me:$LINENO: result: $ac_res" >&5
39063 echo "${ECHO_T}$ac_res" >&6; }
39064 if test `eval echo '${'$as_ac_var'}'` = yes; then
39065 cat >>confdefs.h <<_ACEOF
39066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39067 _ACEOF
39068
39069 fi
39070 done
39071
39072
39073 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39074 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39075 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39076 echo $ECHO_N "(cached) $ECHO_C" >&6
39077 else
39078
39079 ac_ext=cpp
39080 ac_cpp='$CXXCPP $CPPFLAGS'
39081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39084
39085 cat >conftest.$ac_ext <<_ACEOF
39086 /* confdefs.h. */
39087 _ACEOF
39088 cat confdefs.h >>conftest.$ac_ext
39089 cat >>conftest.$ac_ext <<_ACEOF
39090 /* end confdefs.h. */
39091 #include <pthread.h>
39092 void ThreadCleanupFunc(void *p);
39093
39094 int
39095 main ()
39096 {
39097
39098 void *p;
39099 pthread_cleanup_push(ThreadCleanupFunc, p);
39100 pthread_cleanup_pop(0);
39101
39102 ;
39103 return 0;
39104 }
39105 _ACEOF
39106 rm -f conftest.$ac_objext
39107 if { (ac_try="$ac_compile"
39108 case "(($ac_try" in
39109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39110 *) ac_try_echo=$ac_try;;
39111 esac
39112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39113 (eval "$ac_compile") 2>conftest.er1
39114 ac_status=$?
39115 grep -v '^ *+' conftest.er1 >conftest.err
39116 rm -f conftest.er1
39117 cat conftest.err >&5
39118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39119 (exit $ac_status); } && {
39120 test -z "$ac_cxx_werror_flag" ||
39121 test ! -s conftest.err
39122 } && test -s conftest.$ac_objext; then
39123
39124 wx_cv_func_pthread_cleanup=yes
39125
39126 else
39127 echo "$as_me: failed program was:" >&5
39128 sed 's/^/| /' conftest.$ac_ext >&5
39129
39130
39131 wx_cv_func_pthread_cleanup=no
39132
39133
39134 fi
39135
39136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39137 ac_ext=c
39138 ac_cpp='$CPP $CPPFLAGS'
39139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39142
39143
39144 fi
39145 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39146 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39147 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39148 cat >>confdefs.h <<\_ACEOF
39149 #define wxHAVE_PTHREAD_CLEANUP 1
39150 _ACEOF
39151
39152 fi
39153
39154
39155 for ac_header in sched.h
39156 do
39157 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39158 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39159 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39160 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39161 echo $ECHO_N "(cached) $ECHO_C" >&6
39162 else
39163 cat >conftest.$ac_ext <<_ACEOF
39164 /* confdefs.h. */
39165 _ACEOF
39166 cat confdefs.h >>conftest.$ac_ext
39167 cat >>conftest.$ac_ext <<_ACEOF
39168 /* end confdefs.h. */
39169 $ac_includes_default
39170
39171 #include <$ac_header>
39172 _ACEOF
39173 rm -f conftest.$ac_objext
39174 if { (ac_try="$ac_compile"
39175 case "(($ac_try" in
39176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39177 *) ac_try_echo=$ac_try;;
39178 esac
39179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39180 (eval "$ac_compile") 2>conftest.er1
39181 ac_status=$?
39182 grep -v '^ *+' conftest.er1 >conftest.err
39183 rm -f conftest.er1
39184 cat conftest.err >&5
39185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39186 (exit $ac_status); } && {
39187 test -z "$ac_c_werror_flag" ||
39188 test ! -s conftest.err
39189 } && test -s conftest.$ac_objext; then
39190 eval "$as_ac_Header=yes"
39191 else
39192 echo "$as_me: failed program was:" >&5
39193 sed 's/^/| /' conftest.$ac_ext >&5
39194
39195 eval "$as_ac_Header=no"
39196 fi
39197
39198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39199 fi
39200 ac_res=`eval echo '${'$as_ac_Header'}'`
39201 { echo "$as_me:$LINENO: result: $ac_res" >&5
39202 echo "${ECHO_T}$ac_res" >&6; }
39203 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39204 cat >>confdefs.h <<_ACEOF
39205 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39206 _ACEOF
39207
39208 fi
39209
39210 done
39211
39212 if test "$ac_cv_header_sched_h" = "yes"; then
39213 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39214 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39215 if test "${ac_cv_func_sched_yield+set}" = set; then
39216 echo $ECHO_N "(cached) $ECHO_C" >&6
39217 else
39218 cat >conftest.$ac_ext <<_ACEOF
39219 /* confdefs.h. */
39220 _ACEOF
39221 cat confdefs.h >>conftest.$ac_ext
39222 cat >>conftest.$ac_ext <<_ACEOF
39223 /* end confdefs.h. */
39224 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39226 #define sched_yield innocuous_sched_yield
39227
39228 /* System header to define __stub macros and hopefully few prototypes,
39229 which can conflict with char sched_yield (); below.
39230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39231 <limits.h> exists even on freestanding compilers. */
39232
39233 #ifdef __STDC__
39234 # include <limits.h>
39235 #else
39236 # include <assert.h>
39237 #endif
39238
39239 #undef sched_yield
39240
39241 /* Override any GCC internal prototype to avoid an error.
39242 Use char because int might match the return type of a GCC
39243 builtin and then its argument prototype would still apply. */
39244 #ifdef __cplusplus
39245 extern "C"
39246 #endif
39247 char sched_yield ();
39248 /* The GNU C library defines this for functions which it implements
39249 to always fail with ENOSYS. Some functions are actually named
39250 something starting with __ and the normal name is an alias. */
39251 #if defined __stub_sched_yield || defined __stub___sched_yield
39252 choke me
39253 #endif
39254
39255 int
39256 main ()
39257 {
39258 return sched_yield ();
39259 ;
39260 return 0;
39261 }
39262 _ACEOF
39263 rm -f conftest.$ac_objext conftest$ac_exeext
39264 if { (ac_try="$ac_link"
39265 case "(($ac_try" in
39266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39267 *) ac_try_echo=$ac_try;;
39268 esac
39269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39270 (eval "$ac_link") 2>conftest.er1
39271 ac_status=$?
39272 grep -v '^ *+' conftest.er1 >conftest.err
39273 rm -f conftest.er1
39274 cat conftest.err >&5
39275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39276 (exit $ac_status); } && {
39277 test -z "$ac_c_werror_flag" ||
39278 test ! -s conftest.err
39279 } && test -s conftest$ac_exeext &&
39280 $as_test_x conftest$ac_exeext; then
39281 ac_cv_func_sched_yield=yes
39282 else
39283 echo "$as_me: failed program was:" >&5
39284 sed 's/^/| /' conftest.$ac_ext >&5
39285
39286 ac_cv_func_sched_yield=no
39287 fi
39288
39289 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39290 conftest$ac_exeext conftest.$ac_ext
39291 fi
39292 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39293 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39294 if test $ac_cv_func_sched_yield = yes; then
39295 cat >>confdefs.h <<\_ACEOF
39296 #define HAVE_SCHED_YIELD 1
39297 _ACEOF
39298
39299 else
39300
39301 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39302 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39303 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39304 echo $ECHO_N "(cached) $ECHO_C" >&6
39305 else
39306 ac_check_lib_save_LIBS=$LIBS
39307 LIBS="-lposix4 $LIBS"
39308 cat >conftest.$ac_ext <<_ACEOF
39309 /* confdefs.h. */
39310 _ACEOF
39311 cat confdefs.h >>conftest.$ac_ext
39312 cat >>conftest.$ac_ext <<_ACEOF
39313 /* end confdefs.h. */
39314
39315 /* Override any GCC internal prototype to avoid an error.
39316 Use char because int might match the return type of a GCC
39317 builtin and then its argument prototype would still apply. */
39318 #ifdef __cplusplus
39319 extern "C"
39320 #endif
39321 char sched_yield ();
39322 int
39323 main ()
39324 {
39325 return sched_yield ();
39326 ;
39327 return 0;
39328 }
39329 _ACEOF
39330 rm -f conftest.$ac_objext conftest$ac_exeext
39331 if { (ac_try="$ac_link"
39332 case "(($ac_try" in
39333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39334 *) ac_try_echo=$ac_try;;
39335 esac
39336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39337 (eval "$ac_link") 2>conftest.er1
39338 ac_status=$?
39339 grep -v '^ *+' conftest.er1 >conftest.err
39340 rm -f conftest.er1
39341 cat conftest.err >&5
39342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39343 (exit $ac_status); } && {
39344 test -z "$ac_c_werror_flag" ||
39345 test ! -s conftest.err
39346 } && test -s conftest$ac_exeext &&
39347 $as_test_x conftest$ac_exeext; then
39348 ac_cv_lib_posix4_sched_yield=yes
39349 else
39350 echo "$as_me: failed program was:" >&5
39351 sed 's/^/| /' conftest.$ac_ext >&5
39352
39353 ac_cv_lib_posix4_sched_yield=no
39354 fi
39355
39356 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39357 conftest$ac_exeext conftest.$ac_ext
39358 LIBS=$ac_check_lib_save_LIBS
39359 fi
39360 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39361 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39362 if test $ac_cv_lib_posix4_sched_yield = yes; then
39363 cat >>confdefs.h <<\_ACEOF
39364 #define HAVE_SCHED_YIELD 1
39365 _ACEOF
39366 POSIX4_LINK=" -lposix4"
39367 else
39368 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39369 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39370
39371 fi
39372
39373
39374
39375 fi
39376
39377 fi
39378
39379 HAVE_PRIOR_FUNCS=0
39380 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39381 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39382 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39383 echo $ECHO_N "(cached) $ECHO_C" >&6
39384 else
39385 cat >conftest.$ac_ext <<_ACEOF
39386 /* confdefs.h. */
39387 _ACEOF
39388 cat confdefs.h >>conftest.$ac_ext
39389 cat >>conftest.$ac_ext <<_ACEOF
39390 /* end confdefs.h. */
39391 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39393 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39394
39395 /* System header to define __stub macros and hopefully few prototypes,
39396 which can conflict with char pthread_attr_getschedpolicy (); below.
39397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39398 <limits.h> exists even on freestanding compilers. */
39399
39400 #ifdef __STDC__
39401 # include <limits.h>
39402 #else
39403 # include <assert.h>
39404 #endif
39405
39406 #undef pthread_attr_getschedpolicy
39407
39408 /* Override any GCC internal prototype to avoid an error.
39409 Use char because int might match the return type of a GCC
39410 builtin and then its argument prototype would still apply. */
39411 #ifdef __cplusplus
39412 extern "C"
39413 #endif
39414 char pthread_attr_getschedpolicy ();
39415 /* The GNU C library defines this for functions which it implements
39416 to always fail with ENOSYS. Some functions are actually named
39417 something starting with __ and the normal name is an alias. */
39418 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39419 choke me
39420 #endif
39421
39422 int
39423 main ()
39424 {
39425 return pthread_attr_getschedpolicy ();
39426 ;
39427 return 0;
39428 }
39429 _ACEOF
39430 rm -f conftest.$ac_objext conftest$ac_exeext
39431 if { (ac_try="$ac_link"
39432 case "(($ac_try" in
39433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39434 *) ac_try_echo=$ac_try;;
39435 esac
39436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39437 (eval "$ac_link") 2>conftest.er1
39438 ac_status=$?
39439 grep -v '^ *+' conftest.er1 >conftest.err
39440 rm -f conftest.er1
39441 cat conftest.err >&5
39442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39443 (exit $ac_status); } && {
39444 test -z "$ac_c_werror_flag" ||
39445 test ! -s conftest.err
39446 } && test -s conftest$ac_exeext &&
39447 $as_test_x conftest$ac_exeext; then
39448 ac_cv_func_pthread_attr_getschedpolicy=yes
39449 else
39450 echo "$as_me: failed program was:" >&5
39451 sed 's/^/| /' conftest.$ac_ext >&5
39452
39453 ac_cv_func_pthread_attr_getschedpolicy=no
39454 fi
39455
39456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39457 conftest$ac_exeext conftest.$ac_ext
39458 fi
39459 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39460 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39461 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39462 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39463 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39464 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39465 echo $ECHO_N "(cached) $ECHO_C" >&6
39466 else
39467 cat >conftest.$ac_ext <<_ACEOF
39468 /* confdefs.h. */
39469 _ACEOF
39470 cat confdefs.h >>conftest.$ac_ext
39471 cat >>conftest.$ac_ext <<_ACEOF
39472 /* end confdefs.h. */
39473 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39475 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39476
39477 /* System header to define __stub macros and hopefully few prototypes,
39478 which can conflict with char pthread_attr_setschedparam (); below.
39479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39480 <limits.h> exists even on freestanding compilers. */
39481
39482 #ifdef __STDC__
39483 # include <limits.h>
39484 #else
39485 # include <assert.h>
39486 #endif
39487
39488 #undef pthread_attr_setschedparam
39489
39490 /* Override any GCC internal prototype to avoid an error.
39491 Use char because int might match the return type of a GCC
39492 builtin and then its argument prototype would still apply. */
39493 #ifdef __cplusplus
39494 extern "C"
39495 #endif
39496 char pthread_attr_setschedparam ();
39497 /* The GNU C library defines this for functions which it implements
39498 to always fail with ENOSYS. Some functions are actually named
39499 something starting with __ and the normal name is an alias. */
39500 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39501 choke me
39502 #endif
39503
39504 int
39505 main ()
39506 {
39507 return pthread_attr_setschedparam ();
39508 ;
39509 return 0;
39510 }
39511 _ACEOF
39512 rm -f conftest.$ac_objext conftest$ac_exeext
39513 if { (ac_try="$ac_link"
39514 case "(($ac_try" in
39515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39516 *) ac_try_echo=$ac_try;;
39517 esac
39518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39519 (eval "$ac_link") 2>conftest.er1
39520 ac_status=$?
39521 grep -v '^ *+' conftest.er1 >conftest.err
39522 rm -f conftest.er1
39523 cat conftest.err >&5
39524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39525 (exit $ac_status); } && {
39526 test -z "$ac_c_werror_flag" ||
39527 test ! -s conftest.err
39528 } && test -s conftest$ac_exeext &&
39529 $as_test_x conftest$ac_exeext; then
39530 ac_cv_func_pthread_attr_setschedparam=yes
39531 else
39532 echo "$as_me: failed program was:" >&5
39533 sed 's/^/| /' conftest.$ac_ext >&5
39534
39535 ac_cv_func_pthread_attr_setschedparam=no
39536 fi
39537
39538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39539 conftest$ac_exeext conftest.$ac_ext
39540 fi
39541 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39542 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39543 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39544 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39545 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39546 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39547 echo $ECHO_N "(cached) $ECHO_C" >&6
39548 else
39549 cat >conftest.$ac_ext <<_ACEOF
39550 /* confdefs.h. */
39551 _ACEOF
39552 cat confdefs.h >>conftest.$ac_ext
39553 cat >>conftest.$ac_ext <<_ACEOF
39554 /* end confdefs.h. */
39555 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39557 #define sched_get_priority_max innocuous_sched_get_priority_max
39558
39559 /* System header to define __stub macros and hopefully few prototypes,
39560 which can conflict with char sched_get_priority_max (); below.
39561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39562 <limits.h> exists even on freestanding compilers. */
39563
39564 #ifdef __STDC__
39565 # include <limits.h>
39566 #else
39567 # include <assert.h>
39568 #endif
39569
39570 #undef sched_get_priority_max
39571
39572 /* Override any GCC internal prototype to avoid an error.
39573 Use char because int might match the return type of a GCC
39574 builtin and then its argument prototype would still apply. */
39575 #ifdef __cplusplus
39576 extern "C"
39577 #endif
39578 char sched_get_priority_max ();
39579 /* The GNU C library defines this for functions which it implements
39580 to always fail with ENOSYS. Some functions are actually named
39581 something starting with __ and the normal name is an alias. */
39582 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39583 choke me
39584 #endif
39585
39586 int
39587 main ()
39588 {
39589 return sched_get_priority_max ();
39590 ;
39591 return 0;
39592 }
39593 _ACEOF
39594 rm -f conftest.$ac_objext conftest$ac_exeext
39595 if { (ac_try="$ac_link"
39596 case "(($ac_try" in
39597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39598 *) ac_try_echo=$ac_try;;
39599 esac
39600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39601 (eval "$ac_link") 2>conftest.er1
39602 ac_status=$?
39603 grep -v '^ *+' conftest.er1 >conftest.err
39604 rm -f conftest.er1
39605 cat conftest.err >&5
39606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39607 (exit $ac_status); } && {
39608 test -z "$ac_c_werror_flag" ||
39609 test ! -s conftest.err
39610 } && test -s conftest$ac_exeext &&
39611 $as_test_x conftest$ac_exeext; then
39612 ac_cv_func_sched_get_priority_max=yes
39613 else
39614 echo "$as_me: failed program was:" >&5
39615 sed 's/^/| /' conftest.$ac_ext >&5
39616
39617 ac_cv_func_sched_get_priority_max=no
39618 fi
39619
39620 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39621 conftest$ac_exeext conftest.$ac_ext
39622 fi
39623 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39624 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39625 if test $ac_cv_func_sched_get_priority_max = yes; then
39626 HAVE_PRIOR_FUNCS=1
39627 else
39628 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39629 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39630 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39631 echo $ECHO_N "(cached) $ECHO_C" >&6
39632 else
39633 ac_check_lib_save_LIBS=$LIBS
39634 LIBS="-lposix4 $LIBS"
39635 cat >conftest.$ac_ext <<_ACEOF
39636 /* confdefs.h. */
39637 _ACEOF
39638 cat confdefs.h >>conftest.$ac_ext
39639 cat >>conftest.$ac_ext <<_ACEOF
39640 /* end confdefs.h. */
39641
39642 /* Override any GCC internal prototype to avoid an error.
39643 Use char because int might match the return type of a GCC
39644 builtin and then its argument prototype would still apply. */
39645 #ifdef __cplusplus
39646 extern "C"
39647 #endif
39648 char sched_get_priority_max ();
39649 int
39650 main ()
39651 {
39652 return sched_get_priority_max ();
39653 ;
39654 return 0;
39655 }
39656 _ACEOF
39657 rm -f conftest.$ac_objext conftest$ac_exeext
39658 if { (ac_try="$ac_link"
39659 case "(($ac_try" in
39660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39661 *) ac_try_echo=$ac_try;;
39662 esac
39663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39664 (eval "$ac_link") 2>conftest.er1
39665 ac_status=$?
39666 grep -v '^ *+' conftest.er1 >conftest.err
39667 rm -f conftest.er1
39668 cat conftest.err >&5
39669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39670 (exit $ac_status); } && {
39671 test -z "$ac_c_werror_flag" ||
39672 test ! -s conftest.err
39673 } && test -s conftest$ac_exeext &&
39674 $as_test_x conftest$ac_exeext; then
39675 ac_cv_lib_posix4_sched_get_priority_max=yes
39676 else
39677 echo "$as_me: failed program was:" >&5
39678 sed 's/^/| /' conftest.$ac_ext >&5
39679
39680 ac_cv_lib_posix4_sched_get_priority_max=no
39681 fi
39682
39683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39684 conftest$ac_exeext conftest.$ac_ext
39685 LIBS=$ac_check_lib_save_LIBS
39686 fi
39687 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39688 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39689 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39690
39691 HAVE_PRIOR_FUNCS=1
39692 POSIX4_LINK=" -lposix4"
39693
39694 fi
39695
39696
39697 fi
39698
39699
39700 fi
39701
39702
39703 fi
39704
39705
39706 if test "$HAVE_PRIOR_FUNCS" = 1; then
39707 cat >>confdefs.h <<\_ACEOF
39708 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39709 _ACEOF
39710
39711 else
39712 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39713 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39714 fi
39715
39716 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39717 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39718 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39719 echo $ECHO_N "(cached) $ECHO_C" >&6
39720 else
39721 cat >conftest.$ac_ext <<_ACEOF
39722 /* confdefs.h. */
39723 _ACEOF
39724 cat confdefs.h >>conftest.$ac_ext
39725 cat >>conftest.$ac_ext <<_ACEOF
39726 /* end confdefs.h. */
39727 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39728 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39729 #define pthread_cancel innocuous_pthread_cancel
39730
39731 /* System header to define __stub macros and hopefully few prototypes,
39732 which can conflict with char pthread_cancel (); below.
39733 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39734 <limits.h> exists even on freestanding compilers. */
39735
39736 #ifdef __STDC__
39737 # include <limits.h>
39738 #else
39739 # include <assert.h>
39740 #endif
39741
39742 #undef pthread_cancel
39743
39744 /* Override any GCC internal prototype to avoid an error.
39745 Use char because int might match the return type of a GCC
39746 builtin and then its argument prototype would still apply. */
39747 #ifdef __cplusplus
39748 extern "C"
39749 #endif
39750 char pthread_cancel ();
39751 /* The GNU C library defines this for functions which it implements
39752 to always fail with ENOSYS. Some functions are actually named
39753 something starting with __ and the normal name is an alias. */
39754 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39755 choke me
39756 #endif
39757
39758 int
39759 main ()
39760 {
39761 return pthread_cancel ();
39762 ;
39763 return 0;
39764 }
39765 _ACEOF
39766 rm -f conftest.$ac_objext conftest$ac_exeext
39767 if { (ac_try="$ac_link"
39768 case "(($ac_try" in
39769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39770 *) ac_try_echo=$ac_try;;
39771 esac
39772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39773 (eval "$ac_link") 2>conftest.er1
39774 ac_status=$?
39775 grep -v '^ *+' conftest.er1 >conftest.err
39776 rm -f conftest.er1
39777 cat conftest.err >&5
39778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39779 (exit $ac_status); } && {
39780 test -z "$ac_c_werror_flag" ||
39781 test ! -s conftest.err
39782 } && test -s conftest$ac_exeext &&
39783 $as_test_x conftest$ac_exeext; then
39784 ac_cv_func_pthread_cancel=yes
39785 else
39786 echo "$as_me: failed program was:" >&5
39787 sed 's/^/| /' conftest.$ac_ext >&5
39788
39789 ac_cv_func_pthread_cancel=no
39790 fi
39791
39792 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39793 conftest$ac_exeext conftest.$ac_ext
39794 fi
39795 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39796 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39797 if test $ac_cv_func_pthread_cancel = yes; then
39798 cat >>confdefs.h <<\_ACEOF
39799 #define HAVE_PTHREAD_CANCEL 1
39800 _ACEOF
39801
39802 else
39803 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39804 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39805 fi
39806
39807
39808 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39809 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39810 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39811 echo $ECHO_N "(cached) $ECHO_C" >&6
39812 else
39813 cat >conftest.$ac_ext <<_ACEOF
39814 /* confdefs.h. */
39815 _ACEOF
39816 cat confdefs.h >>conftest.$ac_ext
39817 cat >>conftest.$ac_ext <<_ACEOF
39818 /* end confdefs.h. */
39819 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39821 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39822
39823 /* System header to define __stub macros and hopefully few prototypes,
39824 which can conflict with char pthread_mutex_timedlock (); below.
39825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39826 <limits.h> exists even on freestanding compilers. */
39827
39828 #ifdef __STDC__
39829 # include <limits.h>
39830 #else
39831 # include <assert.h>
39832 #endif
39833
39834 #undef pthread_mutex_timedlock
39835
39836 /* Override any GCC internal prototype to avoid an error.
39837 Use char because int might match the return type of a GCC
39838 builtin and then its argument prototype would still apply. */
39839 #ifdef __cplusplus
39840 extern "C"
39841 #endif
39842 char pthread_mutex_timedlock ();
39843 /* The GNU C library defines this for functions which it implements
39844 to always fail with ENOSYS. Some functions are actually named
39845 something starting with __ and the normal name is an alias. */
39846 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39847 choke me
39848 #endif
39849
39850 int
39851 main ()
39852 {
39853 return pthread_mutex_timedlock ();
39854 ;
39855 return 0;
39856 }
39857 _ACEOF
39858 rm -f conftest.$ac_objext conftest$ac_exeext
39859 if { (ac_try="$ac_link"
39860 case "(($ac_try" in
39861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39862 *) ac_try_echo=$ac_try;;
39863 esac
39864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39865 (eval "$ac_link") 2>conftest.er1
39866 ac_status=$?
39867 grep -v '^ *+' conftest.er1 >conftest.err
39868 rm -f conftest.er1
39869 cat conftest.err >&5
39870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39871 (exit $ac_status); } && {
39872 test -z "$ac_c_werror_flag" ||
39873 test ! -s conftest.err
39874 } && test -s conftest$ac_exeext &&
39875 $as_test_x conftest$ac_exeext; then
39876 ac_cv_func_pthread_mutex_timedlock=yes
39877 else
39878 echo "$as_me: failed program was:" >&5
39879 sed 's/^/| /' conftest.$ac_ext >&5
39880
39881 ac_cv_func_pthread_mutex_timedlock=no
39882 fi
39883
39884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39885 conftest$ac_exeext conftest.$ac_ext
39886 fi
39887 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39888 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39889 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39890 cat >>confdefs.h <<\_ACEOF
39891 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39892 _ACEOF
39893
39894 else
39895 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39896 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39897 fi
39898
39899
39900 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39901 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39902 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39903 echo $ECHO_N "(cached) $ECHO_C" >&6
39904 else
39905 cat >conftest.$ac_ext <<_ACEOF
39906 /* confdefs.h. */
39907 _ACEOF
39908 cat confdefs.h >>conftest.$ac_ext
39909 cat >>conftest.$ac_ext <<_ACEOF
39910 /* end confdefs.h. */
39911 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39912 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39913 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39914
39915 /* System header to define __stub macros and hopefully few prototypes,
39916 which can conflict with char pthread_attr_setstacksize (); below.
39917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39918 <limits.h> exists even on freestanding compilers. */
39919
39920 #ifdef __STDC__
39921 # include <limits.h>
39922 #else
39923 # include <assert.h>
39924 #endif
39925
39926 #undef pthread_attr_setstacksize
39927
39928 /* Override any GCC internal prototype to avoid an error.
39929 Use char because int might match the return type of a GCC
39930 builtin and then its argument prototype would still apply. */
39931 #ifdef __cplusplus
39932 extern "C"
39933 #endif
39934 char pthread_attr_setstacksize ();
39935 /* The GNU C library defines this for functions which it implements
39936 to always fail with ENOSYS. Some functions are actually named
39937 something starting with __ and the normal name is an alias. */
39938 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39939 choke me
39940 #endif
39941
39942 int
39943 main ()
39944 {
39945 return pthread_attr_setstacksize ();
39946 ;
39947 return 0;
39948 }
39949 _ACEOF
39950 rm -f conftest.$ac_objext conftest$ac_exeext
39951 if { (ac_try="$ac_link"
39952 case "(($ac_try" in
39953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39954 *) ac_try_echo=$ac_try;;
39955 esac
39956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39957 (eval "$ac_link") 2>conftest.er1
39958 ac_status=$?
39959 grep -v '^ *+' conftest.er1 >conftest.err
39960 rm -f conftest.er1
39961 cat conftest.err >&5
39962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39963 (exit $ac_status); } && {
39964 test -z "$ac_c_werror_flag" ||
39965 test ! -s conftest.err
39966 } && test -s conftest$ac_exeext &&
39967 $as_test_x conftest$ac_exeext; then
39968 ac_cv_func_pthread_attr_setstacksize=yes
39969 else
39970 echo "$as_me: failed program was:" >&5
39971 sed 's/^/| /' conftest.$ac_ext >&5
39972
39973 ac_cv_func_pthread_attr_setstacksize=no
39974 fi
39975
39976 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39977 conftest$ac_exeext conftest.$ac_ext
39978 fi
39979 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39980 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39981 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39982 cat >>confdefs.h <<\_ACEOF
39983 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39984 _ACEOF
39985
39986 fi
39987
39988
39989
39990 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39991 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39992 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39993 echo $ECHO_N "(cached) $ECHO_C" >&6
39994 else
39995
39996 cat >conftest.$ac_ext <<_ACEOF
39997 /* confdefs.h. */
39998 _ACEOF
39999 cat confdefs.h >>conftest.$ac_ext
40000 cat >>conftest.$ac_ext <<_ACEOF
40001 /* end confdefs.h. */
40002 #include <pthread.h>
40003 int
40004 main ()
40005 {
40006
40007 pthread_mutexattr_t attr;
40008 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40009
40010 ;
40011 return 0;
40012 }
40013 _ACEOF
40014 rm -f conftest.$ac_objext
40015 if { (ac_try="$ac_compile"
40016 case "(($ac_try" in
40017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40018 *) ac_try_echo=$ac_try;;
40019 esac
40020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40021 (eval "$ac_compile") 2>conftest.er1
40022 ac_status=$?
40023 grep -v '^ *+' conftest.er1 >conftest.err
40024 rm -f conftest.er1
40025 cat conftest.err >&5
40026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40027 (exit $ac_status); } && {
40028 test -z "$ac_c_werror_flag" ||
40029 test ! -s conftest.err
40030 } && test -s conftest.$ac_objext; then
40031 wx_cv_type_pthread_mutexattr_t=yes
40032 else
40033 echo "$as_me: failed program was:" >&5
40034 sed 's/^/| /' conftest.$ac_ext >&5
40035
40036 wx_cv_type_pthread_mutexattr_t=no
40037
40038 fi
40039
40040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40041
40042 fi
40043 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40044 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40045
40046 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40047 cat >>confdefs.h <<\_ACEOF
40048 #define HAVE_PTHREAD_MUTEXATTR_T 1
40049 _ACEOF
40050
40051
40052 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40053 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40054 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40055 echo $ECHO_N "(cached) $ECHO_C" >&6
40056 else
40057
40058 cat >conftest.$ac_ext <<_ACEOF
40059 /* confdefs.h. */
40060 _ACEOF
40061 cat confdefs.h >>conftest.$ac_ext
40062 cat >>conftest.$ac_ext <<_ACEOF
40063 /* end confdefs.h. */
40064 #include <pthread.h>
40065 int
40066 main ()
40067 {
40068
40069 pthread_mutexattr_t attr;
40070 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40071
40072 ;
40073 return 0;
40074 }
40075 _ACEOF
40076 rm -f conftest.$ac_objext
40077 if { (ac_try="$ac_compile"
40078 case "(($ac_try" in
40079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40080 *) ac_try_echo=$ac_try;;
40081 esac
40082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40083 (eval "$ac_compile") 2>conftest.er1
40084 ac_status=$?
40085 grep -v '^ *+' conftest.er1 >conftest.err
40086 rm -f conftest.er1
40087 cat conftest.err >&5
40088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40089 (exit $ac_status); } && {
40090 test -z "$ac_c_werror_flag" ||
40091 test ! -s conftest.err
40092 } && test -s conftest.$ac_objext; then
40093 wx_cv_func_pthread_mutexattr_settype_decl=yes
40094 else
40095 echo "$as_me: failed program was:" >&5
40096 sed 's/^/| /' conftest.$ac_ext >&5
40097
40098 wx_cv_func_pthread_mutexattr_settype_decl=no
40099
40100 fi
40101
40102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40103
40104 fi
40105 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40106 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40107 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40108 cat >>confdefs.h <<\_ACEOF
40109 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40110 _ACEOF
40111
40112 fi
40113 else
40114 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40115 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40116 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40117 echo $ECHO_N "(cached) $ECHO_C" >&6
40118 else
40119
40120 cat >conftest.$ac_ext <<_ACEOF
40121 /* confdefs.h. */
40122 _ACEOF
40123 cat confdefs.h >>conftest.$ac_ext
40124 cat >>conftest.$ac_ext <<_ACEOF
40125 /* end confdefs.h. */
40126 #include <pthread.h>
40127 int
40128 main ()
40129 {
40130
40131 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40132
40133 ;
40134 return 0;
40135 }
40136 _ACEOF
40137 rm -f conftest.$ac_objext
40138 if { (ac_try="$ac_compile"
40139 case "(($ac_try" in
40140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40141 *) ac_try_echo=$ac_try;;
40142 esac
40143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40144 (eval "$ac_compile") 2>conftest.er1
40145 ac_status=$?
40146 grep -v '^ *+' conftest.er1 >conftest.err
40147 rm -f conftest.er1
40148 cat conftest.err >&5
40149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40150 (exit $ac_status); } && {
40151 test -z "$ac_c_werror_flag" ||
40152 test ! -s conftest.err
40153 } && test -s conftest.$ac_objext; then
40154
40155 wx_cv_type_pthread_rec_mutex_init=yes
40156
40157 else
40158 echo "$as_me: failed program was:" >&5
40159 sed 's/^/| /' conftest.$ac_ext >&5
40160
40161
40162 wx_cv_type_pthread_rec_mutex_init=no
40163
40164
40165 fi
40166
40167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40168
40169 fi
40170 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40171 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40172 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40173 cat >>confdefs.h <<\_ACEOF
40174 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40175 _ACEOF
40176
40177 else
40178 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40179 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40180 fi
40181 fi
40182
40183 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40184 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40185 if test "${wx_cv_cc___thread+set}" = set; then
40186 echo $ECHO_N "(cached) $ECHO_C" >&6
40187 else
40188
40189 cat >conftest.$ac_ext <<_ACEOF
40190 /* confdefs.h. */
40191 _ACEOF
40192 cat confdefs.h >>conftest.$ac_ext
40193 cat >>conftest.$ac_ext <<_ACEOF
40194 /* end confdefs.h. */
40195 #include <pthread.h>
40196 int
40197 main ()
40198 {
40199
40200 static __thread int n = 0;
40201 static __thread int *p = 0;
40202
40203 ;
40204 return 0;
40205 }
40206 _ACEOF
40207 rm -f conftest.$ac_objext
40208 if { (ac_try="$ac_compile"
40209 case "(($ac_try" in
40210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40211 *) ac_try_echo=$ac_try;;
40212 esac
40213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40214 (eval "$ac_compile") 2>conftest.er1
40215 ac_status=$?
40216 grep -v '^ *+' conftest.er1 >conftest.err
40217 rm -f conftest.er1
40218 cat conftest.err >&5
40219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40220 (exit $ac_status); } && {
40221 test -z "$ac_c_werror_flag" ||
40222 test ! -s conftest.err
40223 } && test -s conftest.$ac_objext; then
40224 wx_cv_cc___thread=yes
40225 else
40226 echo "$as_me: failed program was:" >&5
40227 sed 's/^/| /' conftest.$ac_ext >&5
40228
40229 wx_cv_cc___thread=no
40230
40231 fi
40232
40233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40234
40235
40236 fi
40237 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40238 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40239
40240 if test "$wx_cv_cc___thread" = "yes"; then
40241
40242 GXX_VERSION=""
40243
40244
40245
40246 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40247 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40248
40249 if test "x$GCC" = "xyes" ; then
40250
40251 if test -z "" ; then
40252
40253 ax_gcc_option_test="int main()
40254 {
40255 return 0;
40256 }"
40257
40258 else
40259
40260 ax_gcc_option_test=""
40261
40262 fi
40263
40264
40265 # Dump the test program to file
40266 cat <<EOF > conftest.c
40267 $ax_gcc_option_test
40268 EOF
40269
40270 # Dump back the file to the log, useful for debugging purposes
40271 { ac_try='cat conftest.c 1>&5'
40272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40273 (eval $ac_try) 2>&5
40274 ac_status=$?
40275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40276 (exit $ac_status); }; }
40277
40278 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40280 (eval $ac_try) 2>&5
40281 ac_status=$?
40282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40283 (exit $ac_status); }; } ; then
40284
40285 { echo "$as_me:$LINENO: result: yes" >&5
40286 echo "${ECHO_T}yes" >&6; }
40287
40288 ax_gcc_version_option=yes
40289
40290
40291 else
40292
40293 { echo "$as_me:$LINENO: result: no" >&5
40294 echo "${ECHO_T}no" >&6; }
40295
40296 ax_gcc_version_option=no
40297
40298
40299 fi
40300
40301
40302 else
40303
40304 { echo "$as_me:$LINENO: result: no gcc available" >&5
40305 echo "${ECHO_T}no gcc available" >&6; }
40306
40307 fi
40308
40309
40310 if test "x$GXX" = "xyes"; then
40311
40312 if test "x$ax_gxx_version_option" != "no"; then
40313
40314 { echo "$as_me:$LINENO: checking gxx version" >&5
40315 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40316 if test "${ax_cv_gxx_version+set}" = set; then
40317 echo $ECHO_N "(cached) $ECHO_C" >&6
40318 else
40319
40320 ax_cv_gxx_version="`$CXX -dumpversion`"
40321 if test "x$ax_cv_gxx_version" = "x"; then
40322
40323 ax_cv_gxx_version=""
40324
40325 fi
40326
40327
40328 fi
40329 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40330 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40331 GXX_VERSION=$ax_cv_gxx_version
40332
40333 fi
40334
40335
40336 fi
40337
40338
40339
40340 if test -n "$ax_cv_gxx_version"; then
40341 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40342 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40343 case "$ax_cv_gxx_version" in
40344 1.* | 2.* | 3.* )
40345 { echo "$as_me:$LINENO: result: no, it's broken" >&5
40346 echo "${ECHO_T}no, it's broken" >&6; }
40347 wx_cv_cc___thread=no
40348 ;;
40349 *)
40350 { echo "$as_me:$LINENO: result: yes, it works" >&5
40351 echo "${ECHO_T}yes, it works" >&6; }
40352 ;;
40353 esac
40354 fi
40355 fi
40356
40357 if test "$wx_cv_cc___thread" = "yes"; then
40358 cat >>confdefs.h <<\_ACEOF
40359 #define HAVE___THREAD_KEYWORD 1
40360 _ACEOF
40361
40362 fi
40363 fi
40364
40365 else
40366 if test "$wxUSE_THREADS" = "yes" ; then
40367 case "${host}" in
40368 x86_64-*-mingw32* )
40369 ;;
40370 *-*-mingw32* )
40371 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40372 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40373 if test "${wx_cv_cflags_mthread+set}" = set; then
40374 echo $ECHO_N "(cached) $ECHO_C" >&6
40375 else
40376
40377 CFLAGS_OLD="$CFLAGS"
40378 CFLAGS="-mthreads $CFLAGS"
40379 cat >conftest.$ac_ext <<_ACEOF
40380 /* confdefs.h. */
40381 _ACEOF
40382 cat confdefs.h >>conftest.$ac_ext
40383 cat >>conftest.$ac_ext <<_ACEOF
40384 /* end confdefs.h. */
40385
40386 int
40387 main ()
40388 {
40389
40390 ;
40391 return 0;
40392 }
40393 _ACEOF
40394 rm -f conftest.$ac_objext
40395 if { (ac_try="$ac_compile"
40396 case "(($ac_try" in
40397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40398 *) ac_try_echo=$ac_try;;
40399 esac
40400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40401 (eval "$ac_compile") 2>conftest.er1
40402 ac_status=$?
40403 grep -v '^ *+' conftest.er1 >conftest.err
40404 rm -f conftest.er1
40405 cat conftest.err >&5
40406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40407 (exit $ac_status); } && {
40408 test -z "$ac_c_werror_flag" ||
40409 test ! -s conftest.err
40410 } && test -s conftest.$ac_objext; then
40411 wx_cv_cflags_mthread=yes
40412 else
40413 echo "$as_me: failed program was:" >&5
40414 sed 's/^/| /' conftest.$ac_ext >&5
40415
40416 wx_cv_cflags_mthread=no
40417
40418 fi
40419
40420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40421
40422
40423 fi
40424 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40425 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40426
40427 if test "$wx_cv_cflags_mthread" = "yes"; then
40428 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
40429 LDFLAGS="$LDFLAGS -mthreads"
40430 else
40431 CFLAGS="$CFLAGS_OLD"
40432 fi
40433 ;;
40434 *-pc-os2*emx )
40435 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40436 LDFLAGS="$LDFLAGS -Zmt"
40437 ;;
40438 esac
40439 fi
40440 fi
40441
40442 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40443 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40444 if test "${ac_cv_func_localtime_r+set}" = set; then
40445 echo $ECHO_N "(cached) $ECHO_C" >&6
40446 else
40447 cat >conftest.$ac_ext <<_ACEOF
40448 /* confdefs.h. */
40449 _ACEOF
40450 cat confdefs.h >>conftest.$ac_ext
40451 cat >>conftest.$ac_ext <<_ACEOF
40452 /* end confdefs.h. */
40453 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40455 #define localtime_r innocuous_localtime_r
40456
40457 /* System header to define __stub macros and hopefully few prototypes,
40458 which can conflict with char localtime_r (); below.
40459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40460 <limits.h> exists even on freestanding compilers. */
40461
40462 #ifdef __STDC__
40463 # include <limits.h>
40464 #else
40465 # include <assert.h>
40466 #endif
40467
40468 #undef localtime_r
40469
40470 /* Override any GCC internal prototype to avoid an error.
40471 Use char because int might match the return type of a GCC
40472 builtin and then its argument prototype would still apply. */
40473 #ifdef __cplusplus
40474 extern "C"
40475 #endif
40476 char localtime_r ();
40477 /* The GNU C library defines this for functions which it implements
40478 to always fail with ENOSYS. Some functions are actually named
40479 something starting with __ and the normal name is an alias. */
40480 #if defined __stub_localtime_r || defined __stub___localtime_r
40481 choke me
40482 #endif
40483
40484 int
40485 main ()
40486 {
40487 return localtime_r ();
40488 ;
40489 return 0;
40490 }
40491 _ACEOF
40492 rm -f conftest.$ac_objext conftest$ac_exeext
40493 if { (ac_try="$ac_link"
40494 case "(($ac_try" in
40495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40496 *) ac_try_echo=$ac_try;;
40497 esac
40498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40499 (eval "$ac_link") 2>conftest.er1
40500 ac_status=$?
40501 grep -v '^ *+' conftest.er1 >conftest.err
40502 rm -f conftest.er1
40503 cat conftest.err >&5
40504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40505 (exit $ac_status); } && {
40506 test -z "$ac_c_werror_flag" ||
40507 test ! -s conftest.err
40508 } && test -s conftest$ac_exeext &&
40509 $as_test_x conftest$ac_exeext; then
40510 ac_cv_func_localtime_r=yes
40511 else
40512 echo "$as_me: failed program was:" >&5
40513 sed 's/^/| /' conftest.$ac_ext >&5
40514
40515 ac_cv_func_localtime_r=no
40516 fi
40517
40518 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40519 conftest$ac_exeext conftest.$ac_ext
40520 fi
40521 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40522 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40523 if test $ac_cv_func_localtime_r = yes; then
40524 cat >>confdefs.h <<\_ACEOF
40525 #define HAVE_LOCALTIME_R 1
40526 _ACEOF
40527
40528 fi
40529
40530 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40531 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40532 if test "${ac_cv_func_gmtime_r+set}" = set; then
40533 echo $ECHO_N "(cached) $ECHO_C" >&6
40534 else
40535 cat >conftest.$ac_ext <<_ACEOF
40536 /* confdefs.h. */
40537 _ACEOF
40538 cat confdefs.h >>conftest.$ac_ext
40539 cat >>conftest.$ac_ext <<_ACEOF
40540 /* end confdefs.h. */
40541 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40543 #define gmtime_r innocuous_gmtime_r
40544
40545 /* System header to define __stub macros and hopefully few prototypes,
40546 which can conflict with char gmtime_r (); below.
40547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40548 <limits.h> exists even on freestanding compilers. */
40549
40550 #ifdef __STDC__
40551 # include <limits.h>
40552 #else
40553 # include <assert.h>
40554 #endif
40555
40556 #undef gmtime_r
40557
40558 /* Override any GCC internal prototype to avoid an error.
40559 Use char because int might match the return type of a GCC
40560 builtin and then its argument prototype would still apply. */
40561 #ifdef __cplusplus
40562 extern "C"
40563 #endif
40564 char gmtime_r ();
40565 /* The GNU C library defines this for functions which it implements
40566 to always fail with ENOSYS. Some functions are actually named
40567 something starting with __ and the normal name is an alias. */
40568 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40569 choke me
40570 #endif
40571
40572 int
40573 main ()
40574 {
40575 return gmtime_r ();
40576 ;
40577 return 0;
40578 }
40579 _ACEOF
40580 rm -f conftest.$ac_objext conftest$ac_exeext
40581 if { (ac_try="$ac_link"
40582 case "(($ac_try" in
40583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40584 *) ac_try_echo=$ac_try;;
40585 esac
40586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40587 (eval "$ac_link") 2>conftest.er1
40588 ac_status=$?
40589 grep -v '^ *+' conftest.er1 >conftest.err
40590 rm -f conftest.er1
40591 cat conftest.err >&5
40592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40593 (exit $ac_status); } && {
40594 test -z "$ac_c_werror_flag" ||
40595 test ! -s conftest.err
40596 } && test -s conftest$ac_exeext &&
40597 $as_test_x conftest$ac_exeext; then
40598 ac_cv_func_gmtime_r=yes
40599 else
40600 echo "$as_me: failed program was:" >&5
40601 sed 's/^/| /' conftest.$ac_ext >&5
40602
40603 ac_cv_func_gmtime_r=no
40604 fi
40605
40606 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40607 conftest$ac_exeext conftest.$ac_ext
40608 fi
40609 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40610 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40611 if test $ac_cv_func_gmtime_r = yes; then
40612 cat >>confdefs.h <<\_ACEOF
40613 #define HAVE_GMTIME_R 1
40614 _ACEOF
40615
40616 fi
40617
40618
40619
40620
40621 ac_ext=c
40622 ac_cpp='$CPP $CPPFLAGS'
40623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40626
40627 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40628 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40629
40630 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40631 echo $ECHO_N "(cached) $ECHO_C" >&6
40632 else
40633
40634
40635 ################################################################
40636
40637 ac_cv_func_which_gethostbyname_r=unknown
40638
40639 #
40640 # ONE ARGUMENT (sanity check)
40641 #
40642
40643 # This should fail, as there is no variant of gethostbyname_r() that takes
40644 # a single argument. If it actually compiles, then we can assume that
40645 # netdb.h is not declaring the function, and the compiler is thereby
40646 # assuming an implicit prototype. In which case, we're out of luck.
40647 #
40648 cat >conftest.$ac_ext <<_ACEOF
40649 /* confdefs.h. */
40650 _ACEOF
40651 cat confdefs.h >>conftest.$ac_ext
40652 cat >>conftest.$ac_ext <<_ACEOF
40653 /* end confdefs.h. */
40654 #include <netdb.h>
40655 int
40656 main ()
40657 {
40658
40659 char *name = "www.gnu.org";
40660 (void)gethostbyname_r(name) /* ; */
40661
40662 ;
40663 return 0;
40664 }
40665 _ACEOF
40666 rm -f conftest.$ac_objext
40667 if { (ac_try="$ac_compile"
40668 case "(($ac_try" in
40669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40670 *) ac_try_echo=$ac_try;;
40671 esac
40672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40673 (eval "$ac_compile") 2>conftest.er1
40674 ac_status=$?
40675 grep -v '^ *+' conftest.er1 >conftest.err
40676 rm -f conftest.er1
40677 cat conftest.err >&5
40678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40679 (exit $ac_status); } && {
40680 test -z "$ac_c_werror_flag" ||
40681 test ! -s conftest.err
40682 } && test -s conftest.$ac_objext; then
40683 ac_cv_func_which_gethostbyname_r=no
40684 else
40685 echo "$as_me: failed program was:" >&5
40686 sed 's/^/| /' conftest.$ac_ext >&5
40687
40688
40689 fi
40690
40691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40692
40693 #
40694 # SIX ARGUMENTS
40695 # (e.g. Linux)
40696 #
40697
40698 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40699
40700 cat >conftest.$ac_ext <<_ACEOF
40701 /* confdefs.h. */
40702 _ACEOF
40703 cat confdefs.h >>conftest.$ac_ext
40704 cat >>conftest.$ac_ext <<_ACEOF
40705 /* end confdefs.h. */
40706 #include <netdb.h>
40707 int
40708 main ()
40709 {
40710
40711 char *name = "www.gnu.org";
40712 struct hostent ret, *retp;
40713 char buf[1024];
40714 int buflen = 1024;
40715 int my_h_errno;
40716 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40717
40718 ;
40719 return 0;
40720 }
40721 _ACEOF
40722 rm -f conftest.$ac_objext
40723 if { (ac_try="$ac_compile"
40724 case "(($ac_try" in
40725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40726 *) ac_try_echo=$ac_try;;
40727 esac
40728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40729 (eval "$ac_compile") 2>conftest.er1
40730 ac_status=$?
40731 grep -v '^ *+' conftest.er1 >conftest.err
40732 rm -f conftest.er1
40733 cat conftest.err >&5
40734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40735 (exit $ac_status); } && {
40736 test -z "$ac_c_werror_flag" ||
40737 test ! -s conftest.err
40738 } && test -s conftest.$ac_objext; then
40739 ac_cv_func_which_gethostbyname_r=six
40740 else
40741 echo "$as_me: failed program was:" >&5
40742 sed 's/^/| /' conftest.$ac_ext >&5
40743
40744
40745 fi
40746
40747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40748
40749 fi
40750
40751 #
40752 # FIVE ARGUMENTS
40753 # (e.g. Solaris)
40754 #
40755
40756 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40757
40758 cat >conftest.$ac_ext <<_ACEOF
40759 /* confdefs.h. */
40760 _ACEOF
40761 cat confdefs.h >>conftest.$ac_ext
40762 cat >>conftest.$ac_ext <<_ACEOF
40763 /* end confdefs.h. */
40764 #include <netdb.h>
40765 int
40766 main ()
40767 {
40768
40769 char *name = "www.gnu.org";
40770 struct hostent ret;
40771 char buf[1024];
40772 int buflen = 1024;
40773 int my_h_errno;
40774 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40775
40776 ;
40777 return 0;
40778 }
40779 _ACEOF
40780 rm -f conftest.$ac_objext
40781 if { (ac_try="$ac_compile"
40782 case "(($ac_try" in
40783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40784 *) ac_try_echo=$ac_try;;
40785 esac
40786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40787 (eval "$ac_compile") 2>conftest.er1
40788 ac_status=$?
40789 grep -v '^ *+' conftest.er1 >conftest.err
40790 rm -f conftest.er1
40791 cat conftest.err >&5
40792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40793 (exit $ac_status); } && {
40794 test -z "$ac_c_werror_flag" ||
40795 test ! -s conftest.err
40796 } && test -s conftest.$ac_objext; then
40797 ac_cv_func_which_gethostbyname_r=five
40798 else
40799 echo "$as_me: failed program was:" >&5
40800 sed 's/^/| /' conftest.$ac_ext >&5
40801
40802
40803 fi
40804
40805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40806
40807 fi
40808
40809 #
40810 # THREE ARGUMENTS
40811 # (e.g. AIX, HP-UX, Tru64)
40812 #
40813
40814 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40815
40816 cat >conftest.$ac_ext <<_ACEOF
40817 /* confdefs.h. */
40818 _ACEOF
40819 cat confdefs.h >>conftest.$ac_ext
40820 cat >>conftest.$ac_ext <<_ACEOF
40821 /* end confdefs.h. */
40822 #include <netdb.h>
40823 int
40824 main ()
40825 {
40826
40827 char *name = "www.gnu.org";
40828 struct hostent ret;
40829 struct hostent_data data;
40830 (void)gethostbyname_r(name, &ret, &data) /* ; */
40831
40832 ;
40833 return 0;
40834 }
40835 _ACEOF
40836 rm -f conftest.$ac_objext
40837 if { (ac_try="$ac_compile"
40838 case "(($ac_try" in
40839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40840 *) ac_try_echo=$ac_try;;
40841 esac
40842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40843 (eval "$ac_compile") 2>conftest.er1
40844 ac_status=$?
40845 grep -v '^ *+' conftest.er1 >conftest.err
40846 rm -f conftest.er1
40847 cat conftest.err >&5
40848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40849 (exit $ac_status); } && {
40850 test -z "$ac_c_werror_flag" ||
40851 test ! -s conftest.err
40852 } && test -s conftest.$ac_objext; then
40853 ac_cv_func_which_gethostbyname_r=three
40854 else
40855 echo "$as_me: failed program was:" >&5
40856 sed 's/^/| /' conftest.$ac_ext >&5
40857
40858
40859 fi
40860
40861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40862
40863 fi
40864
40865 ################################################################
40866
40867
40868 fi
40869
40870 case "$ac_cv_func_which_gethostbyname_r" in
40871 three)
40872 { echo "$as_me:$LINENO: result: three" >&5
40873 echo "${ECHO_T}three" >&6; }
40874 cat >>confdefs.h <<\_ACEOF
40875 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40876 _ACEOF
40877
40878 ;;
40879
40880 five)
40881 { echo "$as_me:$LINENO: result: five" >&5
40882 echo "${ECHO_T}five" >&6; }
40883 cat >>confdefs.h <<\_ACEOF
40884 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40885 _ACEOF
40886
40887 ;;
40888
40889 six)
40890 { echo "$as_me:$LINENO: result: six" >&5
40891 echo "${ECHO_T}six" >&6; }
40892 cat >>confdefs.h <<\_ACEOF
40893 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40894 _ACEOF
40895
40896 ;;
40897
40898 no)
40899 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40900 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40901 ;;
40902
40903 unknown)
40904 { echo "$as_me:$LINENO: result: can't tell" >&5
40905 echo "${ECHO_T}can't tell" >&6; }
40906 ;;
40907
40908 *)
40909 { { echo "$as_me:$LINENO: error: internal error" >&5
40910 echo "$as_me: error: internal error" >&2;}
40911 { (exit 1); exit 1; }; }
40912 ;;
40913 esac
40914
40915 ac_ext=c
40916 ac_cpp='$CPP $CPPFLAGS'
40917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40920
40921
40922
40923 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40924 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40925 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40926 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40927 if test "${ac_cv_func_gethostbyname+set}" = set; then
40928 echo $ECHO_N "(cached) $ECHO_C" >&6
40929 else
40930 cat >conftest.$ac_ext <<_ACEOF
40931 /* confdefs.h. */
40932 _ACEOF
40933 cat confdefs.h >>conftest.$ac_ext
40934 cat >>conftest.$ac_ext <<_ACEOF
40935 /* end confdefs.h. */
40936 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40938 #define gethostbyname innocuous_gethostbyname
40939
40940 /* System header to define __stub macros and hopefully few prototypes,
40941 which can conflict with char gethostbyname (); below.
40942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40943 <limits.h> exists even on freestanding compilers. */
40944
40945 #ifdef __STDC__
40946 # include <limits.h>
40947 #else
40948 # include <assert.h>
40949 #endif
40950
40951 #undef gethostbyname
40952
40953 /* Override any GCC internal prototype to avoid an error.
40954 Use char because int might match the return type of a GCC
40955 builtin and then its argument prototype would still apply. */
40956 #ifdef __cplusplus
40957 extern "C"
40958 #endif
40959 char gethostbyname ();
40960 /* The GNU C library defines this for functions which it implements
40961 to always fail with ENOSYS. Some functions are actually named
40962 something starting with __ and the normal name is an alias. */
40963 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40964 choke me
40965 #endif
40966
40967 int
40968 main ()
40969 {
40970 return gethostbyname ();
40971 ;
40972 return 0;
40973 }
40974 _ACEOF
40975 rm -f conftest.$ac_objext conftest$ac_exeext
40976 if { (ac_try="$ac_link"
40977 case "(($ac_try" in
40978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40979 *) ac_try_echo=$ac_try;;
40980 esac
40981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40982 (eval "$ac_link") 2>conftest.er1
40983 ac_status=$?
40984 grep -v '^ *+' conftest.er1 >conftest.err
40985 rm -f conftest.er1
40986 cat conftest.err >&5
40987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40988 (exit $ac_status); } && {
40989 test -z "$ac_c_werror_flag" ||
40990 test ! -s conftest.err
40991 } && test -s conftest$ac_exeext &&
40992 $as_test_x conftest$ac_exeext; then
40993 ac_cv_func_gethostbyname=yes
40994 else
40995 echo "$as_me: failed program was:" >&5
40996 sed 's/^/| /' conftest.$ac_ext >&5
40997
40998 ac_cv_func_gethostbyname=no
40999 fi
41000
41001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41002 conftest$ac_exeext conftest.$ac_ext
41003 fi
41004 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41005 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41006 if test $ac_cv_func_gethostbyname = yes; then
41007 cat >>confdefs.h <<\_ACEOF
41008 #define HAVE_GETHOSTBYNAME 1
41009 _ACEOF
41010
41011 fi
41012
41013 fi
41014
41015 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41016 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41017 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41018 echo $ECHO_N "(cached) $ECHO_C" >&6
41019 else
41020
41021 ac_ext=cpp
41022 ac_cpp='$CXXCPP $CPPFLAGS'
41023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41026
41027
41028 cat >conftest.$ac_ext <<_ACEOF
41029 /* confdefs.h. */
41030 _ACEOF
41031 cat confdefs.h >>conftest.$ac_ext
41032 cat >>conftest.$ac_ext <<_ACEOF
41033 /* end confdefs.h. */
41034 #include <netdb.h>
41035 int
41036 main ()
41037 {
41038
41039 char *name;
41040 char *proto;
41041 struct servent *se, *res;
41042 char buffer[2048];
41043 int buflen = 2048;
41044 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41045
41046 ;
41047 return 0;
41048 }
41049 _ACEOF
41050 rm -f conftest.$ac_objext
41051 if { (ac_try="$ac_compile"
41052 case "(($ac_try" in
41053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41054 *) ac_try_echo=$ac_try;;
41055 esac
41056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41057 (eval "$ac_compile") 2>conftest.er1
41058 ac_status=$?
41059 grep -v '^ *+' conftest.er1 >conftest.err
41060 rm -f conftest.er1
41061 cat conftest.err >&5
41062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41063 (exit $ac_status); } && {
41064 test -z "$ac_cxx_werror_flag" ||
41065 test ! -s conftest.err
41066 } && test -s conftest.$ac_objext; then
41067 ac_cv_func_which_getservbyname_r=six
41068 else
41069 echo "$as_me: failed program was:" >&5
41070 sed 's/^/| /' conftest.$ac_ext >&5
41071
41072
41073 cat >conftest.$ac_ext <<_ACEOF
41074 /* confdefs.h. */
41075 _ACEOF
41076 cat confdefs.h >>conftest.$ac_ext
41077 cat >>conftest.$ac_ext <<_ACEOF
41078 /* end confdefs.h. */
41079 #include <netdb.h>
41080 int
41081 main ()
41082 {
41083
41084 char *name;
41085 char *proto;
41086 struct servent *se;
41087 char buffer[2048];
41088 int buflen = 2048;
41089 (void) getservbyname_r(name, proto, se, buffer, buflen)
41090
41091 ;
41092 return 0;
41093 }
41094 _ACEOF
41095 rm -f conftest.$ac_objext
41096 if { (ac_try="$ac_compile"
41097 case "(($ac_try" in
41098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41099 *) ac_try_echo=$ac_try;;
41100 esac
41101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41102 (eval "$ac_compile") 2>conftest.er1
41103 ac_status=$?
41104 grep -v '^ *+' conftest.er1 >conftest.err
41105 rm -f conftest.er1
41106 cat conftest.err >&5
41107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41108 (exit $ac_status); } && {
41109 test -z "$ac_cxx_werror_flag" ||
41110 test ! -s conftest.err
41111 } && test -s conftest.$ac_objext; then
41112 ac_cv_func_which_getservbyname_r=five
41113 else
41114 echo "$as_me: failed program was:" >&5
41115 sed 's/^/| /' conftest.$ac_ext >&5
41116
41117
41118 cat >conftest.$ac_ext <<_ACEOF
41119 /* confdefs.h. */
41120 _ACEOF
41121 cat confdefs.h >>conftest.$ac_ext
41122 cat >>conftest.$ac_ext <<_ACEOF
41123 /* end confdefs.h. */
41124 #include <netdb.h>
41125 int
41126 main ()
41127 {
41128
41129 char *name;
41130 char *proto;
41131 struct servent *se;
41132 struct servent_data data;
41133 (void) getservbyname_r(name, proto, se, &data);
41134
41135 ;
41136 return 0;
41137 }
41138 _ACEOF
41139 rm -f conftest.$ac_objext
41140 if { (ac_try="$ac_compile"
41141 case "(($ac_try" in
41142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41143 *) ac_try_echo=$ac_try;;
41144 esac
41145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41146 (eval "$ac_compile") 2>conftest.er1
41147 ac_status=$?
41148 grep -v '^ *+' conftest.er1 >conftest.err
41149 rm -f conftest.er1
41150 cat conftest.err >&5
41151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41152 (exit $ac_status); } && {
41153 test -z "$ac_cxx_werror_flag" ||
41154 test ! -s conftest.err
41155 } && test -s conftest.$ac_objext; then
41156 ac_cv_func_which_getservbyname_r=four
41157 else
41158 echo "$as_me: failed program was:" >&5
41159 sed 's/^/| /' conftest.$ac_ext >&5
41160
41161 ac_cv_func_which_getservbyname_r=no
41162
41163 fi
41164
41165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41166
41167
41168 fi
41169
41170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41171
41172
41173 fi
41174
41175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41176 ac_ext=c
41177 ac_cpp='$CPP $CPPFLAGS'
41178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41181
41182
41183
41184 fi
41185 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41186 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41187
41188 if test $ac_cv_func_which_getservbyname_r = six; then
41189 cat >>confdefs.h <<\_ACEOF
41190 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41191 _ACEOF
41192
41193 elif test $ac_cv_func_which_getservbyname_r = five; then
41194 cat >>confdefs.h <<\_ACEOF
41195 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41196 _ACEOF
41197
41198 elif test $ac_cv_func_which_getservbyname_r = four; then
41199 cat >>confdefs.h <<\_ACEOF
41200 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41201 _ACEOF
41202
41203 fi
41204
41205
41206 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41207 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41208
41209 for ac_func in getservbyname
41210 do
41211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41212 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41214 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41215 echo $ECHO_N "(cached) $ECHO_C" >&6
41216 else
41217 cat >conftest.$ac_ext <<_ACEOF
41218 /* confdefs.h. */
41219 _ACEOF
41220 cat confdefs.h >>conftest.$ac_ext
41221 cat >>conftest.$ac_ext <<_ACEOF
41222 /* end confdefs.h. */
41223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41224 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41225 #define $ac_func innocuous_$ac_func
41226
41227 /* System header to define __stub macros and hopefully few prototypes,
41228 which can conflict with char $ac_func (); below.
41229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41230 <limits.h> exists even on freestanding compilers. */
41231
41232 #ifdef __STDC__
41233 # include <limits.h>
41234 #else
41235 # include <assert.h>
41236 #endif
41237
41238 #undef $ac_func
41239
41240 /* Override any GCC internal prototype to avoid an error.
41241 Use char because int might match the return type of a GCC
41242 builtin and then its argument prototype would still apply. */
41243 #ifdef __cplusplus
41244 extern "C"
41245 #endif
41246 char $ac_func ();
41247 /* The GNU C library defines this for functions which it implements
41248 to always fail with ENOSYS. Some functions are actually named
41249 something starting with __ and the normal name is an alias. */
41250 #if defined __stub_$ac_func || defined __stub___$ac_func
41251 choke me
41252 #endif
41253
41254 int
41255 main ()
41256 {
41257 return $ac_func ();
41258 ;
41259 return 0;
41260 }
41261 _ACEOF
41262 rm -f conftest.$ac_objext conftest$ac_exeext
41263 if { (ac_try="$ac_link"
41264 case "(($ac_try" in
41265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41266 *) ac_try_echo=$ac_try;;
41267 esac
41268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41269 (eval "$ac_link") 2>conftest.er1
41270 ac_status=$?
41271 grep -v '^ *+' conftest.er1 >conftest.err
41272 rm -f conftest.er1
41273 cat conftest.err >&5
41274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41275 (exit $ac_status); } && {
41276 test -z "$ac_c_werror_flag" ||
41277 test ! -s conftest.err
41278 } && test -s conftest$ac_exeext &&
41279 $as_test_x conftest$ac_exeext; then
41280 eval "$as_ac_var=yes"
41281 else
41282 echo "$as_me: failed program was:" >&5
41283 sed 's/^/| /' conftest.$ac_ext >&5
41284
41285 eval "$as_ac_var=no"
41286 fi
41287
41288 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41289 conftest$ac_exeext conftest.$ac_ext
41290 fi
41291 ac_res=`eval echo '${'$as_ac_var'}'`
41292 { echo "$as_me:$LINENO: result: $ac_res" >&5
41293 echo "${ECHO_T}$ac_res" >&6; }
41294 if test `eval echo '${'$as_ac_var'}'` = yes; then
41295 cat >>confdefs.h <<_ACEOF
41296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41297 _ACEOF
41298 cat >>confdefs.h <<\_ACEOF
41299 #define HAVE_GETSERVBYNAME 1
41300 _ACEOF
41301
41302 fi
41303 done
41304
41305 fi
41306
41307 if test "$wxUSE_THREADS" = "yes"; then
41308 cat >>confdefs.h <<\_ACEOF
41309 #define wxUSE_THREADS 1
41310 _ACEOF
41311
41312
41313 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41314 else
41315 if test "$wx_cv_func_strtok_r" = "yes"; then
41316 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41317 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41318 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41319 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41320 { echo "$as_me:$LINENO: result: yes" >&5
41321 echo "${ECHO_T}yes" >&6; }
41322 else
41323 { echo "$as_me:$LINENO: result: no" >&5
41324 echo "${ECHO_T}no" >&6; }
41325 fi
41326 fi
41327 fi
41328
41329 if test "$WXGTK2" = 1 ; then
41330 cat >>confdefs.h <<_ACEOF
41331 #define __WXGTK20__ $WXGTK2
41332 _ACEOF
41333
41334 WXGTK12=1
41335 fi
41336
41337 if test "$WXGTK12" = 1 ; then
41338 cat >>confdefs.h <<_ACEOF
41339 #define __WXGTK12__ $WXGTK12
41340 _ACEOF
41341
41342 fi
41343
41344 if test "$WXGTK127" = 1 ; then
41345 cat >>confdefs.h <<_ACEOF
41346 #define __WXGTK127__ $WXGTK127
41347 _ACEOF
41348
41349 fi
41350
41351 if test "$WXGPE" = 1 ; then
41352 cat >>confdefs.h <<_ACEOF
41353 #define __WXGPE__ $WXGPE
41354 _ACEOF
41355
41356 fi
41357
41358 DEBUG_CFLAGS=
41359 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41360 DEBUG_CFLAGS="-g"
41361 fi
41362
41363 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41364 wxUSE_DEBUG_INFO=yes
41365 if test "$GCC" = yes; then
41366 DEBUG_CFLAGS="-ggdb"
41367 fi
41368 fi
41369
41370 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41371 cat >>confdefs.h <<\_ACEOF
41372 #define WXDEBUG 1
41373 _ACEOF
41374
41375 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41376 else
41377 if test "$wxUSE_GTK" = 1 ; then
41378 if test "x$wxGTK_VERSION" = "x1" ; then
41379 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41380 fi
41381 fi
41382 fi
41383
41384 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41385 cat >>confdefs.h <<\_ACEOF
41386 #define wxUSE_MEMORY_TRACING 1
41387 _ACEOF
41388
41389 cat >>confdefs.h <<\_ACEOF
41390 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41391 _ACEOF
41392
41393 cat >>confdefs.h <<\_ACEOF
41394 #define wxUSE_DEBUG_NEW_ALWAYS 1
41395 _ACEOF
41396
41397 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41398 fi
41399
41400 if test "$wxUSE_DMALLOC" = "yes" ; then
41401 DMALLOC_LIBS="-ldmallocthcxx"
41402 fi
41403
41404 PROFILE_FLAGS=
41405 if test "$wxUSE_PROFILE" = "yes" ; then
41406 PROFILE_FLAGS=" -pg"
41407 fi
41408
41409 if test "$GCC" = "yes" ; then
41410 if test "$wxUSE_NO_RTTI" = "yes" ; then
41411 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41412 fi
41413 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41414 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41415 fi
41416 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41417 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41418 fi
41419
41420 case "${host}" in
41421 powerpc*-*-aix* )
41422 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41423 ;;
41424 *-hppa* )
41425 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41426 ;;
41427 esac
41428 fi
41429
41430 OPTIMISE_CFLAGS=
41431 if test "$wxUSE_OPTIMISE" = "no" ; then
41432 if test "$GCC" = yes ; then
41433 OPTIMISE_CFLAGS="-O0"
41434 fi
41435 else
41436 if test "$GCC" = yes ; then
41437 case "${host}" in
41438 *-pc-os2_emx | *-pc-os2-emx )
41439 OPTIMISE_CFLAGS="-O2"
41440 ;;
41441 *)
41442 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41443 ;;
41444 esac
41445 else
41446 OPTIMISE_CFLAGS="-O"
41447 fi
41448 fi
41449
41450
41451 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41452 cat >>confdefs.h <<\_ACEOF
41453 #define WXWIN_COMPATIBILITY_2_6 1
41454 _ACEOF
41455
41456
41457 WXWIN_COMPATIBILITY_2_8="yes"
41458 fi
41459
41460 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41461 cat >>confdefs.h <<\_ACEOF
41462 #define WXWIN_COMPATIBILITY_2_8 1
41463 _ACEOF
41464
41465 fi
41466
41467
41468 if test "$wxUSE_GUI" = "yes"; then
41469 cat >>confdefs.h <<\_ACEOF
41470 #define wxUSE_GUI 1
41471 _ACEOF
41472
41473
41474 fi
41475
41476
41477 if test "$wxUSE_UNIX" = "yes"; then
41478 cat >>confdefs.h <<\_ACEOF
41479 #define wxUSE_UNIX 1
41480 _ACEOF
41481
41482 fi
41483
41484
41485 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41486
41487 HAVE_DL_FUNCS=0
41488 HAVE_SHL_FUNCS=0
41489 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41490 if test "$USE_DOS" = 1; then
41491 HAVE_DL_FUNCS=0
41492 else
41493
41494 for ac_func in dlopen
41495 do
41496 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41497 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41499 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41500 echo $ECHO_N "(cached) $ECHO_C" >&6
41501 else
41502 cat >conftest.$ac_ext <<_ACEOF
41503 /* confdefs.h. */
41504 _ACEOF
41505 cat confdefs.h >>conftest.$ac_ext
41506 cat >>conftest.$ac_ext <<_ACEOF
41507 /* end confdefs.h. */
41508 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41509 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41510 #define $ac_func innocuous_$ac_func
41511
41512 /* System header to define __stub macros and hopefully few prototypes,
41513 which can conflict with char $ac_func (); below.
41514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41515 <limits.h> exists even on freestanding compilers. */
41516
41517 #ifdef __STDC__
41518 # include <limits.h>
41519 #else
41520 # include <assert.h>
41521 #endif
41522
41523 #undef $ac_func
41524
41525 /* Override any GCC internal prototype to avoid an error.
41526 Use char because int might match the return type of a GCC
41527 builtin and then its argument prototype would still apply. */
41528 #ifdef __cplusplus
41529 extern "C"
41530 #endif
41531 char $ac_func ();
41532 /* The GNU C library defines this for functions which it implements
41533 to always fail with ENOSYS. Some functions are actually named
41534 something starting with __ and the normal name is an alias. */
41535 #if defined __stub_$ac_func || defined __stub___$ac_func
41536 choke me
41537 #endif
41538
41539 int
41540 main ()
41541 {
41542 return $ac_func ();
41543 ;
41544 return 0;
41545 }
41546 _ACEOF
41547 rm -f conftest.$ac_objext conftest$ac_exeext
41548 if { (ac_try="$ac_link"
41549 case "(($ac_try" in
41550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41551 *) ac_try_echo=$ac_try;;
41552 esac
41553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41554 (eval "$ac_link") 2>conftest.er1
41555 ac_status=$?
41556 grep -v '^ *+' conftest.er1 >conftest.err
41557 rm -f conftest.er1
41558 cat conftest.err >&5
41559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41560 (exit $ac_status); } && {
41561 test -z "$ac_c_werror_flag" ||
41562 test ! -s conftest.err
41563 } && test -s conftest$ac_exeext &&
41564 $as_test_x conftest$ac_exeext; then
41565 eval "$as_ac_var=yes"
41566 else
41567 echo "$as_me: failed program was:" >&5
41568 sed 's/^/| /' conftest.$ac_ext >&5
41569
41570 eval "$as_ac_var=no"
41571 fi
41572
41573 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41574 conftest$ac_exeext conftest.$ac_ext
41575 fi
41576 ac_res=`eval echo '${'$as_ac_var'}'`
41577 { echo "$as_me:$LINENO: result: $ac_res" >&5
41578 echo "${ECHO_T}$ac_res" >&6; }
41579 if test `eval echo '${'$as_ac_var'}'` = yes; then
41580 cat >>confdefs.h <<_ACEOF
41581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41582 _ACEOF
41583
41584 cat >>confdefs.h <<\_ACEOF
41585 #define HAVE_DLOPEN 1
41586 _ACEOF
41587
41588 HAVE_DL_FUNCS=1
41589
41590 else
41591
41592 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41593 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41594 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41595 echo $ECHO_N "(cached) $ECHO_C" >&6
41596 else
41597 ac_check_lib_save_LIBS=$LIBS
41598 LIBS="-ldl $LIBS"
41599 cat >conftest.$ac_ext <<_ACEOF
41600 /* confdefs.h. */
41601 _ACEOF
41602 cat confdefs.h >>conftest.$ac_ext
41603 cat >>conftest.$ac_ext <<_ACEOF
41604 /* end confdefs.h. */
41605
41606 /* Override any GCC internal prototype to avoid an error.
41607 Use char because int might match the return type of a GCC
41608 builtin and then its argument prototype would still apply. */
41609 #ifdef __cplusplus
41610 extern "C"
41611 #endif
41612 char dlopen ();
41613 int
41614 main ()
41615 {
41616 return dlopen ();
41617 ;
41618 return 0;
41619 }
41620 _ACEOF
41621 rm -f conftest.$ac_objext conftest$ac_exeext
41622 if { (ac_try="$ac_link"
41623 case "(($ac_try" in
41624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41625 *) ac_try_echo=$ac_try;;
41626 esac
41627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41628 (eval "$ac_link") 2>conftest.er1
41629 ac_status=$?
41630 grep -v '^ *+' conftest.er1 >conftest.err
41631 rm -f conftest.er1
41632 cat conftest.err >&5
41633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41634 (exit $ac_status); } && {
41635 test -z "$ac_c_werror_flag" ||
41636 test ! -s conftest.err
41637 } && test -s conftest$ac_exeext &&
41638 $as_test_x conftest$ac_exeext; then
41639 ac_cv_lib_dl_dlopen=yes
41640 else
41641 echo "$as_me: failed program was:" >&5
41642 sed 's/^/| /' conftest.$ac_ext >&5
41643
41644 ac_cv_lib_dl_dlopen=no
41645 fi
41646
41647 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41648 conftest$ac_exeext conftest.$ac_ext
41649 LIBS=$ac_check_lib_save_LIBS
41650 fi
41651 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41652 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41653 if test $ac_cv_lib_dl_dlopen = yes; then
41654
41655 cat >>confdefs.h <<\_ACEOF
41656 #define HAVE_DLOPEN 1
41657 _ACEOF
41658
41659 HAVE_DL_FUNCS=1
41660 DL_LINK=" -ldl$DL_LINK"
41661
41662 else
41663
41664
41665 for ac_func in shl_load
41666 do
41667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41668 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41670 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41671 echo $ECHO_N "(cached) $ECHO_C" >&6
41672 else
41673 cat >conftest.$ac_ext <<_ACEOF
41674 /* confdefs.h. */
41675 _ACEOF
41676 cat confdefs.h >>conftest.$ac_ext
41677 cat >>conftest.$ac_ext <<_ACEOF
41678 /* end confdefs.h. */
41679 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41681 #define $ac_func innocuous_$ac_func
41682
41683 /* System header to define __stub macros and hopefully few prototypes,
41684 which can conflict with char $ac_func (); below.
41685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41686 <limits.h> exists even on freestanding compilers. */
41687
41688 #ifdef __STDC__
41689 # include <limits.h>
41690 #else
41691 # include <assert.h>
41692 #endif
41693
41694 #undef $ac_func
41695
41696 /* Override any GCC internal prototype to avoid an error.
41697 Use char because int might match the return type of a GCC
41698 builtin and then its argument prototype would still apply. */
41699 #ifdef __cplusplus
41700 extern "C"
41701 #endif
41702 char $ac_func ();
41703 /* The GNU C library defines this for functions which it implements
41704 to always fail with ENOSYS. Some functions are actually named
41705 something starting with __ and the normal name is an alias. */
41706 #if defined __stub_$ac_func || defined __stub___$ac_func
41707 choke me
41708 #endif
41709
41710 int
41711 main ()
41712 {
41713 return $ac_func ();
41714 ;
41715 return 0;
41716 }
41717 _ACEOF
41718 rm -f conftest.$ac_objext conftest$ac_exeext
41719 if { (ac_try="$ac_link"
41720 case "(($ac_try" in
41721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41722 *) ac_try_echo=$ac_try;;
41723 esac
41724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41725 (eval "$ac_link") 2>conftest.er1
41726 ac_status=$?
41727 grep -v '^ *+' conftest.er1 >conftest.err
41728 rm -f conftest.er1
41729 cat conftest.err >&5
41730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41731 (exit $ac_status); } && {
41732 test -z "$ac_c_werror_flag" ||
41733 test ! -s conftest.err
41734 } && test -s conftest$ac_exeext &&
41735 $as_test_x conftest$ac_exeext; then
41736 eval "$as_ac_var=yes"
41737 else
41738 echo "$as_me: failed program was:" >&5
41739 sed 's/^/| /' conftest.$ac_ext >&5
41740
41741 eval "$as_ac_var=no"
41742 fi
41743
41744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41745 conftest$ac_exeext conftest.$ac_ext
41746 fi
41747 ac_res=`eval echo '${'$as_ac_var'}'`
41748 { echo "$as_me:$LINENO: result: $ac_res" >&5
41749 echo "${ECHO_T}$ac_res" >&6; }
41750 if test `eval echo '${'$as_ac_var'}'` = yes; then
41751 cat >>confdefs.h <<_ACEOF
41752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41753 _ACEOF
41754
41755 cat >>confdefs.h <<\_ACEOF
41756 #define HAVE_SHL_LOAD 1
41757 _ACEOF
41758
41759 HAVE_SHL_FUNCS=1
41760
41761 else
41762
41763 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41764 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41765 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41766 echo $ECHO_N "(cached) $ECHO_C" >&6
41767 else
41768 ac_check_lib_save_LIBS=$LIBS
41769 LIBS="-lshl_load $LIBS"
41770 cat >conftest.$ac_ext <<_ACEOF
41771 /* confdefs.h. */
41772 _ACEOF
41773 cat confdefs.h >>conftest.$ac_ext
41774 cat >>conftest.$ac_ext <<_ACEOF
41775 /* end confdefs.h. */
41776
41777 /* Override any GCC internal prototype to avoid an error.
41778 Use char because int might match the return type of a GCC
41779 builtin and then its argument prototype would still apply. */
41780 #ifdef __cplusplus
41781 extern "C"
41782 #endif
41783 char dld ();
41784 int
41785 main ()
41786 {
41787 return dld ();
41788 ;
41789 return 0;
41790 }
41791 _ACEOF
41792 rm -f conftest.$ac_objext conftest$ac_exeext
41793 if { (ac_try="$ac_link"
41794 case "(($ac_try" in
41795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41796 *) ac_try_echo=$ac_try;;
41797 esac
41798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41799 (eval "$ac_link") 2>conftest.er1
41800 ac_status=$?
41801 grep -v '^ *+' conftest.er1 >conftest.err
41802 rm -f conftest.er1
41803 cat conftest.err >&5
41804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41805 (exit $ac_status); } && {
41806 test -z "$ac_c_werror_flag" ||
41807 test ! -s conftest.err
41808 } && test -s conftest$ac_exeext &&
41809 $as_test_x conftest$ac_exeext; then
41810 ac_cv_lib_shl_load_dld=yes
41811 else
41812 echo "$as_me: failed program was:" >&5
41813 sed 's/^/| /' conftest.$ac_ext >&5
41814
41815 ac_cv_lib_shl_load_dld=no
41816 fi
41817
41818 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41819 conftest$ac_exeext conftest.$ac_ext
41820 LIBS=$ac_check_lib_save_LIBS
41821 fi
41822 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41823 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41824 if test $ac_cv_lib_shl_load_dld = yes; then
41825
41826 HAVE_SHL_FUNCS=1
41827 DL_LINK=" -ldld$DL_LINK"
41828
41829 fi
41830
41831
41832 fi
41833 done
41834
41835
41836 fi
41837
41838
41839 fi
41840 done
41841
41842
41843 if test "$HAVE_DL_FUNCS" = 1; then
41844
41845 for ac_func in dlerror
41846 do
41847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41848 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41850 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41851 echo $ECHO_N "(cached) $ECHO_C" >&6
41852 else
41853 cat >conftest.$ac_ext <<_ACEOF
41854 /* confdefs.h. */
41855 _ACEOF
41856 cat confdefs.h >>conftest.$ac_ext
41857 cat >>conftest.$ac_ext <<_ACEOF
41858 /* end confdefs.h. */
41859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41861 #define $ac_func innocuous_$ac_func
41862
41863 /* System header to define __stub macros and hopefully few prototypes,
41864 which can conflict with char $ac_func (); below.
41865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41866 <limits.h> exists even on freestanding compilers. */
41867
41868 #ifdef __STDC__
41869 # include <limits.h>
41870 #else
41871 # include <assert.h>
41872 #endif
41873
41874 #undef $ac_func
41875
41876 /* Override any GCC internal prototype to avoid an error.
41877 Use char because int might match the return type of a GCC
41878 builtin and then its argument prototype would still apply. */
41879 #ifdef __cplusplus
41880 extern "C"
41881 #endif
41882 char $ac_func ();
41883 /* The GNU C library defines this for functions which it implements
41884 to always fail with ENOSYS. Some functions are actually named
41885 something starting with __ and the normal name is an alias. */
41886 #if defined __stub_$ac_func || defined __stub___$ac_func
41887 choke me
41888 #endif
41889
41890 int
41891 main ()
41892 {
41893 return $ac_func ();
41894 ;
41895 return 0;
41896 }
41897 _ACEOF
41898 rm -f conftest.$ac_objext conftest$ac_exeext
41899 if { (ac_try="$ac_link"
41900 case "(($ac_try" in
41901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41902 *) ac_try_echo=$ac_try;;
41903 esac
41904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41905 (eval "$ac_link") 2>conftest.er1
41906 ac_status=$?
41907 grep -v '^ *+' conftest.er1 >conftest.err
41908 rm -f conftest.er1
41909 cat conftest.err >&5
41910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41911 (exit $ac_status); } && {
41912 test -z "$ac_c_werror_flag" ||
41913 test ! -s conftest.err
41914 } && test -s conftest$ac_exeext &&
41915 $as_test_x conftest$ac_exeext; then
41916 eval "$as_ac_var=yes"
41917 else
41918 echo "$as_me: failed program was:" >&5
41919 sed 's/^/| /' conftest.$ac_ext >&5
41920
41921 eval "$as_ac_var=no"
41922 fi
41923
41924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41925 conftest$ac_exeext conftest.$ac_ext
41926 fi
41927 ac_res=`eval echo '${'$as_ac_var'}'`
41928 { echo "$as_me:$LINENO: result: $ac_res" >&5
41929 echo "${ECHO_T}$ac_res" >&6; }
41930 if test `eval echo '${'$as_ac_var'}'` = yes; then
41931 cat >>confdefs.h <<_ACEOF
41932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41933 _ACEOF
41934 cat >>confdefs.h <<\_ACEOF
41935 #define HAVE_DLERROR 1
41936 _ACEOF
41937
41938 else
41939
41940 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41941 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41942 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41943 echo $ECHO_N "(cached) $ECHO_C" >&6
41944 else
41945 ac_check_lib_save_LIBS=$LIBS
41946 LIBS="-ldl $LIBS"
41947 cat >conftest.$ac_ext <<_ACEOF
41948 /* confdefs.h. */
41949 _ACEOF
41950 cat confdefs.h >>conftest.$ac_ext
41951 cat >>conftest.$ac_ext <<_ACEOF
41952 /* end confdefs.h. */
41953
41954 /* Override any GCC internal prototype to avoid an error.
41955 Use char because int might match the return type of a GCC
41956 builtin and then its argument prototype would still apply. */
41957 #ifdef __cplusplus
41958 extern "C"
41959 #endif
41960 char dlerror ();
41961 int
41962 main ()
41963 {
41964 return dlerror ();
41965 ;
41966 return 0;
41967 }
41968 _ACEOF
41969 rm -f conftest.$ac_objext conftest$ac_exeext
41970 if { (ac_try="$ac_link"
41971 case "(($ac_try" in
41972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41973 *) ac_try_echo=$ac_try;;
41974 esac
41975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41976 (eval "$ac_link") 2>conftest.er1
41977 ac_status=$?
41978 grep -v '^ *+' conftest.er1 >conftest.err
41979 rm -f conftest.er1
41980 cat conftest.err >&5
41981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41982 (exit $ac_status); } && {
41983 test -z "$ac_c_werror_flag" ||
41984 test ! -s conftest.err
41985 } && test -s conftest$ac_exeext &&
41986 $as_test_x conftest$ac_exeext; then
41987 ac_cv_lib_dl_dlerror=yes
41988 else
41989 echo "$as_me: failed program was:" >&5
41990 sed 's/^/| /' conftest.$ac_ext >&5
41991
41992 ac_cv_lib_dl_dlerror=no
41993 fi
41994
41995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41996 conftest$ac_exeext conftest.$ac_ext
41997 LIBS=$ac_check_lib_save_LIBS
41998 fi
41999 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42000 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42001 if test $ac_cv_lib_dl_dlerror = yes; then
42002 cat >>confdefs.h <<\_ACEOF
42003 #define HAVE_DLERROR 1
42004 _ACEOF
42005
42006 fi
42007
42008
42009
42010 fi
42011 done
42012
42013 fi
42014 fi
42015
42016 if test "$USE_DARWIN" = 1; then
42017 HAVE_DL_FUNCS=1
42018 fi
42019
42020 if test "$HAVE_DL_FUNCS" = 0; then
42021 if test "$HAVE_SHL_FUNCS" = 0; then
42022 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42023 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42024 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42025 wxUSE_DYNAMIC_LOADER=no
42026 wxUSE_DYNLIB_CLASS=no
42027 else
42028 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42029 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42030 fi
42031 fi
42032 fi
42033 fi
42034 fi
42035
42036 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42037 cat >>confdefs.h <<\_ACEOF
42038 #define wxUSE_DYNAMIC_LOADER 1
42039 _ACEOF
42040
42041 fi
42042 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42043 cat >>confdefs.h <<\_ACEOF
42044 #define wxUSE_DYNLIB_CLASS 1
42045 _ACEOF
42046
42047 fi
42048
42049
42050
42051 if test "$wxUSE_PLUGINS" = "yes" ; then
42052 if test "$wxUSE_SHARED" = "no" ; then
42053 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42054 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42055 wxUSE_PLUGINS=no
42056 fi
42057 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42058 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42059 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42060 wxUSE_PLUGINS=no
42061 fi
42062 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42063 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42064 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42065 wxUSE_PLUGINS=no
42066 fi
42067 if test "$wxUSE_PLUGINS" = "yes" ; then
42068 cat >>confdefs.h <<\_ACEOF
42069 #define wxUSE_PLUGINS 1
42070 _ACEOF
42071
42072 fi
42073 fi
42074
42075
42076 if test "$wxUSE_STL" = "yes"; then
42077 cat >>confdefs.h <<\_ACEOF
42078 #define wxUSE_STL 1
42079 _ACEOF
42080
42081 fi
42082
42083 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42084 cat >>confdefs.h <<\_ACEOF
42085 #define wxUSE_EXTENDED_RTTI 1
42086 _ACEOF
42087
42088 fi
42089
42090 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42091 cat >>confdefs.h <<\_ACEOF
42092 #define wxUSE_APPLE_IEEE 1
42093 _ACEOF
42094
42095 fi
42096
42097 if test "$wxUSE_TIMER" = "yes"; then
42098 cat >>confdefs.h <<\_ACEOF
42099 #define wxUSE_TIMER 1
42100 _ACEOF
42101
42102 fi
42103
42104 if test "$USE_UNIX" = 1 ; then
42105 if test "$wxUSE_MGL" != 1; then
42106 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42107 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42108 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42109 echo $ECHO_N "(cached) $ECHO_C" >&6
42110 else
42111
42112 cat >conftest.$ac_ext <<_ACEOF
42113 /* confdefs.h. */
42114 _ACEOF
42115 cat confdefs.h >>conftest.$ac_ext
42116 cat >>conftest.$ac_ext <<_ACEOF
42117 /* end confdefs.h. */
42118
42119 #include <sys/ioctl.h>
42120 #include <sys/soundcard.h>
42121
42122 int
42123 main ()
42124 {
42125
42126 ioctl(0, SNDCTL_DSP_SPEED, 0);
42127
42128 ;
42129 return 0;
42130 }
42131 _ACEOF
42132 rm -f conftest.$ac_objext conftest$ac_exeext
42133 if { (ac_try="$ac_link"
42134 case "(($ac_try" in
42135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42136 *) ac_try_echo=$ac_try;;
42137 esac
42138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42139 (eval "$ac_link") 2>conftest.er1
42140 ac_status=$?
42141 grep -v '^ *+' conftest.er1 >conftest.err
42142 rm -f conftest.er1
42143 cat conftest.err >&5
42144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42145 (exit $ac_status); } && {
42146 test -z "$ac_c_werror_flag" ||
42147 test ! -s conftest.err
42148 } && test -s conftest$ac_exeext &&
42149 $as_test_x conftest$ac_exeext; then
42150 ac_cv_header_sys_soundcard=yes
42151 else
42152 echo "$as_me: failed program was:" >&5
42153 sed 's/^/| /' conftest.$ac_ext >&5
42154
42155
42156 saveLibs="$LIBS"
42157 LIBS="$saveLibs -lossaudio"
42158 cat >conftest.$ac_ext <<_ACEOF
42159 /* confdefs.h. */
42160 _ACEOF
42161 cat confdefs.h >>conftest.$ac_ext
42162 cat >>conftest.$ac_ext <<_ACEOF
42163 /* end confdefs.h. */
42164
42165 #include <sys/ioctl.h>
42166 #include <sys/soundcard.h>
42167
42168 int
42169 main ()
42170 {
42171
42172 ioctl(0, SNDCTL_DSP_SPEED, 0);
42173
42174 ;
42175 return 0;
42176 }
42177 _ACEOF
42178 rm -f conftest.$ac_objext conftest$ac_exeext
42179 if { (ac_try="$ac_link"
42180 case "(($ac_try" in
42181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42182 *) ac_try_echo=$ac_try;;
42183 esac
42184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42185 (eval "$ac_link") 2>conftest.er1
42186 ac_status=$?
42187 grep -v '^ *+' conftest.er1 >conftest.err
42188 rm -f conftest.er1
42189 cat conftest.err >&5
42190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42191 (exit $ac_status); } && {
42192 test -z "$ac_c_werror_flag" ||
42193 test ! -s conftest.err
42194 } && test -s conftest$ac_exeext &&
42195 $as_test_x conftest$ac_exeext; then
42196 ac_cv_header_sys_soundcard=yes
42197 else
42198 echo "$as_me: failed program was:" >&5
42199 sed 's/^/| /' conftest.$ac_ext >&5
42200
42201
42202 LIBS="$saveLibs"
42203 ac_cv_header_sys_soundcard=no
42204
42205
42206 fi
42207
42208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42209 conftest$ac_exeext conftest.$ac_ext
42210
42211
42212 fi
42213
42214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42215 conftest$ac_exeext conftest.$ac_ext
42216
42217 fi
42218 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42219 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42220 fi
42221
42222 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42223 cat >>confdefs.h <<\_ACEOF
42224 #define HAVE_SYS_SOUNDCARD_H 1
42225 _ACEOF
42226
42227 fi
42228 fi
42229
42230 WITH_PLUGIN_SDL=0
42231 if test "$wxUSE_SOUND" = "yes"; then
42232 if test "$USE_UNIX" = 1 ; then
42233 if test "$wxUSE_LIBSDL" != "no"; then
42234
42235 # Check whether --with-sdl-prefix was given.
42236 if test "${with_sdl_prefix+set}" = set; then
42237 withval=$with_sdl_prefix; sdl_prefix="$withval"
42238 else
42239 sdl_prefix=""
42240 fi
42241
42242
42243 # Check whether --with-sdl-exec-prefix was given.
42244 if test "${with_sdl_exec_prefix+set}" = set; then
42245 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42246 else
42247 sdl_exec_prefix=""
42248 fi
42249
42250 # Check whether --enable-sdltest was given.
42251 if test "${enable_sdltest+set}" = set; then
42252 enableval=$enable_sdltest;
42253 else
42254 enable_sdltest=yes
42255 fi
42256
42257
42258 if test x$sdl_exec_prefix != x ; then
42259 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42260 if test x${SDL_CONFIG+set} != xset ; then
42261 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42262 fi
42263 fi
42264 if test x$sdl_prefix != x ; then
42265 sdl_args="$sdl_args --prefix=$sdl_prefix"
42266 if test x${SDL_CONFIG+set} != xset ; then
42267 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42268 fi
42269 fi
42270
42271 if test "x$prefix" != xNONE; then
42272 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42273 fi
42274 # Extract the first word of "sdl-config", so it can be a program name with args.
42275 set dummy sdl-config; ac_word=$2
42276 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42278 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42279 echo $ECHO_N "(cached) $ECHO_C" >&6
42280 else
42281 case $SDL_CONFIG in
42282 [\\/]* | ?:[\\/]*)
42283 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42284 ;;
42285 *)
42286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42287 for as_dir in $PATH
42288 do
42289 IFS=$as_save_IFS
42290 test -z "$as_dir" && as_dir=.
42291 for ac_exec_ext in '' $ac_executable_extensions; do
42292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42293 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42295 break 2
42296 fi
42297 done
42298 done
42299 IFS=$as_save_IFS
42300
42301 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42302 ;;
42303 esac
42304 fi
42305 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42306 if test -n "$SDL_CONFIG"; then
42307 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42308 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42309 else
42310 { echo "$as_me:$LINENO: result: no" >&5
42311 echo "${ECHO_T}no" >&6; }
42312 fi
42313
42314
42315 min_sdl_version=1.2.0
42316 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42317 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42318 no_sdl=""
42319 if test "$SDL_CONFIG" = "no" ; then
42320 no_sdl=yes
42321 else
42322 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42323 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42324
42325 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42326 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42327 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42328 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42329 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42330 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42331 if test "x$enable_sdltest" = "xyes" ; then
42332 ac_save_CFLAGS="$CFLAGS"
42333 ac_save_CXXFLAGS="$CXXFLAGS"
42334 ac_save_LIBS="$LIBS"
42335 CFLAGS="$CFLAGS $SDL_CFLAGS"
42336 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42337 LIBS="$LIBS $SDL_LIBS"
42338 rm -f conf.sdltest
42339 if test "$cross_compiling" = yes; then
42340 echo $ac_n "cross compiling; assumed OK... $ac_c"
42341 else
42342 cat >conftest.$ac_ext <<_ACEOF
42343 /* confdefs.h. */
42344 _ACEOF
42345 cat confdefs.h >>conftest.$ac_ext
42346 cat >>conftest.$ac_ext <<_ACEOF
42347 /* end confdefs.h. */
42348
42349 #include <stdio.h>
42350 #include <stdlib.h>
42351 #include <string.h>
42352 #include "SDL.h"
42353
42354 char*
42355 my_strdup (char *str)
42356 {
42357 char *new_str;
42358
42359 if (str)
42360 {
42361 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42362 strcpy (new_str, str);
42363 }
42364 else
42365 new_str = NULL;
42366
42367 return new_str;
42368 }
42369
42370 int main (int argc, char *argv[])
42371 {
42372 int major, minor, micro;
42373 char *tmp_version;
42374
42375 /* This hangs on some systems (?)
42376 system ("touch conf.sdltest");
42377 */
42378 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42379
42380 /* HP/UX 9 (%@#!) writes to sscanf strings */
42381 tmp_version = my_strdup("$min_sdl_version");
42382 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42383 printf("%s, bad version string\n", "$min_sdl_version");
42384 exit(1);
42385 }
42386
42387 if (($sdl_major_version > major) ||
42388 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42389 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42390 {
42391 return 0;
42392 }
42393 else
42394 {
42395 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42396 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42397 printf("*** best to upgrade to the required version.\n");
42398 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42399 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42400 printf("*** config.cache before re-running configure\n");
42401 return 1;
42402 }
42403 }
42404
42405
42406 _ACEOF
42407 rm -f conftest$ac_exeext
42408 if { (ac_try="$ac_link"
42409 case "(($ac_try" in
42410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42411 *) ac_try_echo=$ac_try;;
42412 esac
42413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42414 (eval "$ac_link") 2>&5
42415 ac_status=$?
42416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42417 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42418 { (case "(($ac_try" in
42419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42420 *) ac_try_echo=$ac_try;;
42421 esac
42422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42423 (eval "$ac_try") 2>&5
42424 ac_status=$?
42425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42426 (exit $ac_status); }; }; then
42427 :
42428 else
42429 echo "$as_me: program exited with status $ac_status" >&5
42430 echo "$as_me: failed program was:" >&5
42431 sed 's/^/| /' conftest.$ac_ext >&5
42432
42433 ( exit $ac_status )
42434 no_sdl=yes
42435 fi
42436 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42437 fi
42438
42439
42440 CFLAGS="$ac_save_CFLAGS"
42441 CXXFLAGS="$ac_save_CXXFLAGS"
42442 LIBS="$ac_save_LIBS"
42443 fi
42444 fi
42445 if test "x$no_sdl" = x ; then
42446 { echo "$as_me:$LINENO: result: yes" >&5
42447 echo "${ECHO_T}yes" >&6; }
42448
42449 EXTRALIBS_SDL="$SDL_LIBS"
42450 CFLAGS="$SDL_CFLAGS $CFLAGS"
42451 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42452 cat >>confdefs.h <<\_ACEOF
42453 #define wxUSE_LIBSDL 1
42454 _ACEOF
42455
42456
42457 else
42458 { echo "$as_me:$LINENO: result: no" >&5
42459 echo "${ECHO_T}no" >&6; }
42460 if test "$SDL_CONFIG" = "no" ; then
42461 echo "*** The sdl-config script installed by SDL could not be found"
42462 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42463 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42464 echo "*** full path to sdl-config."
42465 else
42466 if test -f conf.sdltest ; then
42467 :
42468 else
42469 echo "*** Could not run SDL test program, checking why..."
42470 CFLAGS="$CFLAGS $SDL_CFLAGS"
42471 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42472 LIBS="$LIBS $SDL_LIBS"
42473 cat >conftest.$ac_ext <<_ACEOF
42474 /* confdefs.h. */
42475 _ACEOF
42476 cat confdefs.h >>conftest.$ac_ext
42477 cat >>conftest.$ac_ext <<_ACEOF
42478 /* end confdefs.h. */
42479
42480 #include <stdio.h>
42481 #include "SDL.h"
42482
42483 int main(int argc, char *argv[])
42484 { return 0; }
42485 #undef main
42486 #define main K_and_R_C_main
42487
42488 int
42489 main ()
42490 {
42491 return 0;
42492 ;
42493 return 0;
42494 }
42495 _ACEOF
42496 rm -f conftest.$ac_objext conftest$ac_exeext
42497 if { (ac_try="$ac_link"
42498 case "(($ac_try" in
42499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42500 *) ac_try_echo=$ac_try;;
42501 esac
42502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42503 (eval "$ac_link") 2>conftest.er1
42504 ac_status=$?
42505 grep -v '^ *+' conftest.er1 >conftest.err
42506 rm -f conftest.er1
42507 cat conftest.err >&5
42508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42509 (exit $ac_status); } && {
42510 test -z "$ac_c_werror_flag" ||
42511 test ! -s conftest.err
42512 } && test -s conftest$ac_exeext &&
42513 $as_test_x conftest$ac_exeext; then
42514 echo "*** The test program compiled, but did not run. This usually means"
42515 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42516 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42517 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42518 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42519 echo "*** is required on your system"
42520 echo "***"
42521 echo "*** If you have an old version installed, it is best to remove it, although"
42522 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42523 else
42524 echo "$as_me: failed program was:" >&5
42525 sed 's/^/| /' conftest.$ac_ext >&5
42526
42527 echo "*** The test program failed to compile or link. See the file config.log for the"
42528 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42529 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42530 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42531 fi
42532
42533 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42534 conftest$ac_exeext conftest.$ac_ext
42535 CFLAGS="$ac_save_CFLAGS"
42536 CXXFLAGS="$ac_save_CXXFLAGS"
42537 LIBS="$ac_save_LIBS"
42538 fi
42539 fi
42540 SDL_CFLAGS=""
42541 SDL_LIBS=""
42542 wxUSE_LIBSDL="no"
42543 fi
42544
42545
42546 rm -f conf.sdltest
42547
42548 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42549 WITH_PLUGIN_SDL=1
42550 fi
42551 fi
42552 else
42553 if test "$wxUSE_MGL" = 1; then
42554 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42555 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42556 wxUSE_SOUND="no"
42557 fi
42558 fi
42559 fi
42560
42561 if test "$wxUSE_SOUND" = "yes"; then
42562 cat >>confdefs.h <<\_ACEOF
42563 #define wxUSE_SOUND 1
42564 _ACEOF
42565
42566 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42567 fi
42568
42569 if test "$WXGTK2" = 1; then
42570
42571
42572 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42573 if test -n "$ac_tool_prefix"; then
42574 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42575 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
42576 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42578 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42579 echo $ECHO_N "(cached) $ECHO_C" >&6
42580 else
42581 case $PKG_CONFIG in
42582 [\\/]* | ?:[\\/]*)
42583 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
42584 ;;
42585 *)
42586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42587 for as_dir in $PATH
42588 do
42589 IFS=$as_save_IFS
42590 test -z "$as_dir" && as_dir=.
42591 for ac_exec_ext in '' $ac_executable_extensions; do
42592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42593 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42595 break 2
42596 fi
42597 done
42598 done
42599 IFS=$as_save_IFS
42600
42601 ;;
42602 esac
42603 fi
42604 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
42605 if test -n "$PKG_CONFIG"; then
42606 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42607 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42608 else
42609 { echo "$as_me:$LINENO: result: no" >&5
42610 echo "${ECHO_T}no" >&6; }
42611 fi
42612
42613
42614 fi
42615 if test -z "$ac_cv_path_PKG_CONFIG"; then
42616 ac_pt_PKG_CONFIG=$PKG_CONFIG
42617 # Extract the first word of "pkg-config", so it can be a program name with args.
42618 set dummy pkg-config; ac_word=$2
42619 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42621 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42622 echo $ECHO_N "(cached) $ECHO_C" >&6
42623 else
42624 case $ac_pt_PKG_CONFIG in
42625 [\\/]* | ?:[\\/]*)
42626 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42627 ;;
42628 *)
42629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42630 for as_dir in $PATH
42631 do
42632 IFS=$as_save_IFS
42633 test -z "$as_dir" && as_dir=.
42634 for ac_exec_ext in '' $ac_executable_extensions; do
42635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42636 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42638 break 2
42639 fi
42640 done
42641 done
42642 IFS=$as_save_IFS
42643
42644 ;;
42645 esac
42646 fi
42647 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42648 if test -n "$ac_pt_PKG_CONFIG"; then
42649 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42650 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42651 else
42652 { echo "$as_me:$LINENO: result: no" >&5
42653 echo "${ECHO_T}no" >&6; }
42654 fi
42655
42656 if test "x$ac_pt_PKG_CONFIG" = x; then
42657 PKG_CONFIG=""
42658 else
42659 case $cross_compiling:$ac_tool_warned in
42660 yes:)
42661 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42662 whose name does not start with the host triplet. If you think this
42663 configuration is useful to you, please write to autoconf@gnu.org." >&5
42664 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42665 whose name does not start with the host triplet. If you think this
42666 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42667 ac_tool_warned=yes ;;
42668 esac
42669 PKG_CONFIG=$ac_pt_PKG_CONFIG
42670 fi
42671 else
42672 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42673 fi
42674
42675 fi
42676 if test -n "$PKG_CONFIG"; then
42677 _pkg_min_version=0.9.0
42678 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42679 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42680 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42681 { echo "$as_me:$LINENO: result: yes" >&5
42682 echo "${ECHO_T}yes" >&6; }
42683 else
42684 { echo "$as_me:$LINENO: result: no" >&5
42685 echo "${ECHO_T}no" >&6; }
42686 PKG_CONFIG=""
42687 fi
42688
42689 fi
42690
42691 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42692
42693 if test "$wxUSE_GTKPRINT" = "yes" ; then
42694
42695
42696 pkg_failed=no
42697 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42698 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42699
42700 if test -n "$PKG_CONFIG"; then
42701 if test -n "$GTKPRINT_CFLAGS"; then
42702 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42703 else
42704 if test -n "$PKG_CONFIG" && \
42705 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42706 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42707 ac_status=$?
42708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42709 (exit $ac_status); }; then
42710 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42711 else
42712 pkg_failed=yes
42713 fi
42714 fi
42715 else
42716 pkg_failed=untried
42717 fi
42718 if test -n "$PKG_CONFIG"; then
42719 if test -n "$GTKPRINT_LIBS"; then
42720 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42721 else
42722 if test -n "$PKG_CONFIG" && \
42723 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42724 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42725 ac_status=$?
42726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42727 (exit $ac_status); }; then
42728 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42729 else
42730 pkg_failed=yes
42731 fi
42732 fi
42733 else
42734 pkg_failed=untried
42735 fi
42736
42737
42738
42739 if test $pkg_failed = yes; then
42740
42741 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42742 _pkg_short_errors_supported=yes
42743 else
42744 _pkg_short_errors_supported=no
42745 fi
42746 if test $_pkg_short_errors_supported = yes; then
42747 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42748 else
42749 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42750 fi
42751 # Put the nasty error message in config.log where it belongs
42752 echo "$GTKPRINT_PKG_ERRORS" >&5
42753
42754
42755 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42756 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42757 wxUSE_GTKPRINT="no"
42758
42759
42760 elif test $pkg_failed = untried; then
42761
42762 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42763 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42764 wxUSE_GTKPRINT="no"
42765
42766
42767 else
42768 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42769 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42770 { echo "$as_me:$LINENO: result: yes" >&5
42771 echo "${ECHO_T}yes" >&6; }
42772
42773 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42774 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42775 cat >>confdefs.h <<\_ACEOF
42776 #define wxUSE_GTKPRINT 1
42777 _ACEOF
42778
42779
42780 fi
42781 fi
42782
42783 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42784
42785
42786 pkg_failed=no
42787 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42788 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42789
42790 if test -n "$PKG_CONFIG"; then
42791 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42792 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42793 else
42794 if test -n "$PKG_CONFIG" && \
42795 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42796 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42797 ac_status=$?
42798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42799 (exit $ac_status); }; then
42800 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42801 else
42802 pkg_failed=yes
42803 fi
42804 fi
42805 else
42806 pkg_failed=untried
42807 fi
42808 if test -n "$PKG_CONFIG"; then
42809 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42810 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42811 else
42812 if test -n "$PKG_CONFIG" && \
42813 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42814 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42815 ac_status=$?
42816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42817 (exit $ac_status); }; then
42818 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42819 else
42820 pkg_failed=yes
42821 fi
42822 fi
42823 else
42824 pkg_failed=untried
42825 fi
42826
42827
42828
42829 if test $pkg_failed = yes; then
42830
42831 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42832 _pkg_short_errors_supported=yes
42833 else
42834 _pkg_short_errors_supported=no
42835 fi
42836 if test $_pkg_short_errors_supported = yes; then
42837 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42838 else
42839 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42840 fi
42841 # Put the nasty error message in config.log where it belongs
42842 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42843
42844
42845 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42846 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42847 wxUSE_LIBGNOMEPRINT="no"
42848
42849
42850 elif test $pkg_failed = untried; then
42851
42852 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42853 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42854 wxUSE_LIBGNOMEPRINT="no"
42855
42856
42857 else
42858 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42859 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42860 { echo "$as_me:$LINENO: result: yes" >&5
42861 echo "${ECHO_T}yes" >&6; }
42862
42863 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42864 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42865 cat >>confdefs.h <<\_ACEOF
42866 #define wxUSE_LIBGNOMEPRINT 1
42867 _ACEOF
42868
42869
42870 fi
42871 fi
42872 fi
42873
42874 if test "$wxUSE_MIMETYPE" = "yes" ; then
42875 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42876
42877
42878 pkg_failed=no
42879 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42880 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42881
42882 if test -n "$PKG_CONFIG"; then
42883 if test -n "$GNOMEVFS_CFLAGS"; then
42884 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42885 else
42886 if test -n "$PKG_CONFIG" && \
42887 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42888 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42889 ac_status=$?
42890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42891 (exit $ac_status); }; then
42892 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42893 else
42894 pkg_failed=yes
42895 fi
42896 fi
42897 else
42898 pkg_failed=untried
42899 fi
42900 if test -n "$PKG_CONFIG"; then
42901 if test -n "$GNOMEVFS_LIBS"; then
42902 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42903 else
42904 if test -n "$PKG_CONFIG" && \
42905 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42906 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42907 ac_status=$?
42908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42909 (exit $ac_status); }; then
42910 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42911 else
42912 pkg_failed=yes
42913 fi
42914 fi
42915 else
42916 pkg_failed=untried
42917 fi
42918
42919
42920
42921 if test $pkg_failed = yes; then
42922
42923 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42924 _pkg_short_errors_supported=yes
42925 else
42926 _pkg_short_errors_supported=no
42927 fi
42928 if test $_pkg_short_errors_supported = yes; then
42929 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42930 else
42931 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42932 fi
42933 # Put the nasty error message in config.log where it belongs
42934 echo "$GNOMEVFS_PKG_ERRORS" >&5
42935
42936
42937 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42938 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42939 wxUSE_LIBGNOMEVFS="no"
42940
42941
42942 elif test $pkg_failed = untried; then
42943
42944 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42945 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42946 wxUSE_LIBGNOMEVFS="no"
42947
42948
42949 else
42950 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42951 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42952 { echo "$as_me:$LINENO: result: yes" >&5
42953 echo "${ECHO_T}yes" >&6; }
42954
42955 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
42956 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42957 cat >>confdefs.h <<\_ACEOF
42958 #define wxUSE_LIBGNOMEVFS 1
42959 _ACEOF
42960
42961
42962 fi
42963 fi
42964 fi
42965
42966 if test "$wxUSE_LIBHILDON" = "yes" ; then
42967
42968 pkg_failed=no
42969 { echo "$as_me:$LINENO: checking for HILDON" >&5
42970 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42971
42972 if test -n "$PKG_CONFIG"; then
42973 if test -n "$HILDON_CFLAGS"; then
42974 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42975 else
42976 if test -n "$PKG_CONFIG" && \
42977 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42978 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42979 ac_status=$?
42980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42981 (exit $ac_status); }; then
42982 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42983 else
42984 pkg_failed=yes
42985 fi
42986 fi
42987 else
42988 pkg_failed=untried
42989 fi
42990 if test -n "$PKG_CONFIG"; then
42991 if test -n "$HILDON_LIBS"; then
42992 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42993 else
42994 if test -n "$PKG_CONFIG" && \
42995 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42996 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42997 ac_status=$?
42998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42999 (exit $ac_status); }; then
43000 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43001 else
43002 pkg_failed=yes
43003 fi
43004 fi
43005 else
43006 pkg_failed=untried
43007 fi
43008
43009
43010
43011 if test $pkg_failed = yes; then
43012
43013 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43014 _pkg_short_errors_supported=yes
43015 else
43016 _pkg_short_errors_supported=no
43017 fi
43018 if test $_pkg_short_errors_supported = yes; then
43019 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43020 else
43021 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43022 fi
43023 # Put the nasty error message in config.log where it belongs
43024 echo "$HILDON_PKG_ERRORS" >&5
43025
43026
43027 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43028 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43029 wxUSE_LIBHILDON="no"
43030
43031
43032 elif test $pkg_failed = untried; then
43033
43034 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43035 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43036 wxUSE_LIBHILDON="no"
43037
43038
43039 else
43040 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43041 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43042 { echo "$as_me:$LINENO: result: yes" >&5
43043 echo "${ECHO_T}yes" >&6; }
43044
43045 EXTRALIBS_HILDON="$HILDON_LIBS"
43046 CFLAGS="$CFLAGS $HILDON_CFLAGS"
43047 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43048 cat >>confdefs.h <<\_ACEOF
43049 #define wxUSE_LIBHILDON 1
43050 _ACEOF
43051
43052
43053 fi
43054 fi
43055 fi
43056
43057 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43058 cat >>confdefs.h <<\_ACEOF
43059 #define wxUSE_CMDLINE_PARSER 1
43060 _ACEOF
43061
43062 fi
43063
43064 if test "$wxUSE_STOPWATCH" = "yes"; then
43065 cat >>confdefs.h <<\_ACEOF
43066 #define wxUSE_STOPWATCH 1
43067 _ACEOF
43068
43069 fi
43070
43071 if test "$wxUSE_DATETIME" = "yes"; then
43072 cat >>confdefs.h <<\_ACEOF
43073 #define wxUSE_DATETIME 1
43074 _ACEOF
43075
43076 fi
43077
43078 if test "$wxUSE_FILE" = "yes"; then
43079 cat >>confdefs.h <<\_ACEOF
43080 #define wxUSE_FILE 1
43081 _ACEOF
43082
43083 fi
43084
43085 if test "$wxUSE_FFILE" = "yes"; then
43086 cat >>confdefs.h <<\_ACEOF
43087 #define wxUSE_FFILE 1
43088 _ACEOF
43089
43090 fi
43091
43092 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43093 if test "$wxUSE_STREAMS" != yes; then
43094 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43095 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43096 wxUSE_ARCHIVE_STREAMS=no
43097 else
43098 cat >>confdefs.h <<\_ACEOF
43099 #define wxUSE_ARCHIVE_STREAMS 1
43100 _ACEOF
43101
43102 fi
43103 fi
43104
43105 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43106 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43107 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43108 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43109 elif test "$wxUSE_ZLIB" = "no"; then
43110 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43111 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43112 else
43113 cat >>confdefs.h <<\_ACEOF
43114 #define wxUSE_ZIPSTREAM 1
43115 _ACEOF
43116
43117 fi
43118 fi
43119
43120 if test "$wxUSE_TARSTREAM" = "yes"; then
43121 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43122 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43123 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43124 else
43125 cat >>confdefs.h <<\_ACEOF
43126 #define wxUSE_TARSTREAM 1
43127 _ACEOF
43128
43129 fi
43130 fi
43131
43132 if test "$wxUSE_FILESYSTEM" = "yes"; then
43133 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43134 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43135 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43136 wxUSE_FILESYSTEM=no
43137 else
43138 cat >>confdefs.h <<\_ACEOF
43139 #define wxUSE_FILESYSTEM 1
43140 _ACEOF
43141
43142 fi
43143 fi
43144
43145 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43146 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43147 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43148 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43149 else
43150 cat >>confdefs.h <<\_ACEOF
43151 #define wxUSE_FS_ARCHIVE 1
43152 _ACEOF
43153
43154 fi
43155 fi
43156
43157 if test "$wxUSE_FS_ZIP" = "yes"; then
43158 if test "$wxUSE_FS_ARCHIVE" != yes; then
43159 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43160 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43161 else
43162 cat >>confdefs.h <<\_ACEOF
43163 #define wxUSE_FS_ZIP 1
43164 _ACEOF
43165
43166 fi
43167 fi
43168
43169 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43170 if test "$USE_UNIX" != 1; then
43171 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43172 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43173 wxUSE_ON_FATAL_EXCEPTION=no
43174 else
43175 cat >>confdefs.h <<\_ACEOF
43176 #define wxUSE_ON_FATAL_EXCEPTION 1
43177 _ACEOF
43178
43179 fi
43180 fi
43181
43182 if test "$wxUSE_STACKWALKER" = "yes"; then
43183 cat >>confdefs.h <<\_ACEOF
43184 #define wxUSE_STACKWALKER 1
43185 _ACEOF
43186
43187 fi
43188
43189 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43190 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43191 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43192 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43193 wxUSE_DEBUGREPORT=no
43194 else
43195 cat >>confdefs.h <<\_ACEOF
43196 #define wxUSE_DEBUGREPORT 1
43197 _ACEOF
43198
43199 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43200 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43201 fi
43202 fi
43203 fi
43204
43205 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43206 cat >>confdefs.h <<\_ACEOF
43207 #define wxUSE_SNGLINST_CHECKER 1
43208 _ACEOF
43209
43210 fi
43211
43212 if test "$wxUSE_BUSYINFO" = "yes"; then
43213 cat >>confdefs.h <<\_ACEOF
43214 #define wxUSE_BUSYINFO 1
43215 _ACEOF
43216
43217 fi
43218
43219 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43220 cat >>confdefs.h <<\_ACEOF
43221 #define wxUSE_STD_IOSTREAM 1
43222 _ACEOF
43223
43224 fi
43225
43226 if test "$wxUSE_STD_STRING" = "yes"; then
43227 cat >>confdefs.h <<\_ACEOF
43228 #define wxUSE_STD_STRING 1
43229 _ACEOF
43230
43231 fi
43232
43233 if test "$wxUSE_STDPATHS" = "yes"; then
43234 cat >>confdefs.h <<\_ACEOF
43235 #define wxUSE_STDPATHS 1
43236 _ACEOF
43237
43238 fi
43239
43240 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43241 cat >>confdefs.h <<\_ACEOF
43242 #define wxUSE_TEXTBUFFER 1
43243 _ACEOF
43244
43245 fi
43246
43247 if test "$wxUSE_TEXTFILE" = "yes"; then
43248 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43249 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43250 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43251 else
43252 cat >>confdefs.h <<\_ACEOF
43253 #define wxUSE_TEXTFILE 1
43254 _ACEOF
43255
43256 fi
43257 fi
43258
43259 if test "$wxUSE_CONFIG" = "yes" ; then
43260 if test "$wxUSE_TEXTFILE" != "yes"; then
43261 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43262 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43263 else
43264 cat >>confdefs.h <<\_ACEOF
43265 #define wxUSE_CONFIG 1
43266 _ACEOF
43267
43268 cat >>confdefs.h <<\_ACEOF
43269 #define wxUSE_CONFIG_NATIVE 1
43270 _ACEOF
43271
43272 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43273 fi
43274 fi
43275
43276 if test "$wxUSE_INTL" = "yes" ; then
43277 if test "$wxUSE_FILE" != "yes"; then
43278 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43279 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43280 else
43281 cat >>confdefs.h <<\_ACEOF
43282 #define wxUSE_INTL 1
43283 _ACEOF
43284
43285 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43286 GUIDIST="$GUIDIST INTL_DIST"
43287 fi
43288 fi
43289
43290 if test "$wxUSE_XLOCALE" = "yes" ; then
43291 cat >>confdefs.h <<\_ACEOF
43292 #define wxUSE_XLOCALE 1
43293 _ACEOF
43294
43295 { echo "$as_me:$LINENO: checking for locale_t" >&5
43296 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43297 if test "${ac_cv_type_locale_t+set}" = set; then
43298 echo $ECHO_N "(cached) $ECHO_C" >&6
43299 else
43300 cat >conftest.$ac_ext <<_ACEOF
43301 /* confdefs.h. */
43302 _ACEOF
43303 cat confdefs.h >>conftest.$ac_ext
43304 cat >>conftest.$ac_ext <<_ACEOF
43305 /* end confdefs.h. */
43306 #include <xlocale.h>
43307 #include <locale.h>
43308
43309 typedef locale_t ac__type_new_;
43310 int
43311 main ()
43312 {
43313 if ((ac__type_new_ *) 0)
43314 return 0;
43315 if (sizeof (ac__type_new_))
43316 return 0;
43317 ;
43318 return 0;
43319 }
43320 _ACEOF
43321 rm -f conftest.$ac_objext
43322 if { (ac_try="$ac_compile"
43323 case "(($ac_try" in
43324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43325 *) ac_try_echo=$ac_try;;
43326 esac
43327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43328 (eval "$ac_compile") 2>conftest.er1
43329 ac_status=$?
43330 grep -v '^ *+' conftest.er1 >conftest.err
43331 rm -f conftest.er1
43332 cat conftest.err >&5
43333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43334 (exit $ac_status); } && {
43335 test -z "$ac_c_werror_flag" ||
43336 test ! -s conftest.err
43337 } && test -s conftest.$ac_objext; then
43338 ac_cv_type_locale_t=yes
43339 else
43340 echo "$as_me: failed program was:" >&5
43341 sed 's/^/| /' conftest.$ac_ext >&5
43342
43343 ac_cv_type_locale_t=no
43344 fi
43345
43346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43347 fi
43348 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43349 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43350 if test $ac_cv_type_locale_t = yes; then
43351
43352 cat >>confdefs.h <<_ACEOF
43353 #define HAVE_LOCALE_T 1
43354 _ACEOF
43355
43356
43357 fi
43358
43359 fi
43360
43361 if test "$wxUSE_LOG" = "yes"; then
43362 cat >>confdefs.h <<\_ACEOF
43363 #define wxUSE_LOG 1
43364 _ACEOF
43365
43366
43367 if test "$wxUSE_LOGGUI" = "yes"; then
43368 cat >>confdefs.h <<\_ACEOF
43369 #define wxUSE_LOGGUI 1
43370 _ACEOF
43371
43372 fi
43373
43374 if test "$wxUSE_LOGWINDOW" = "yes"; then
43375 cat >>confdefs.h <<\_ACEOF
43376 #define wxUSE_LOGWINDOW 1
43377 _ACEOF
43378
43379 fi
43380
43381 if test "$wxUSE_LOGDIALOG" = "yes"; then
43382 cat >>confdefs.h <<\_ACEOF
43383 #define wxUSE_LOG_DIALOG 1
43384 _ACEOF
43385
43386 fi
43387
43388 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43389 fi
43390
43391 if test "$wxUSE_LONGLONG" = "yes"; then
43392 cat >>confdefs.h <<\_ACEOF
43393 #define wxUSE_LONGLONG 1
43394 _ACEOF
43395
43396 fi
43397
43398 if test "$wxUSE_GEOMETRY" = "yes"; then
43399 cat >>confdefs.h <<\_ACEOF
43400 #define wxUSE_GEOMETRY 1
43401 _ACEOF
43402
43403 fi
43404
43405 if test "$wxUSE_BASE64" = "yes"; then
43406 cat >>confdefs.h <<\_ACEOF
43407 #define wxUSE_BASE64 1
43408 _ACEOF
43409
43410 fi
43411
43412 if test "$wxUSE_STREAMS" = "yes" ; then
43413 cat >>confdefs.h <<\_ACEOF
43414 #define wxUSE_STREAMS 1
43415 _ACEOF
43416
43417 fi
43418
43419 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43420 cat >>confdefs.h <<\_ACEOF
43421 #define wxUSE_PRINTF_POS_PARAMS 1
43422 _ACEOF
43423
43424 fi
43425
43426 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43427 cat >>confdefs.h <<\_ACEOF
43428 #define wxUSE_OBJC_UNIQUIFYING 1
43429 _ACEOF
43430
43431 fi
43432
43433
43434 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43435 cat >>confdefs.h <<\_ACEOF
43436 #define wxUSE_CONSOLE_EVENTLOOP 1
43437 _ACEOF
43438
43439
43440 if test "$wxUSE_UNIX" = "yes"; then
43441 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43442 cat >>confdefs.h <<\_ACEOF
43443 #define wxUSE_SELECT_DISPATCHER 1
43444 _ACEOF
43445
43446 fi
43447
43448 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43449
43450 for ac_header in sys/epoll.h
43451 do
43452 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43453 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43454 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43455 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43456 echo $ECHO_N "(cached) $ECHO_C" >&6
43457 else
43458 cat >conftest.$ac_ext <<_ACEOF
43459 /* confdefs.h. */
43460 _ACEOF
43461 cat confdefs.h >>conftest.$ac_ext
43462 cat >>conftest.$ac_ext <<_ACEOF
43463 /* end confdefs.h. */
43464 $ac_includes_default
43465
43466 #include <$ac_header>
43467 _ACEOF
43468 rm -f conftest.$ac_objext
43469 if { (ac_try="$ac_compile"
43470 case "(($ac_try" in
43471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43472 *) ac_try_echo=$ac_try;;
43473 esac
43474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43475 (eval "$ac_compile") 2>conftest.er1
43476 ac_status=$?
43477 grep -v '^ *+' conftest.er1 >conftest.err
43478 rm -f conftest.er1
43479 cat conftest.err >&5
43480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43481 (exit $ac_status); } && {
43482 test -z "$ac_c_werror_flag" ||
43483 test ! -s conftest.err
43484 } && test -s conftest.$ac_objext; then
43485 eval "$as_ac_Header=yes"
43486 else
43487 echo "$as_me: failed program was:" >&5
43488 sed 's/^/| /' conftest.$ac_ext >&5
43489
43490 eval "$as_ac_Header=no"
43491 fi
43492
43493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43494 fi
43495 ac_res=`eval echo '${'$as_ac_Header'}'`
43496 { echo "$as_me:$LINENO: result: $ac_res" >&5
43497 echo "${ECHO_T}$ac_res" >&6; }
43498 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43499 cat >>confdefs.h <<_ACEOF
43500 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43501 _ACEOF
43502
43503 fi
43504
43505 done
43506
43507 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43508 cat >>confdefs.h <<\_ACEOF
43509 #define wxUSE_EPOLL_DISPATCHER 1
43510 _ACEOF
43511
43512 else
43513 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43514 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43515 fi
43516 fi
43517 fi
43518 fi
43519
43520
43521
43522
43523 for ac_func in gettimeofday ftime
43524 do
43525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43526 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43528 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43529 echo $ECHO_N "(cached) $ECHO_C" >&6
43530 else
43531 cat >conftest.$ac_ext <<_ACEOF
43532 /* confdefs.h. */
43533 _ACEOF
43534 cat confdefs.h >>conftest.$ac_ext
43535 cat >>conftest.$ac_ext <<_ACEOF
43536 /* end confdefs.h. */
43537 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43538 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43539 #define $ac_func innocuous_$ac_func
43540
43541 /* System header to define __stub macros and hopefully few prototypes,
43542 which can conflict with char $ac_func (); below.
43543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43544 <limits.h> exists even on freestanding compilers. */
43545
43546 #ifdef __STDC__
43547 # include <limits.h>
43548 #else
43549 # include <assert.h>
43550 #endif
43551
43552 #undef $ac_func
43553
43554 /* Override any GCC internal prototype to avoid an error.
43555 Use char because int might match the return type of a GCC
43556 builtin and then its argument prototype would still apply. */
43557 #ifdef __cplusplus
43558 extern "C"
43559 #endif
43560 char $ac_func ();
43561 /* The GNU C library defines this for functions which it implements
43562 to always fail with ENOSYS. Some functions are actually named
43563 something starting with __ and the normal name is an alias. */
43564 #if defined __stub_$ac_func || defined __stub___$ac_func
43565 choke me
43566 #endif
43567
43568 int
43569 main ()
43570 {
43571 return $ac_func ();
43572 ;
43573 return 0;
43574 }
43575 _ACEOF
43576 rm -f conftest.$ac_objext conftest$ac_exeext
43577 if { (ac_try="$ac_link"
43578 case "(($ac_try" in
43579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43580 *) ac_try_echo=$ac_try;;
43581 esac
43582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43583 (eval "$ac_link") 2>conftest.er1
43584 ac_status=$?
43585 grep -v '^ *+' conftest.er1 >conftest.err
43586 rm -f conftest.er1
43587 cat conftest.err >&5
43588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43589 (exit $ac_status); } && {
43590 test -z "$ac_c_werror_flag" ||
43591 test ! -s conftest.err
43592 } && test -s conftest$ac_exeext &&
43593 $as_test_x conftest$ac_exeext; then
43594 eval "$as_ac_var=yes"
43595 else
43596 echo "$as_me: failed program was:" >&5
43597 sed 's/^/| /' conftest.$ac_ext >&5
43598
43599 eval "$as_ac_var=no"
43600 fi
43601
43602 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43603 conftest$ac_exeext conftest.$ac_ext
43604 fi
43605 ac_res=`eval echo '${'$as_ac_var'}'`
43606 { echo "$as_me:$LINENO: result: $ac_res" >&5
43607 echo "${ECHO_T}$ac_res" >&6; }
43608 if test `eval echo '${'$as_ac_var'}'` = yes; then
43609 cat >>confdefs.h <<_ACEOF
43610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43611 _ACEOF
43612 break
43613 fi
43614 done
43615
43616
43617 if test "$ac_cv_func_gettimeofday" = "yes"; then
43618 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43619 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43620 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43621 echo $ECHO_N "(cached) $ECHO_C" >&6
43622 else
43623
43624 cat >conftest.$ac_ext <<_ACEOF
43625 /* confdefs.h. */
43626 _ACEOF
43627 cat confdefs.h >>conftest.$ac_ext
43628 cat >>conftest.$ac_ext <<_ACEOF
43629 /* end confdefs.h. */
43630
43631 #include <sys/time.h>
43632 #include <unistd.h>
43633
43634 int
43635 main ()
43636 {
43637
43638 struct timeval tv;
43639 gettimeofday(&tv, NULL);
43640
43641 ;
43642 return 0;
43643 }
43644 _ACEOF
43645 rm -f conftest.$ac_objext
43646 if { (ac_try="$ac_compile"
43647 case "(($ac_try" in
43648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43649 *) ac_try_echo=$ac_try;;
43650 esac
43651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43652 (eval "$ac_compile") 2>conftest.er1
43653 ac_status=$?
43654 grep -v '^ *+' conftest.er1 >conftest.err
43655 rm -f conftest.er1
43656 cat conftest.err >&5
43657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43658 (exit $ac_status); } && {
43659 test -z "$ac_c_werror_flag" ||
43660 test ! -s conftest.err
43661 } && test -s conftest.$ac_objext; then
43662 wx_cv_func_gettimeofday_has_2_args=yes
43663 else
43664 echo "$as_me: failed program was:" >&5
43665 sed 's/^/| /' conftest.$ac_ext >&5
43666
43667 cat >conftest.$ac_ext <<_ACEOF
43668 /* confdefs.h. */
43669 _ACEOF
43670 cat confdefs.h >>conftest.$ac_ext
43671 cat >>conftest.$ac_ext <<_ACEOF
43672 /* end confdefs.h. */
43673
43674 #include <sys/time.h>
43675 #include <unistd.h>
43676
43677 int
43678 main ()
43679 {
43680
43681 struct timeval tv;
43682 gettimeofday(&tv);
43683
43684 ;
43685 return 0;
43686 }
43687 _ACEOF
43688 rm -f conftest.$ac_objext
43689 if { (ac_try="$ac_compile"
43690 case "(($ac_try" in
43691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43692 *) ac_try_echo=$ac_try;;
43693 esac
43694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43695 (eval "$ac_compile") 2>conftest.er1
43696 ac_status=$?
43697 grep -v '^ *+' conftest.er1 >conftest.err
43698 rm -f conftest.er1
43699 cat conftest.err >&5
43700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43701 (exit $ac_status); } && {
43702 test -z "$ac_c_werror_flag" ||
43703 test ! -s conftest.err
43704 } && test -s conftest.$ac_objext; then
43705 wx_cv_func_gettimeofday_has_2_args=no
43706 else
43707 echo "$as_me: failed program was:" >&5
43708 sed 's/^/| /' conftest.$ac_ext >&5
43709
43710
43711 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43712 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43713 wx_cv_func_gettimeofday_has_2_args=unknown
43714
43715
43716 fi
43717
43718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43719
43720 fi
43721
43722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43723
43724 fi
43725 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43726 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43727
43728 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43729 cat >>confdefs.h <<\_ACEOF
43730 #define WX_GETTIMEOFDAY_NO_TZ 1
43731 _ACEOF
43732
43733 fi
43734 fi
43735
43736 if test "$wxUSE_DATETIME" = "yes"; then
43737 { echo "$as_me:$LINENO: checking for strptime" >&5
43738 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43739 if test "${ac_cv_func_strptime+set}" = set; then
43740 echo $ECHO_N "(cached) $ECHO_C" >&6
43741 else
43742 cat >conftest.$ac_ext <<_ACEOF
43743 /* confdefs.h. */
43744 _ACEOF
43745 cat confdefs.h >>conftest.$ac_ext
43746 cat >>conftest.$ac_ext <<_ACEOF
43747 /* end confdefs.h. */
43748 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43750 #define strptime innocuous_strptime
43751
43752 /* System header to define __stub macros and hopefully few prototypes,
43753 which can conflict with char strptime (); below.
43754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43755 <limits.h> exists even on freestanding compilers. */
43756
43757 #ifdef __STDC__
43758 # include <limits.h>
43759 #else
43760 # include <assert.h>
43761 #endif
43762
43763 #undef strptime
43764
43765 /* Override any GCC internal prototype to avoid an error.
43766 Use char because int might match the return type of a GCC
43767 builtin and then its argument prototype would still apply. */
43768 #ifdef __cplusplus
43769 extern "C"
43770 #endif
43771 char strptime ();
43772 /* The GNU C library defines this for functions which it implements
43773 to always fail with ENOSYS. Some functions are actually named
43774 something starting with __ and the normal name is an alias. */
43775 #if defined __stub_strptime || defined __stub___strptime
43776 choke me
43777 #endif
43778
43779 int
43780 main ()
43781 {
43782 return strptime ();
43783 ;
43784 return 0;
43785 }
43786 _ACEOF
43787 rm -f conftest.$ac_objext conftest$ac_exeext
43788 if { (ac_try="$ac_link"
43789 case "(($ac_try" in
43790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43791 *) ac_try_echo=$ac_try;;
43792 esac
43793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43794 (eval "$ac_link") 2>conftest.er1
43795 ac_status=$?
43796 grep -v '^ *+' conftest.er1 >conftest.err
43797 rm -f conftest.er1
43798 cat conftest.err >&5
43799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43800 (exit $ac_status); } && {
43801 test -z "$ac_c_werror_flag" ||
43802 test ! -s conftest.err
43803 } && test -s conftest$ac_exeext &&
43804 $as_test_x conftest$ac_exeext; then
43805 ac_cv_func_strptime=yes
43806 else
43807 echo "$as_me: failed program was:" >&5
43808 sed 's/^/| /' conftest.$ac_ext >&5
43809
43810 ac_cv_func_strptime=no
43811 fi
43812
43813 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43814 conftest$ac_exeext conftest.$ac_ext
43815 fi
43816 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43817 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43818
43819 if test "$ac_cv_func_strptime" = "yes"; then
43820 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43821 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43822 if test "${wx_cv_func_strptime_decl+set}" = set; then
43823 echo $ECHO_N "(cached) $ECHO_C" >&6
43824 else
43825
43826 ac_ext=cpp
43827 ac_cpp='$CXXCPP $CPPFLAGS'
43828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43831
43832 cat >conftest.$ac_ext <<_ACEOF
43833 /* confdefs.h. */
43834 _ACEOF
43835 cat confdefs.h >>conftest.$ac_ext
43836 cat >>conftest.$ac_ext <<_ACEOF
43837 /* end confdefs.h. */
43838
43839 #include <time.h>
43840
43841 int
43842 main ()
43843 {
43844
43845 struct tm t;
43846 strptime("foo", "bar", &t);
43847
43848 ;
43849 return 0;
43850 }
43851 _ACEOF
43852 rm -f conftest.$ac_objext
43853 if { (ac_try="$ac_compile"
43854 case "(($ac_try" in
43855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43856 *) ac_try_echo=$ac_try;;
43857 esac
43858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43859 (eval "$ac_compile") 2>conftest.er1
43860 ac_status=$?
43861 grep -v '^ *+' conftest.er1 >conftest.err
43862 rm -f conftest.er1
43863 cat conftest.err >&5
43864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43865 (exit $ac_status); } && {
43866 test -z "$ac_cxx_werror_flag" ||
43867 test ! -s conftest.err
43868 } && test -s conftest.$ac_objext; then
43869 wx_cv_func_strptime_decl=yes
43870 else
43871 echo "$as_me: failed program was:" >&5
43872 sed 's/^/| /' conftest.$ac_ext >&5
43873
43874 wx_cv_func_strptime_decl=no
43875
43876 fi
43877
43878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43879 ac_ext=c
43880 ac_cpp='$CPP $CPPFLAGS'
43881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43884
43885
43886
43887 fi
43888 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43889 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43890 fi
43891 if test "$wx_cv_func_strptime_decl" = "yes"; then
43892 cat >>confdefs.h <<\_ACEOF
43893 #define HAVE_STRPTIME_DECL 1
43894 _ACEOF
43895
43896 else
43897 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43898 fi
43899 if test "$ac_cv_func_strptime" = "yes"; then
43900 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43901 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43902 if test "${wx_cv_func_strptime_ok+set}" = set; then
43903 echo $ECHO_N "(cached) $ECHO_C" >&6
43904 else
43905 if test "$cross_compiling" = yes; then
43906 wx_cv_func_strptime_ok=no
43907
43908 else
43909 cat >conftest.$ac_ext <<_ACEOF
43910
43911 #include <stdlib.h>
43912 #include <time.h>
43913 #include "confdefs.h"
43914
43915 $wx_strptime_decl
43916
43917 int main()
43918 {
43919 struct tm t;
43920 return !!strptime("", "%x", &t);
43921 }
43922
43923 _ACEOF
43924 rm -f conftest$ac_exeext
43925 if { (ac_try="$ac_link"
43926 case "(($ac_try" in
43927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43928 *) ac_try_echo=$ac_try;;
43929 esac
43930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43931 (eval "$ac_link") 2>&5
43932 ac_status=$?
43933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43934 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43935 { (case "(($ac_try" in
43936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43937 *) ac_try_echo=$ac_try;;
43938 esac
43939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43940 (eval "$ac_try") 2>&5
43941 ac_status=$?
43942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43943 (exit $ac_status); }; }; then
43944 wx_cv_func_strptime_ok=yes
43945 else
43946 echo "$as_me: program exited with status $ac_status" >&5
43947 echo "$as_me: failed program was:" >&5
43948 sed 's/^/| /' conftest.$ac_ext >&5
43949
43950 ( exit $ac_status )
43951 wx_cv_func_strptime_ok=no
43952 fi
43953 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43954 fi
43955
43956
43957
43958 fi
43959 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43960 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43961
43962 if test "$wx_cv_func_strptime_ok" = "yes"; then
43963 cat >>confdefs.h <<\_ACEOF
43964 #define HAVE_STRPTIME 1
43965 _ACEOF
43966
43967 fi
43968 fi
43969
43970 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43971 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43972 if test "${wx_cv_var_timezone+set}" = set; then
43973 echo $ECHO_N "(cached) $ECHO_C" >&6
43974 else
43975
43976 ac_ext=cpp
43977 ac_cpp='$CXXCPP $CPPFLAGS'
43978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43981
43982 cat >conftest.$ac_ext <<_ACEOF
43983 /* confdefs.h. */
43984 _ACEOF
43985 cat confdefs.h >>conftest.$ac_ext
43986 cat >>conftest.$ac_ext <<_ACEOF
43987 /* end confdefs.h. */
43988
43989 #include <time.h>
43990
43991 int
43992 main ()
43993 {
43994
43995 int tz;
43996 tz = timezone;
43997
43998 ;
43999 return 0;
44000 }
44001 _ACEOF
44002 rm -f conftest.$ac_objext
44003 if { (ac_try="$ac_compile"
44004 case "(($ac_try" in
44005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44006 *) ac_try_echo=$ac_try;;
44007 esac
44008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44009 (eval "$ac_compile") 2>conftest.er1
44010 ac_status=$?
44011 grep -v '^ *+' conftest.er1 >conftest.err
44012 rm -f conftest.er1
44013 cat conftest.err >&5
44014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44015 (exit $ac_status); } && {
44016 test -z "$ac_cxx_werror_flag" ||
44017 test ! -s conftest.err
44018 } && test -s conftest.$ac_objext; then
44019
44020 wx_cv_var_timezone=timezone
44021
44022 else
44023 echo "$as_me: failed program was:" >&5
44024 sed 's/^/| /' conftest.$ac_ext >&5
44025
44026
44027 cat >conftest.$ac_ext <<_ACEOF
44028 /* confdefs.h. */
44029 _ACEOF
44030 cat confdefs.h >>conftest.$ac_ext
44031 cat >>conftest.$ac_ext <<_ACEOF
44032 /* end confdefs.h. */
44033
44034 #include <time.h>
44035
44036 int
44037 main ()
44038 {
44039
44040 int tz;
44041 tz = _timezone;
44042
44043 ;
44044 return 0;
44045 }
44046 _ACEOF
44047 rm -f conftest.$ac_objext
44048 if { (ac_try="$ac_compile"
44049 case "(($ac_try" in
44050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44051 *) ac_try_echo=$ac_try;;
44052 esac
44053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44054 (eval "$ac_compile") 2>conftest.er1
44055 ac_status=$?
44056 grep -v '^ *+' conftest.er1 >conftest.err
44057 rm -f conftest.er1
44058 cat conftest.err >&5
44059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44060 (exit $ac_status); } && {
44061 test -z "$ac_cxx_werror_flag" ||
44062 test ! -s conftest.err
44063 } && test -s conftest.$ac_objext; then
44064
44065 wx_cv_var_timezone=_timezone
44066
44067 else
44068 echo "$as_me: failed program was:" >&5
44069 sed 's/^/| /' conftest.$ac_ext >&5
44070
44071
44072 cat >conftest.$ac_ext <<_ACEOF
44073 /* confdefs.h. */
44074 _ACEOF
44075 cat confdefs.h >>conftest.$ac_ext
44076 cat >>conftest.$ac_ext <<_ACEOF
44077 /* end confdefs.h. */
44078
44079 #include <time.h>
44080
44081 int
44082 main ()
44083 {
44084
44085 int tz;
44086 tz = __timezone;
44087
44088 ;
44089 return 0;
44090 }
44091 _ACEOF
44092 rm -f conftest.$ac_objext
44093 if { (ac_try="$ac_compile"
44094 case "(($ac_try" in
44095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44096 *) ac_try_echo=$ac_try;;
44097 esac
44098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44099 (eval "$ac_compile") 2>conftest.er1
44100 ac_status=$?
44101 grep -v '^ *+' conftest.er1 >conftest.err
44102 rm -f conftest.er1
44103 cat conftest.err >&5
44104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44105 (exit $ac_status); } && {
44106 test -z "$ac_cxx_werror_flag" ||
44107 test ! -s conftest.err
44108 } && test -s conftest.$ac_objext; then
44109
44110 wx_cv_var_timezone=__timezone
44111
44112 else
44113 echo "$as_me: failed program was:" >&5
44114 sed 's/^/| /' conftest.$ac_ext >&5
44115
44116
44117 if test "$USE_DOS" = 0 ; then
44118 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44119 echo "$as_me: WARNING: no timezone variable" >&2;}
44120 fi
44121
44122
44123 fi
44124
44125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44126
44127
44128 fi
44129
44130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44131
44132
44133 fi
44134
44135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44136 ac_ext=c
44137 ac_cpp='$CPP $CPPFLAGS'
44138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44141
44142
44143
44144 fi
44145 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44146 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44147
44148 if test "x$wx_cv_var_timezone" != x ; then
44149 cat >>confdefs.h <<_ACEOF
44150 #define WX_TIMEZONE $wx_cv_var_timezone
44151 _ACEOF
44152
44153 fi
44154
44155
44156 for ac_func in localtime
44157 do
44158 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44159 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44160 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44161 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44162 echo $ECHO_N "(cached) $ECHO_C" >&6
44163 else
44164 cat >conftest.$ac_ext <<_ACEOF
44165 /* confdefs.h. */
44166 _ACEOF
44167 cat confdefs.h >>conftest.$ac_ext
44168 cat >>conftest.$ac_ext <<_ACEOF
44169 /* end confdefs.h. */
44170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44172 #define $ac_func innocuous_$ac_func
44173
44174 /* System header to define __stub macros and hopefully few prototypes,
44175 which can conflict with char $ac_func (); below.
44176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44177 <limits.h> exists even on freestanding compilers. */
44178
44179 #ifdef __STDC__
44180 # include <limits.h>
44181 #else
44182 # include <assert.h>
44183 #endif
44184
44185 #undef $ac_func
44186
44187 /* Override any GCC internal prototype to avoid an error.
44188 Use char because int might match the return type of a GCC
44189 builtin and then its argument prototype would still apply. */
44190 #ifdef __cplusplus
44191 extern "C"
44192 #endif
44193 char $ac_func ();
44194 /* The GNU C library defines this for functions which it implements
44195 to always fail with ENOSYS. Some functions are actually named
44196 something starting with __ and the normal name is an alias. */
44197 #if defined __stub_$ac_func || defined __stub___$ac_func
44198 choke me
44199 #endif
44200
44201 int
44202 main ()
44203 {
44204 return $ac_func ();
44205 ;
44206 return 0;
44207 }
44208 _ACEOF
44209 rm -f conftest.$ac_objext conftest$ac_exeext
44210 if { (ac_try="$ac_link"
44211 case "(($ac_try" in
44212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44213 *) ac_try_echo=$ac_try;;
44214 esac
44215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44216 (eval "$ac_link") 2>conftest.er1
44217 ac_status=$?
44218 grep -v '^ *+' conftest.er1 >conftest.err
44219 rm -f conftest.er1
44220 cat conftest.err >&5
44221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44222 (exit $ac_status); } && {
44223 test -z "$ac_c_werror_flag" ||
44224 test ! -s conftest.err
44225 } && test -s conftest$ac_exeext &&
44226 $as_test_x conftest$ac_exeext; then
44227 eval "$as_ac_var=yes"
44228 else
44229 echo "$as_me: failed program was:" >&5
44230 sed 's/^/| /' conftest.$ac_ext >&5
44231
44232 eval "$as_ac_var=no"
44233 fi
44234
44235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44236 conftest$ac_exeext conftest.$ac_ext
44237 fi
44238 ac_res=`eval echo '${'$as_ac_var'}'`
44239 { echo "$as_me:$LINENO: result: $ac_res" >&5
44240 echo "${ECHO_T}$ac_res" >&6; }
44241 if test `eval echo '${'$as_ac_var'}'` = yes; then
44242 cat >>confdefs.h <<_ACEOF
44243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44244 _ACEOF
44245
44246 fi
44247 done
44248
44249
44250 if test "$ac_cv_func_localtime" = "yes"; then
44251 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44252 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44253 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44254 echo $ECHO_N "(cached) $ECHO_C" >&6
44255 else
44256
44257 cat >conftest.$ac_ext <<_ACEOF
44258 /* confdefs.h. */
44259 _ACEOF
44260 cat confdefs.h >>conftest.$ac_ext
44261 cat >>conftest.$ac_ext <<_ACEOF
44262 /* end confdefs.h. */
44263
44264 #include <time.h>
44265
44266 int
44267 main ()
44268 {
44269
44270 struct tm tm;
44271 tm.tm_gmtoff++;
44272
44273 ;
44274 return 0;
44275 }
44276 _ACEOF
44277 rm -f conftest.$ac_objext
44278 if { (ac_try="$ac_compile"
44279 case "(($ac_try" in
44280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44281 *) ac_try_echo=$ac_try;;
44282 esac
44283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44284 (eval "$ac_compile") 2>conftest.er1
44285 ac_status=$?
44286 grep -v '^ *+' conftest.er1 >conftest.err
44287 rm -f conftest.er1
44288 cat conftest.err >&5
44289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44290 (exit $ac_status); } && {
44291 test -z "$ac_c_werror_flag" ||
44292 test ! -s conftest.err
44293 } && test -s conftest.$ac_objext; then
44294
44295 wx_cv_struct_tm_has_gmtoff=yes
44296
44297 else
44298 echo "$as_me: failed program was:" >&5
44299 sed 's/^/| /' conftest.$ac_ext >&5
44300
44301 wx_cv_struct_tm_has_gmtoff=no
44302
44303 fi
44304
44305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44306
44307 fi
44308 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44309 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44310 fi
44311
44312 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44313 cat >>confdefs.h <<\_ACEOF
44314 #define WX_GMTOFF_IN_TM 1
44315 _ACEOF
44316
44317 fi
44318
44319 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44320 fi
44321
44322
44323 if test "$wxUSE_SOCKETS" = "yes"; then
44324 if test "$wxUSE_MGL" = 1; then
44325 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44326 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44327 wxUSE_SOCKETS="no"
44328 fi
44329 fi
44330
44331 if test "$wxUSE_SOCKETS" = "yes"; then
44332 if test "$TOOLKIT" != "MSW"; then
44333 { echo "$as_me:$LINENO: checking for socket" >&5
44334 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44335 if test "${ac_cv_func_socket+set}" = set; then
44336 echo $ECHO_N "(cached) $ECHO_C" >&6
44337 else
44338 cat >conftest.$ac_ext <<_ACEOF
44339 /* confdefs.h. */
44340 _ACEOF
44341 cat confdefs.h >>conftest.$ac_ext
44342 cat >>conftest.$ac_ext <<_ACEOF
44343 /* end confdefs.h. */
44344 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44346 #define socket innocuous_socket
44347
44348 /* System header to define __stub macros and hopefully few prototypes,
44349 which can conflict with char socket (); below.
44350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44351 <limits.h> exists even on freestanding compilers. */
44352
44353 #ifdef __STDC__
44354 # include <limits.h>
44355 #else
44356 # include <assert.h>
44357 #endif
44358
44359 #undef socket
44360
44361 /* Override any GCC internal prototype to avoid an error.
44362 Use char because int might match the return type of a GCC
44363 builtin and then its argument prototype would still apply. */
44364 #ifdef __cplusplus
44365 extern "C"
44366 #endif
44367 char socket ();
44368 /* The GNU C library defines this for functions which it implements
44369 to always fail with ENOSYS. Some functions are actually named
44370 something starting with __ and the normal name is an alias. */
44371 #if defined __stub_socket || defined __stub___socket
44372 choke me
44373 #endif
44374
44375 int
44376 main ()
44377 {
44378 return socket ();
44379 ;
44380 return 0;
44381 }
44382 _ACEOF
44383 rm -f conftest.$ac_objext conftest$ac_exeext
44384 if { (ac_try="$ac_link"
44385 case "(($ac_try" in
44386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44387 *) ac_try_echo=$ac_try;;
44388 esac
44389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44390 (eval "$ac_link") 2>conftest.er1
44391 ac_status=$?
44392 grep -v '^ *+' conftest.er1 >conftest.err
44393 rm -f conftest.er1
44394 cat conftest.err >&5
44395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44396 (exit $ac_status); } && {
44397 test -z "$ac_c_werror_flag" ||
44398 test ! -s conftest.err
44399 } && test -s conftest$ac_exeext &&
44400 $as_test_x conftest$ac_exeext; then
44401 ac_cv_func_socket=yes
44402 else
44403 echo "$as_me: failed program was:" >&5
44404 sed 's/^/| /' conftest.$ac_ext >&5
44405
44406 ac_cv_func_socket=no
44407 fi
44408
44409 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44410 conftest$ac_exeext conftest.$ac_ext
44411 fi
44412 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44413 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44414 if test $ac_cv_func_socket = yes; then
44415 :
44416 else
44417
44418 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44419 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44420 if test "${ac_cv_lib_socket_socket+set}" = set; then
44421 echo $ECHO_N "(cached) $ECHO_C" >&6
44422 else
44423 ac_check_lib_save_LIBS=$LIBS
44424 LIBS="-lsocket $LIBS"
44425 cat >conftest.$ac_ext <<_ACEOF
44426 /* confdefs.h. */
44427 _ACEOF
44428 cat confdefs.h >>conftest.$ac_ext
44429 cat >>conftest.$ac_ext <<_ACEOF
44430 /* end confdefs.h. */
44431
44432 /* Override any GCC internal prototype to avoid an error.
44433 Use char because int might match the return type of a GCC
44434 builtin and then its argument prototype would still apply. */
44435 #ifdef __cplusplus
44436 extern "C"
44437 #endif
44438 char socket ();
44439 int
44440 main ()
44441 {
44442 return socket ();
44443 ;
44444 return 0;
44445 }
44446 _ACEOF
44447 rm -f conftest.$ac_objext conftest$ac_exeext
44448 if { (ac_try="$ac_link"
44449 case "(($ac_try" in
44450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44451 *) ac_try_echo=$ac_try;;
44452 esac
44453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44454 (eval "$ac_link") 2>conftest.er1
44455 ac_status=$?
44456 grep -v '^ *+' conftest.er1 >conftest.err
44457 rm -f conftest.er1
44458 cat conftest.err >&5
44459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44460 (exit $ac_status); } && {
44461 test -z "$ac_c_werror_flag" ||
44462 test ! -s conftest.err
44463 } && test -s conftest$ac_exeext &&
44464 $as_test_x conftest$ac_exeext; then
44465 ac_cv_lib_socket_socket=yes
44466 else
44467 echo "$as_me: failed program was:" >&5
44468 sed 's/^/| /' conftest.$ac_ext >&5
44469
44470 ac_cv_lib_socket_socket=no
44471 fi
44472
44473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44474 conftest$ac_exeext conftest.$ac_ext
44475 LIBS=$ac_check_lib_save_LIBS
44476 fi
44477 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44478 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44479 if test $ac_cv_lib_socket_socket = yes; then
44480 if test "$INET_LINK" != " -lsocket"; then
44481 INET_LINK="$INET_LINK -lsocket"
44482 fi
44483 else
44484
44485 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44486 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44487 wxUSE_SOCKETS=no
44488
44489
44490 fi
44491
44492
44493
44494 fi
44495
44496 fi
44497 fi
44498
44499 if test "$wxUSE_SOCKETS" = "yes" ; then
44500 if test "$TOOLKIT" != "MSW"; then
44501 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44502 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44503 if test "${wx_cv_type_getsockname3+set}" = set; then
44504 echo $ECHO_N "(cached) $ECHO_C" >&6
44505 else
44506
44507 ac_ext=cpp
44508 ac_cpp='$CXXCPP $CPPFLAGS'
44509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44512
44513 cat >conftest.$ac_ext <<_ACEOF
44514 /* confdefs.h. */
44515 _ACEOF
44516 cat confdefs.h >>conftest.$ac_ext
44517 cat >>conftest.$ac_ext <<_ACEOF
44518 /* end confdefs.h. */
44519
44520 #include <sys/types.h>
44521 #include <sys/socket.h>
44522
44523 int
44524 main ()
44525 {
44526
44527 socklen_t len;
44528 getsockname(0, 0, &len);
44529
44530 ;
44531 return 0;
44532 }
44533 _ACEOF
44534 rm -f conftest.$ac_objext
44535 if { (ac_try="$ac_compile"
44536 case "(($ac_try" in
44537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44538 *) ac_try_echo=$ac_try;;
44539 esac
44540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44541 (eval "$ac_compile") 2>conftest.er1
44542 ac_status=$?
44543 grep -v '^ *+' conftest.er1 >conftest.err
44544 rm -f conftest.er1
44545 cat conftest.err >&5
44546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44547 (exit $ac_status); } && {
44548 test -z "$ac_cxx_werror_flag" ||
44549 test ! -s conftest.err
44550 } && test -s conftest.$ac_objext; then
44551 wx_cv_type_getsockname3=socklen_t
44552 else
44553 echo "$as_me: failed program was:" >&5
44554 sed 's/^/| /' conftest.$ac_ext >&5
44555
44556
44557 CFLAGS_OLD="$CFLAGS"
44558 if test "$GCC" = yes ; then
44559 CFLAGS="-Werror $CFLAGS"
44560 fi
44561
44562 cat >conftest.$ac_ext <<_ACEOF
44563 /* confdefs.h. */
44564 _ACEOF
44565 cat confdefs.h >>conftest.$ac_ext
44566 cat >>conftest.$ac_ext <<_ACEOF
44567 /* end confdefs.h. */
44568
44569 #include <sys/types.h>
44570 #include <sys/socket.h>
44571
44572 int
44573 main ()
44574 {
44575
44576 size_t len;
44577 getsockname(0, 0, &len);
44578
44579 ;
44580 return 0;
44581 }
44582 _ACEOF
44583 rm -f conftest.$ac_objext
44584 if { (ac_try="$ac_compile"
44585 case "(($ac_try" in
44586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44587 *) ac_try_echo=$ac_try;;
44588 esac
44589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44590 (eval "$ac_compile") 2>conftest.er1
44591 ac_status=$?
44592 grep -v '^ *+' conftest.er1 >conftest.err
44593 rm -f conftest.er1
44594 cat conftest.err >&5
44595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44596 (exit $ac_status); } && {
44597 test -z "$ac_cxx_werror_flag" ||
44598 test ! -s conftest.err
44599 } && test -s conftest.$ac_objext; then
44600 wx_cv_type_getsockname3=size_t
44601 else
44602 echo "$as_me: failed program was:" >&5
44603 sed 's/^/| /' conftest.$ac_ext >&5
44604
44605 cat >conftest.$ac_ext <<_ACEOF
44606 /* confdefs.h. */
44607 _ACEOF
44608 cat confdefs.h >>conftest.$ac_ext
44609 cat >>conftest.$ac_ext <<_ACEOF
44610 /* end confdefs.h. */
44611
44612 #include <sys/types.h>
44613 #include <sys/socket.h>
44614
44615 int
44616 main ()
44617 {
44618
44619 int len;
44620 getsockname(0, 0, &len);
44621
44622 ;
44623 return 0;
44624 }
44625 _ACEOF
44626 rm -f conftest.$ac_objext
44627 if { (ac_try="$ac_compile"
44628 case "(($ac_try" in
44629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44630 *) ac_try_echo=$ac_try;;
44631 esac
44632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44633 (eval "$ac_compile") 2>conftest.er1
44634 ac_status=$?
44635 grep -v '^ *+' conftest.er1 >conftest.err
44636 rm -f conftest.er1
44637 cat conftest.err >&5
44638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44639 (exit $ac_status); } && {
44640 test -z "$ac_cxx_werror_flag" ||
44641 test ! -s conftest.err
44642 } && test -s conftest.$ac_objext; then
44643 wx_cv_type_getsockname3=int
44644 else
44645 echo "$as_me: failed program was:" >&5
44646 sed 's/^/| /' conftest.$ac_ext >&5
44647
44648 wx_cv_type_getsockname3=unknown
44649
44650 fi
44651
44652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44653
44654 fi
44655
44656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44657
44658 CFLAGS="$CFLAGS_OLD"
44659
44660
44661 fi
44662
44663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44664 ac_ext=c
44665 ac_cpp='$CPP $CPPFLAGS'
44666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44669
44670
44671 fi
44672 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44673 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44674
44675 if test "$wx_cv_type_getsockname3" = "unknown"; then
44676 wxUSE_SOCKETS=no
44677 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44678 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44679 else
44680 cat >>confdefs.h <<_ACEOF
44681 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44682 _ACEOF
44683
44684 fi
44685 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44686 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44687 if test "${wx_cv_type_getsockopt5+set}" = set; then
44688 echo $ECHO_N "(cached) $ECHO_C" >&6
44689 else
44690
44691 ac_ext=cpp
44692 ac_cpp='$CXXCPP $CPPFLAGS'
44693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44696
44697 cat >conftest.$ac_ext <<_ACEOF
44698 /* confdefs.h. */
44699 _ACEOF
44700 cat confdefs.h >>conftest.$ac_ext
44701 cat >>conftest.$ac_ext <<_ACEOF
44702 /* end confdefs.h. */
44703
44704 #include <sys/types.h>
44705 #include <sys/socket.h>
44706
44707 int
44708 main ()
44709 {
44710
44711 socklen_t len;
44712 getsockopt(0, 0, 0, 0, &len);
44713
44714 ;
44715 return 0;
44716 }
44717 _ACEOF
44718 rm -f conftest.$ac_objext
44719 if { (ac_try="$ac_compile"
44720 case "(($ac_try" in
44721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44722 *) ac_try_echo=$ac_try;;
44723 esac
44724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44725 (eval "$ac_compile") 2>conftest.er1
44726 ac_status=$?
44727 grep -v '^ *+' conftest.er1 >conftest.err
44728 rm -f conftest.er1
44729 cat conftest.err >&5
44730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44731 (exit $ac_status); } && {
44732 test -z "$ac_cxx_werror_flag" ||
44733 test ! -s conftest.err
44734 } && test -s conftest.$ac_objext; then
44735 wx_cv_type_getsockopt5=socklen_t
44736 else
44737 echo "$as_me: failed program was:" >&5
44738 sed 's/^/| /' conftest.$ac_ext >&5
44739
44740
44741 cat >conftest.$ac_ext <<_ACEOF
44742 /* confdefs.h. */
44743 _ACEOF
44744 cat confdefs.h >>conftest.$ac_ext
44745 cat >>conftest.$ac_ext <<_ACEOF
44746 /* end confdefs.h. */
44747
44748 #include <sys/types.h>
44749 #include <sys/socket.h>
44750
44751 int
44752 main ()
44753 {
44754
44755 size_t len;
44756 getsockopt(0, 0, 0, 0, &len);
44757
44758 ;
44759 return 0;
44760 }
44761 _ACEOF
44762 rm -f conftest.$ac_objext
44763 if { (ac_try="$ac_compile"
44764 case "(($ac_try" in
44765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44766 *) ac_try_echo=$ac_try;;
44767 esac
44768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44769 (eval "$ac_compile") 2>conftest.er1
44770 ac_status=$?
44771 grep -v '^ *+' conftest.er1 >conftest.err
44772 rm -f conftest.er1
44773 cat conftest.err >&5
44774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44775 (exit $ac_status); } && {
44776 test -z "$ac_cxx_werror_flag" ||
44777 test ! -s conftest.err
44778 } && test -s conftest.$ac_objext; then
44779 wx_cv_type_getsockopt5=size_t
44780 else
44781 echo "$as_me: failed program was:" >&5
44782 sed 's/^/| /' conftest.$ac_ext >&5
44783
44784 cat >conftest.$ac_ext <<_ACEOF
44785 /* confdefs.h. */
44786 _ACEOF
44787 cat confdefs.h >>conftest.$ac_ext
44788 cat >>conftest.$ac_ext <<_ACEOF
44789 /* end confdefs.h. */
44790
44791 #include <sys/types.h>
44792 #include <sys/socket.h>
44793
44794 int
44795 main ()
44796 {
44797
44798 int len;
44799 getsockopt(0, 0, 0, 0, &len);
44800
44801 ;
44802 return 0;
44803 }
44804 _ACEOF
44805 rm -f conftest.$ac_objext
44806 if { (ac_try="$ac_compile"
44807 case "(($ac_try" in
44808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44809 *) ac_try_echo=$ac_try;;
44810 esac
44811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44812 (eval "$ac_compile") 2>conftest.er1
44813 ac_status=$?
44814 grep -v '^ *+' conftest.er1 >conftest.err
44815 rm -f conftest.er1
44816 cat conftest.err >&5
44817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44818 (exit $ac_status); } && {
44819 test -z "$ac_cxx_werror_flag" ||
44820 test ! -s conftest.err
44821 } && test -s conftest.$ac_objext; then
44822 wx_cv_type_getsockopt5=int
44823 else
44824 echo "$as_me: failed program was:" >&5
44825 sed 's/^/| /' conftest.$ac_ext >&5
44826
44827 wx_cv_type_getsockopt5=unknown
44828
44829 fi
44830
44831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44832
44833 fi
44834
44835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44836
44837
44838 fi
44839
44840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44841 ac_ext=c
44842 ac_cpp='$CPP $CPPFLAGS'
44843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44846
44847
44848 fi
44849 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44850 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44851
44852 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44853 wxUSE_SOCKETS=no
44854 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44855 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44856 else
44857 cat >>confdefs.h <<_ACEOF
44858 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44859 _ACEOF
44860
44861 fi
44862 fi
44863 fi
44864
44865 if test "$wxUSE_SOCKETS" = "yes" ; then
44866 if test "$wxUSE_IPV6" = "yes"; then
44867 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44868 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44869 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44870 echo $ECHO_N "(cached) $ECHO_C" >&6
44871 else
44872
44873 cat >conftest.$ac_ext <<_ACEOF
44874 /* confdefs.h. */
44875 _ACEOF
44876 cat confdefs.h >>conftest.$ac_ext
44877 cat >>conftest.$ac_ext <<_ACEOF
44878 /* end confdefs.h. */
44879
44880 #include <sys/types.h>
44881 #include <sys/socket.h>
44882 #include <netinet/in.h>
44883
44884 int
44885 main ()
44886 {
44887
44888 struct sockaddr_in6 sa6;
44889
44890 ;
44891 return 0;
44892 }
44893 _ACEOF
44894 rm -f conftest.$ac_objext
44895 if { (ac_try="$ac_compile"
44896 case "(($ac_try" in
44897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44898 *) ac_try_echo=$ac_try;;
44899 esac
44900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44901 (eval "$ac_compile") 2>conftest.er1
44902 ac_status=$?
44903 grep -v '^ *+' conftest.er1 >conftest.err
44904 rm -f conftest.er1
44905 cat conftest.err >&5
44906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44907 (exit $ac_status); } && {
44908 test -z "$ac_c_werror_flag" ||
44909 test ! -s conftest.err
44910 } && test -s conftest.$ac_objext; then
44911 wx_cv_type_sockaddr_in6=yes
44912 else
44913 echo "$as_me: failed program was:" >&5
44914 sed 's/^/| /' conftest.$ac_ext >&5
44915
44916 wx_cv_type_sockaddr_in6=no
44917
44918 fi
44919
44920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44921
44922
44923 fi
44924 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44925 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44926
44927 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44928 cat >>confdefs.h <<\_ACEOF
44929 #define wxUSE_IPV6 1
44930 _ACEOF
44931
44932 else
44933 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44934 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44935 fi
44936 fi
44937
44938 cat >>confdefs.h <<\_ACEOF
44939 #define wxUSE_SOCKETS 1
44940 _ACEOF
44941
44942 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44943 fi
44944
44945 if test "$wxUSE_PROTOCOL" = "yes"; then
44946 if test "$wxUSE_SOCKETS" != "yes"; then
44947 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44948 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44949 wxUSE_PROTOCOL=no
44950 fi
44951 fi
44952
44953 if test "$wxUSE_PROTOCOL" = "yes"; then
44954 cat >>confdefs.h <<\_ACEOF
44955 #define wxUSE_PROTOCOL 1
44956 _ACEOF
44957
44958
44959 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44960 cat >>confdefs.h <<\_ACEOF
44961 #define wxUSE_PROTOCOL_HTTP 1
44962 _ACEOF
44963
44964 fi
44965 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44966 cat >>confdefs.h <<\_ACEOF
44967 #define wxUSE_PROTOCOL_FTP 1
44968 _ACEOF
44969
44970 fi
44971 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44972 cat >>confdefs.h <<\_ACEOF
44973 #define wxUSE_PROTOCOL_FILE 1
44974 _ACEOF
44975
44976 fi
44977 else
44978 if test "$wxUSE_FS_INET" = "yes"; then
44979 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44980 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44981 wxUSE_FS_INET="no"
44982 fi
44983 fi
44984
44985 if test "$wxUSE_URL" = "yes"; then
44986 if test "$wxUSE_PROTOCOL" != "yes"; then
44987 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44988 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44989 wxUSE_URL=no
44990 fi
44991 if test "$wxUSE_URL" = "yes"; then
44992 cat >>confdefs.h <<\_ACEOF
44993 #define wxUSE_URL 1
44994 _ACEOF
44995
44996 fi
44997 fi
44998
44999 if test "$wxUSE_VARIANT" = "yes"; then
45000 cat >>confdefs.h <<\_ACEOF
45001 #define wxUSE_VARIANT 1
45002 _ACEOF
45003
45004 fi
45005
45006 if test "$wxUSE_FS_INET" = "yes"; then
45007 cat >>confdefs.h <<\_ACEOF
45008 #define wxUSE_FS_INET 1
45009 _ACEOF
45010
45011 fi
45012
45013
45014 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45015 wxUSE_JOYSTICK=no
45016
45017 if test "$TOOLKIT" = "MSW"; then
45018 wxUSE_JOYSTICK=yes
45019
45020 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
45021 if test "$USE_DARWIN" = 1; then
45022 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45023 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45024 ac_ext=cpp
45025 ac_cpp='$CXXCPP $CPPFLAGS'
45026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45029
45030 cat >conftest.$ac_ext <<_ACEOF
45031 /* confdefs.h. */
45032 _ACEOF
45033 cat confdefs.h >>conftest.$ac_ext
45034 cat >>conftest.$ac_ext <<_ACEOF
45035 /* end confdefs.h. */
45036 #include <IOKit/hid/IOHIDLib.h>
45037 int
45038 main ()
45039 {
45040 IOHIDQueueInterface *qi = NULL;
45041 IOHIDCallbackFunction cb = NULL;
45042 qi->setEventCallout(NULL, cb, NULL, NULL);
45043 ;
45044 return 0;
45045 }
45046 _ACEOF
45047 rm -f conftest.$ac_objext
45048 if { (ac_try="$ac_compile"
45049 case "(($ac_try" in
45050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45051 *) ac_try_echo=$ac_try;;
45052 esac
45053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45054 (eval "$ac_compile") 2>conftest.er1
45055 ac_status=$?
45056 grep -v '^ *+' conftest.er1 >conftest.err
45057 rm -f conftest.er1
45058 cat conftest.err >&5
45059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45060 (exit $ac_status); } && {
45061 test -z "$ac_cxx_werror_flag" ||
45062 test ! -s conftest.err
45063 } && test -s conftest.$ac_objext; then
45064 wxUSE_JOYSTICK=yes
45065
45066 else
45067 echo "$as_me: failed program was:" >&5
45068 sed 's/^/| /' conftest.$ac_ext >&5
45069
45070
45071 fi
45072
45073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45074 ac_ext=c
45075 ac_cpp='$CPP $CPPFLAGS'
45076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45079
45080 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45081 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45082 fi
45083
45084 else
45085 if test "$wxUSE_MGL" != 1; then
45086
45087 for ac_header in linux/joystick.h
45088 do
45089 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45090 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45091 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45092 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45093 echo $ECHO_N "(cached) $ECHO_C" >&6
45094 else
45095 cat >conftest.$ac_ext <<_ACEOF
45096 /* confdefs.h. */
45097 _ACEOF
45098 cat confdefs.h >>conftest.$ac_ext
45099 cat >>conftest.$ac_ext <<_ACEOF
45100 /* end confdefs.h. */
45101 $ac_includes_default
45102
45103 #include <$ac_header>
45104 _ACEOF
45105 rm -f conftest.$ac_objext
45106 if { (ac_try="$ac_compile"
45107 case "(($ac_try" in
45108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45109 *) ac_try_echo=$ac_try;;
45110 esac
45111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45112 (eval "$ac_compile") 2>conftest.er1
45113 ac_status=$?
45114 grep -v '^ *+' conftest.er1 >conftest.err
45115 rm -f conftest.er1
45116 cat conftest.err >&5
45117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45118 (exit $ac_status); } && {
45119 test -z "$ac_c_werror_flag" ||
45120 test ! -s conftest.err
45121 } && test -s conftest.$ac_objext; then
45122 eval "$as_ac_Header=yes"
45123 else
45124 echo "$as_me: failed program was:" >&5
45125 sed 's/^/| /' conftest.$ac_ext >&5
45126
45127 eval "$as_ac_Header=no"
45128 fi
45129
45130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45131 fi
45132 ac_res=`eval echo '${'$as_ac_Header'}'`
45133 { echo "$as_me:$LINENO: result: $ac_res" >&5
45134 echo "${ECHO_T}$ac_res" >&6; }
45135 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45136 cat >>confdefs.h <<_ACEOF
45137 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45138 _ACEOF
45139 wxUSE_JOYSTICK=yes
45140 fi
45141
45142 done
45143
45144 fi
45145 fi
45146
45147 if test "$wxUSE_JOYSTICK" = "yes"; then
45148 cat >>confdefs.h <<\_ACEOF
45149 #define wxUSE_JOYSTICK 1
45150 _ACEOF
45151
45152 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45153 else
45154 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45155 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45156 fi
45157 fi
45158
45159
45160
45161 if test "$wxUSE_FONTENUM" = "yes" ; then
45162 cat >>confdefs.h <<\_ACEOF
45163 #define wxUSE_FONTENUM 1
45164 _ACEOF
45165
45166 fi
45167
45168 if test "$wxUSE_FONTMAP" = "yes" ; then
45169 cat >>confdefs.h <<\_ACEOF
45170 #define wxUSE_FONTMAP 1
45171 _ACEOF
45172
45173 fi
45174
45175 if test "$wxUSE_UNICODE" = "yes" ; then
45176 cat >>confdefs.h <<\_ACEOF
45177 #define wxUSE_UNICODE 1
45178 _ACEOF
45179
45180
45181 if test "$USE_WIN32" != 1; then
45182 wxUSE_UNICODE_MSLU=no
45183 fi
45184
45185 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45186 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45187 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45188 if test "${ac_cv_lib_unicows_main+set}" = set; then
45189 echo $ECHO_N "(cached) $ECHO_C" >&6
45190 else
45191 ac_check_lib_save_LIBS=$LIBS
45192 LIBS="-lunicows $LIBS"
45193 cat >conftest.$ac_ext <<_ACEOF
45194 /* confdefs.h. */
45195 _ACEOF
45196 cat confdefs.h >>conftest.$ac_ext
45197 cat >>conftest.$ac_ext <<_ACEOF
45198 /* end confdefs.h. */
45199
45200
45201 int
45202 main ()
45203 {
45204 return main ();
45205 ;
45206 return 0;
45207 }
45208 _ACEOF
45209 rm -f conftest.$ac_objext conftest$ac_exeext
45210 if { (ac_try="$ac_link"
45211 case "(($ac_try" in
45212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45213 *) ac_try_echo=$ac_try;;
45214 esac
45215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45216 (eval "$ac_link") 2>conftest.er1
45217 ac_status=$?
45218 grep -v '^ *+' conftest.er1 >conftest.err
45219 rm -f conftest.er1
45220 cat conftest.err >&5
45221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45222 (exit $ac_status); } && {
45223 test -z "$ac_c_werror_flag" ||
45224 test ! -s conftest.err
45225 } && test -s conftest$ac_exeext &&
45226 $as_test_x conftest$ac_exeext; then
45227 ac_cv_lib_unicows_main=yes
45228 else
45229 echo "$as_me: failed program was:" >&5
45230 sed 's/^/| /' conftest.$ac_ext >&5
45231
45232 ac_cv_lib_unicows_main=no
45233 fi
45234
45235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45236 conftest$ac_exeext conftest.$ac_ext
45237 LIBS=$ac_check_lib_save_LIBS
45238 fi
45239 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45240 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45241 if test $ac_cv_lib_unicows_main = yes; then
45242
45243 cat >>confdefs.h <<\_ACEOF
45244 #define wxUSE_UNICODE_MSLU 1
45245 _ACEOF
45246
45247
45248 else
45249
45250 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45251 Applications will only run on Windows NT/2000/XP!" >&5
45252 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45253 Applications will only run on Windows NT/2000/XP!" >&2;}
45254 wxUSE_UNICODE_MSLU=no
45255
45256 fi
45257
45258 fi
45259 fi
45260
45261 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45262 cat >>confdefs.h <<\_ACEOF
45263 #define wxUSE_UNICODE_UTF8 1
45264 _ACEOF
45265
45266
45267 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45268 cat >>confdefs.h <<\_ACEOF
45269 #define wxUSE_UTF8_LOCALE_ONLY 1
45270 _ACEOF
45271
45272 fi
45273 fi
45274
45275
45276 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45277 cat >>confdefs.h <<\_ACEOF
45278 #define wxUSE_CONSTRAINTS 1
45279 _ACEOF
45280
45281 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45282 fi
45283
45284 if test "$wxUSE_MDI" = "yes"; then
45285 cat >>confdefs.h <<\_ACEOF
45286 #define wxUSE_MDI 1
45287 _ACEOF
45288
45289
45290 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45291 cat >>confdefs.h <<\_ACEOF
45292 #define wxUSE_MDI_ARCHITECTURE 1
45293 _ACEOF
45294
45295 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45296 fi
45297 fi
45298
45299 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45300 cat >>confdefs.h <<\_ACEOF
45301 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45302 _ACEOF
45303
45304 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45305 fi
45306
45307 if test "$wxUSE_HELP" = "yes"; then
45308 cat >>confdefs.h <<\_ACEOF
45309 #define wxUSE_HELP 1
45310 _ACEOF
45311
45312 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45313
45314 if test "$wxUSE_MSW" = 1; then
45315 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45316 cat >>confdefs.h <<\_ACEOF
45317 #define wxUSE_MS_HTML_HELP 1
45318 _ACEOF
45319
45320 fi
45321 fi
45322
45323 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45324 if test "$wxUSE_HTML" = "yes"; then
45325 cat >>confdefs.h <<\_ACEOF
45326 #define wxUSE_WXHTML_HELP 1
45327 _ACEOF
45328
45329 else
45330 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45331 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45332 wxUSE_WXHTML_HELP=no
45333 fi
45334 fi
45335 fi
45336
45337 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45338 cat >>confdefs.h <<\_ACEOF
45339 #define wxUSE_PRINTING_ARCHITECTURE 1
45340 _ACEOF
45341
45342 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45343 fi
45344
45345 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45346 cat >>confdefs.h <<\_ACEOF
45347 #define wxUSE_POSTSCRIPT 1
45348 _ACEOF
45349
45350 fi
45351
45352 cat >>confdefs.h <<\_ACEOF
45353 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45354 _ACEOF
45355
45356
45357 if test "$wxUSE_SVG" = "yes"; then
45358 cat >>confdefs.h <<\_ACEOF
45359 #define wxUSE_SVG 1
45360 _ACEOF
45361
45362 fi
45363
45364
45365 if test "$wxUSE_METAFILE" = "yes"; then
45366 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45367 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45368 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45369 wxUSE_METAFILE=no
45370 fi
45371 fi
45372
45373
45374 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45375 -o "$wxUSE_CLIPBOARD" = "yes" \
45376 -o "$wxUSE_OLE" = "yes" \
45377 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45378 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45379 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45380 if test "${ac_cv_header_ole2_h+set}" = set; then
45381 echo $ECHO_N "(cached) $ECHO_C" >&6
45382 else
45383 cat >conftest.$ac_ext <<_ACEOF
45384 /* confdefs.h. */
45385 _ACEOF
45386 cat confdefs.h >>conftest.$ac_ext
45387 cat >>conftest.$ac_ext <<_ACEOF
45388 /* end confdefs.h. */
45389
45390
45391 #include <ole2.h>
45392 _ACEOF
45393 rm -f conftest.$ac_objext
45394 if { (ac_try="$ac_compile"
45395 case "(($ac_try" in
45396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45397 *) ac_try_echo=$ac_try;;
45398 esac
45399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45400 (eval "$ac_compile") 2>conftest.er1
45401 ac_status=$?
45402 grep -v '^ *+' conftest.er1 >conftest.err
45403 rm -f conftest.er1
45404 cat conftest.err >&5
45405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45406 (exit $ac_status); } && {
45407 test -z "$ac_c_werror_flag" ||
45408 test ! -s conftest.err
45409 } && test -s conftest.$ac_objext; then
45410 ac_cv_header_ole2_h=yes
45411 else
45412 echo "$as_me: failed program was:" >&5
45413 sed 's/^/| /' conftest.$ac_ext >&5
45414
45415 ac_cv_header_ole2_h=no
45416 fi
45417
45418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45419 fi
45420 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45421 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45422
45423
45424
45425 if test "$ac_cv_header_ole2_h" = "yes" ; then
45426 if test "$GCC" = yes ; then
45427 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45428 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45429 cat >conftest.$ac_ext <<_ACEOF
45430 /* confdefs.h. */
45431 _ACEOF
45432 cat confdefs.h >>conftest.$ac_ext
45433 cat >>conftest.$ac_ext <<_ACEOF
45434 /* end confdefs.h. */
45435 #include <windows.h>
45436 #include <ole2.h>
45437 int
45438 main ()
45439 {
45440
45441 ;
45442 return 0;
45443 }
45444 _ACEOF
45445 rm -f conftest.$ac_objext
45446 if { (ac_try="$ac_compile"
45447 case "(($ac_try" in
45448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45449 *) ac_try_echo=$ac_try;;
45450 esac
45451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45452 (eval "$ac_compile") 2>conftest.er1
45453 ac_status=$?
45454 grep -v '^ *+' conftest.er1 >conftest.err
45455 rm -f conftest.er1
45456 cat conftest.err >&5
45457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45458 (exit $ac_status); } && {
45459 test -z "$ac_c_werror_flag" ||
45460 test ! -s conftest.err
45461 } && test -s conftest.$ac_objext; then
45462 { echo "$as_me:$LINENO: result: no" >&5
45463 echo "${ECHO_T}no" >&6; }
45464 else
45465 echo "$as_me: failed program was:" >&5
45466 sed 's/^/| /' conftest.$ac_ext >&5
45467
45468 { echo "$as_me:$LINENO: result: yes" >&5
45469 echo "${ECHO_T}yes" >&6; }
45470 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45471 fi
45472
45473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45474 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45475 if test "$wxUSE_OLE" = "yes" ; then
45476 cat >>confdefs.h <<\_ACEOF
45477 #define wxUSE_OLE 1
45478 _ACEOF
45479
45480 cat >>confdefs.h <<\_ACEOF
45481 #define wxUSE_OLE_AUTOMATION 1
45482 _ACEOF
45483
45484 cat >>confdefs.h <<\_ACEOF
45485 #define wxUSE_ACTIVEX 1
45486 _ACEOF
45487
45488 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45489 fi
45490 fi
45491
45492 if test "$wxUSE_DATAOBJ" = "yes" ; then
45493 cat >>confdefs.h <<\_ACEOF
45494 #define wxUSE_DATAOBJ 1
45495 _ACEOF
45496
45497 fi
45498 else
45499 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45500 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45501
45502 wxUSE_CLIPBOARD=no
45503 wxUSE_DRAG_AND_DROP=no
45504 wxUSE_DATAOBJ=no
45505 wxUSE_OLE=no
45506 fi
45507
45508 if test "$wxUSE_METAFILE" = "yes"; then
45509 cat >>confdefs.h <<\_ACEOF
45510 #define wxUSE_METAFILE 1
45511 _ACEOF
45512
45513
45514 cat >>confdefs.h <<\_ACEOF
45515 #define wxUSE_ENH_METAFILE 1
45516 _ACEOF
45517
45518 fi
45519 fi
45520
45521 if test "$wxUSE_IPC" = "yes"; then
45522 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45523 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45524 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45525 wxUSE_IPC=no
45526 fi
45527
45528 if test "$wxUSE_IPC" = "yes"; then
45529 cat >>confdefs.h <<\_ACEOF
45530 #define wxUSE_IPC 1
45531 _ACEOF
45532
45533 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45534 fi
45535 fi
45536
45537 if test "$wxUSE_DATAOBJ" = "yes"; then
45538 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45539 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45540 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45541 wxUSE_DATAOBJ=no
45542 else
45543 cat >>confdefs.h <<\_ACEOF
45544 #define wxUSE_DATAOBJ 1
45545 _ACEOF
45546
45547 fi
45548 else
45549 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45550 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45551 wxUSE_CLIPBOARD=no
45552 wxUSE_DRAG_AND_DROP=no
45553 fi
45554
45555 if test "$wxUSE_CLIPBOARD" = "yes"; then
45556 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45557 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45558 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45559 wxUSE_CLIPBOARD=no
45560 fi
45561
45562 if test "$wxUSE_CLIPBOARD" = "yes"; then
45563 cat >>confdefs.h <<\_ACEOF
45564 #define wxUSE_CLIPBOARD 1
45565 _ACEOF
45566
45567 fi
45568 fi
45569
45570 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45571 if test "$wxUSE_GTK" = 1; then
45572 if test "$WXGTK12" != 1; then
45573 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45574 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45575 wxUSE_DRAG_AND_DROP=no
45576 fi
45577 fi
45578
45579 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45580 "$wxUSE_DFB" = 1; then
45581 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45582 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45583 wxUSE_DRAG_AND_DROP=no
45584 fi
45585
45586 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45587 cat >>confdefs.h <<\_ACEOF
45588 #define wxUSE_DRAG_AND_DROP 1
45589 _ACEOF
45590
45591 fi
45592
45593 fi
45594
45595 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45596 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45597 fi
45598
45599 if test "$wxUSE_CLIPBOARD" = "yes"; then
45600 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
45601 fi
45602
45603 if test "$wxUSE_SPLINES" = "yes" ; then
45604 cat >>confdefs.h <<\_ACEOF
45605 #define wxUSE_SPLINES 1
45606 _ACEOF
45607
45608 fi
45609
45610 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45611 cat >>confdefs.h <<\_ACEOF
45612 #define wxUSE_MOUSEWHEEL 1
45613 _ACEOF
45614
45615 fi
45616
45617
45618 USES_CONTROLS=0
45619 if test "$wxUSE_CONTROLS" = "yes"; then
45620 USES_CONTROLS=1
45621 fi
45622
45623 if test "$wxUSE_ACCEL" = "yes"; then
45624 cat >>confdefs.h <<\_ACEOF
45625 #define wxUSE_ACCEL 1
45626 _ACEOF
45627
45628 USES_CONTROLS=1
45629 fi
45630
45631 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45632 cat >>confdefs.h <<\_ACEOF
45633 #define wxUSE_ANIMATIONCTRL 1
45634 _ACEOF
45635
45636 USES_CONTROLS=1
45637 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45638 fi
45639
45640 if test "$wxUSE_BUTTON" = "yes"; then
45641 cat >>confdefs.h <<\_ACEOF
45642 #define wxUSE_BUTTON 1
45643 _ACEOF
45644
45645 USES_CONTROLS=1
45646 fi
45647
45648 if test "$wxUSE_BMPBUTTON" = "yes"; then
45649 cat >>confdefs.h <<\_ACEOF
45650 #define wxUSE_BMPBUTTON 1
45651 _ACEOF
45652
45653 USES_CONTROLS=1
45654 fi
45655
45656 if test "$wxUSE_CALCTRL" = "yes"; then
45657 cat >>confdefs.h <<\_ACEOF
45658 #define wxUSE_CALENDARCTRL 1
45659 _ACEOF
45660
45661 USES_CONTROLS=1
45662 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45663 fi
45664
45665 if test "$wxUSE_CARET" = "yes"; then
45666 cat >>confdefs.h <<\_ACEOF
45667 #define wxUSE_CARET 1
45668 _ACEOF
45669
45670 USES_CONTROLS=1
45671 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45672 fi
45673
45674 if test "$wxUSE_COLLPANE" = "yes"; then
45675 cat >>confdefs.h <<\_ACEOF
45676 #define wxUSE_COLLPANE 1
45677 _ACEOF
45678
45679 USES_CONTROLS=1
45680 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
45681 fi
45682
45683 if test "$wxUSE_COMBOBOX" = "yes"; then
45684 cat >>confdefs.h <<\_ACEOF
45685 #define wxUSE_COMBOBOX 1
45686 _ACEOF
45687
45688 USES_CONTROLS=1
45689 fi
45690
45691 if test "$wxUSE_COMBOCTRL" = "yes"; then
45692 cat >>confdefs.h <<\_ACEOF
45693 #define wxUSE_COMBOCTRL 1
45694 _ACEOF
45695
45696 USES_CONTROLS=1
45697 fi
45698
45699 if test "$wxUSE_CHOICE" = "yes"; then
45700 cat >>confdefs.h <<\_ACEOF
45701 #define wxUSE_CHOICE 1
45702 _ACEOF
45703
45704 USES_CONTROLS=1
45705 fi
45706
45707 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45708 cat >>confdefs.h <<\_ACEOF
45709 #define wxUSE_CHOICEBOOK 1
45710 _ACEOF
45711
45712 USES_CONTROLS=1
45713 fi
45714
45715 if test "$wxUSE_CHECKBOX" = "yes"; then
45716 cat >>confdefs.h <<\_ACEOF
45717 #define wxUSE_CHECKBOX 1
45718 _ACEOF
45719
45720 USES_CONTROLS=1
45721 fi
45722
45723 if test "$wxUSE_CHECKLST" = "yes"; then
45724 cat >>confdefs.h <<\_ACEOF
45725 #define wxUSE_CHECKLISTBOX 1
45726 _ACEOF
45727
45728 USES_CONTROLS=1
45729 fi
45730
45731 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45732 cat >>confdefs.h <<\_ACEOF
45733 #define wxUSE_COLOURPICKERCTRL 1
45734 _ACEOF
45735
45736 USES_CONTROLS=1
45737 fi
45738
45739 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45740 cat >>confdefs.h <<\_ACEOF
45741 #define wxUSE_DATEPICKCTRL 1
45742 _ACEOF
45743
45744 USES_CONTROLS=1
45745 fi
45746
45747 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45748 cat >>confdefs.h <<\_ACEOF
45749 #define wxUSE_DIRPICKERCTRL 1
45750 _ACEOF
45751
45752 USES_CONTROLS=1
45753 fi
45754
45755 if test "$wxUSE_FILECTRL" = "yes"; then
45756 cat >>confdefs.h <<\_ACEOF
45757 #define wxUSE_FILECTRL 1
45758 _ACEOF
45759
45760 USES_CONTROLS=1
45761 fi
45762
45763 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45764 cat >>confdefs.h <<\_ACEOF
45765 #define wxUSE_FILEPICKERCTRL 1
45766 _ACEOF
45767
45768 USES_CONTROLS=1
45769 fi
45770
45771 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45772 cat >>confdefs.h <<\_ACEOF
45773 #define wxUSE_FONTPICKERCTRL 1
45774 _ACEOF
45775
45776 USES_CONTROLS=1
45777 fi
45778
45779 if test "$wxUSE_DISPLAY" = "yes"; then
45780 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45781 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45782 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45783 wxUSE_DISPLAY=no
45784 else
45785 cat >>confdefs.h <<\_ACEOF
45786 #define wxUSE_DISPLAY 1
45787 _ACEOF
45788
45789 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45790 fi
45791 fi
45792
45793 if test "$wxUSE_DETECT_SM" = "yes"; then
45794 cat >>confdefs.h <<\_ACEOF
45795 #define wxUSE_DETECT_SM 1
45796 _ACEOF
45797
45798 fi
45799
45800 if test "$wxUSE_GAUGE" = "yes"; then
45801 cat >>confdefs.h <<\_ACEOF
45802 #define wxUSE_GAUGE 1
45803 _ACEOF
45804
45805 USES_CONTROLS=1
45806 fi
45807
45808 if test "$wxUSE_GRID" = "yes"; then
45809 cat >>confdefs.h <<\_ACEOF
45810 #define wxUSE_GRID 1
45811 _ACEOF
45812
45813 USES_CONTROLS=1
45814 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45815 fi
45816
45817 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45818 cat >>confdefs.h <<\_ACEOF
45819 #define wxUSE_HYPERLINKCTRL 1
45820 _ACEOF
45821
45822 USES_CONTROLS=1
45823 fi
45824
45825 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45826 cat >>confdefs.h <<\_ACEOF
45827 #define wxUSE_BITMAPCOMBOBOX 1
45828 _ACEOF
45829
45830 USES_CONTROLS=1
45831 fi
45832
45833 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45834 cat >>confdefs.h <<\_ACEOF
45835 #define wxUSE_DATAVIEWCTRL 1
45836 _ACEOF
45837
45838 USES_CONTROLS=1
45839 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45840 fi
45841
45842 if test "$wxUSE_IMAGLIST" = "yes"; then
45843 cat >>confdefs.h <<\_ACEOF
45844 #define wxUSE_IMAGLIST 1
45845 _ACEOF
45846
45847 fi
45848
45849 if test "$wxUSE_LISTBOOK" = "yes"; then
45850 cat >>confdefs.h <<\_ACEOF
45851 #define wxUSE_LISTBOOK 1
45852 _ACEOF
45853
45854 USES_CONTROLS=1
45855 fi
45856
45857 if test "$wxUSE_LISTBOX" = "yes"; then
45858 cat >>confdefs.h <<\_ACEOF
45859 #define wxUSE_LISTBOX 1
45860 _ACEOF
45861
45862 USES_CONTROLS=1
45863 fi
45864
45865 if test "$wxUSE_LISTCTRL" = "yes"; then
45866 if test "$wxUSE_IMAGLIST" = "yes"; then
45867 cat >>confdefs.h <<\_ACEOF
45868 #define wxUSE_LISTCTRL 1
45869 _ACEOF
45870
45871 USES_CONTROLS=1
45872 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45873 else
45874 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45875 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45876 fi
45877 fi
45878
45879 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45880 cat >>confdefs.h <<\_ACEOF
45881 #define wxUSE_EDITABLELISTBOX 1
45882 _ACEOF
45883
45884 USES_CONTROLS=1
45885 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
45886 fi
45887
45888 if test "$wxUSE_NOTEBOOK" = "yes"; then
45889 cat >>confdefs.h <<\_ACEOF
45890 #define wxUSE_NOTEBOOK 1
45891 _ACEOF
45892
45893 USES_CONTROLS=1
45894 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45895 fi
45896
45897 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45898 cat >>confdefs.h <<\_ACEOF
45899 #define wxUSE_NOTIFICATION_MESSAGE 1
45900 _ACEOF
45901
45902 fi
45903
45904 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45905 cat >>confdefs.h <<\_ACEOF
45906 #define wxUSE_ODCOMBOBOX 1
45907 _ACEOF
45908
45909 USES_CONTROLS=1
45910 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45911 fi
45912
45913 if test "$wxUSE_RADIOBOX" = "yes"; then
45914 cat >>confdefs.h <<\_ACEOF
45915 #define wxUSE_RADIOBOX 1
45916 _ACEOF
45917
45918 USES_CONTROLS=1
45919 fi
45920
45921 if test "$wxUSE_RADIOBTN" = "yes"; then
45922 cat >>confdefs.h <<\_ACEOF
45923 #define wxUSE_RADIOBTN 1
45924 _ACEOF
45925
45926 USES_CONTROLS=1
45927 fi
45928
45929 if test "$wxUSE_REARRANGECTRL" = "yes"; then
45930 cat >>confdefs.h <<\_ACEOF
45931 #define wxUSE_REARRANGECTRL 1
45932 _ACEOF
45933
45934 fi
45935
45936 if test "$wxUSE_SASH" = "yes"; then
45937 cat >>confdefs.h <<\_ACEOF
45938 #define wxUSE_SASH 1
45939 _ACEOF
45940
45941 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45942 fi
45943
45944 if test "$wxUSE_SCROLLBAR" = "yes"; then
45945 cat >>confdefs.h <<\_ACEOF
45946 #define wxUSE_SCROLLBAR 1
45947 _ACEOF
45948
45949 USES_CONTROLS=1
45950 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
45951 fi
45952
45953 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45954 cat >>confdefs.h <<\_ACEOF
45955 #define wxUSE_SEARCHCTRL 1
45956 _ACEOF
45957
45958 USES_CONTROLS=1
45959 fi
45960
45961 if test "$wxUSE_SLIDER" = "yes"; then
45962 cat >>confdefs.h <<\_ACEOF
45963 #define wxUSE_SLIDER 1
45964 _ACEOF
45965
45966 USES_CONTROLS=1
45967 fi
45968
45969 if test "$wxUSE_SPINBTN" = "yes"; then
45970 cat >>confdefs.h <<\_ACEOF
45971 #define wxUSE_SPINBTN 1
45972 _ACEOF
45973
45974 USES_CONTROLS=1
45975 fi
45976
45977 if test "$wxUSE_SPINCTRL" = "yes"; then
45978 cat >>confdefs.h <<\_ACEOF
45979 #define wxUSE_SPINCTRL 1
45980 _ACEOF
45981
45982 USES_CONTROLS=1
45983 fi
45984
45985 if test "$wxUSE_SPLITTER" = "yes"; then
45986 cat >>confdefs.h <<\_ACEOF
45987 #define wxUSE_SPLITTER 1
45988 _ACEOF
45989
45990 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45991 fi
45992
45993 if test "$wxUSE_STATBMP" = "yes"; then
45994 cat >>confdefs.h <<\_ACEOF
45995 #define wxUSE_STATBMP 1
45996 _ACEOF
45997
45998 USES_CONTROLS=1
45999 fi
46000
46001 if test "$wxUSE_STATBOX" = "yes"; then
46002 cat >>confdefs.h <<\_ACEOF
46003 #define wxUSE_STATBOX 1
46004 _ACEOF
46005
46006 USES_CONTROLS=1
46007 fi
46008
46009 if test "$wxUSE_STATTEXT" = "yes"; then
46010 cat >>confdefs.h <<\_ACEOF
46011 #define wxUSE_STATTEXT 1
46012 _ACEOF
46013
46014 USES_CONTROLS=1
46015 fi
46016
46017 if test "$wxUSE_STATLINE" = "yes"; then
46018 cat >>confdefs.h <<\_ACEOF
46019 #define wxUSE_STATLINE 1
46020 _ACEOF
46021
46022 USES_CONTROLS=1
46023 fi
46024
46025 if test "$wxUSE_STATUSBAR" = "yes"; then
46026 cat >>confdefs.h <<\_ACEOF
46027 #define wxUSE_NATIVE_STATUSBAR 1
46028 _ACEOF
46029
46030 cat >>confdefs.h <<\_ACEOF
46031 #define wxUSE_STATUSBAR 1
46032 _ACEOF
46033
46034 USES_CONTROLS=1
46035
46036 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
46037 fi
46038
46039 if test "$wxUSE_TEXTCTRL" = "yes"; then
46040 cat >>confdefs.h <<\_ACEOF
46041 #define wxUSE_TEXTCTRL 1
46042 _ACEOF
46043
46044 USES_CONTROLS=1
46045 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
46046
46047 cat >>confdefs.h <<\_ACEOF
46048 #define wxUSE_RICHEDIT 1
46049 _ACEOF
46050
46051 cat >>confdefs.h <<\_ACEOF
46052 #define wxUSE_RICHEDIT2 1
46053 _ACEOF
46054
46055 fi
46056
46057 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46058 if test "$wxUSE_COCOA" = 1 ; then
46059 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46060 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46061 wxUSE_TOGGLEBTN=no
46062 fi
46063
46064 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46065 cat >>confdefs.h <<\_ACEOF
46066 #define wxUSE_TOGGLEBTN 1
46067 _ACEOF
46068
46069 USES_CONTROLS=1
46070 fi
46071 fi
46072
46073 if test "$wxUSE_TOOLBAR" = "yes"; then
46074 cat >>confdefs.h <<\_ACEOF
46075 #define wxUSE_TOOLBAR 1
46076 _ACEOF
46077
46078 USES_CONTROLS=1
46079
46080 if test "$wxUSE_UNIVERSAL" = "yes"; then
46081 wxUSE_TOOLBAR_NATIVE="no"
46082 else
46083 wxUSE_TOOLBAR_NATIVE="yes"
46084 cat >>confdefs.h <<\_ACEOF
46085 #define wxUSE_TOOLBAR_NATIVE 1
46086 _ACEOF
46087
46088 fi
46089
46090 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46091 fi
46092
46093 if test "$wxUSE_TOOLTIPS" = "yes"; then
46094 if test "$wxUSE_MOTIF" = 1; then
46095 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46096 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46097 else
46098 if test "$wxUSE_UNIVERSAL" = "yes"; then
46099 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46100 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46101 else
46102 cat >>confdefs.h <<\_ACEOF
46103 #define wxUSE_TOOLTIPS 1
46104 _ACEOF
46105
46106 fi
46107 fi
46108 fi
46109
46110 if test "$wxUSE_TREEBOOK" = "yes"; then
46111 cat >>confdefs.h <<\_ACEOF
46112 #define wxUSE_TREEBOOK 1
46113 _ACEOF
46114
46115 USES_CONTROLS=1
46116 fi
46117
46118 if test "$wxUSE_TOOLBOOK" = "yes"; then
46119 cat >>confdefs.h <<\_ACEOF
46120 #define wxUSE_TOOLBOOK 1
46121 _ACEOF
46122
46123 USES_CONTROLS=1
46124 fi
46125
46126 if test "$wxUSE_TREECTRL" = "yes"; then
46127 if test "$wxUSE_IMAGLIST" = "yes"; then
46128 cat >>confdefs.h <<\_ACEOF
46129 #define wxUSE_TREECTRL 1
46130 _ACEOF
46131
46132 USES_CONTROLS=1
46133 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46134 else
46135 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46136 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46137 fi
46138 fi
46139
46140 if test "$wxUSE_POPUPWIN" = "yes"; then
46141 if test "$wxUSE_COCOA" = 1 ; then
46142 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46143 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46144 else
46145 if test "$wxUSE_PM" = 1; then
46146 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46147 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46148 else
46149 cat >>confdefs.h <<\_ACEOF
46150 #define wxUSE_POPUPWIN 1
46151 _ACEOF
46152
46153 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46154
46155 USES_CONTROLS=1
46156 fi
46157 fi
46158 fi
46159
46160 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46161 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46162 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46163 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46164 else
46165 cat >>confdefs.h <<\_ACEOF
46166 #define wxUSE_DIALUP_MANAGER 1
46167 _ACEOF
46168
46169 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46170 fi
46171 fi
46172
46173 if test "$wxUSE_TIPWINDOW" = "yes"; then
46174 if test "$wxUSE_PM" = 1; then
46175 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46176 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46177 else
46178 cat >>confdefs.h <<\_ACEOF
46179 #define wxUSE_TIPWINDOW 1
46180 _ACEOF
46181
46182 fi
46183 fi
46184
46185 if test "$USES_CONTROLS" = 1; then
46186 cat >>confdefs.h <<\_ACEOF
46187 #define wxUSE_CONTROLS 1
46188 _ACEOF
46189
46190 fi
46191
46192
46193 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46194 cat >>confdefs.h <<\_ACEOF
46195 #define wxUSE_ACCESSIBILITY 1
46196 _ACEOF
46197
46198 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46199 fi
46200
46201 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46202 cat >>confdefs.h <<\_ACEOF
46203 #define wxUSE_DRAGIMAGE 1
46204 _ACEOF
46205
46206 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46207 fi
46208
46209 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46210 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46211 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46212 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46213 else
46214 cat >>confdefs.h <<\_ACEOF
46215 #define wxUSE_EXCEPTIONS 1
46216 _ACEOF
46217
46218 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46219 fi
46220 fi
46221
46222 USE_HTML=0
46223 if test "$wxUSE_HTML" = "yes"; then
46224 cat >>confdefs.h <<\_ACEOF
46225 #define wxUSE_HTML 1
46226 _ACEOF
46227
46228 USE_HTML=1
46229 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46230 fi
46231 if test "$wxUSE_WEBKIT" = "yes"; then
46232 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46233 old_CPPFLAGS="$CPPFLAGS"
46234 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46235 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46236 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46237 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46238 echo $ECHO_N "(cached) $ECHO_C" >&6
46239 else
46240 cat >conftest.$ac_ext <<_ACEOF
46241 /* confdefs.h. */
46242 _ACEOF
46243 cat confdefs.h >>conftest.$ac_ext
46244 cat >>conftest.$ac_ext <<_ACEOF
46245 /* end confdefs.h. */
46246
46247 #include <Carbon/Carbon.h>
46248 #include <WebKit/WebKit.h>
46249
46250
46251 #include <WebKit/HIWebView.h>
46252 _ACEOF
46253 rm -f conftest.$ac_objext
46254 if { (ac_try="$ac_compile"
46255 case "(($ac_try" in
46256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46257 *) ac_try_echo=$ac_try;;
46258 esac
46259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46260 (eval "$ac_compile") 2>conftest.er1
46261 ac_status=$?
46262 grep -v '^ *+' conftest.er1 >conftest.err
46263 rm -f conftest.er1
46264 cat conftest.err >&5
46265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46266 (exit $ac_status); } && {
46267 test -z "$ac_c_werror_flag" ||
46268 test ! -s conftest.err
46269 } && test -s conftest.$ac_objext; then
46270 ac_cv_header_WebKit_HIWebView_h=yes
46271 else
46272 echo "$as_me: failed program was:" >&5
46273 sed 's/^/| /' conftest.$ac_ext >&5
46274
46275 ac_cv_header_WebKit_HIWebView_h=no
46276 fi
46277
46278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46279 fi
46280 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46281 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46282 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46283
46284 cat >>confdefs.h <<\_ACEOF
46285 #define wxUSE_WEBKIT 1
46286 _ACEOF
46287
46288 WEBKIT_LINK="-framework WebKit"
46289
46290 else
46291
46292 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46293 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46294 wxUSE_WEBKIT=no
46295
46296 fi
46297
46298
46299 CPPFLAGS="$old_CPPFLAGS"
46300 elif test "$wxUSE_COCOA" = 1; then
46301 cat >>confdefs.h <<\_ACEOF
46302 #define wxUSE_WEBKIT 1
46303 _ACEOF
46304
46305 else
46306 wxUSE_WEBKIT=no
46307 fi
46308 if test "$wxUSE_WEBKIT" = "yes"; then
46309 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46310 fi
46311 fi
46312
46313 USE_XRC=0
46314 if test "$wxUSE_XRC" = "yes"; then
46315 if test "$wxUSE_XML" != "yes"; then
46316 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46317 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46318 wxUSE_XRC=no
46319 else
46320 cat >>confdefs.h <<\_ACEOF
46321 #define wxUSE_XRC 1
46322 _ACEOF
46323
46324 USE_XRC=1
46325 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46326 fi
46327 fi
46328
46329 USE_AUI=0
46330 if test "$wxUSE_AUI" = "yes"; then
46331 cat >>confdefs.h <<\_ACEOF
46332 #define wxUSE_AUI 1
46333 _ACEOF
46334
46335 USE_AUI=1
46336 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46337 fi
46338
46339 USE_PROPGRID=0
46340 if test "$wxUSE_PROPGRID" = "yes"; then
46341 cat >>confdefs.h <<\_ACEOF
46342 #define wxUSE_PROPGRID 1
46343 _ACEOF
46344
46345 USE_PROPGRID=1
46346 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46347 fi
46348
46349 USE_STC=0
46350 if test "$wxUSE_STC" = "yes"; then
46351 cat >>confdefs.h <<\_ACEOF
46352 #define wxUSE_STC 1
46353 _ACEOF
46354
46355 USE_STC=1
46356 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46357 fi
46358
46359 if test "$wxUSE_MENUS" = "yes"; then
46360 cat >>confdefs.h <<\_ACEOF
46361 #define wxUSE_MENUS 1
46362 _ACEOF
46363
46364 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46365 fi
46366
46367 if test "$wxUSE_METAFILE" = "yes"; then
46368 cat >>confdefs.h <<\_ACEOF
46369 #define wxUSE_METAFILE 1
46370 _ACEOF
46371
46372 fi
46373
46374 if test "$wxUSE_MIMETYPE" = "yes"; then
46375 cat >>confdefs.h <<\_ACEOF
46376 #define wxUSE_MIMETYPE 1
46377 _ACEOF
46378
46379 fi
46380
46381 if test "$wxUSE_MINIFRAME" = "yes"; then
46382 cat >>confdefs.h <<\_ACEOF
46383 #define wxUSE_MINIFRAME 1
46384 _ACEOF
46385
46386 fi
46387
46388 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46389 cat >>confdefs.h <<\_ACEOF
46390 #define wxUSE_SYSTEM_OPTIONS 1
46391 _ACEOF
46392
46393 fi
46394
46395 if test "$wxUSE_TASKBARICON" = "yes"; then
46396 cat >>confdefs.h <<\_ACEOF
46397 #define wxUSE_TASKBARICON 1
46398 _ACEOF
46399
46400 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46401 fi
46402
46403
46404 if test "$wxUSE_VALIDATORS" = "yes"; then
46405 cat >>confdefs.h <<\_ACEOF
46406 #define wxUSE_VALIDATORS 1
46407 _ACEOF
46408
46409 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46410 fi
46411
46412 if test "$wxUSE_PALETTE" = "yes" ; then
46413 if test "$wxUSE_DFB" = 1; then
46414 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46415 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46416 wxUSE_PALETTE=no
46417 else
46418 cat >>confdefs.h <<\_ACEOF
46419 #define wxUSE_PALETTE 1
46420 _ACEOF
46421
46422 fi
46423 fi
46424
46425 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46426 LIBS=" -lunicows $LIBS"
46427 fi
46428
46429 USE_RICHTEXT=0
46430 if test "$wxUSE_RICHTEXT" = "yes"; then
46431 cat >>confdefs.h <<\_ACEOF
46432 #define wxUSE_RICHTEXT 1
46433 _ACEOF
46434
46435 USE_RICHTEXT=1
46436 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46437 fi
46438
46439
46440 if test "$wxUSE_IMAGE" = "yes" ; then
46441 cat >>confdefs.h <<\_ACEOF
46442 #define wxUSE_IMAGE 1
46443 _ACEOF
46444
46445
46446 if test "$wxUSE_GIF" = "yes" ; then
46447 cat >>confdefs.h <<\_ACEOF
46448 #define wxUSE_GIF 1
46449 _ACEOF
46450
46451 fi
46452
46453 if test "$wxUSE_PCX" = "yes" ; then
46454 cat >>confdefs.h <<\_ACEOF
46455 #define wxUSE_PCX 1
46456 _ACEOF
46457
46458 fi
46459
46460 if test "$wxUSE_TGA" = "yes" ; then
46461 cat >>confdefs.h <<\_ACEOF
46462 #define wxUSE_TGA 1
46463 _ACEOF
46464
46465 fi
46466
46467 if test "$wxUSE_IFF" = "yes" ; then
46468 cat >>confdefs.h <<\_ACEOF
46469 #define wxUSE_IFF 1
46470 _ACEOF
46471
46472 fi
46473
46474 if test "$wxUSE_PNM" = "yes" ; then
46475 cat >>confdefs.h <<\_ACEOF
46476 #define wxUSE_PNM 1
46477 _ACEOF
46478
46479 fi
46480
46481 if test "$wxUSE_XPM" = "yes" ; then
46482 cat >>confdefs.h <<\_ACEOF
46483 #define wxUSE_XPM 1
46484 _ACEOF
46485
46486 fi
46487
46488 if test "$wxUSE_ICO_CUR" = "yes" ; then
46489 cat >>confdefs.h <<\_ACEOF
46490 #define wxUSE_ICO_CUR 1
46491 _ACEOF
46492
46493 fi
46494 fi
46495
46496
46497 if test "$wxUSE_ABOUTDLG" = "yes"; then
46498 cat >>confdefs.h <<\_ACEOF
46499 #define wxUSE_ABOUTDLG 1
46500 _ACEOF
46501
46502 fi
46503
46504 if test "$wxUSE_CHOICEDLG" = "yes"; then
46505 cat >>confdefs.h <<\_ACEOF
46506 #define wxUSE_CHOICEDLG 1
46507 _ACEOF
46508
46509 fi
46510
46511 if test "$wxUSE_COLOURDLG" = "yes"; then
46512 cat >>confdefs.h <<\_ACEOF
46513 #define wxUSE_COLOURDLG 1
46514 _ACEOF
46515
46516 fi
46517
46518 if test "$wxUSE_FILEDLG" = "yes"; then
46519 cat >>confdefs.h <<\_ACEOF
46520 #define wxUSE_FILEDLG 1
46521 _ACEOF
46522
46523 fi
46524
46525 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46526 cat >>confdefs.h <<\_ACEOF
46527 #define wxUSE_FINDREPLDLG 1
46528 _ACEOF
46529
46530 fi
46531
46532 if test "$wxUSE_FONTDLG" = "yes"; then
46533 cat >>confdefs.h <<\_ACEOF
46534 #define wxUSE_FONTDLG 1
46535 _ACEOF
46536
46537 fi
46538
46539 if test "$wxUSE_DIRDLG" = "yes"; then
46540 if test "$wxUSE_TREECTRL" != "yes"; then
46541 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46542 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46543 else
46544 cat >>confdefs.h <<\_ACEOF
46545 #define wxUSE_DIRDLG 1
46546 _ACEOF
46547
46548 fi
46549 fi
46550
46551 if test "$wxUSE_MSGDLG" = "yes"; then
46552 cat >>confdefs.h <<\_ACEOF
46553 #define wxUSE_MSGDLG 1
46554 _ACEOF
46555
46556 fi
46557
46558 if test "$wxUSE_NUMBERDLG" = "yes"; then
46559 cat >>confdefs.h <<\_ACEOF
46560 #define wxUSE_NUMBERDLG 1
46561 _ACEOF
46562
46563 fi
46564
46565 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46566 cat >>confdefs.h <<\_ACEOF
46567 #define wxUSE_PROGRESSDLG 1
46568 _ACEOF
46569
46570 fi
46571
46572 if test "$wxUSE_SPLASH" = "yes"; then
46573 cat >>confdefs.h <<\_ACEOF
46574 #define wxUSE_SPLASH 1
46575 _ACEOF
46576
46577 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46578 fi
46579
46580 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46581 cat >>confdefs.h <<\_ACEOF
46582 #define wxUSE_STARTUP_TIPS 1
46583 _ACEOF
46584
46585 fi
46586
46587 if test "$wxUSE_TEXTDLG" = "yes"; then
46588 cat >>confdefs.h <<\_ACEOF
46589 #define wxUSE_TEXTDLG 1
46590 _ACEOF
46591
46592 fi
46593
46594 if test "$wxUSE_WIZARDDLG" = "yes"; then
46595 cat >>confdefs.h <<\_ACEOF
46596 #define wxUSE_WIZARDDLG 1
46597 _ACEOF
46598
46599 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46600 fi
46601
46602
46603 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46604 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46605 cat >>confdefs.h <<\_ACEOF
46606 #define wxUSE_OWNER_DRAWN 1
46607 _ACEOF
46608
46609 fi
46610 fi
46611
46612
46613 if test "$wxUSE_MSW" = 1 ; then
46614
46615 if test "$wxUSE_DC_CACHEING" = "yes"; then
46616 cat >>confdefs.h <<\_ACEOF
46617 #define wxUSE_DC_CACHEING 1
46618 _ACEOF
46619
46620 fi
46621
46622 if test "$wxUSE_DIB" = "yes"; then
46623 cat >>confdefs.h <<\_ACEOF
46624 #define wxUSE_WXDIB 1
46625 _ACEOF
46626
46627 fi
46628
46629 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46630 cat >>confdefs.h <<\_ACEOF
46631 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46632 _ACEOF
46633
46634 fi
46635
46636 if test "$wxUSE_UXTHEME" = "yes"; then
46637 cat >>confdefs.h <<\_ACEOF
46638 #define wxUSE_UXTHEME 1
46639 _ACEOF
46640
46641 fi
46642
46643 fi
46644
46645 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46646 cat >>confdefs.h <<\_ACEOF
46647 #define wxUSE_AUTOID_MANAGEMENT 1
46648 _ACEOF
46649
46650 fi
46651
46652 if test "$USE_WIN32" = 1 ; then
46653 if test "$wxUSE_INICONF" = "yes"; then
46654 cat >>confdefs.h <<\_ACEOF
46655 #define wxUSE_INICONF 1
46656 _ACEOF
46657
46658 fi
46659
46660 if test "$wxUSE_REGKEY" = "yes"; then
46661 cat >>confdefs.h <<\_ACEOF
46662 #define wxUSE_REGKEY 1
46663 _ACEOF
46664
46665 fi
46666 fi
46667
46668
46669 if test "$wxUSE_MAC" = 1; then
46670 wxUSE_GRAPHICS_CONTEXT="yes"
46671 fi
46672
46673 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46674 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46675 cat >>confdefs.h <<\_ACEOF
46676 #define wxUSE_GRAPHICS_CONTEXT 1
46677 _ACEOF
46678
46679 elif test "$wxUSE_GTK" != 1; then
46680 cat >>confdefs.h <<\_ACEOF
46681 #define wxUSE_GRAPHICS_CONTEXT 1
46682 _ACEOF
46683
46684 else
46685
46686 pkg_failed=no
46687 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46688 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46689
46690 if test -n "$PKG_CONFIG"; then
46691 if test -n "$CAIRO_CFLAGS"; then
46692 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46693 else
46694 if test -n "$PKG_CONFIG" && \
46695 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46696 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46697 ac_status=$?
46698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46699 (exit $ac_status); }; then
46700 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46701 else
46702 pkg_failed=yes
46703 fi
46704 fi
46705 else
46706 pkg_failed=untried
46707 fi
46708 if test -n "$PKG_CONFIG"; then
46709 if test -n "$CAIRO_LIBS"; then
46710 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46711 else
46712 if test -n "$PKG_CONFIG" && \
46713 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46714 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46715 ac_status=$?
46716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46717 (exit $ac_status); }; then
46718 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46719 else
46720 pkg_failed=yes
46721 fi
46722 fi
46723 else
46724 pkg_failed=untried
46725 fi
46726
46727
46728
46729 if test $pkg_failed = yes; then
46730
46731 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46732 _pkg_short_errors_supported=yes
46733 else
46734 _pkg_short_errors_supported=no
46735 fi
46736 if test $_pkg_short_errors_supported = yes; then
46737 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46738 else
46739 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46740 fi
46741 # Put the nasty error message in config.log where it belongs
46742 echo "$CAIRO_PKG_ERRORS" >&5
46743
46744 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46745 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46746
46747 elif test $pkg_failed = untried; then
46748 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46749 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46750
46751 else
46752 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46753 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46754 { echo "$as_me:$LINENO: result: yes" >&5
46755 echo "${ECHO_T}yes" >&6; }
46756 cat >>confdefs.h <<\_ACEOF
46757 #define wxUSE_GRAPHICS_CONTEXT 1
46758 _ACEOF
46759
46760 fi
46761 fi
46762 fi
46763
46764
46765 USE_MEDIA=0
46766
46767 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
46768 USE_MEDIA=1
46769
46770 if test "$wxUSE_GTK" = 1; then
46771 wxUSE_GSTREAMER="no"
46772
46773 GST_VERSION_MAJOR=0
46774 GST_VERSION_MINOR=10
46775 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46776
46777 if test "$wxUSE_GSTREAMER8" = "no"; then
46778
46779 pkg_failed=no
46780 { echo "$as_me:$LINENO: checking for GST" >&5
46781 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46782
46783 if test -n "$PKG_CONFIG"; then
46784 if test -n "$GST_CFLAGS"; then
46785 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46786 else
46787 if test -n "$PKG_CONFIG" && \
46788 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46789 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46790 ac_status=$?
46791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46792 (exit $ac_status); }; then
46793 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46794 else
46795 pkg_failed=yes
46796 fi
46797 fi
46798 else
46799 pkg_failed=untried
46800 fi
46801 if test -n "$PKG_CONFIG"; then
46802 if test -n "$GST_LIBS"; then
46803 pkg_cv_GST_LIBS="$GST_LIBS"
46804 else
46805 if test -n "$PKG_CONFIG" && \
46806 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46807 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46808 ac_status=$?
46809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46810 (exit $ac_status); }; then
46811 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46812 else
46813 pkg_failed=yes
46814 fi
46815 fi
46816 else
46817 pkg_failed=untried
46818 fi
46819
46820
46821
46822 if test $pkg_failed = yes; then
46823
46824 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46825 _pkg_short_errors_supported=yes
46826 else
46827 _pkg_short_errors_supported=no
46828 fi
46829 if test $_pkg_short_errors_supported = yes; then
46830 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46831 else
46832 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46833 fi
46834 # Put the nasty error message in config.log where it belongs
46835 echo "$GST_PKG_ERRORS" >&5
46836
46837
46838 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46839 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46840 GST_VERSION_MINOR=8
46841
46842
46843 elif test $pkg_failed = untried; then
46844
46845 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46846 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46847 GST_VERSION_MINOR=8
46848
46849
46850 else
46851 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46852 GST_LIBS=$pkg_cv_GST_LIBS
46853 { echo "$as_me:$LINENO: result: yes" >&5
46854 echo "${ECHO_T}yes" >&6; }
46855
46856 wxUSE_GSTREAMER="yes"
46857 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46858
46859 fi
46860 else
46861 GST_VERSION_MINOR=8
46862 fi
46863
46864 if test $GST_VERSION_MINOR = "8"; then
46865 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46866
46867 pkg_failed=no
46868 { echo "$as_me:$LINENO: checking for GST" >&5
46869 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46870
46871 if test -n "$PKG_CONFIG"; then
46872 if test -n "$GST_CFLAGS"; then
46873 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46874 else
46875 if test -n "$PKG_CONFIG" && \
46876 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46877 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46878 ac_status=$?
46879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46880 (exit $ac_status); }; then
46881 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46882 else
46883 pkg_failed=yes
46884 fi
46885 fi
46886 else
46887 pkg_failed=untried
46888 fi
46889 if test -n "$PKG_CONFIG"; then
46890 if test -n "$GST_LIBS"; then
46891 pkg_cv_GST_LIBS="$GST_LIBS"
46892 else
46893 if test -n "$PKG_CONFIG" && \
46894 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46895 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46896 ac_status=$?
46897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46898 (exit $ac_status); }; then
46899 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46900 else
46901 pkg_failed=yes
46902 fi
46903 fi
46904 else
46905 pkg_failed=untried
46906 fi
46907
46908
46909
46910 if test $pkg_failed = yes; then
46911
46912 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46913 _pkg_short_errors_supported=yes
46914 else
46915 _pkg_short_errors_supported=no
46916 fi
46917 if test $_pkg_short_errors_supported = yes; then
46918 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46919 else
46920 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46921 fi
46922 # Put the nasty error message in config.log where it belongs
46923 echo "$GST_PKG_ERRORS" >&5
46924
46925
46926 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46927 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46928
46929 elif test $pkg_failed = untried; then
46930
46931 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46932 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46933
46934 else
46935 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46936 GST_LIBS=$pkg_cv_GST_LIBS
46937 { echo "$as_me:$LINENO: result: yes" >&5
46938 echo "${ECHO_T}yes" >&6; }
46939 wxUSE_GSTREAMER="yes"
46940 fi
46941 fi
46942
46943
46944 if test "$wxUSE_GSTREAMER" = "yes"; then
46945 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46946 EXTRALIBS_MEDIA="$GST_LIBS"
46947
46948 cat >>confdefs.h <<\_ACEOF
46949 #define wxUSE_GSTREAMER 1
46950 _ACEOF
46951
46952 else
46953 USE_MEDIA=0
46954 fi
46955 fi
46956
46957 if test $USE_MEDIA = 1; then
46958 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46959 cat >>confdefs.h <<\_ACEOF
46960 #define wxUSE_MEDIACTRL 1
46961 _ACEOF
46962
46963 else
46964 if test "$wxUSE_MEDIACTRL" = "yes"; then
46965 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
46966 echo "$as_me: error: GStreamer not available" >&2;}
46967 { (exit 1); exit 1; }; }
46968 else
46969 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
46970 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
46971 fi
46972 fi
46973 fi
46974
46975
46976 if test "$cross_compiling" = "yes"; then
46977 OSINFO="\"$host\""
46978 else
46979 OSINFO=`uname -s -r -m`
46980 OSINFO="\"$OSINFO\""
46981 fi
46982
46983 cat >>confdefs.h <<_ACEOF
46984 #define WXWIN_OS_DESCRIPTION $OSINFO
46985 _ACEOF
46986
46987
46988
46989 if test "x$prefix" != "xNONE"; then
46990 wxPREFIX=$prefix
46991 else
46992 wxPREFIX=$ac_default_prefix
46993 fi
46994
46995 cat >>confdefs.h <<_ACEOF
46996 #define wxINSTALL_PREFIX "$wxPREFIX"
46997 _ACEOF
46998
46999
47000
47001
47002 STD_BASE_LIBS="base"
47003 STD_GUI_LIBS=""
47004 BUILT_WX_LIBS="base"
47005 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
47006
47007 if test "$wxUSE_SOCKETS" = "yes" ; then
47008 STD_BASE_LIBS="net $STD_BASE_LIBS"
47009 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
47010 fi
47011 if test "$wxUSE_XML" = "yes" ; then
47012 STD_BASE_LIBS="xml $STD_BASE_LIBS"
47013 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
47014 fi
47015
47016 if test "$wxUSE_GUI" = "yes"; then
47017 STD_GUI_LIBS="adv core"
47018 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
47019
47020 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47021 STD_GUI_LIBS="qa $STD_GUI_LIBS"
47022 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
47023 fi
47024 if test "$wxUSE_HTML" = "yes" ; then
47025 STD_GUI_LIBS="html $STD_GUI_LIBS"
47026 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
47027 fi
47028 if test "$wxUSE_MEDIACTRL" = "yes" ; then
47029 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
47030 fi
47031 if test "$wxUSE_OPENGL" = "yes" ; then
47032 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
47033 fi
47034 if test "$wxUSE_AUI" = "yes" ; then
47035 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
47036 fi
47037 if test "$wxUSE_PROPGRID" = "yes" ; then
47038 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
47039 fi
47040 if test "$wxUSE_RICHTEXT" = "yes" ; then
47041 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
47042 fi
47043 if test "$wxUSE_STC" = "yes" ; then
47044 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
47045 fi
47046 if test "$wxUSE_XRC" = "yes" ; then
47047 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
47048 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
47049 fi
47050 fi
47051
47052
47053
47054
47055
47056
47057
47058
47059 if test "$wxUSE_MAC" = 1 ; then
47060 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47061 if test "$USE_DARWIN" = 1; then
47062 LDFLAGS="$LDFLAGS -framework QuickTime"
47063 fi
47064 fi
47065 if test "$USE_DARWIN" = 1; then
47066 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
47067 fi
47068 fi
47069 if test "$wxUSE_COCOA" = 1 ; then
47070 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47071 if test "$wxUSE_MEDIACTRL" = "yes"; then
47072 LDFLAGS="$LDFLAGS -framework QuickTime"
47073 fi
47074 fi
47075 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47076 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47077 fi
47078
47079 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47080
47081 if test "$wxUSE_GUI" = "yes"; then
47082
47083
47084 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47085 erase event exec font image minimal mobile \
47086 mobile/wxedit mobile/styles render \
47087 shaped svg taborder vscroll widgets"
47088
47089 if test "$wxUSE_MONOLITHIC" != "yes"; then
47090 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47091 fi
47092 if test "$TOOLKIT" = "MSW"; then
47093 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47094 if test "$wxUSE_UNIVERSAL" != "yes"; then
47095 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47096 fi
47097 fi
47098 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47099 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47100 fi
47101 else
47102 SAMPLES_SUBDIRS="console"
47103 if test "$wxUSE_SOCKETS" = "yes" ; then
47104 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47105 fi
47106 if test "$wxUSE_IPC" = "yes" ; then
47107 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47108 fi
47109 fi
47110
47111
47112 if test "x$INTELCC" = "xyes" ; then
47113 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
47114 elif test "$GCC" = yes ; then
47115 CWARNINGS="-Wall -Wundef"
47116 fi
47117
47118 if test "x$INTELCXX" = "xyes" ; then
47119 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47120 elif test "$GXX" = yes ; then
47121 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47122 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47123 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47124 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47125 echo $ECHO_N "(cached) $ECHO_C" >&6
47126 else
47127 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
47128
47129 ac_ext=cpp
47130 ac_cpp='$CXXCPP $CPPFLAGS'
47131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47134
47135 ac_save_CXXFLAGS="$CXXFLAGS"
47136 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47137 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47138 cat >conftest.$ac_ext <<_ACEOF
47139 /* confdefs.h. */
47140 _ACEOF
47141 cat confdefs.h >>conftest.$ac_ext
47142 cat >>conftest.$ac_ext <<_ACEOF
47143 /* end confdefs.h. */
47144
47145 int
47146 main ()
47147 {
47148 return 0;
47149 ;
47150 return 0;
47151 }
47152 _ACEOF
47153 rm -f conftest.$ac_objext
47154 if { (ac_try="$ac_compile"
47155 case "(($ac_try" in
47156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47157 *) ac_try_echo=$ac_try;;
47158 esac
47159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47160 (eval "$ac_compile") 2>conftest.er1
47161 ac_status=$?
47162 grep -v '^ *+' conftest.er1 >conftest.err
47163 rm -f conftest.er1
47164 cat conftest.err >&5
47165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47166 (exit $ac_status); } && {
47167 test -z "$ac_cxx_werror_flag" ||
47168 test ! -s conftest.err
47169 } && test -s conftest.$ac_objext; then
47170 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47171 else
47172 echo "$as_me: failed program was:" >&5
47173 sed 's/^/| /' conftest.$ac_ext >&5
47174
47175
47176 fi
47177
47178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47179 done
47180 CXXFLAGS="$ac_save_CXXFLAGS"
47181 ac_ext=c
47182 ac_cpp='$CPP $CPPFLAGS'
47183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47186
47187
47188 fi
47189 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47190 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47191 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47192 .ok|.ok,*) ;;
47193 .|.no|.no,*) ;;
47194 *)
47195 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
47196 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47197 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47198 ac_status=$?
47199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47200 (exit $ac_status); }
47201 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47202 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47203 ac_status=$?
47204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47205 (exit $ac_status); }
47206 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47207 fi
47208 ;;
47209 esac
47210
47211 fi
47212
47213
47214 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47215 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47216
47217
47218 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47219 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47220 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47221 $CPPFLAGS `
47222
47223 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47224 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47225 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47226 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47227 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47228
47229 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47230
47231
47232 if test "x$MWCC" = "xyes"; then
47233
47234 CC="$CC -cwd source -I-"
47235 CXX="$CXX -cwd source -I-"
47236 fi
47237
47238
47239 LIBS=`echo $LIBS`
47240 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47241 EXTRALIBS_XML="$EXPAT_LINK"
47242 EXTRALIBS_HTML="$MSPACK_LINK"
47243 EXTRALIBS_MEDIA="$GST_LIBS"
47244 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47245 if test "$wxUSE_GUI" = "yes"; then
47246 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47247 fi
47248 if test "$wxUSE_OPENGL" = "yes"; then
47249 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47250 fi
47251
47252 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47253
47254 WXCONFIG_LIBS="$LIBS"
47255
47256 if test "$wxUSE_REGEX" = "builtin" ; then
47257 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47258 fi
47259 if test "$wxUSE_EXPAT" = "builtin" ; then
47260 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47261 fi
47262 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47263 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47264 fi
47265 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47266 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47267 fi
47268 if test "$wxUSE_LIBPNG" = "builtin" ; then
47269 wxconfig_3rdparty="png $wxconfig_3rdparty"
47270 fi
47271 if test "$wxUSE_ZLIB" = "builtin" ; then
47272 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47273 fi
47274
47275 for i in $wxconfig_3rdparty ; do
47276 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47277 done
47278
47279
47280 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47281 WXUNIV=1
47282
47283 case "$wxUNIV_THEMES" in
47284 ''|all)
47285 cat >>confdefs.h <<\_ACEOF
47286 #define wxUSE_ALL_THEMES 1
47287 _ACEOF
47288
47289 ;;
47290
47291 *)
47292 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47293 cat >>confdefs.h <<_ACEOF
47294 #define wxUSE_THEME_$t 1
47295 _ACEOF
47296
47297 done
47298 esac
47299 else
47300 WXUNIV=0
47301 fi
47302
47303
47304
47305
47306
47307
47308
47309
47310 if test $wxUSE_MONOLITHIC = "yes" ; then
47311 MONOLITHIC=1
47312 else
47313 MONOLITHIC=0
47314 fi
47315
47316 if test $wxUSE_PLUGINS = "yes" ; then
47317 USE_PLUGINS=1
47318 else
47319 USE_PLUGINS=0
47320 fi
47321
47322 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47323 USE_QA=1
47324 else
47325 USE_QA=0
47326 fi
47327
47328 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47329 OFFICIAL_BUILD=1
47330 else
47331 OFFICIAL_BUILD=0
47332 fi
47333
47334
47335
47336
47337
47338
47339
47340
47341
47342
47343
47344
47345
47346
47347
47348
47349
47350
47351
47352
47353
47354
47355
47356
47357
47358
47359
47360
47361 TOOLKIT_LOWERCASE=xxx
47362 if test "$TOOLKIT" = "MAC"; then
47363 TOOLKIT_LOWERCASE=osx_carbon
47364 fi
47365 if test "$TOOLKIT" = "OSX_CARBON"; then
47366 TOOLKIT_LOWERCASE=osx_carbon
47367 fi
47368 if test "$TOOLKIT" = "OSX_COCOA"; then
47369 TOOLKIT_LOWERCASE=osx_cocoa
47370 fi
47371 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47372 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47373 fi
47374
47375
47376
47377
47378
47379
47380
47381
47382
47383 case "$TOOLKIT" in
47384 GTK)
47385 TOOLKIT_DESC="GTK+"
47386 if test "$WXGTK2" = 1; then
47387 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47388 if test "$wxUSE_GTKPRINT" = "yes" ; then
47389 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
47390 fi
47391 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47392 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47393 fi
47394 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47395 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47396 fi
47397 if test "$wxUSE_LIBHILDON" = "yes"; then
47398 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47399 fi
47400
47401 if test "$TOOLKIT_EXTRA" != ""; then
47402 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47403 fi
47404 fi
47405 ;;
47406
47407 ?*)
47408 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47409 ;;
47410
47411 *)
47412 TOOLKIT_DESC="base only"
47413 ;;
47414 esac
47415
47416 if test "$wxUSE_WINE" = "yes"; then
47417 BAKEFILE_FORCE_PLATFORM=win32
47418 fi
47419
47420 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47421 then
47422 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47423 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47424 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47425 echo $ECHO_N "(cached) $ECHO_C" >&6
47426 else
47427
47428 echo '#include <stdio.h>
47429 const wchar_t test_var[] = L"awidetest";' > conftest.h
47430
47431 echo '#include "conftest.h"
47432 int main()
47433 {
47434 printf("%ls", test_var);
47435 return 0;
47436 }' > conftest.cpp
47437
47438 wx_cv_gcc_pch_bug="pch not supported"
47439
47440 if $CXX conftest.h >/dev/null 2>&1
47441 then
47442 wx_cv_gcc_pch_bug=
47443
47444 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47445 then
47446 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47447 grep awidetest >/dev/null
47448 then
47449 wx_cv_gcc_pch_bug=no
47450 else
47451 wx_cv_gcc_pch_bug=yes
47452 fi
47453 fi
47454 fi
47455
47456 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47457
47458 fi
47459 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47460 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47461
47462 if test "$wx_cv_gcc_pch_bug" = yes; then
47463 bk_use_pch=no
47464 fi
47465 fi
47466
47467
47468
47469
47470
47471
47472
47473 if test "x$BAKEFILE_HOST" = "x"; then
47474 if test "x${host}" = "x" ; then
47475 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47476 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47477 { (exit 1); exit 1; }; }
47478 fi
47479
47480 BAKEFILE_HOST="${host}"
47481 fi
47482
47483 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47484
47485 if test -n "$ac_tool_prefix"; then
47486 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47487 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47488 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47490 if test "${ac_cv_prog_RANLIB+set}" = set; then
47491 echo $ECHO_N "(cached) $ECHO_C" >&6
47492 else
47493 if test -n "$RANLIB"; then
47494 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47495 else
47496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47497 for as_dir in $PATH
47498 do
47499 IFS=$as_save_IFS
47500 test -z "$as_dir" && as_dir=.
47501 for ac_exec_ext in '' $ac_executable_extensions; do
47502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47503 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47505 break 2
47506 fi
47507 done
47508 done
47509 IFS=$as_save_IFS
47510
47511 fi
47512 fi
47513 RANLIB=$ac_cv_prog_RANLIB
47514 if test -n "$RANLIB"; then
47515 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47516 echo "${ECHO_T}$RANLIB" >&6; }
47517 else
47518 { echo "$as_me:$LINENO: result: no" >&5
47519 echo "${ECHO_T}no" >&6; }
47520 fi
47521
47522
47523 fi
47524 if test -z "$ac_cv_prog_RANLIB"; then
47525 ac_ct_RANLIB=$RANLIB
47526 # Extract the first word of "ranlib", so it can be a program name with args.
47527 set dummy ranlib; ac_word=$2
47528 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47530 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47531 echo $ECHO_N "(cached) $ECHO_C" >&6
47532 else
47533 if test -n "$ac_ct_RANLIB"; then
47534 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47535 else
47536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47537 for as_dir in $PATH
47538 do
47539 IFS=$as_save_IFS
47540 test -z "$as_dir" && as_dir=.
47541 for ac_exec_ext in '' $ac_executable_extensions; do
47542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47543 ac_cv_prog_ac_ct_RANLIB="ranlib"
47544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47545 break 2
47546 fi
47547 done
47548 done
47549 IFS=$as_save_IFS
47550
47551 fi
47552 fi
47553 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47554 if test -n "$ac_ct_RANLIB"; then
47555 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47556 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47557 else
47558 { echo "$as_me:$LINENO: result: no" >&5
47559 echo "${ECHO_T}no" >&6; }
47560 fi
47561
47562 if test "x$ac_ct_RANLIB" = x; then
47563 RANLIB=":"
47564 else
47565 case $cross_compiling:$ac_tool_warned in
47566 yes:)
47567 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47568 whose name does not start with the host triplet. If you think this
47569 configuration is useful to you, please write to autoconf@gnu.org." >&5
47570 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47571 whose name does not start with the host triplet. If you think this
47572 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47573 ac_tool_warned=yes ;;
47574 esac
47575 RANLIB=$ac_ct_RANLIB
47576 fi
47577 else
47578 RANLIB="$ac_cv_prog_RANLIB"
47579 fi
47580
47581 # Find a good install program. We prefer a C program (faster),
47582 # so one script is as good as another. But avoid the broken or
47583 # incompatible versions:
47584 # SysV /etc/install, /usr/sbin/install
47585 # SunOS /usr/etc/install
47586 # IRIX /sbin/install
47587 # AIX /bin/install
47588 # AmigaOS /C/install, which installs bootblocks on floppy discs
47589 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47590 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47591 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47592 # OS/2's system install, which has a completely different semantic
47593 # ./install, which can be erroneously created by make from ./install.sh.
47594 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47595 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47596 if test -z "$INSTALL"; then
47597 if test "${ac_cv_path_install+set}" = set; then
47598 echo $ECHO_N "(cached) $ECHO_C" >&6
47599 else
47600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47601 for as_dir in $PATH
47602 do
47603 IFS=$as_save_IFS
47604 test -z "$as_dir" && as_dir=.
47605 # Account for people who put trailing slashes in PATH elements.
47606 case $as_dir/ in
47607 ./ | .// | /cC/* | \
47608 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47609 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47610 /usr/ucb/* ) ;;
47611 *)
47612 # OSF1 and SCO ODT 3.0 have their own names for install.
47613 # Don't use installbsd from OSF since it installs stuff as root
47614 # by default.
47615 for ac_prog in ginstall scoinst install; do
47616 for ac_exec_ext in '' $ac_executable_extensions; do
47617 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47618 if test $ac_prog = install &&
47619 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47620 # AIX install. It has an incompatible calling convention.
47621 :
47622 elif test $ac_prog = install &&
47623 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47624 # program-specific install script used by HP pwplus--don't use.
47625 :
47626 else
47627 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47628 break 3
47629 fi
47630 fi
47631 done
47632 done
47633 ;;
47634 esac
47635 done
47636 IFS=$as_save_IFS
47637
47638
47639 fi
47640 if test "${ac_cv_path_install+set}" = set; then
47641 INSTALL=$ac_cv_path_install
47642 else
47643 # As a last resort, use the slow shell script. Don't cache a
47644 # value for INSTALL within a source directory, because that will
47645 # break other packages using the cache if that directory is
47646 # removed, or if the value is a relative name.
47647 INSTALL=$ac_install_sh
47648 fi
47649 fi
47650 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47651 echo "${ECHO_T}$INSTALL" >&6; }
47652
47653 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47654 # It thinks the first close brace ends the variable substitution.
47655 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47656
47657 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47658
47659 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47660
47661 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47662 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47663 LN_S=$as_ln_s
47664 if test "$LN_S" = "ln -s"; then
47665 { echo "$as_me:$LINENO: result: yes" >&5
47666 echo "${ECHO_T}yes" >&6; }
47667 else
47668 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47669 echo "${ECHO_T}no, using $LN_S" >&6; }
47670 fi
47671
47672
47673 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47674 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47675 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47676 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
47677 echo $ECHO_N "(cached) $ECHO_C" >&6
47678 else
47679 cat >conftest.make <<\_ACEOF
47680 SHELL = /bin/sh
47681 all:
47682 @echo '@@@%%%=$(MAKE)=@@@%%%'
47683 _ACEOF
47684 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47685 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47686 *@@@%%%=?*=@@@%%%*)
47687 eval ac_cv_prog_make_${ac_make}_set=yes;;
47688 *)
47689 eval ac_cv_prog_make_${ac_make}_set=no;;
47690 esac
47691 rm -f conftest.make
47692 fi
47693 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
47694 { echo "$as_me:$LINENO: result: yes" >&5
47695 echo "${ECHO_T}yes" >&6; }
47696 SET_MAKE=
47697 else
47698 { echo "$as_me:$LINENO: result: no" >&5
47699 echo "${ECHO_T}no" >&6; }
47700 SET_MAKE="MAKE=${MAKE-make}"
47701 fi
47702
47703
47704
47705 if test "x$SUNCXX" = "xyes"; then
47706 AR=$CXX
47707 AROPTIONS="-xar -o"
47708
47709 elif test "x$SGICC" = "xyes"; then
47710 AR=$CXX
47711 AROPTIONS="-ar -o"
47712
47713 else
47714 if test -n "$ac_tool_prefix"; then
47715 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47716 set dummy ${ac_tool_prefix}ar; ac_word=$2
47717 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47719 if test "${ac_cv_prog_AR+set}" = set; then
47720 echo $ECHO_N "(cached) $ECHO_C" >&6
47721 else
47722 if test -n "$AR"; then
47723 ac_cv_prog_AR="$AR" # Let the user override the test.
47724 else
47725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47726 for as_dir in $PATH
47727 do
47728 IFS=$as_save_IFS
47729 test -z "$as_dir" && as_dir=.
47730 for ac_exec_ext in '' $ac_executable_extensions; do
47731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47732 ac_cv_prog_AR="${ac_tool_prefix}ar"
47733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47734 break 2
47735 fi
47736 done
47737 done
47738 IFS=$as_save_IFS
47739
47740 fi
47741 fi
47742 AR=$ac_cv_prog_AR
47743 if test -n "$AR"; then
47744 { echo "$as_me:$LINENO: result: $AR" >&5
47745 echo "${ECHO_T}$AR" >&6; }
47746 else
47747 { echo "$as_me:$LINENO: result: no" >&5
47748 echo "${ECHO_T}no" >&6; }
47749 fi
47750
47751
47752 fi
47753 if test -z "$ac_cv_prog_AR"; then
47754 ac_ct_AR=$AR
47755 # Extract the first word of "ar", so it can be a program name with args.
47756 set dummy ar; ac_word=$2
47757 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47758 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47759 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47760 echo $ECHO_N "(cached) $ECHO_C" >&6
47761 else
47762 if test -n "$ac_ct_AR"; then
47763 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47764 else
47765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47766 for as_dir in $PATH
47767 do
47768 IFS=$as_save_IFS
47769 test -z "$as_dir" && as_dir=.
47770 for ac_exec_ext in '' $ac_executable_extensions; do
47771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47772 ac_cv_prog_ac_ct_AR="ar"
47773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47774 break 2
47775 fi
47776 done
47777 done
47778 IFS=$as_save_IFS
47779
47780 fi
47781 fi
47782 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47783 if test -n "$ac_ct_AR"; then
47784 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47785 echo "${ECHO_T}$ac_ct_AR" >&6; }
47786 else
47787 { echo "$as_me:$LINENO: result: no" >&5
47788 echo "${ECHO_T}no" >&6; }
47789 fi
47790
47791 if test "x$ac_ct_AR" = x; then
47792 AR="ar"
47793 else
47794 case $cross_compiling:$ac_tool_warned in
47795 yes:)
47796 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47797 whose name does not start with the host triplet. If you think this
47798 configuration is useful to you, please write to autoconf@gnu.org." >&5
47799 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47800 whose name does not start with the host triplet. If you think this
47801 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47802 ac_tool_warned=yes ;;
47803 esac
47804 AR=$ac_ct_AR
47805 fi
47806 else
47807 AR="$ac_cv_prog_AR"
47808 fi
47809
47810 AROPTIONS=rcu
47811 fi
47812
47813
47814 if test -n "$ac_tool_prefix"; then
47815 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47816 set dummy ${ac_tool_prefix}strip; ac_word=$2
47817 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47818 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47819 if test "${ac_cv_prog_STRIP+set}" = set; then
47820 echo $ECHO_N "(cached) $ECHO_C" >&6
47821 else
47822 if test -n "$STRIP"; then
47823 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47824 else
47825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47826 for as_dir in $PATH
47827 do
47828 IFS=$as_save_IFS
47829 test -z "$as_dir" && as_dir=.
47830 for ac_exec_ext in '' $ac_executable_extensions; do
47831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47832 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47834 break 2
47835 fi
47836 done
47837 done
47838 IFS=$as_save_IFS
47839
47840 fi
47841 fi
47842 STRIP=$ac_cv_prog_STRIP
47843 if test -n "$STRIP"; then
47844 { echo "$as_me:$LINENO: result: $STRIP" >&5
47845 echo "${ECHO_T}$STRIP" >&6; }
47846 else
47847 { echo "$as_me:$LINENO: result: no" >&5
47848 echo "${ECHO_T}no" >&6; }
47849 fi
47850
47851
47852 fi
47853 if test -z "$ac_cv_prog_STRIP"; then
47854 ac_ct_STRIP=$STRIP
47855 # Extract the first word of "strip", so it can be a program name with args.
47856 set dummy strip; ac_word=$2
47857 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47859 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47860 echo $ECHO_N "(cached) $ECHO_C" >&6
47861 else
47862 if test -n "$ac_ct_STRIP"; then
47863 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47864 else
47865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47866 for as_dir in $PATH
47867 do
47868 IFS=$as_save_IFS
47869 test -z "$as_dir" && as_dir=.
47870 for ac_exec_ext in '' $ac_executable_extensions; do
47871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47872 ac_cv_prog_ac_ct_STRIP="strip"
47873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47874 break 2
47875 fi
47876 done
47877 done
47878 IFS=$as_save_IFS
47879
47880 fi
47881 fi
47882 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47883 if test -n "$ac_ct_STRIP"; then
47884 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47885 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47886 else
47887 { echo "$as_me:$LINENO: result: no" >&5
47888 echo "${ECHO_T}no" >&6; }
47889 fi
47890
47891 if test "x$ac_ct_STRIP" = x; then
47892 STRIP=":"
47893 else
47894 case $cross_compiling:$ac_tool_warned in
47895 yes:)
47896 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47897 whose name does not start with the host triplet. If you think this
47898 configuration is useful to you, please write to autoconf@gnu.org." >&5
47899 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47900 whose name does not start with the host triplet. If you think this
47901 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47902 ac_tool_warned=yes ;;
47903 esac
47904 STRIP=$ac_ct_STRIP
47905 fi
47906 else
47907 STRIP="$ac_cv_prog_STRIP"
47908 fi
47909
47910 if test -n "$ac_tool_prefix"; then
47911 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47912 set dummy ${ac_tool_prefix}nm; ac_word=$2
47913 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47915 if test "${ac_cv_prog_NM+set}" = set; then
47916 echo $ECHO_N "(cached) $ECHO_C" >&6
47917 else
47918 if test -n "$NM"; then
47919 ac_cv_prog_NM="$NM" # Let the user override the test.
47920 else
47921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47922 for as_dir in $PATH
47923 do
47924 IFS=$as_save_IFS
47925 test -z "$as_dir" && as_dir=.
47926 for ac_exec_ext in '' $ac_executable_extensions; do
47927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47928 ac_cv_prog_NM="${ac_tool_prefix}nm"
47929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47930 break 2
47931 fi
47932 done
47933 done
47934 IFS=$as_save_IFS
47935
47936 fi
47937 fi
47938 NM=$ac_cv_prog_NM
47939 if test -n "$NM"; then
47940 { echo "$as_me:$LINENO: result: $NM" >&5
47941 echo "${ECHO_T}$NM" >&6; }
47942 else
47943 { echo "$as_me:$LINENO: result: no" >&5
47944 echo "${ECHO_T}no" >&6; }
47945 fi
47946
47947
47948 fi
47949 if test -z "$ac_cv_prog_NM"; then
47950 ac_ct_NM=$NM
47951 # Extract the first word of "nm", so it can be a program name with args.
47952 set dummy nm; ac_word=$2
47953 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47955 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47956 echo $ECHO_N "(cached) $ECHO_C" >&6
47957 else
47958 if test -n "$ac_ct_NM"; then
47959 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47960 else
47961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47962 for as_dir in $PATH
47963 do
47964 IFS=$as_save_IFS
47965 test -z "$as_dir" && as_dir=.
47966 for ac_exec_ext in '' $ac_executable_extensions; do
47967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47968 ac_cv_prog_ac_ct_NM="nm"
47969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47970 break 2
47971 fi
47972 done
47973 done
47974 IFS=$as_save_IFS
47975
47976 fi
47977 fi
47978 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47979 if test -n "$ac_ct_NM"; then
47980 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47981 echo "${ECHO_T}$ac_ct_NM" >&6; }
47982 else
47983 { echo "$as_me:$LINENO: result: no" >&5
47984 echo "${ECHO_T}no" >&6; }
47985 fi
47986
47987 if test "x$ac_ct_NM" = x; then
47988 NM=":"
47989 else
47990 case $cross_compiling:$ac_tool_warned in
47991 yes:)
47992 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47993 whose name does not start with the host triplet. If you think this
47994 configuration is useful to you, please write to autoconf@gnu.org." >&5
47995 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47996 whose name does not start with the host triplet. If you think this
47997 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47998 ac_tool_warned=yes ;;
47999 esac
48000 NM=$ac_ct_NM
48001 fi
48002 else
48003 NM="$ac_cv_prog_NM"
48004 fi
48005
48006
48007 { echo "$as_me:$LINENO: checking for command to install directories" >&5
48008 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
48009 INSTALL_TEST_DIR=acbftest$$
48010 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
48011 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
48012 rmdir $INSTALL_TEST_DIR
48013 INSTALL_DIR='$(INSTALL) -d'
48014 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
48015 echo "${ECHO_T}$INSTALL -d" >&6; }
48016 else
48017 INSTALL_DIR="mkdir -p"
48018 { echo "$as_me:$LINENO: result: mkdir -p" >&5
48019 echo "${ECHO_T}mkdir -p" >&6; }
48020 fi
48021
48022
48023 LDFLAGS_GUI=
48024 case ${BAKEFILE_HOST} in
48025 *-*-cygwin* | *-*-mingw32* )
48026 LDFLAGS_GUI="-mwindows"
48027 esac
48028
48029
48030 fi
48031
48032 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48033 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48034 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48035 echo $ECHO_N "(cached) $ECHO_C" >&6
48036 else
48037
48038 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48039 egrep -s GNU > /dev/null); then
48040 bakefile_cv_prog_makeisgnu="yes"
48041 else
48042 bakefile_cv_prog_makeisgnu="no"
48043 fi
48044
48045 fi
48046 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48047 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48048
48049 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48050 IF_GNU_MAKE=""
48051 else
48052 IF_GNU_MAKE="#"
48053 fi
48054
48055
48056
48057 PLATFORM_UNIX=0
48058 PLATFORM_WIN32=0
48059 PLATFORM_MSDOS=0
48060 PLATFORM_MAC=0
48061 PLATFORM_MACOS=0
48062 PLATFORM_MACOSX=0
48063 PLATFORM_OS2=0
48064 PLATFORM_BEOS=0
48065
48066 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48067 case "${BAKEFILE_HOST}" in
48068 *-*-mingw32* )
48069 PLATFORM_WIN32=1
48070 ;;
48071 *-pc-msdosdjgpp )
48072 PLATFORM_MSDOS=1
48073 ;;
48074 *-pc-os2_emx | *-pc-os2-emx )
48075 PLATFORM_OS2=1
48076 ;;
48077 *-*-darwin* )
48078 PLATFORM_MAC=1
48079 PLATFORM_MACOSX=1
48080 ;;
48081 *-*-beos* )
48082 PLATFORM_BEOS=1
48083 ;;
48084 powerpc-apple-macos* )
48085 PLATFORM_MAC=1
48086 PLATFORM_MACOS=1
48087 ;;
48088 * )
48089 PLATFORM_UNIX=1
48090 ;;
48091 esac
48092 else
48093 case "$BAKEFILE_FORCE_PLATFORM" in
48094 win32 )
48095 PLATFORM_WIN32=1
48096 ;;
48097 msdos )
48098 PLATFORM_MSDOS=1
48099 ;;
48100 os2 )
48101 PLATFORM_OS2=1
48102 ;;
48103 darwin )
48104 PLATFORM_MAC=1
48105 PLATFORM_MACOSX=1
48106 ;;
48107 unix )
48108 PLATFORM_UNIX=1
48109 ;;
48110 beos )
48111 PLATFORM_BEOS=1
48112 ;;
48113 * )
48114 ;;
48115 esac
48116 fi
48117
48118
48119
48120
48121
48122
48123
48124
48125
48126
48127
48128 # Check whether --enable-omf was given.
48129 if test "${enable_omf+set}" = set; then
48130 enableval=$enable_omf; bk_os2_use_omf="$enableval"
48131 fi
48132
48133
48134 case "${BAKEFILE_HOST}" in
48135 *-*-darwin* )
48136 if test "x$GCC" = "xyes"; then
48137 CFLAGS="$CFLAGS -fno-common"
48138 CXXFLAGS="$CXXFLAGS -fno-common"
48139 fi
48140 if test "x$XLCC" = "xyes"; then
48141 CFLAGS="$CFLAGS -qnocommon"
48142 CXXFLAGS="$CXXFLAGS -qnocommon"
48143 fi
48144 ;;
48145
48146 *-pc-os2_emx | *-pc-os2-emx )
48147 if test "x$bk_os2_use_omf" = "xyes" ; then
48148 AR=emxomfar
48149 RANLIB=:
48150 LDFLAGS="-Zomf $LDFLAGS"
48151 CFLAGS="-Zomf $CFLAGS"
48152 CXXFLAGS="-Zomf $CXXFLAGS"
48153 OS2_LIBEXT="lib"
48154 else
48155 OS2_LIBEXT="a"
48156 fi
48157 ;;
48158
48159 i*86-*-beos* )
48160 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48161 ;;
48162 esac
48163
48164
48165 SO_SUFFIX="so"
48166 SO_SUFFIX_MODULE="so"
48167 EXEEXT=""
48168 LIBPREFIX="lib"
48169 LIBEXT=".a"
48170 DLLPREFIX="lib"
48171 DLLPREFIX_MODULE=""
48172 DLLIMP_SUFFIX=""
48173 dlldir="$libdir"
48174
48175 case "${BAKEFILE_HOST}" in
48176 ia64-hp-hpux* )
48177 ;;
48178 *-hp-hpux* )
48179 SO_SUFFIX="sl"
48180 SO_SUFFIX_MODULE="sl"
48181 ;;
48182 *-*-aix* )
48183 SO_SUFFIX="a"
48184 SO_SUFFIX_MODULE="a"
48185 ;;
48186 *-*-cygwin* )
48187 SO_SUFFIX="dll"
48188 SO_SUFFIX_MODULE="dll"
48189 DLLIMP_SUFFIX="dll.a"
48190 EXEEXT=".exe"
48191 DLLPREFIX="cyg"
48192 dlldir="$bindir"
48193 ;;
48194 *-*-mingw32* )
48195 SO_SUFFIX="dll"
48196 SO_SUFFIX_MODULE="dll"
48197 DLLIMP_SUFFIX="dll.a"
48198 EXEEXT=".exe"
48199 DLLPREFIX=""
48200 dlldir="$bindir"
48201 ;;
48202 *-pc-msdosdjgpp )
48203 EXEEXT=".exe"
48204 DLLPREFIX=""
48205 dlldir="$bindir"
48206 ;;
48207 *-pc-os2_emx | *-pc-os2-emx )
48208 SO_SUFFIX="dll"
48209 SO_SUFFIX_MODULE="dll"
48210 DLLIMP_SUFFIX=$OS2_LIBEXT
48211 EXEEXT=".exe"
48212 DLLPREFIX=""
48213 LIBPREFIX=""
48214 LIBEXT=".$OS2_LIBEXT"
48215 dlldir="$bindir"
48216 ;;
48217 *-*-darwin* )
48218 SO_SUFFIX="dylib"
48219 SO_SUFFIX_MODULE="bundle"
48220 ;;
48221 esac
48222
48223 if test "x$DLLIMP_SUFFIX" = "x" ; then
48224 DLLIMP_SUFFIX="$SO_SUFFIX"
48225 fi
48226
48227
48228
48229
48230
48231
48232
48233
48234
48235
48236
48237
48238 PIC_FLAG=""
48239 if test "x$GCC" = "xyes"; then
48240 PIC_FLAG="-fPIC"
48241 fi
48242
48243 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48244 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48245 WINDOWS_IMPLIB=0
48246
48247 case "${BAKEFILE_HOST}" in
48248 *-hp-hpux* )
48249 if test "x$GCC" != "xyes"; then
48250 LDFLAGS="$LDFLAGS -L/usr/lib"
48251
48252 SHARED_LD_CC="${CC} -b -o"
48253 SHARED_LD_CXX="${CXX} -b -o"
48254 PIC_FLAG="+Z"
48255 fi
48256 ;;
48257
48258 *-*-linux* )
48259 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48260 PIC_FLAG="-KPIC"
48261 elif test "x$SUNCXX" = "xyes"; then
48262 SHARED_LD_CC="${CC} -G -o"
48263 SHARED_LD_CXX="${CXX} -G -o"
48264 PIC_FLAG="-KPIC"
48265 fi
48266 ;;
48267
48268 *-*-solaris2* )
48269 if test "x$SUNCXX" = xyes ; then
48270 SHARED_LD_CC="${CC} -G -o"
48271 SHARED_LD_CXX="${CXX} -G -o"
48272 PIC_FLAG="-KPIC"
48273 fi
48274 ;;
48275
48276 *-*-darwin* )
48277
48278 D='$'
48279 cat <<EOF >shared-ld-sh
48280 #!/bin/sh
48281 #-----------------------------------------------------------------------------
48282 #-- Name: distrib/mac/shared-ld-sh
48283 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48284 #-- Author: Gilles Depeyrot
48285 #-- Copyright: (c) 2002 Gilles Depeyrot
48286 #-- Licence: any use permitted
48287 #-----------------------------------------------------------------------------
48288
48289 verbose=0
48290 args=""
48291 objects=""
48292 linking_flag="-dynamiclib"
48293 ldargs="-r -keep_private_externs -nostdlib"
48294
48295 if test "x${D}CXX" = "x"; then
48296 CXX="c++"
48297 fi
48298
48299 while test ${D}# -gt 0; do
48300 case ${D}1 in
48301
48302 -v)
48303 verbose=1
48304 ;;
48305
48306 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48307 # collect these options and values
48308 args="${D}{args} ${D}1 ${D}2"
48309 shift
48310 ;;
48311
48312 -arch|-isysroot)
48313 # collect these options and values
48314 ldargs="${D}{ldargs} ${D}1 ${D}2"
48315 shift
48316 ;;
48317
48318 -s|-Wl,*)
48319 # collect these load args
48320 ldargs="${D}{ldargs} ${D}1"
48321 ;;
48322
48323 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48324 # collect these options
48325 args="${D}{args} ${D}1"
48326 ;;
48327
48328 -dynamiclib|-bundle)
48329 linking_flag="${D}1"
48330 ;;
48331
48332 -*)
48333 echo "shared-ld: unhandled option '${D}1'"
48334 exit 1
48335 ;;
48336
48337 *.o | *.a | *.dylib)
48338 # collect object files
48339 objects="${D}{objects} ${D}1"
48340 ;;
48341
48342 *)
48343 echo "shared-ld: unhandled argument '${D}1'"
48344 exit 1
48345 ;;
48346
48347 esac
48348 shift
48349 done
48350
48351 status=0
48352
48353 #
48354 # Link one module containing all the others
48355 #
48356 if test ${D}{verbose} = 1; then
48357 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48358 fi
48359 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48360 status=${D}?
48361
48362 #
48363 # Link the shared library from the single module created, but only if the
48364 # previous command didn't fail:
48365 #
48366 if test ${D}{status} = 0; then
48367 if test ${D}{verbose} = 1; then
48368 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48369 fi
48370 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48371 status=${D}?
48372 fi
48373
48374 #
48375 # Remove intermediate module
48376 #
48377 rm -f master.${D}${D}.o
48378
48379 exit ${D}status
48380 EOF
48381
48382 chmod +x shared-ld-sh
48383
48384 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48385 SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48386
48387
48388 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48389 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48390 if test "${bakefile_cv_gcc31+set}" = set; then
48391 echo $ECHO_N "(cached) $ECHO_C" >&6
48392 else
48393
48394 cat >conftest.$ac_ext <<_ACEOF
48395 /* confdefs.h. */
48396 _ACEOF
48397 cat confdefs.h >>conftest.$ac_ext
48398 cat >>conftest.$ac_ext <<_ACEOF
48399 /* end confdefs.h. */
48400
48401 int
48402 main ()
48403 {
48404
48405 #if (__GNUC__ < 3) || \
48406 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48407 This is old gcc
48408 #endif
48409
48410 ;
48411 return 0;
48412 }
48413 _ACEOF
48414 rm -f conftest.$ac_objext
48415 if { (ac_try="$ac_compile"
48416 case "(($ac_try" in
48417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48418 *) ac_try_echo=$ac_try;;
48419 esac
48420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48421 (eval "$ac_compile") 2>conftest.er1
48422 ac_status=$?
48423 grep -v '^ *+' conftest.er1 >conftest.err
48424 rm -f conftest.er1
48425 cat conftest.err >&5
48426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48427 (exit $ac_status); } && {
48428 test -z "$ac_c_werror_flag" ||
48429 test ! -s conftest.err
48430 } && test -s conftest.$ac_objext; then
48431
48432 bakefile_cv_gcc31=yes
48433
48434 else
48435 echo "$as_me: failed program was:" >&5
48436 sed 's/^/| /' conftest.$ac_ext >&5
48437
48438
48439 bakefile_cv_gcc31=no
48440
48441
48442 fi
48443
48444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48445
48446 fi
48447 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48448 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48449 if test "$bakefile_cv_gcc31" = "no"; then
48450 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48451 SHARED_LD_CXX="$SHARED_LD_CC"
48452 else
48453 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48454 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48455 fi
48456
48457 if test "x$GCC" == "xyes"; then
48458 PIC_FLAG="-dynamic -fPIC"
48459 fi
48460 if test "x$XLCC" = "xyes"; then
48461 PIC_FLAG="-dynamic -DPIC"
48462 fi
48463 ;;
48464
48465 *-*-aix* )
48466 if test "x$GCC" = "xyes"; then
48467 PIC_FLAG=""
48468
48469 case "${BAKEFILE_HOST}" in
48470 *-*-aix5* )
48471 LD_EXPFULL="-Wl,-bexpfull"
48472 ;;
48473 esac
48474
48475 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48476 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48477 else
48478 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48479 set dummy makeC++SharedLib; ac_word=$2
48480 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48482 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48483 echo $ECHO_N "(cached) $ECHO_C" >&6
48484 else
48485 if test -n "$AIX_CXX_LD"; then
48486 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48487 else
48488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48489 for as_dir in $PATH
48490 do
48491 IFS=$as_save_IFS
48492 test -z "$as_dir" && as_dir=.
48493 for ac_exec_ext in '' $ac_executable_extensions; do
48494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48495 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48497 break 2
48498 fi
48499 done
48500 done
48501 IFS=$as_save_IFS
48502
48503 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48504 fi
48505 fi
48506 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48507 if test -n "$AIX_CXX_LD"; then
48508 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48509 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48510 else
48511 { echo "$as_me:$LINENO: result: no" >&5
48512 echo "${ECHO_T}no" >&6; }
48513 fi
48514
48515
48516 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48517 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48518 fi
48519 ;;
48520
48521 *-*-beos* )
48522 SHARED_LD_CC="${LD} -nostart -o"
48523 SHARED_LD_CXX="${LD} -nostart -o"
48524 ;;
48525
48526 *-*-irix* )
48527 if test "x$GCC" != "xyes"; then
48528 PIC_FLAG="-KPIC"
48529 fi
48530 ;;
48531
48532 *-*-cygwin* | *-*-mingw32* )
48533 PIC_FLAG=""
48534 SHARED_LD_CC="\$(CC) -shared -o"
48535 SHARED_LD_CXX="\$(CXX) -shared -o"
48536 WINDOWS_IMPLIB=1
48537 ;;
48538
48539 *-pc-os2_emx | *-pc-os2-emx )
48540 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48541 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48542 PIC_FLAG=""
48543
48544 D='$'
48545 cat <<EOF >dllar.sh
48546 #!/bin/sh
48547 #
48548 # dllar - a tool to build both a .dll and an .a file
48549 # from a set of object (.o) files for EMX/OS2.
48550 #
48551 # Written by Andrew Zabolotny, bit@freya.etu.ru
48552 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48553 #
48554 # This script will accept a set of files on the command line.
48555 # All the public symbols from the .o files will be exported into
48556 # a .DEF file, then linker will be run (through gcc) against them to
48557 # build a shared library consisting of all given .o files. All libraries
48558 # (.a) will be first decompressed into component .o files then act as
48559 # described above. You can optionally give a description (-d "description")
48560 # which will be put into .DLL. To see the list of accepted options (as well
48561 # as command-line format) simply run this program without options. The .DLL
48562 # is built to be imported by name (there is no guarantee that new versions
48563 # of the library you build will have same ordinals for same symbols).
48564 #
48565 # dllar is free software; you can redistribute it and/or modify
48566 # it under the terms of the GNU General Public License as published by
48567 # the Free Software Foundation; either version 2, or (at your option)
48568 # any later version.
48569 #
48570 # dllar is distributed in the hope that it will be useful,
48571 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48572 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48573 # GNU General Public License for more details.
48574 #
48575 # You should have received a copy of the GNU General Public License
48576 # along with dllar; see the file COPYING. If not, write to the Free
48577 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48578 # 02111-1307, USA.
48579
48580 # To successfuly run this program you will need:
48581 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48582 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48583 # - gcc
48584 # (used to build the .dll)
48585 # - emxexp
48586 # (used to create .def file from .o files)
48587 # - emximp
48588 # (used to create .a file from .def file)
48589 # - GNU text utilites (cat, sort, uniq)
48590 # used to process emxexp output
48591 # - GNU file utilities (mv, rm)
48592 # - GNU sed
48593 # - lxlite (optional, see flag below)
48594 # (used for general .dll cleanup)
48595 #
48596
48597 flag_USE_LXLITE=1;
48598
48599 #
48600 # helper functions
48601 # basnam, variant of basename, which does _not_ remove the path, _iff_
48602 # second argument (suffix to remove) is given
48603 basnam(){
48604 case ${D}# in
48605 1)
48606 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48607 ;;
48608 2)
48609 echo ${D}1 | sed 's/'${D}2'${D}//'
48610 ;;
48611 *)
48612 echo "error in basnam ${D}*"
48613 exit 8
48614 ;;
48615 esac
48616 }
48617
48618 # Cleanup temporary files and output
48619 CleanUp() {
48620 cd ${D}curDir
48621 for i in ${D}inputFiles ; do
48622 case ${D}i in
48623 *!)
48624 rm -rf \`basnam ${D}i !\`
48625 ;;
48626 *)
48627 ;;
48628 esac
48629 done
48630
48631 # Kill result in case of failure as there is just to many stupid make/nmake
48632 # things out there which doesn't do this.
48633 if [ ${D}# -eq 0 ]; then
48634 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48635 fi
48636 }
48637
48638 # Print usage and exit script with rc=1.
48639 PrintHelp() {
48640 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48641 echo ' [-name-mangler-script script.sh]'
48642 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48643 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48644 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48645 echo ' [*.o] [*.a]'
48646 echo '*> "output_file" should have no extension.'
48647 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48648 echo ' The import library name is derived from this and is set to "name".a,'
48649 echo ' unless overridden by -import'
48650 echo '*> "importlib_name" should have no extension.'
48651 echo ' If it has the .o, or .a extension, it is automatically removed.'
48652 echo ' This name is used as the import library name and may be longer and'
48653 echo ' more descriptive than the DLL name which has to follow the old '
48654 echo ' 8.3 convention of FAT.'
48655 echo '*> "script.sh may be given to override the output_file name by a'
48656 echo ' different name. It is mainly useful if the regular make process'
48657 echo ' of some package does not take into account OS/2 restriction of'
48658 echo ' DLL name lengths. It takes the importlib name as input and is'
48659 echo ' supposed to procude a shorter name as output. The script should'
48660 echo ' expect to get importlib_name without extension and should produce'
48661 echo ' a (max.) 8 letter name without extension.'
48662 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48663 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48664 echo ' These flags will be put at the start of GCC command line.'
48665 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48666 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48667 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48668 echo ' If the last character of a symbol is "*", all symbols beginning'
48669 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48670 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48671 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48672 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48673 echo ' C runtime DLLs.'
48674 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48675 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48676 echo ' unchanged to GCC at the end of command line.'
48677 echo '*> If you create a DLL from a library and you do not specify -o,'
48678 echo ' the basename for DLL and import library will be set to library name,'
48679 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48680 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48681 echo ' library will be renamed into gcc_s.a.'
48682 echo '--------'
48683 echo 'Example:'
48684 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48685 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48686 CleanUp
48687 exit 1
48688 }
48689
48690 # Execute a command.
48691 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48692 # @Uses Whatever CleanUp() uses.
48693 doCommand() {
48694 echo "${D}*"
48695 eval ${D}*
48696 rcCmd=${D}?
48697
48698 if [ ${D}rcCmd -ne 0 ]; then
48699 echo "command failed, exit code="${D}rcCmd
48700 CleanUp
48701 exit ${D}rcCmd
48702 fi
48703 }
48704
48705 # main routine
48706 # setup globals
48707 cmdLine=${D}*
48708 outFile=""
48709 outimpFile=""
48710 inputFiles=""
48711 renameScript=""
48712 description=""
48713 CC=gcc.exe
48714 CFLAGS="-s -Zcrtdll"
48715 EXTRA_CFLAGS=""
48716 EXPORT_BY_ORDINALS=0
48717 exclude_symbols=""
48718 library_flags=""
48719 curDir=\`pwd\`
48720 curDirS=curDir
48721 case ${D}curDirS in
48722 */)
48723 ;;
48724 *)
48725 curDirS=${D}{curDirS}"/"
48726 ;;
48727 esac
48728 # Parse commandline
48729 libsToLink=0
48730 omfLinking=0
48731 while [ ${D}1 ]; do
48732 case ${D}1 in
48733 -ord*)
48734 EXPORT_BY_ORDINALS=1;
48735 ;;
48736 -o*)
48737 shift
48738 outFile=${D}1
48739 ;;
48740 -i*)
48741 shift
48742 outimpFile=${D}1
48743 ;;
48744 -name-mangler-script)
48745 shift
48746 renameScript=${D}1
48747 ;;
48748 -d*)
48749 shift
48750 description=${D}1
48751 ;;
48752 -f*)
48753 shift
48754 CFLAGS=${D}1
48755 ;;
48756 -c*)
48757 shift
48758 CC=${D}1
48759 ;;
48760 -h*)
48761 PrintHelp
48762 ;;
48763 -ex*)
48764 shift
48765 exclude_symbols=${D}{exclude_symbols}${D}1" "
48766 ;;
48767 -libf*)
48768 shift
48769 library_flags=${D}{library_flags}${D}1" "
48770 ;;
48771 -nocrt*)
48772 CFLAGS="-s"
48773 ;;
48774 -nolxl*)
48775 flag_USE_LXLITE=0
48776 ;;
48777 -* | /*)
48778 case ${D}1 in
48779 -L* | -l*)
48780 libsToLink=1
48781 ;;
48782 -Zomf)
48783 omfLinking=1
48784 ;;
48785 *)
48786 ;;
48787 esac
48788 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48789 ;;
48790 *.dll)
48791 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48792 if [ ${D}omfLinking -eq 1 ]; then
48793 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48794 else
48795 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48796 fi
48797 ;;
48798 *)
48799 found=0;
48800 if [ ${D}libsToLink -ne 0 ]; then
48801 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48802 else
48803 for file in ${D}1 ; do
48804 if [ -f ${D}file ]; then
48805 inputFiles="${D}{inputFiles} ${D}file"
48806 found=1
48807 fi
48808 done
48809 if [ ${D}found -eq 0 ]; then
48810 echo "ERROR: No file(s) found: "${D}1
48811 exit 8
48812 fi
48813 fi
48814 ;;
48815 esac
48816 shift
48817 done # iterate cmdline words
48818
48819 #
48820 if [ -z "${D}inputFiles" ]; then
48821 echo "dllar: no input files"
48822 PrintHelp
48823 fi
48824
48825 # Now extract all .o files from .a files
48826 newInputFiles=""
48827 for file in ${D}inputFiles ; do
48828 case ${D}file in
48829 *.a | *.lib)
48830 case ${D}file in
48831 *.a)
48832 suffix=".a"
48833 AR="ar"
48834 ;;
48835 *.lib)
48836 suffix=".lib"
48837 AR="emxomfar"
48838 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48839 ;;
48840 *)
48841 ;;
48842 esac
48843 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48844 mkdir ${D}dirname
48845 if [ ${D}? -ne 0 ]; then
48846 echo "Failed to create subdirectory ./${D}dirname"
48847 CleanUp
48848 exit 8;
48849 fi
48850 # Append '!' to indicate archive
48851 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48852 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48853 cd ${D}curDir
48854 found=0;
48855 for subfile in ${D}dirname/*.o* ; do
48856 if [ -f ${D}subfile ]; then
48857 found=1
48858 if [ -s ${D}subfile ]; then
48859 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48860 newInputFiles="${D}newInputFiles ${D}subfile"
48861 fi
48862 fi
48863 done
48864 if [ ${D}found -eq 0 ]; then
48865 echo "WARNING: there are no files in archive \\'${D}file\\'"
48866 fi
48867 ;;
48868 *)
48869 newInputFiles="${D}{newInputFiles} ${D}file"
48870 ;;
48871 esac
48872 done
48873 inputFiles="${D}newInputFiles"
48874
48875 # Output filename(s).
48876 do_backup=0;
48877 if [ -z ${D}outFile ]; then
48878 do_backup=1;
48879 set outFile ${D}inputFiles; outFile=${D}2
48880 fi
48881
48882 # If it is an archive, remove the '!' and the '_%' suffixes
48883 case ${D}outFile in
48884 *_%!)
48885 outFile=\`basnam ${D}outFile _%!\`
48886 ;;
48887 *)
48888 ;;
48889 esac
48890 case ${D}outFile in
48891 *.dll)
48892 outFile=\`basnam ${D}outFile .dll\`
48893 ;;
48894 *.DLL)
48895 outFile=\`basnam ${D}outFile .DLL\`
48896 ;;
48897 *.o)
48898 outFile=\`basnam ${D}outFile .o\`
48899 ;;
48900 *.obj)
48901 outFile=\`basnam ${D}outFile .obj\`
48902 ;;
48903 *.a)
48904 outFile=\`basnam ${D}outFile .a\`
48905 ;;
48906 *.lib)
48907 outFile=\`basnam ${D}outFile .lib\`
48908 ;;
48909 *)
48910 ;;
48911 esac
48912 case ${D}outimpFile in
48913 *.a)
48914 outimpFile=\`basnam ${D}outimpFile .a\`
48915 ;;
48916 *.lib)
48917 outimpFile=\`basnam ${D}outimpFile .lib\`
48918 ;;
48919 *)
48920 ;;
48921 esac
48922 if [ -z ${D}outimpFile ]; then
48923 outimpFile=${D}outFile
48924 fi
48925 defFile="${D}{outFile}.def"
48926 arcFile="${D}{outimpFile}.a"
48927 arcFile2="${D}{outimpFile}.lib"
48928
48929 #create ${D}dllFile as something matching 8.3 restrictions,
48930 if [ -z ${D}renameScript ] ; then
48931 dllFile="${D}outFile"
48932 else
48933 dllFile=\`${D}renameScript ${D}outimpFile\`
48934 fi
48935
48936 if [ ${D}do_backup -ne 0 ] ; then
48937 if [ -f ${D}arcFile ] ; then
48938 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48939 fi
48940 if [ -f ${D}arcFile2 ] ; then
48941 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48942 fi
48943 fi
48944
48945 # Extract public symbols from all the object files.
48946 tmpdefFile=${D}{defFile}_%
48947 rm -f ${D}tmpdefFile
48948 for file in ${D}inputFiles ; do
48949 case ${D}file in
48950 *!)
48951 ;;
48952 *)
48953 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48954 ;;
48955 esac
48956 done
48957
48958 # Create the def file.
48959 rm -f ${D}defFile
48960 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48961 dllFile="${D}{dllFile}.dll"
48962 if [ ! -z ${D}description ]; then
48963 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48964 fi
48965 echo "EXPORTS" >> ${D}defFile
48966
48967 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48968 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48969
48970 # Checks if the export is ok or not.
48971 for word in ${D}exclude_symbols; do
48972 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48973 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48974 done
48975
48976
48977 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48978 sed "=" < ${D}tmpdefFile | \\
48979 sed '
48980 N
48981 : loop
48982 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48983 t loop
48984 ' > ${D}{tmpdefFile}%
48985 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48986 else
48987 rm -f ${D}{tmpdefFile}%
48988 fi
48989 cat ${D}tmpdefFile >> ${D}defFile
48990 rm -f ${D}tmpdefFile
48991
48992 # Do linking, create implib, and apply lxlite.
48993 gccCmdl="";
48994 for file in ${D}inputFiles ; do
48995 case ${D}file in
48996 *!)
48997 ;;
48998 *)
48999 gccCmdl="${D}gccCmdl ${D}file"
49000 ;;
49001 esac
49002 done
49003 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49004 touch "${D}{outFile}.dll"
49005
49006 doCommand "emximp -o ${D}arcFile ${D}defFile"
49007 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49008 add_flags="";
49009 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49010 add_flags="-ynd"
49011 fi
49012 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49013 fi
49014 doCommand "emxomf -s -l ${D}arcFile"
49015
49016 # Successful exit.
49017 CleanUp 1
49018 exit 0
49019 EOF
49020
49021 chmod +x dllar.sh
49022 ;;
49023
49024 powerpc-apple-macos* | \
49025 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49026 *-*-mirbsd* | \
49027 *-*-sunos4* | \
49028 *-*-osf* | \
49029 *-*-dgux5* | \
49030 *-*-sysv5* | \
49031 *-pc-msdosdjgpp )
49032 ;;
49033
49034 *)
49035 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49036 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49037 { (exit 1); exit 1; }; }
49038 esac
49039
49040 if test "x$PIC_FLAG" != "x" ; then
49041 PIC_FLAG="$PIC_FLAG -DPIC"
49042 fi
49043
49044 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49045 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49046 fi
49047 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49048 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49049 fi
49050
49051
49052
49053
49054
49055
49056
49057
49058
49059 USE_SOVERSION=0
49060 USE_SOVERLINUX=0
49061 USE_SOVERSOLARIS=0
49062 USE_SOVERCYGWIN=0
49063 USE_SOSYMLINKS=0
49064 USE_MACVERSION=0
49065 SONAME_FLAG=
49066
49067 case "${BAKEFILE_HOST}" in
49068 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49069 *-*-k*bsd*-gnu | *-*-mirbsd* )
49070 if test "x$SUNCXX" = "xyes"; then
49071 SONAME_FLAG="-h "
49072 else
49073 SONAME_FLAG="-Wl,-soname,"
49074 fi
49075 USE_SOVERSION=1
49076 USE_SOVERLINUX=1
49077 USE_SOSYMLINKS=1
49078 ;;
49079
49080 *-*-solaris2* )
49081 SONAME_FLAG="-h "
49082 USE_SOVERSION=1
49083 USE_SOVERSOLARIS=1
49084 USE_SOSYMLINKS=1
49085 ;;
49086
49087 *-*-darwin* )
49088 USE_MACVERSION=1
49089 USE_SOVERSION=1
49090 USE_SOSYMLINKS=1
49091 ;;
49092
49093 *-*-cygwin* )
49094 USE_SOVERSION=1
49095 USE_SOVERCYGWIN=1
49096 ;;
49097 esac
49098
49099
49100
49101
49102
49103
49104
49105
49106
49107
49108 # Check whether --enable-dependency-tracking was given.
49109 if test "${enable_dependency_tracking+set}" = set; then
49110 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49111 fi
49112
49113
49114 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49115 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49116
49117 BK_DEPS=""
49118 if test "x$bk_use_trackdeps" = "xno" ; then
49119 DEPS_TRACKING=0
49120 { echo "$as_me:$LINENO: result: disabled" >&5
49121 echo "${ECHO_T}disabled" >&6; }
49122 else
49123 DEPS_TRACKING=1
49124
49125 if test "x$GCC" = "xyes"; then
49126 DEPSMODE=gcc
49127 case "${BAKEFILE_HOST}" in
49128 *-*-darwin* )
49129 DEPSFLAG="-no-cpp-precomp -MMD"
49130 ;;
49131 * )
49132 DEPSFLAG="-MMD"
49133 ;;
49134 esac
49135 { echo "$as_me:$LINENO: result: gcc" >&5
49136 echo "${ECHO_T}gcc" >&6; }
49137 elif test "x$MWCC" = "xyes"; then
49138 DEPSMODE=mwcc
49139 DEPSFLAG="-MM"
49140 { echo "$as_me:$LINENO: result: mwcc" >&5
49141 echo "${ECHO_T}mwcc" >&6; }
49142 elif test "x$SUNCC" = "xyes"; then
49143 DEPSMODE=unixcc
49144 DEPSFLAG="-xM1"
49145 { echo "$as_me:$LINENO: result: Sun cc" >&5
49146 echo "${ECHO_T}Sun cc" >&6; }
49147 elif test "x$SGICC" = "xyes"; then
49148 DEPSMODE=unixcc
49149 DEPSFLAG="-M"
49150 { echo "$as_me:$LINENO: result: SGI cc" >&5
49151 echo "${ECHO_T}SGI cc" >&6; }
49152 elif test "x$HPCC" = "xyes"; then
49153 DEPSMODE=unixcc
49154 DEPSFLAG="+make"
49155 { echo "$as_me:$LINENO: result: HP cc" >&5
49156 echo "${ECHO_T}HP cc" >&6; }
49157 elif test "x$COMPAQCC" = "xyes"; then
49158 DEPSMODE=gcc
49159 DEPSFLAG="-MD"
49160 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49161 echo "${ECHO_T}Compaq cc" >&6; }
49162 else
49163 DEPS_TRACKING=0
49164 { echo "$as_me:$LINENO: result: none" >&5
49165 echo "${ECHO_T}none" >&6; }
49166 fi
49167
49168 if test $DEPS_TRACKING = 1 ; then
49169
49170 D='$'
49171 cat <<EOF >bk-deps
49172 #!/bin/sh
49173
49174 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49175 # script. It is used to track C/C++ files dependencies in portable way.
49176 #
49177 # Permission is given to use this file in any way.
49178
49179 DEPSMODE=${DEPSMODE}
49180 DEPSFLAG="${DEPSFLAG}"
49181 DEPSDIRBASE=.deps
49182
49183 if test ${D}DEPSMODE = gcc ; then
49184 ${D}* ${D}{DEPSFLAG}
49185 status=${D}?
49186
49187 # determine location of created files:
49188 while test ${D}# -gt 0; do
49189 case "${D}1" in
49190 -o )
49191 shift
49192 objfile=${D}1
49193 ;;
49194 -* )
49195 ;;
49196 * )
49197 srcfile=${D}1
49198 ;;
49199 esac
49200 shift
49201 done
49202 objfilebase=\`basename ${D}objfile\`
49203 builddir=\`dirname ${D}objfile\`
49204 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49205 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49206 depsdir=${D}builddir/${D}DEPSDIRBASE
49207 mkdir -p ${D}depsdir
49208
49209 # if the compiler failed, we're done:
49210 if test ${D}{status} != 0 ; then
49211 rm -f ${D}depfile
49212 exit ${D}{status}
49213 fi
49214
49215 # move created file to the location we want it in:
49216 if test -f ${D}depfile ; then
49217 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49218 rm -f ${D}depfile
49219 else
49220 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49221 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
49222 if test ! -f ${D}depfile ; then
49223 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49224 depfile="${D}objfile.d"
49225 fi
49226 if test -f ${D}depfile ; then
49227 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49228 rm -f ${D}depfile
49229 fi
49230 fi
49231 exit 0
49232
49233 elif test ${D}DEPSMODE = mwcc ; then
49234 ${D}* || exit ${D}?
49235 # Run mwcc again with -MM and redirect into the dep file we want
49236 # NOTE: We can't use shift here because we need ${D}* to be valid
49237 prevarg=
49238 for arg in ${D}* ; do
49239 if test "${D}prevarg" = "-o"; then
49240 objfile=${D}arg
49241 else
49242 case "${D}arg" in
49243 -* )
49244 ;;
49245 * )
49246 srcfile=${D}arg
49247 ;;
49248 esac
49249 fi
49250 prevarg="${D}arg"
49251 done
49252
49253 objfilebase=\`basename ${D}objfile\`
49254 builddir=\`dirname ${D}objfile\`
49255 depsdir=${D}builddir/${D}DEPSDIRBASE
49256 mkdir -p ${D}depsdir
49257
49258 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49259 exit 0
49260
49261 elif test ${D}DEPSMODE = unixcc; then
49262 ${D}* || exit ${D}?
49263 # Run compiler again with deps flag and redirect into the dep file.
49264 # It doesn't work if the '-o FILE' option is used, but without it the
49265 # dependency file will contain the wrong name for the object. So it is
49266 # removed from the command line, and the dep file is fixed with sed.
49267 cmd=""
49268 while test ${D}# -gt 0; do
49269 case "${D}1" in
49270 -o )
49271 shift
49272 objfile=${D}1
49273 ;;
49274 * )
49275 eval arg${D}#=\\${D}1
49276 cmd="${D}cmd \\${D}arg${D}#"
49277 ;;
49278 esac
49279 shift
49280 done
49281
49282 objfilebase=\`basename ${D}objfile\`
49283 builddir=\`dirname ${D}objfile\`
49284 depsdir=${D}builddir/${D}DEPSDIRBASE
49285 mkdir -p ${D}depsdir
49286
49287 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49288 exit 0
49289
49290 else
49291 ${D}*
49292 exit ${D}?
49293 fi
49294 EOF
49295
49296 chmod +x bk-deps
49297 BK_DEPS="`pwd`/bk-deps"
49298 fi
49299 fi
49300
49301
49302
49303
49304
49305 case ${BAKEFILE_HOST} in
49306 *-*-cygwin* | *-*-mingw32* )
49307 if test -n "$ac_tool_prefix"; then
49308 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49309 set dummy ${ac_tool_prefix}windres; ac_word=$2
49310 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49312 if test "${ac_cv_prog_WINDRES+set}" = set; then
49313 echo $ECHO_N "(cached) $ECHO_C" >&6
49314 else
49315 if test -n "$WINDRES"; then
49316 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49317 else
49318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49319 for as_dir in $PATH
49320 do
49321 IFS=$as_save_IFS
49322 test -z "$as_dir" && as_dir=.
49323 for ac_exec_ext in '' $ac_executable_extensions; do
49324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49325 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49327 break 2
49328 fi
49329 done
49330 done
49331 IFS=$as_save_IFS
49332
49333 fi
49334 fi
49335 WINDRES=$ac_cv_prog_WINDRES
49336 if test -n "$WINDRES"; then
49337 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49338 echo "${ECHO_T}$WINDRES" >&6; }
49339 else
49340 { echo "$as_me:$LINENO: result: no" >&5
49341 echo "${ECHO_T}no" >&6; }
49342 fi
49343
49344
49345 fi
49346 if test -z "$ac_cv_prog_WINDRES"; then
49347 ac_ct_WINDRES=$WINDRES
49348 # Extract the first word of "windres", so it can be a program name with args.
49349 set dummy windres; ac_word=$2
49350 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49352 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49353 echo $ECHO_N "(cached) $ECHO_C" >&6
49354 else
49355 if test -n "$ac_ct_WINDRES"; then
49356 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49357 else
49358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49359 for as_dir in $PATH
49360 do
49361 IFS=$as_save_IFS
49362 test -z "$as_dir" && as_dir=.
49363 for ac_exec_ext in '' $ac_executable_extensions; do
49364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49365 ac_cv_prog_ac_ct_WINDRES="windres"
49366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49367 break 2
49368 fi
49369 done
49370 done
49371 IFS=$as_save_IFS
49372
49373 fi
49374 fi
49375 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49376 if test -n "$ac_ct_WINDRES"; then
49377 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49378 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49379 else
49380 { echo "$as_me:$LINENO: result: no" >&5
49381 echo "${ECHO_T}no" >&6; }
49382 fi
49383
49384 if test "x$ac_ct_WINDRES" = x; then
49385 WINDRES=""
49386 else
49387 case $cross_compiling:$ac_tool_warned in
49388 yes:)
49389 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49390 whose name does not start with the host triplet. If you think this
49391 configuration is useful to you, please write to autoconf@gnu.org." >&5
49392 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49393 whose name does not start with the host triplet. If you think this
49394 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49395 ac_tool_warned=yes ;;
49396 esac
49397 WINDRES=$ac_ct_WINDRES
49398 fi
49399 else
49400 WINDRES="$ac_cv_prog_WINDRES"
49401 fi
49402
49403 ;;
49404
49405 *-*-darwin* | powerpc-apple-macos* )
49406 # Extract the first word of "Rez", so it can be a program name with args.
49407 set dummy Rez; ac_word=$2
49408 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49409 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49410 if test "${ac_cv_prog_REZ+set}" = set; then
49411 echo $ECHO_N "(cached) $ECHO_C" >&6
49412 else
49413 if test -n "$REZ"; then
49414 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49415 else
49416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49417 for as_dir in $PATH
49418 do
49419 IFS=$as_save_IFS
49420 test -z "$as_dir" && as_dir=.
49421 for ac_exec_ext in '' $ac_executable_extensions; do
49422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49423 ac_cv_prog_REZ="Rez"
49424 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49425 break 2
49426 fi
49427 done
49428 done
49429 IFS=$as_save_IFS
49430
49431 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49432 fi
49433 fi
49434 REZ=$ac_cv_prog_REZ
49435 if test -n "$REZ"; then
49436 { echo "$as_me:$LINENO: result: $REZ" >&5
49437 echo "${ECHO_T}$REZ" >&6; }
49438 else
49439 { echo "$as_me:$LINENO: result: no" >&5
49440 echo "${ECHO_T}no" >&6; }
49441 fi
49442
49443
49444 # Extract the first word of "SetFile", so it can be a program name with args.
49445 set dummy SetFile; ac_word=$2
49446 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49448 if test "${ac_cv_prog_SETFILE+set}" = set; then
49449 echo $ECHO_N "(cached) $ECHO_C" >&6
49450 else
49451 if test -n "$SETFILE"; then
49452 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49453 else
49454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49455 for as_dir in $PATH
49456 do
49457 IFS=$as_save_IFS
49458 test -z "$as_dir" && as_dir=.
49459 for ac_exec_ext in '' $ac_executable_extensions; do
49460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49461 ac_cv_prog_SETFILE="SetFile"
49462 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49463 break 2
49464 fi
49465 done
49466 done
49467 IFS=$as_save_IFS
49468
49469 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49470 fi
49471 fi
49472 SETFILE=$ac_cv_prog_SETFILE
49473 if test -n "$SETFILE"; then
49474 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49475 echo "${ECHO_T}$SETFILE" >&6; }
49476 else
49477 { echo "$as_me:$LINENO: result: no" >&5
49478 echo "${ECHO_T}no" >&6; }
49479 fi
49480
49481
49482 ;;
49483 esac
49484
49485
49486
49487
49488
49489
49490
49491
49492
49493 BAKEFILE_BAKEFILE_M4_VERSION="0.2.5"
49494
49495
49496 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.5"
49497
49498
49499
49500 # Check whether --enable-precomp-headers was given.
49501 if test "${enable_precomp_headers+set}" = set; then
49502 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49503 fi
49504
49505
49506 GCC_PCH=0
49507 ICC_PCH=0
49508 USE_PCH=0
49509 BK_MAKE_PCH=""
49510
49511 case ${BAKEFILE_HOST} in
49512 *-*-cygwin* )
49513 bk_use_pch="no"
49514 ;;
49515 esac
49516
49517 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49518 if test "x$GCC" = "xyes"; then
49519 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49520 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49521 cat >conftest.$ac_ext <<_ACEOF
49522 /* confdefs.h. */
49523 _ACEOF
49524 cat confdefs.h >>conftest.$ac_ext
49525 cat >>conftest.$ac_ext <<_ACEOF
49526 /* end confdefs.h. */
49527
49528 int
49529 main ()
49530 {
49531
49532 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49533 There is no PCH support
49534 #endif
49535 #if (__GNUC__ < 3)
49536 There is no PCH support
49537 #endif
49538 #if (__GNUC__ == 3) && \
49539 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49540 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49541 ( defined(__INTEL_COMPILER) )
49542 There is no PCH support
49543 #endif
49544
49545 ;
49546 return 0;
49547 }
49548 _ACEOF
49549 rm -f conftest.$ac_objext
49550 if { (ac_try="$ac_compile"
49551 case "(($ac_try" in
49552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49553 *) ac_try_echo=$ac_try;;
49554 esac
49555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49556 (eval "$ac_compile") 2>conftest.er1
49557 ac_status=$?
49558 grep -v '^ *+' conftest.er1 >conftest.err
49559 rm -f conftest.er1
49560 cat conftest.err >&5
49561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49562 (exit $ac_status); } && {
49563 test -z "$ac_c_werror_flag" ||
49564 test ! -s conftest.err
49565 } && test -s conftest.$ac_objext; then
49566
49567 { echo "$as_me:$LINENO: result: yes" >&5
49568 echo "${ECHO_T}yes" >&6; }
49569 GCC_PCH=1
49570
49571 else
49572 echo "$as_me: failed program was:" >&5
49573 sed 's/^/| /' conftest.$ac_ext >&5
49574
49575
49576 if test "$INTELCXX8" = "yes"; then
49577 { echo "$as_me:$LINENO: result: yes" >&5
49578 echo "${ECHO_T}yes" >&6; }
49579 ICC_PCH=1
49580 if test "$INTELCXX10" = "yes"; then
49581 ICC_PCH_CREATE_SWITCH="-pch-create"
49582 ICC_PCH_USE_SWITCH="-pch-use"
49583 else
49584 ICC_PCH_CREATE_SWITCH="-create-pch"
49585 ICC_PCH_USE_SWITCH="-use-pch"
49586 fi
49587 else
49588 { echo "$as_me:$LINENO: result: no" >&5
49589 echo "${ECHO_T}no" >&6; }
49590 fi
49591
49592 fi
49593
49594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49595 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49596 USE_PCH=1
49597
49598 D='$'
49599 cat <<EOF >bk-make-pch
49600 #!/bin/sh
49601
49602 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49603 # script. It is used to generated precompiled headers.
49604 #
49605 # Permission is given to use this file in any way.
49606
49607 outfile="${D}{1}"
49608 header="${D}{2}"
49609 shift
49610 shift
49611
49612 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
49613
49614 compiler=""
49615 headerfile=""
49616
49617 while test ${D}{#} -gt 0; do
49618 add_to_cmdline=1
49619 case "${D}{1}" in
49620 -I* )
49621 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49622 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49623 headerfile="${D}{incdir}/${D}{header}"
49624 fi
49625 ;;
49626 -use-pch|-use_pch|-pch-use )
49627 shift
49628 add_to_cmdline=0
49629 ;;
49630 esac
49631 if test ${D}add_to_cmdline = 1 ; then
49632 compiler="${D}{compiler} ${D}{1}"
49633 fi
49634 shift
49635 done
49636
49637 if test "x${D}{headerfile}" = "x" ; then
49638 echo "error: can't find header ${D}{header} in include paths" >&2
49639 else
49640 if test -f ${D}{outfile} ; then
49641 rm -f ${D}{outfile}
49642 else
49643 mkdir -p \`dirname ${D}{outfile}\`
49644 fi
49645 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49646 mkdir -p ${D}{builddir}/.deps
49647 if test "x${GCC_PCH}" = "x1" ; then
49648 # can do this because gcc is >= 3.4:
49649 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49650 elif test "x${ICC_PCH}" = "x1" ; then
49651 filename=pch_gen-${D}${D}
49652 file=${D}{filename}.c
49653 dfile=${D}{filename}.d
49654 cat > ${D}file <<EOT
49655 #include "${D}header"
49656 EOT
49657 # using -MF icc complains about differing command lines in creation/use
49658 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
49659 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49660 rm -f ${D}file ${D}dfile ${D}{filename}.o
49661 fi
49662 exit ${D}{?}
49663 fi
49664 EOF
49665
49666 chmod +x bk-make-pch
49667 BK_MAKE_PCH="`pwd`/bk-make-pch"
49668 fi
49669 fi
49670 fi
49671
49672
49673
49674
49675
49676
49677
49678 COND_BUILD_DEBUG="#"
49679 if test "x$BUILD" = "xdebug" ; then
49680 COND_BUILD_DEBUG=""
49681 fi
49682
49683 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49684 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49685 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49686 fi
49687
49688 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49689 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49690 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49691 fi
49692
49693 COND_BUILD_DEBUG_UNICODE_0="#"
49694 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49695 COND_BUILD_DEBUG_UNICODE_0=""
49696 fi
49697
49698 COND_BUILD_DEBUG_UNICODE_1="#"
49699 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49700 COND_BUILD_DEBUG_UNICODE_1=""
49701 fi
49702
49703 COND_BUILD_RELEASE="#"
49704 if test "x$BUILD" = "xrelease" ; then
49705 COND_BUILD_RELEASE=""
49706 fi
49707
49708 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49709 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49710 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49711 fi
49712
49713 COND_BUILD_RELEASE_UNICODE_0="#"
49714 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49715 COND_BUILD_RELEASE_UNICODE_0=""
49716 fi
49717
49718 COND_BUILD_RELEASE_UNICODE_1="#"
49719 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49720 COND_BUILD_RELEASE_UNICODE_1=""
49721 fi
49722
49723 COND_BUILD_debug="#"
49724 if test "x$BUILD" = "xdebug" ; then
49725 COND_BUILD_debug=""
49726 fi
49727
49728 COND_BUILD_debug_DEBUG_FLAG_default="#"
49729 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49730 COND_BUILD_debug_DEBUG_FLAG_default=""
49731 fi
49732
49733 COND_BUILD_debug_DEBUG_INFO_default="#"
49734 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49735 COND_BUILD_debug_DEBUG_INFO_default=""
49736 fi
49737
49738 COND_BUILD_debug_UNICODE_0="#"
49739 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49740 COND_BUILD_debug_UNICODE_0=""
49741 fi
49742
49743 COND_BUILD_debug_UNICODE_1="#"
49744 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49745 COND_BUILD_debug_UNICODE_1=""
49746 fi
49747
49748 COND_BUILD_release="#"
49749 if test "x$BUILD" = "xrelease" ; then
49750 COND_BUILD_release=""
49751 fi
49752
49753 COND_BUILD_release_DEBUG_INFO_default="#"
49754 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49755 COND_BUILD_release_DEBUG_INFO_default=""
49756 fi
49757
49758 COND_BUILD_release_UNICODE_0="#"
49759 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49760 COND_BUILD_release_UNICODE_0=""
49761 fi
49762
49763 COND_BUILD_release_UNICODE_1="#"
49764 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49765 COND_BUILD_release_UNICODE_1=""
49766 fi
49767
49768 COND_DEBUG_FLAG_1="#"
49769 if test "x$DEBUG_FLAG" = "x1" ; then
49770 COND_DEBUG_FLAG_1=""
49771 fi
49772
49773 COND_DEBUG_INFO_0="#"
49774 if test "x$DEBUG_INFO" = "x0" ; then
49775 COND_DEBUG_INFO_0=""
49776 fi
49777
49778 COND_DEBUG_INFO_1="#"
49779 if test "x$DEBUG_INFO" = "x1" ; then
49780 COND_DEBUG_INFO_1=""
49781 fi
49782
49783 COND_DEPS_TRACKING_0="#"
49784 if test "x$DEPS_TRACKING" = "x0" ; then
49785 COND_DEPS_TRACKING_0=""
49786 fi
49787
49788 COND_DEPS_TRACKING_1="#"
49789 if test "x$DEPS_TRACKING" = "x1" ; then
49790 COND_DEPS_TRACKING_1=""
49791 fi
49792
49793 COND_GCC_PCH_1="#"
49794 if test "x$GCC_PCH" = "x1" ; then
49795 COND_GCC_PCH_1=""
49796 fi
49797
49798 COND_ICC_PCH_1="#"
49799 if test "x$ICC_PCH" = "x1" ; then
49800 COND_ICC_PCH_1=""
49801 fi
49802
49803 COND_MONOLITHIC_0="#"
49804 if test "x$MONOLITHIC" = "x0" ; then
49805 COND_MONOLITHIC_0=""
49806 fi
49807
49808 COND_MONOLITHIC_0_SHARED_0="#"
49809 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49810 COND_MONOLITHIC_0_SHARED_0=""
49811 fi
49812
49813 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49814 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49815 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49816 fi
49817
49818 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49819 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49820 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49821 fi
49822
49823 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49824 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49825 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49826 fi
49827
49828 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49829 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49831 fi
49832
49833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49834 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49835 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49836 fi
49837
49838 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
49839 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49840 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
49841 fi
49842
49843 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49844 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49845 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49846 fi
49847
49848 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
49849 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49850 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
49851 fi
49852
49853 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49854 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49855 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49856 fi
49857
49858 COND_MONOLITHIC_0_SHARED_1="#"
49859 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49860 COND_MONOLITHIC_0_SHARED_1=""
49861 fi
49862
49863 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49864 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49865 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49866 fi
49867
49868 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49869 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49870 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49871 fi
49872
49873 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49874 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49875 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49876 fi
49877
49878 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49879 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49880 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49881 fi
49882
49883 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49884 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49885 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49886 fi
49887
49888 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
49889 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
49890 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
49891 fi
49892
49893 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49894 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49895 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49896 fi
49897
49898 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
49899 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49900 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
49901 fi
49902
49903 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49904 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49905 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49906 fi
49907
49908 COND_MONOLITHIC_0_USE_AUI_1="#"
49909 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49910 COND_MONOLITHIC_0_USE_AUI_1=""
49911 fi
49912
49913 COND_MONOLITHIC_0_USE_GUI_1="#"
49914 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49915 COND_MONOLITHIC_0_USE_GUI_1=""
49916 fi
49917
49918 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
49919 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49920 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
49921 fi
49922
49923 COND_MONOLITHIC_0_USE_HTML_1="#"
49924 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49925 COND_MONOLITHIC_0_USE_HTML_1=""
49926 fi
49927
49928 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49929 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49930 COND_MONOLITHIC_0_USE_MEDIA_1=""
49931 fi
49932
49933 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
49934 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49935 COND_MONOLITHIC_0_USE_PROPGRID_1=""
49936 fi
49937
49938 COND_MONOLITHIC_0_USE_QA_1="#"
49939 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49940 COND_MONOLITHIC_0_USE_QA_1=""
49941 fi
49942
49943 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
49944 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49945 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
49946 fi
49947
49948 COND_MONOLITHIC_0_USE_STC_1="#"
49949 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49950 COND_MONOLITHIC_0_USE_STC_1=""
49951 fi
49952
49953 COND_MONOLITHIC_0_USE_XRC_1="#"
49954 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49955 COND_MONOLITHIC_0_USE_XRC_1=""
49956 fi
49957
49958 COND_MONOLITHIC_1="#"
49959 if test "x$MONOLITHIC" = "x1" ; then
49960 COND_MONOLITHIC_1=""
49961 fi
49962
49963 COND_MONOLITHIC_1_SHARED_0="#"
49964 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49965 COND_MONOLITHIC_1_SHARED_0=""
49966 fi
49967
49968 COND_MONOLITHIC_1_SHARED_1="#"
49969 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49970 COND_MONOLITHIC_1_SHARED_1=""
49971 fi
49972
49973 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49974 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49975 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49976 fi
49977
49978 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49979 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49980 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49981 fi
49982
49983 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49984 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49985 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49986 fi
49987
49988 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49989 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49990 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49991 fi
49992
49993 COND_PLATFORM_MACOSX_1="#"
49994 if test "x$PLATFORM_MACOSX" = "x1" ; then
49995 COND_PLATFORM_MACOSX_1=""
49996 fi
49997
49998 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
49999 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
50000 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
50001 fi
50002
50003 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50004 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50005 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50006 fi
50007
50008 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50009 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50010 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50011 fi
50012
50013 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50014 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50015 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50016 fi
50017
50018 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50019 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50020 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50021 fi
50022
50023 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50024 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50025 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50026 fi
50027
50028 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
50029 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50030 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
50031 fi
50032
50033 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50034 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50035 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50036 fi
50037
50038 COND_PLATFORM_MACOS_1="#"
50039 if test "x$PLATFORM_MACOS" = "x1" ; then
50040 COND_PLATFORM_MACOS_1=""
50041 fi
50042
50043 COND_PLATFORM_MAC_0="#"
50044 if test "x$PLATFORM_MAC" = "x0" ; then
50045 COND_PLATFORM_MAC_0=""
50046 fi
50047
50048 COND_PLATFORM_MAC_1="#"
50049 if test "x$PLATFORM_MAC" = "x1" ; then
50050 COND_PLATFORM_MAC_1=""
50051 fi
50052
50053 COND_PLATFORM_MSDOS_0="#"
50054 if test "x$PLATFORM_MSDOS" = "x0" ; then
50055 COND_PLATFORM_MSDOS_0=""
50056 fi
50057
50058 COND_PLATFORM_MSDOS_1="#"
50059 if test "x$PLATFORM_MSDOS" = "x1" ; then
50060 COND_PLATFORM_MSDOS_1=""
50061 fi
50062
50063 COND_PLATFORM_OS2_1="#"
50064 if test "x$PLATFORM_OS2" = "x1" ; then
50065 COND_PLATFORM_OS2_1=""
50066 fi
50067
50068 COND_PLATFORM_UNIX_0="#"
50069 if test "x$PLATFORM_UNIX" = "x0" ; then
50070 COND_PLATFORM_UNIX_0=""
50071 fi
50072
50073 COND_PLATFORM_UNIX_1="#"
50074 if test "x$PLATFORM_UNIX" = "x1" ; then
50075 COND_PLATFORM_UNIX_1=""
50076 fi
50077
50078 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
50079 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50080 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
50081 fi
50082
50083 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
50084 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50085 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
50086 fi
50087
50088 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50089 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50090 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50091 fi
50092
50093 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50094 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50095 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50096 fi
50097
50098 COND_PLATFORM_WIN32_0="#"
50099 if test "x$PLATFORM_WIN32" = "x0" ; then
50100 COND_PLATFORM_WIN32_0=""
50101 fi
50102
50103 COND_PLATFORM_WIN32_1="#"
50104 if test "x$PLATFORM_WIN32" = "x1" ; then
50105 COND_PLATFORM_WIN32_1=""
50106 fi
50107
50108 COND_SHARED_0="#"
50109 if test "x$SHARED" = "x0" ; then
50110 COND_SHARED_0=""
50111 fi
50112
50113 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50114 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50115 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50116 fi
50117
50118 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50119 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50120 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50121 fi
50122
50123 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50124 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50125 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50126 fi
50127
50128 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50129 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50130 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50131 fi
50132
50133 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50134 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50135 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50136 fi
50137
50138 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50139 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50140 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50141 fi
50142
50143 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50144 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50145 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50146 fi
50147
50148 COND_SHARED_0_USE_STC_1="#"
50149 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50150 COND_SHARED_0_USE_STC_1=""
50151 fi
50152
50153 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
50154 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50155 COND_SHARED_0_wxUSE_EXPAT_builtin=""
50156 fi
50157
50158 COND_SHARED_0_wxUSE_REGEX_builtin="#"
50159 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50160 COND_SHARED_0_wxUSE_REGEX_builtin=""
50161 fi
50162
50163 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
50164 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50165 COND_SHARED_0_wxUSE_ZLIB_builtin=""
50166 fi
50167
50168 COND_SHARED_1="#"
50169 if test "x$SHARED" = "x1" ; then
50170 COND_SHARED_1=""
50171 fi
50172
50173 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50174 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50175 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50176 fi
50177
50178 COND_TOOLKIT_="#"
50179 if test "x$TOOLKIT" = "x" ; then
50180 COND_TOOLKIT_=""
50181 fi
50182
50183 COND_TOOLKIT_COCOA="#"
50184 if test "x$TOOLKIT" = "xCOCOA" ; then
50185 COND_TOOLKIT_COCOA=""
50186 fi
50187
50188 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50189 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50190 COND_TOOLKIT_COCOA_USE_GUI_1=""
50191 fi
50192
50193 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50194 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50195 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50196 fi
50197
50198 COND_TOOLKIT_DFB="#"
50199 if test "x$TOOLKIT" = "xDFB" ; then
50200 COND_TOOLKIT_DFB=""
50201 fi
50202
50203 COND_TOOLKIT_DFB_USE_GUI_1="#"
50204 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50205 COND_TOOLKIT_DFB_USE_GUI_1=""
50206 fi
50207
50208 COND_TOOLKIT_GTK="#"
50209 if test "x$TOOLKIT" = "xGTK" ; then
50210 COND_TOOLKIT_GTK=""
50211 fi
50212
50213 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50214 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50215 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50216 fi
50217
50218 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50219 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50220 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50221 fi
50222
50223 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50224 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50225 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50226 fi
50227
50228 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50229 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50230 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50231 fi
50232
50233 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50234 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50235 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50236 fi
50237
50238 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50239 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50240 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50241 fi
50242
50243 COND_TOOLKIT_GTK_USE_GUI_1="#"
50244 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50245 COND_TOOLKIT_GTK_USE_GUI_1=""
50246 fi
50247
50248 COND_TOOLKIT_MAC="#"
50249 if test "x$TOOLKIT" = "xMAC" ; then
50250 COND_TOOLKIT_MAC=""
50251 fi
50252
50253 COND_TOOLKIT_MGL="#"
50254 if test "x$TOOLKIT" = "xMGL" ; then
50255 COND_TOOLKIT_MGL=""
50256 fi
50257
50258 COND_TOOLKIT_MGL_USE_GUI_1="#"
50259 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50260 COND_TOOLKIT_MGL_USE_GUI_1=""
50261 fi
50262
50263 COND_TOOLKIT_MOTIF="#"
50264 if test "x$TOOLKIT" = "xMOTIF" ; then
50265 COND_TOOLKIT_MOTIF=""
50266 fi
50267
50268 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50269 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50270 COND_TOOLKIT_MOTIF_USE_GUI_1=""
50271 fi
50272
50273 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50274 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50275 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50276 fi
50277
50278 COND_TOOLKIT_MSW="#"
50279 if test "x$TOOLKIT" = "xMSW" ; then
50280 COND_TOOLKIT_MSW=""
50281 fi
50282
50283 COND_TOOLKIT_MSW_USE_GUI_1="#"
50284 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50285 COND_TOOLKIT_MSW_USE_GUI_1=""
50286 fi
50287
50288 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50289 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50290 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50291 fi
50292
50293 COND_TOOLKIT_MSW_WXUNIV_0="#"
50294 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50295 COND_TOOLKIT_MSW_WXUNIV_0=""
50296 fi
50297
50298 COND_TOOLKIT_OSX_CARBON="#"
50299 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50300 COND_TOOLKIT_OSX_CARBON=""
50301 fi
50302
50303 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50304 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50305 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50306 fi
50307
50308 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50309 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50310 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50311 fi
50312
50313 COND_TOOLKIT_OSX_COCOA="#"
50314 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50315 COND_TOOLKIT_OSX_COCOA=""
50316 fi
50317
50318 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50319 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50320 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50321 fi
50322
50323 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50324 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50325 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50326 fi
50327
50328 COND_TOOLKIT_OSX_IPHONE="#"
50329 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50330 COND_TOOLKIT_OSX_IPHONE=""
50331 fi
50332
50333 COND_TOOLKIT_PM="#"
50334 if test "x$TOOLKIT" = "xPM" ; then
50335 COND_TOOLKIT_PM=""
50336 fi
50337
50338 COND_TOOLKIT_PM_USE_GUI_1="#"
50339 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50340 COND_TOOLKIT_PM_USE_GUI_1=""
50341 fi
50342
50343 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50344 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50345 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50346 fi
50347
50348 COND_TOOLKIT_WINCE="#"
50349 if test "x$TOOLKIT" = "xWINCE" ; then
50350 COND_TOOLKIT_WINCE=""
50351 fi
50352
50353 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50354 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50355 COND_TOOLKIT_WINCE_USE_GUI_1=""
50356 fi
50357
50358 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50359 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50360 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50361 fi
50362
50363 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50364 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50365 COND_TOOLKIT_WINCE_WXUNIV_0=""
50366 fi
50367
50368 COND_TOOLKIT_X11="#"
50369 if test "x$TOOLKIT" = "xX11" ; then
50370 COND_TOOLKIT_X11=""
50371 fi
50372
50373 COND_TOOLKIT_X11_USE_GUI_1="#"
50374 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50375 COND_TOOLKIT_X11_USE_GUI_1=""
50376 fi
50377
50378 COND_UNICODE_1="#"
50379 if test "x$UNICODE" = "x1" ; then
50380 COND_UNICODE_1=""
50381 fi
50382
50383 COND_USE_EXCEPTIONS_0="#"
50384 if test "x$USE_EXCEPTIONS" = "x0" ; then
50385 COND_USE_EXCEPTIONS_0=""
50386 fi
50387
50388 COND_USE_EXCEPTIONS_1="#"
50389 if test "x$USE_EXCEPTIONS" = "x1" ; then
50390 COND_USE_EXCEPTIONS_1=""
50391 fi
50392
50393 COND_USE_GUI_0="#"
50394 if test "x$USE_GUI" = "x0" ; then
50395 COND_USE_GUI_0=""
50396 fi
50397
50398 COND_USE_GUI_1="#"
50399 if test "x$USE_GUI" = "x1" ; then
50400 COND_USE_GUI_1=""
50401 fi
50402
50403 COND_USE_GUI_1_USE_OPENGL_1="#"
50404 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50405 COND_USE_GUI_1_USE_OPENGL_1=""
50406 fi
50407
50408 COND_USE_GUI_1_WXUNIV_0="#"
50409 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50410 COND_USE_GUI_1_WXUNIV_0=""
50411 fi
50412
50413 COND_USE_GUI_1_WXUNIV_1="#"
50414 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50415 COND_USE_GUI_1_WXUNIV_1=""
50416 fi
50417
50418 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50419 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50420 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50421 fi
50422
50423 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50424 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50425 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50426 fi
50427
50428 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50429 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50430 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50431 fi
50432
50433 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50434 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50435 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50436 fi
50437
50438 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50439 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50440 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50441 fi
50442
50443 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50444 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50445 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50446 fi
50447
50448 COND_USE_OPENGL_1="#"
50449 if test "x$USE_OPENGL" = "x1" ; then
50450 COND_USE_OPENGL_1=""
50451 fi
50452
50453 COND_USE_PCH_1="#"
50454 if test "x$USE_PCH" = "x1" ; then
50455 COND_USE_PCH_1=""
50456 fi
50457
50458 COND_USE_PLUGINS_0="#"
50459 if test "x$USE_PLUGINS" = "x0" ; then
50460 COND_USE_PLUGINS_0=""
50461 fi
50462
50463 COND_USE_RTTI_0="#"
50464 if test "x$USE_RTTI" = "x0" ; then
50465 COND_USE_RTTI_0=""
50466 fi
50467
50468 COND_USE_RTTI_1="#"
50469 if test "x$USE_RTTI" = "x1" ; then
50470 COND_USE_RTTI_1=""
50471 fi
50472
50473 COND_USE_SOSYMLINKS_1="#"
50474 if test "x$USE_SOSYMLINKS" = "x1" ; then
50475 COND_USE_SOSYMLINKS_1=""
50476 fi
50477
50478 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50479 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50480 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50481 fi
50482
50483 COND_USE_SOVERLINUX_1="#"
50484 if test "x$USE_SOVERLINUX" = "x1" ; then
50485 COND_USE_SOVERLINUX_1=""
50486 fi
50487
50488 COND_USE_SOVERSION_0="#"
50489 if test "x$USE_SOVERSION" = "x0" ; then
50490 COND_USE_SOVERSION_0=""
50491 fi
50492
50493 COND_USE_SOVERSOLARIS_1="#"
50494 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50495 COND_USE_SOVERSOLARIS_1=""
50496 fi
50497
50498 COND_USE_STC_1="#"
50499 if test "x$USE_STC" = "x1" ; then
50500 COND_USE_STC_1=""
50501 fi
50502
50503 COND_USE_THREADS_0="#"
50504 if test "x$USE_THREADS" = "x0" ; then
50505 COND_USE_THREADS_0=""
50506 fi
50507
50508 COND_USE_THREADS_1="#"
50509 if test "x$USE_THREADS" = "x1" ; then
50510 COND_USE_THREADS_1=""
50511 fi
50512
50513 COND_USE_XRC_1="#"
50514 if test "x$USE_XRC" = "x1" ; then
50515 COND_USE_XRC_1=""
50516 fi
50517
50518 COND_WINDOWS_IMPLIB_1="#"
50519 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50520 COND_WINDOWS_IMPLIB_1=""
50521 fi
50522
50523 COND_WITH_PLUGIN_SDL_1="#"
50524 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50525 COND_WITH_PLUGIN_SDL_1=""
50526 fi
50527
50528 COND_WXUNIV_0="#"
50529 if test "x$WXUNIV" = "x0" ; then
50530 COND_WXUNIV_0=""
50531 fi
50532
50533 COND_WXUNIV_1="#"
50534 if test "x$WXUNIV" = "x1" ; then
50535 COND_WXUNIV_1=""
50536 fi
50537
50538 COND_WXUSE_EXPAT_BUILTIN="#"
50539 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50540 COND_WXUSE_EXPAT_BUILTIN=""
50541 fi
50542
50543 COND_WXUSE_LIBJPEG_BUILTIN="#"
50544 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50545 COND_WXUSE_LIBJPEG_BUILTIN=""
50546 fi
50547
50548 COND_WXUSE_LIBPNG_BUILTIN="#"
50549 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50550 COND_WXUSE_LIBPNG_BUILTIN=""
50551 fi
50552
50553 COND_WXUSE_LIBTIFF_BUILTIN="#"
50554 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50555 COND_WXUSE_LIBTIFF_BUILTIN=""
50556 fi
50557
50558 COND_WXUSE_REGEX_BUILTIN="#"
50559 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50560 COND_WXUSE_REGEX_BUILTIN=""
50561 fi
50562
50563 COND_WXUSE_ZLIB_BUILTIN="#"
50564 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50565 COND_WXUSE_ZLIB_BUILTIN=""
50566 fi
50567
50568 COND_wxUSE_EXPAT_builtin="#"
50569 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50570 COND_wxUSE_EXPAT_builtin=""
50571 fi
50572
50573 COND_wxUSE_LIBJPEG_builtin="#"
50574 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50575 COND_wxUSE_LIBJPEG_builtin=""
50576 fi
50577
50578 COND_wxUSE_LIBPNG_builtin="#"
50579 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50580 COND_wxUSE_LIBPNG_builtin=""
50581 fi
50582
50583 COND_wxUSE_LIBTIFF_builtin="#"
50584 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50585 COND_wxUSE_LIBTIFF_builtin=""
50586 fi
50587
50588 COND_wxUSE_REGEX_builtin="#"
50589 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50590 COND_wxUSE_REGEX_builtin=""
50591 fi
50592
50593 COND_wxUSE_ZLIB_builtin="#"
50594 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50595 COND_wxUSE_ZLIB_builtin=""
50596 fi
50597
50598
50599
50600 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50601 { { 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
50602 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;}
50603 { (exit 1); exit 1; }; }
50604 fi
50605
50606 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50607 { { 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
50608 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;}
50609 { (exit 1); exit 1; }; }
50610 fi
50611
50612
50613 case ${INSTALL} in
50614 /* ) # Absolute
50615 ;;
50616 ?:* ) # Drive letter, considered as absolute.
50617 ;;
50618 *)
50619 INSTALL=`pwd`/${INSTALL} ;;
50620 esac
50621
50622 if test "$wxUSE_GUI" = "yes"; then
50623
50624 if test "$wxUSE_MSW" = 1 ; then
50625 if test "x$WINDRES" = "x"; then
50626 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50627 echo "$as_me: error: Required windres program not found" >&2;}
50628 { (exit 1); exit 1; }; }
50629 fi
50630
50631 RESCOMP="$WINDRES"
50632 fi
50633
50634 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50635 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50636 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50637
50638 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50639
50640 # Extract the first word of "DeRez", so it can be a program name with args.
50641 set dummy DeRez; ac_word=$2
50642 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50643 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50644 if test "${ac_cv_prog_DEREZ+set}" = set; then
50645 echo $ECHO_N "(cached) $ECHO_C" >&6
50646 else
50647 if test -n "$DEREZ"; then
50648 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
50649 else
50650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50651 for as_dir in $PATH
50652 do
50653 IFS=$as_save_IFS
50654 test -z "$as_dir" && as_dir=.
50655 for ac_exec_ext in '' $ac_executable_extensions; do
50656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50657 ac_cv_prog_DEREZ="DeRez"
50658 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50659 break 2
50660 fi
50661 done
50662 done
50663 IFS=$as_save_IFS
50664
50665 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
50666 fi
50667 fi
50668 DEREZ=$ac_cv_prog_DEREZ
50669 if test -n "$DEREZ"; then
50670 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50671 echo "${ECHO_T}$DEREZ" >&6; }
50672 else
50673 { echo "$as_me:$LINENO: result: no" >&5
50674 echo "${ECHO_T}no" >&6; }
50675 fi
50676
50677
50678
50679 MACSETFILE="\$(SETFILE)"
50680
50681 if test "$wxUSE_OSX_CARBON" = 1; then
50682 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50683 RESCOMP="$REZ"
50684 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
50685 else
50686 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50687 RESCOMP="cat /dev/null \| $REZ"
50688 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50689 fi
50690
50691 else
50692 MACSETFILE="@true"
50693
50694 if test "$wxUSE_PM" = 1; then
50695 RESCOMP="emxbind"
50696 WXCONFIG_RESFLAGS="-ep"
50697
50698 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
50699 else
50700 POSTLINK_COMMAND="@true"
50701 fi
50702 fi
50703
50704 fi
50705
50706
50707 if test $GCC_PCH = 1
50708 then
50709 if test "$wx_cv_gcc_pch_bug" = yes; then
50710 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50711 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50712 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50713 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50714 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50715 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50716 fi
50717
50718 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50719 # the headers that benefit from precompilation are mostly C++ headers.
50720 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50721 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50722 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50723 fi
50724
50725
50726 if test "$wxUSE_MAC" = 1 ; then
50727 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50728 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50729 mv temp bk-deps
50730 chmod +x bk-deps
50731 fi
50732 fi
50733
50734 if test "$wxUSE_SHARED" = "yes"; then
50735 case "${host}" in
50736 *-pc-os2_emx | *-pc-os2-emx )
50737 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50738 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50739 cp -p ${srcdir}/src/os2/dllnames.sh .
50740 cp -p ${srcdir}/src/os2/dllar.sh .
50741 ;;
50742 esac
50743 fi
50744 if test "$wxUSE_OMF" = "yes"; then
50745 case "${host}" in
50746 *-pc-os2_emx | *-pc-os2-emx )
50747 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50748 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50749 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50750 ;;
50751 esac
50752 fi
50753
50754 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50755
50756
50757 case "${host}" in
50758 *-*-solaris2* )
50759 if test "$GCC" = yes; then
50760 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
50761 LIBS=`echo $LIBS | sed 's/-mt//'`
50762 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50763 fi
50764 ;;
50765
50766 *-*-linux* )
50767 if test "x$SUNCXX" = xyes; then
50768 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
50769 LIBS=`echo $LIBS | sed 's/-pthread//'`
50770 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50771 fi
50772 ;;
50773 esac
50774
50775 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
50776 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50777 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
50778 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
50779
50780 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50781
50782
50783
50784
50785
50786
50787
50788
50789
50790
50791
50792
50793
50794
50795
50796
50797
50798
50799
50800
50801
50802
50803
50804
50805
50806
50807
50808
50809
50810
50811
50812
50813
50814
50815
50816
50817
50818
50819
50820
50821
50822
50823
50824
50825
50826
50827
50828
50829
50830
50831
50832
50833
50834
50835
50836
50837
50838
50839
50840
50841 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50842 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50843 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50844 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
50845 echo $ECHO_N "(cached) $ECHO_C" >&6
50846 else
50847 cat >conftest.make <<\_ACEOF
50848 SHELL = /bin/sh
50849 all:
50850 @echo '@@@%%%=$(MAKE)=@@@%%%'
50851 _ACEOF
50852 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50853 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50854 *@@@%%%=?*=@@@%%%*)
50855 eval ac_cv_prog_make_${ac_make}_set=yes;;
50856 *)
50857 eval ac_cv_prog_make_${ac_make}_set=no;;
50858 esac
50859 rm -f conftest.make
50860 fi
50861 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
50862 { echo "$as_me:$LINENO: result: yes" >&5
50863 echo "${ECHO_T}yes" >&6; }
50864 SET_MAKE=
50865 else
50866 { echo "$as_me:$LINENO: result: no" >&5
50867 echo "${ECHO_T}no" >&6; }
50868 SET_MAKE="MAKE=${MAKE-make}"
50869 fi
50870
50871
50872
50873 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50874
50875
50876 if test "$USE_WIN32" = 1; then
50877 ac_config_commands="$ac_config_commands
50878 rcdefs.h
50879 "
50880
50881 fi
50882
50883 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50884
50885
50886 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50887
50888
50889 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
50890
50891
50892 if test "$wx_cv_version_script" = "yes"; then
50893 ac_config_files="$ac_config_files version-script"
50894
50895 fi
50896 ac_config_files="$ac_config_files Makefile"
50897
50898
50899 ac_config_commands="$ac_config_commands wx-config"
50900
50901
50902
50903 if test "$wxWITH_SUBDIRS" != "no"; then
50904 if test "$wxUSE_GUI" = "yes"; then
50905 SUBDIRS="samples demos utils"
50906 else
50907 SUBDIRS="samples utils"
50908 fi
50909
50910
50911
50912 # Check whether --with-cppunit-prefix was given.
50913 if test "${with_cppunit_prefix+set}" = set; then
50914 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
50915 else
50916 cppunit_config_prefix=""
50917 fi
50918
50919
50920 # Check whether --with-cppunit-exec-prefix was given.
50921 if test "${with_cppunit_exec_prefix+set}" = set; then
50922 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
50923 else
50924 cppunit_config_exec_prefix=""
50925 fi
50926
50927
50928 if test x$cppunit_config_exec_prefix != x ; then
50929 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50930 if test x${CPPUNIT_CONFIG+set} != xset ; then
50931 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50932 fi
50933 fi
50934 if test x$cppunit_config_prefix != x ; then
50935 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50936 if test x${CPPUNIT_CONFIG+set} != xset ; then
50937 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50938 fi
50939 fi
50940
50941 # Extract the first word of "cppunit-config", so it can be a program name with args.
50942 set dummy cppunit-config; ac_word=$2
50943 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50945 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50946 echo $ECHO_N "(cached) $ECHO_C" >&6
50947 else
50948 case $CPPUNIT_CONFIG in
50949 [\\/]* | ?:[\\/]*)
50950 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50951 ;;
50952 *)
50953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50954 for as_dir in $PATH
50955 do
50956 IFS=$as_save_IFS
50957 test -z "$as_dir" && as_dir=.
50958 for ac_exec_ext in '' $ac_executable_extensions; do
50959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50960 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50962 break 2
50963 fi
50964 done
50965 done
50966 IFS=$as_save_IFS
50967
50968 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
50969 ;;
50970 esac
50971 fi
50972 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
50973 if test -n "$CPPUNIT_CONFIG"; then
50974 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50975 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
50976 else
50977 { echo "$as_me:$LINENO: result: no" >&5
50978 echo "${ECHO_T}no" >&6; }
50979 fi
50980
50981
50982 cppunit_version_min=1.8.0
50983
50984 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50985 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
50986 no_cppunit=""
50987 if test "$CPPUNIT_CONFIG" = "no" ; then
50988 { echo "$as_me:$LINENO: result: no" >&5
50989 echo "${ECHO_T}no" >&6; }
50990 no_cppunit=yes
50991 else
50992 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
50993 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
50994 cppunit_version=`$CPPUNIT_CONFIG --version`
50995
50996 cppunit_major_version=`echo $cppunit_version | \
50997 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50998 cppunit_minor_version=`echo $cppunit_version | \
50999 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51000 cppunit_micro_version=`echo $cppunit_version | \
51001 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51002
51003 cppunit_major_min=`echo $cppunit_version_min | \
51004 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51005 cppunit_minor_min=`echo $cppunit_version_min | \
51006 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51007 cppunit_micro_min=`echo $cppunit_version_min | \
51008 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51009
51010 cppunit_version_proper=`expr \
51011 $cppunit_major_version \> $cppunit_major_min \| \
51012 $cppunit_major_version \= $cppunit_major_min \& \
51013 $cppunit_minor_version \> $cppunit_minor_min \| \
51014 $cppunit_major_version \= $cppunit_major_min \& \
51015 $cppunit_minor_version \= $cppunit_minor_min \& \
51016 $cppunit_micro_version \>= $cppunit_micro_min `
51017
51018 if test "$cppunit_version_proper" = "1" ; then
51019 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51020 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51021 else
51022 { echo "$as_me:$LINENO: result: no" >&5
51023 echo "${ECHO_T}no" >&6; }
51024 no_cppunit=yes
51025 fi
51026 fi
51027
51028 if test "x$no_cppunit" = x ; then
51029 SUBDIRS="$SUBDIRS tests"
51030 else
51031 CPPUNIT_CFLAGS=""
51032 CPPUNIT_LIBS=""
51033 :
51034 fi
51035
51036
51037
51038
51039
51040 for subdir in $SUBDIRS; do
51041 if test -d ${srcdir}/${subdir} ; then
51042 if test "$wxUSE_GUI" = "yes"; then
51043 if test ${subdir} = "samples"; then
51044 makefiles="samples/Makefile.in $makefiles"
51045 for sample in $SAMPLES_SUBDIRS; do
51046 if test -d $srcdir/samples/$sample; then
51047 makefiles="samples/$sample/Makefile.in $makefiles"
51048 fi
51049 done
51050 else
51051 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
51052 eval "disabled=\$$disabled_var"
51053 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
51054 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51055 fi
51056 else
51057 if test ${subdir} = "samples"; then
51058 makefiles="samples/Makefile.in $makefiles"
51059 for sample in `echo $SAMPLES_SUBDIRS`; do
51060 if test -d $srcdir/samples/$sample; then
51061 makefiles="samples/$sample/Makefile.in $makefiles"
51062 fi
51063 done
51064 elif test ${subdir} = "utils"; then
51065 makefiles=""
51066 for util in ifacecheck ; do
51067 if test -d $srcdir/utils/$util ; then
51068 makefiles="utils/$util/src/Makefile.in \
51069 $makefiles"
51070 fi
51071 done
51072 else
51073 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
51074 fi
51075 fi
51076
51077 for mkin in $makefiles ; do
51078 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51079 ac_config_files="$ac_config_files $mk"
51080
51081 done
51082 fi
51083 done
51084 fi
51085 cat >confcache <<\_ACEOF
51086 # This file is a shell script that caches the results of configure
51087 # tests run on this system so they can be shared between configure
51088 # scripts and configure runs, see configure's option --config-cache.
51089 # It is not useful on other systems. If it contains results you don't
51090 # want to keep, you may remove or edit it.
51091 #
51092 # config.status only pays attention to the cache file if you give it
51093 # the --recheck option to rerun configure.
51094 #
51095 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51096 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51097 # following values.
51098
51099 _ACEOF
51100
51101 # The following way of writing the cache mishandles newlines in values,
51102 # but we know of no workaround that is simple, portable, and efficient.
51103 # So, we kill variables containing newlines.
51104 # Ultrix sh set writes to stderr and can't be redirected directly,
51105 # and sets the high bit in the cache file unless we assign to the vars.
51106 (
51107 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51108 eval ac_val=\$$ac_var
51109 case $ac_val in #(
51110 *${as_nl}*)
51111 case $ac_var in #(
51112 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51113 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51114 esac
51115 case $ac_var in #(
51116 _ | IFS | as_nl) ;; #(
51117 *) $as_unset $ac_var ;;
51118 esac ;;
51119 esac
51120 done
51121
51122 (set) 2>&1 |
51123 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51124 *${as_nl}ac_space=\ *)
51125 # `set' does not quote correctly, so add quotes (double-quote
51126 # substitution turns \\\\ into \\, and sed turns \\ into \).
51127 sed -n \
51128 "s/'/'\\\\''/g;
51129 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51130 ;; #(
51131 *)
51132 # `set' quotes correctly as required by POSIX, so do not add quotes.
51133 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51134 ;;
51135 esac |
51136 sort
51137 ) |
51138 sed '
51139 /^ac_cv_env_/b end
51140 t clear
51141 :clear
51142 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51143 t end
51144 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51145 :end' >>confcache
51146 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
51147 if test -w "$cache_file"; then
51148 test "x$cache_file" != "x/dev/null" &&
51149 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51150 echo "$as_me: updating cache $cache_file" >&6;}
51151 cat confcache >$cache_file
51152 else
51153 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51154 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51155 fi
51156 fi
51157 rm -f confcache
51158
51159 test "x$prefix" = xNONE && prefix=$ac_default_prefix
51160 # Let make expand exec_prefix.
51161 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
51162
51163 DEFS=-DHAVE_CONFIG_H
51164
51165 ac_libobjs=
51166 ac_ltlibobjs=
51167 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
51168 # 1. Remove the extension, and $U if already installed.
51169 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
51170 ac_i=`echo "$ac_i" | sed "$ac_script"`
51171 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51172 # will be set to the directory where LIBOBJS objects are built.
51173 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51174 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51175 done
51176 LIBOBJS=$ac_libobjs
51177
51178 LTLIBOBJS=$ac_ltlibobjs
51179
51180
51181
51182 : ${CONFIG_STATUS=./config.status}
51183 ac_clean_files_save=$ac_clean_files
51184 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
51185 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51186 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51187 cat >$CONFIG_STATUS <<_ACEOF
51188 #! $SHELL
51189 # Generated by $as_me.
51190 # Run this file to recreate the current configuration.
51191 # Compiler output produced by configure, useful for debugging
51192 # configure, is in config.log if it exists.
51193
51194 debug=false
51195 ac_cs_recheck=false
51196 ac_cs_silent=false
51197 SHELL=\${CONFIG_SHELL-$SHELL}
51198 _ACEOF
51199
51200 cat >>$CONFIG_STATUS <<\_ACEOF
51201 ## --------------------- ##
51202 ## M4sh Initialization. ##
51203 ## --------------------- ##
51204
51205 # Be more Bourne compatible
51206 DUALCASE=1; export DUALCASE # for MKS sh
51207 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
51208 emulate sh
51209 NULLCMD=:
51210 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51211 # is contrary to our usage. Disable this feature.
51212 alias -g '${1+"$@"}'='"$@"'
51213 setopt NO_GLOB_SUBST
51214 else
51215 case `(set -o) 2>/dev/null` in
51216 *posix*) set -o posix ;;
51217 esac
51218
51219 fi
51220
51221
51222
51223
51224 # PATH needs CR
51225 # Avoid depending upon Character Ranges.
51226 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
51227 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51228 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
51229 as_cr_digits='0123456789'
51230 as_cr_alnum=$as_cr_Letters$as_cr_digits
51231
51232 # The user is always right.
51233 if test "${PATH_SEPARATOR+set}" != set; then
51234 echo "#! /bin/sh" >conf$$.sh
51235 echo "exit 0" >>conf$$.sh
51236 chmod +x conf$$.sh
51237 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51238 PATH_SEPARATOR=';'
51239 else
51240 PATH_SEPARATOR=:
51241 fi
51242 rm -f conf$$.sh
51243 fi
51244
51245 # Support unset when possible.
51246 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51247 as_unset=unset
51248 else
51249 as_unset=false
51250 fi
51251
51252
51253 # IFS
51254 # We need space, tab and new line, in precisely that order. Quoting is
51255 # there to prevent editors from complaining about space-tab.
51256 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51257 # splitting by setting IFS to empty value.)
51258 as_nl='
51259 '
51260 IFS=" "" $as_nl"
51261
51262 # Find who we are. Look in the path if we contain no directory separator.
51263 case $0 in
51264 *[\\/]* ) as_myself=$0 ;;
51265 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51266 for as_dir in $PATH
51267 do
51268 IFS=$as_save_IFS
51269 test -z "$as_dir" && as_dir=.
51270 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
51271 done
51272 IFS=$as_save_IFS
51273
51274 ;;
51275 esac
51276 # We did not find ourselves, most probably we were run as `sh COMMAND'
51277 # in which case we are not to be found in the path.
51278 if test "x$as_myself" = x; then
51279 as_myself=$0
51280 fi
51281 if test ! -f "$as_myself"; then
51282 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51283 { (exit 1); exit 1; }
51284 fi
51285
51286 # Work around bugs in pre-3.0 UWIN ksh.
51287 for as_var in ENV MAIL MAILPATH
51288 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51289 done
51290 PS1='$ '
51291 PS2='> '
51292 PS4='+ '
51293
51294 # NLS nuisances.
51295 for as_var in \
51296 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51297 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51298 LC_TELEPHONE LC_TIME
51299 do
51300 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51301 eval $as_var=C; export $as_var
51302 else
51303 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51304 fi
51305 done
51306
51307 # Required to use basename.
51308 if expr a : '\(a\)' >/dev/null 2>&1 &&
51309 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51310 as_expr=expr
51311 else
51312 as_expr=false
51313 fi
51314
51315 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51316 as_basename=basename
51317 else
51318 as_basename=false
51319 fi
51320
51321
51322 # Name of the executable.
51323 as_me=`$as_basename -- "$0" ||
51324 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51325 X"$0" : 'X\(//\)$' \| \
51326 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51327 echo X/"$0" |
51328 sed '/^.*\/\([^/][^/]*\)\/*$/{
51329 s//\1/
51330 q
51331 }
51332 /^X\/\(\/\/\)$/{
51333 s//\1/
51334 q
51335 }
51336 /^X\/\(\/\).*/{
51337 s//\1/
51338 q
51339 }
51340 s/.*/./; q'`
51341
51342 # CDPATH.
51343 $as_unset CDPATH
51344
51345
51346
51347 as_lineno_1=$LINENO
51348 as_lineno_2=$LINENO
51349 test "x$as_lineno_1" != "x$as_lineno_2" &&
51350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51351
51352 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51353 # uniformly replaced by the line number. The first 'sed' inserts a
51354 # line-number line after each line using $LINENO; the second 'sed'
51355 # does the real work. The second script uses 'N' to pair each
51356 # line-number line with the line containing $LINENO, and appends
51357 # trailing '-' during substitution so that $LINENO is not a special
51358 # case at line end.
51359 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51360 # scripts with optimization help from Paolo Bonzini. Blame Lee
51361 # E. McMahon (1931-1989) for sed's syntax. :-)
51362 sed -n '
51363 p
51364 /[$]LINENO/=
51365 ' <$as_myself |
51366 sed '
51367 s/[$]LINENO.*/&-/
51368 t lineno
51369 b
51370 :lineno
51371 N
51372 :loop
51373 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51374 t loop
51375 s/-\n.*//
51376 ' >$as_me.lineno &&
51377 chmod +x "$as_me.lineno" ||
51378 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51379 { (exit 1); exit 1; }; }
51380
51381 # Don't try to exec as it changes $[0], causing all sort of problems
51382 # (the dirname of $[0] is not the place where we might find the
51383 # original and so on. Autoconf is especially sensitive to this).
51384 . "./$as_me.lineno"
51385 # Exit status is that of the last command.
51386 exit
51387 }
51388
51389
51390 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
51391 as_dirname=dirname
51392 else
51393 as_dirname=false
51394 fi
51395
51396 ECHO_C= ECHO_N= ECHO_T=
51397 case `echo -n x` in
51398 -n*)
51399 case `echo 'x\c'` in
51400 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
51401 *) ECHO_C='\c';;
51402 esac;;
51403 *)
51404 ECHO_N='-n';;
51405 esac
51406
51407 if expr a : '\(a\)' >/dev/null 2>&1 &&
51408 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51409 as_expr=expr
51410 else
51411 as_expr=false
51412 fi
51413
51414 rm -f conf$$ conf$$.exe conf$$.file
51415 if test -d conf$$.dir; then
51416 rm -f conf$$.dir/conf$$.file
51417 else
51418 rm -f conf$$.dir
51419 mkdir conf$$.dir
51420 fi
51421 echo >conf$$.file
51422 if ln -s conf$$.file conf$$ 2>/dev/null; then
51423 as_ln_s='ln -s'
51424 # ... but there are two gotchas:
51425 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51426 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51427 # In both cases, we have to default to `cp -p'.
51428 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
51429 as_ln_s='cp -p'
51430 elif ln conf$$.file conf$$ 2>/dev/null; then
51431 as_ln_s=ln
51432 else
51433 as_ln_s='cp -p'
51434 fi
51435 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
51436 rmdir conf$$.dir 2>/dev/null
51437
51438 if mkdir -p . 2>/dev/null; then
51439 as_mkdir_p=:
51440 else
51441 test -d ./-p && rmdir ./-p
51442 as_mkdir_p=false
51443 fi
51444
51445 if test -x / >/dev/null 2>&1; then
51446 as_test_x='test -x'
51447 else
51448 if ls -dL / >/dev/null 2>&1; then
51449 as_ls_L_option=L
51450 else
51451 as_ls_L_option=
51452 fi
51453 as_test_x='
51454 eval sh -c '\''
51455 if test -d "$1"; then
51456 test -d "$1/.";
51457 else
51458 case $1 in
51459 -*)set "./$1";;
51460 esac;
51461 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51462 ???[sx]*):;;*)false;;esac;fi
51463 '\'' sh
51464 '
51465 fi
51466 as_executable_p=$as_test_x
51467
51468 # Sed expression to map a string onto a valid CPP name.
51469 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51470
51471 # Sed expression to map a string onto a valid variable name.
51472 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51473
51474
51475 exec 6>&1
51476
51477 # Save the log message, to keep $[0] and so on meaningful, and to
51478 # report actual input values of CONFIG_FILES etc. instead of their
51479 # values after options handling.
51480 ac_log="
51481 This file was extended by wxWidgets $as_me 2.9.0, which was
51482 generated by GNU Autoconf 2.61. Invocation command line was
51483
51484 CONFIG_FILES = $CONFIG_FILES
51485 CONFIG_HEADERS = $CONFIG_HEADERS
51486 CONFIG_LINKS = $CONFIG_LINKS
51487 CONFIG_COMMANDS = $CONFIG_COMMANDS
51488 $ $0 $@
51489
51490 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51491 "
51492
51493 _ACEOF
51494
51495 cat >>$CONFIG_STATUS <<_ACEOF
51496 # Files that config.status was made for.
51497 config_files="$ac_config_files"
51498 config_headers="$ac_config_headers"
51499 config_commands="$ac_config_commands"
51500
51501 _ACEOF
51502
51503 cat >>$CONFIG_STATUS <<\_ACEOF
51504 ac_cs_usage="\
51505 \`$as_me' instantiates files from templates according to the
51506 current configuration.
51507
51508 Usage: $0 [OPTIONS] [FILE]...
51509
51510 -h, --help print this help, then exit
51511 -V, --version print version number and configuration settings, then exit
51512 -q, --quiet do not print progress messages
51513 -d, --debug don't remove temporary files
51514 --recheck update $as_me by reconfiguring in the same conditions
51515 --file=FILE[:TEMPLATE]
51516 instantiate the configuration file FILE
51517 --header=FILE[:TEMPLATE]
51518 instantiate the configuration header FILE
51519
51520 Configuration files:
51521 $config_files
51522
51523 Configuration headers:
51524 $config_headers
51525
51526 Configuration commands:
51527 $config_commands
51528
51529 Report bugs to <bug-autoconf@gnu.org>."
51530
51531 _ACEOF
51532 cat >>$CONFIG_STATUS <<_ACEOF
51533 ac_cs_version="\\
51534 wxWidgets config.status 2.9.0
51535 configured by $0, generated by GNU Autoconf 2.61,
51536 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51537
51538 Copyright (C) 2006 Free Software Foundation, Inc.
51539 This config.status script is free software; the Free Software Foundation
51540 gives unlimited permission to copy, distribute and modify it."
51541
51542 ac_pwd='$ac_pwd'
51543 srcdir='$srcdir'
51544 INSTALL='$INSTALL'
51545 _ACEOF
51546
51547 cat >>$CONFIG_STATUS <<\_ACEOF
51548 # If no file are specified by the user, then we need to provide default
51549 # value. By we need to know if files were specified by the user.
51550 ac_need_defaults=:
51551 while test $# != 0
51552 do
51553 case $1 in
51554 --*=*)
51555 ac_option=`expr "X$1" : 'X\([^=]*\)='`
51556 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
51557 ac_shift=:
51558 ;;
51559 *)
51560 ac_option=$1
51561 ac_optarg=$2
51562 ac_shift=shift
51563 ;;
51564 esac
51565
51566 case $ac_option in
51567 # Handling of the options.
51568 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51569 ac_cs_recheck=: ;;
51570 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51571 echo "$ac_cs_version"; exit ;;
51572 --debug | --debu | --deb | --de | --d | -d )
51573 debug=: ;;
51574 --file | --fil | --fi | --f )
51575 $ac_shift
51576 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51577 ac_need_defaults=false;;
51578 --header | --heade | --head | --hea )
51579 $ac_shift
51580 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51581 ac_need_defaults=false;;
51582 --he | --h)
51583 # Conflict between --help and --header
51584 { echo "$as_me: error: ambiguous option: $1
51585 Try \`$0 --help' for more information." >&2
51586 { (exit 1); exit 1; }; };;
51587 --help | --hel | -h )
51588 echo "$ac_cs_usage"; exit ;;
51589 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51590 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51591 ac_cs_silent=: ;;
51592
51593 # This is an error.
51594 -*) { echo "$as_me: error: unrecognized option: $1
51595 Try \`$0 --help' for more information." >&2
51596 { (exit 1); exit 1; }; } ;;
51597
51598 *) ac_config_targets="$ac_config_targets $1"
51599 ac_need_defaults=false ;;
51600
51601 esac
51602 shift
51603 done
51604
51605 ac_configure_extra_args=
51606
51607 if $ac_cs_silent; then
51608 exec 6>/dev/null
51609 ac_configure_extra_args="$ac_configure_extra_args --silent"
51610 fi
51611
51612 _ACEOF
51613 cat >>$CONFIG_STATUS <<_ACEOF
51614 if \$ac_cs_recheck; then
51615 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51616 CONFIG_SHELL=$SHELL
51617 export CONFIG_SHELL
51618 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51619 fi
51620
51621 _ACEOF
51622 cat >>$CONFIG_STATUS <<\_ACEOF
51623 exec 5>>config.log
51624 {
51625 echo
51626 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51627 ## Running $as_me. ##
51628 _ASBOX
51629 echo "$ac_log"
51630 } >&5
51631
51632 _ACEOF
51633 cat >>$CONFIG_STATUS <<_ACEOF
51634 #
51635 # INIT-COMMANDS
51636 #
51637
51638 CPP="$CPP"
51639 infile="$srcdir/include/wx/msw/genrcdefs.h"
51640 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51641
51642
51643 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51644 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51645 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51646 LN_S="${LN_S}"
51647
51648
51649 _ACEOF
51650
51651 cat >>$CONFIG_STATUS <<\_ACEOF
51652
51653 # Handling of arguments.
51654 for ac_config_target in $ac_config_targets
51655 do
51656 case $ac_config_target in
51657 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51658 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51659 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51660 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51661 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51662 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
51663 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51664 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51665 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
51666
51667 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51668 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51669 { (exit 1); exit 1; }; };;
51670 esac
51671 done
51672
51673
51674 # If the user did not use the arguments to specify the items to instantiate,
51675 # then the envvar interface is used. Set only those that are not.
51676 # We use the long form for the default assignment because of an extremely
51677 # bizarre bug on SunOS 4.1.3.
51678 if $ac_need_defaults; then
51679 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51680 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51681 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51682 fi
51683
51684 # Have a temporary directory for convenience. Make it in the build tree
51685 # simply because there is no reason against having it here, and in addition,
51686 # creating and moving files from /tmp can sometimes cause problems.
51687 # Hook for its removal unless debugging.
51688 # Note that there is a small window in which the directory will not be cleaned:
51689 # after its creation but before its name has been assigned to `$tmp'.
51690 $debug ||
51691 {
51692 tmp=
51693 trap 'exit_status=$?
51694 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51695 ' 0
51696 trap '{ (exit 1); exit 1; }' 1 2 13 15
51697 }
51698 # Create a (secure) tmp directory for tmp files.
51699
51700 {
51701 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51702 test -n "$tmp" && test -d "$tmp"
51703 } ||
51704 {
51705 tmp=./conf$$-$RANDOM
51706 (umask 077 && mkdir "$tmp")
51707 } ||
51708 {
51709 echo "$me: cannot create a temporary directory in ." >&2
51710 { (exit 1); exit 1; }
51711 }
51712
51713 #
51714 # Set up the sed scripts for CONFIG_FILES section.
51715 #
51716
51717 # No need to generate the scripts if there are no CONFIG_FILES.
51718 # This happens for instance when ./config.status config.h
51719 if test -n "$CONFIG_FILES"; then
51720
51721 _ACEOF
51722
51723
51724
51725 ac_delim='%!_!# '
51726 for ac_last_try in false false false false false :; do
51727 cat >conf$$subs.sed <<_ACEOF
51728 SHELL!$SHELL$ac_delim
51729 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51730 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51731 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51732 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51733 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51734 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51735 exec_prefix!$exec_prefix$ac_delim
51736 prefix!$prefix$ac_delim
51737 program_transform_name!$program_transform_name$ac_delim
51738 bindir!$bindir$ac_delim
51739 sbindir!$sbindir$ac_delim
51740 libexecdir!$libexecdir$ac_delim
51741 datarootdir!$datarootdir$ac_delim
51742 datadir!$datadir$ac_delim
51743 sysconfdir!$sysconfdir$ac_delim
51744 sharedstatedir!$sharedstatedir$ac_delim
51745 localstatedir!$localstatedir$ac_delim
51746 includedir!$includedir$ac_delim
51747 oldincludedir!$oldincludedir$ac_delim
51748 docdir!$docdir$ac_delim
51749 infodir!$infodir$ac_delim
51750 htmldir!$htmldir$ac_delim
51751 dvidir!$dvidir$ac_delim
51752 pdfdir!$pdfdir$ac_delim
51753 psdir!$psdir$ac_delim
51754 libdir!$libdir$ac_delim
51755 localedir!$localedir$ac_delim
51756 mandir!$mandir$ac_delim
51757 DEFS!$DEFS$ac_delim
51758 ECHO_C!$ECHO_C$ac_delim
51759 ECHO_N!$ECHO_N$ac_delim
51760 ECHO_T!$ECHO_T$ac_delim
51761 LIBS!$LIBS$ac_delim
51762 build_alias!$build_alias$ac_delim
51763 host_alias!$host_alias$ac_delim
51764 target_alias!$target_alias$ac_delim
51765 build!$build$ac_delim
51766 build_cpu!$build_cpu$ac_delim
51767 build_vendor!$build_vendor$ac_delim
51768 build_os!$build_os$ac_delim
51769 host!$host$ac_delim
51770 host_cpu!$host_cpu$ac_delim
51771 host_vendor!$host_vendor$ac_delim
51772 host_os!$host_os$ac_delim
51773 wx_top_builddir!$wx_top_builddir$ac_delim
51774 CC!$CC$ac_delim
51775 CFLAGS!$CFLAGS$ac_delim
51776 LDFLAGS!$LDFLAGS$ac_delim
51777 CPPFLAGS!$CPPFLAGS$ac_delim
51778 ac_ct_CC!$ac_ct_CC$ac_delim
51779 EXEEXT!$EXEEXT$ac_delim
51780 OBJEXT!$OBJEXT$ac_delim
51781 CPP!$CPP$ac_delim
51782 GREP!$GREP$ac_delim
51783 EGREP!$EGREP$ac_delim
51784 CXX!$CXX$ac_delim
51785 CXXFLAGS!$CXXFLAGS$ac_delim
51786 ac_ct_CXX!$ac_ct_CXX$ac_delim
51787 AR!$AR$ac_delim
51788 subdirs!$subdirs$ac_delim
51789 PKG_CONFIG!$PKG_CONFIG$ac_delim
51790 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51791 GTK_LIBS!$GTK_LIBS$ac_delim
51792 GTK_CONFIG!$GTK_CONFIG$ac_delim
51793 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51794 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51795 XMKMF!$XMKMF$ac_delim
51796 X_CFLAGS!$X_CFLAGS$ac_delim
51797 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51798 X_LIBS!$X_LIBS$ac_delim
51799 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51800 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51801 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51802 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51803 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51804 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51805 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51806 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51807 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51808 LIBICONV!$LIBICONV$ac_delim
51809 GXX_VERSION!$GXX_VERSION$ac_delim
51810 SDL_CONFIG!$SDL_CONFIG$ac_delim
51811 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51812 SDL_LIBS!$SDL_LIBS$ac_delim
51813 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51814 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51815 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51816 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51817 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51818 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51819 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51820 HILDON_LIBS!$HILDON_LIBS$ac_delim
51821 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51822 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51823 GST_CFLAGS!$GST_CFLAGS$ac_delim
51824 GST_LIBS!$GST_LIBS$ac_delim
51825 _ACEOF
51826
51827 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51828 break
51829 elif $ac_last_try; then
51830 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51831 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51832 { (exit 1); exit 1; }; }
51833 else
51834 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51835 fi
51836 done
51837
51838 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51839 if test -n "$ac_eof"; then
51840 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51841 ac_eof=`expr $ac_eof + 1`
51842 fi
51843
51844 cat >>$CONFIG_STATUS <<_ACEOF
51845 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51846 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51847 _ACEOF
51848 sed '
51849 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51850 s/^/s,@/; s/!/@,|#_!!_#|/
51851 :n
51852 t n
51853 s/'"$ac_delim"'$/,g/; t
51854 s/$/\\/; p
51855 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51856 ' >>$CONFIG_STATUS <conf$$subs.sed
51857 rm -f conf$$subs.sed
51858 cat >>$CONFIG_STATUS <<_ACEOF
51859 CEOF$ac_eof
51860 _ACEOF
51861
51862
51863 ac_delim='%!_!# '
51864 for ac_last_try in false false false false false :; do
51865 cat >conf$$subs.sed <<_ACEOF
51866 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51867 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51868 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51869 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51870 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51871 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51872 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51873 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51874 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51875 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51876 VENDOR!$VENDOR$ac_delim
51877 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51878 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51879 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51880 WXUNIV!$WXUNIV$ac_delim
51881 MONOLITHIC!$MONOLITHIC$ac_delim
51882 USE_PLUGINS!$USE_PLUGINS$ac_delim
51883 CXXWARNINGS!$CXXWARNINGS$ac_delim
51884 EXTRALIBS!$EXTRALIBS$ac_delim
51885 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51886 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51887 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51888 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51889 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51890 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51891 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51892 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51893 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51894 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51895 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51896 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51897 UNICODE!$UNICODE$ac_delim
51898 BUILD!$BUILD$ac_delim
51899 DEBUG_INFO!$DEBUG_INFO$ac_delim
51900 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51901 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51902 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51903 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51904 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
51905 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
51906 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51907 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51908 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51909 RANLIB!$RANLIB$ac_delim
51910 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51911 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51912 INSTALL_DATA!$INSTALL_DATA$ac_delim
51913 LN_S!$LN_S$ac_delim
51914 SET_MAKE!$SET_MAKE$ac_delim
51915 MAKE_SET!$MAKE_SET$ac_delim
51916 AROPTIONS!$AROPTIONS$ac_delim
51917 STRIP!$STRIP$ac_delim
51918 NM!$NM$ac_delim
51919 INSTALL_DIR!$INSTALL_DIR$ac_delim
51920 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51921 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51922 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51923 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51924 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51925 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51926 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51927 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51928 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51929 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51930 SO_SUFFIX!$SO_SUFFIX$ac_delim
51931 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
51932 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
51933 LIBPREFIX!$LIBPREFIX$ac_delim
51934 LIBEXT!$LIBEXT$ac_delim
51935 DLLPREFIX!$DLLPREFIX$ac_delim
51936 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
51937 dlldir!$dlldir$ac_delim
51938 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
51939 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
51940 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
51941 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
51942 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
51943 PIC_FLAG!$PIC_FLAG$ac_delim
51944 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
51945 USE_SOVERSION!$USE_SOVERSION$ac_delim
51946 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
51947 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
51948 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
51949 USE_MACVERSION!$USE_MACVERSION$ac_delim
51950 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
51951 SONAME_FLAG!$SONAME_FLAG$ac_delim
51952 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
51953 BK_DEPS!$BK_DEPS$ac_delim
51954 WINDRES!$WINDRES$ac_delim
51955 REZ!$REZ$ac_delim
51956 SETFILE!$SETFILE$ac_delim
51957 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
51958 GCC_PCH!$GCC_PCH$ac_delim
51959 ICC_PCH!$ICC_PCH$ac_delim
51960 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
51961 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
51962 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
51963 _ACEOF
51964
51965 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51966 break
51967 elif $ac_last_try; then
51968 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51969 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51970 { (exit 1); exit 1; }; }
51971 else
51972 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51973 fi
51974 done
51975
51976 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51977 if test -n "$ac_eof"; then
51978 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51979 ac_eof=`expr $ac_eof + 1`
51980 fi
51981
51982 cat >>$CONFIG_STATUS <<_ACEOF
51983 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
51984 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51985 _ACEOF
51986 sed '
51987 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51988 s/^/s,@/; s/!/@,|#_!!_#|/
51989 :n
51990 t n
51991 s/'"$ac_delim"'$/,g/; t
51992 s/$/\\/; p
51993 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51994 ' >>$CONFIG_STATUS <conf$$subs.sed
51995 rm -f conf$$subs.sed
51996 cat >>$CONFIG_STATUS <<_ACEOF
51997 CEOF$ac_eof
51998 _ACEOF
51999
52000
52001 ac_delim='%!_!# '
52002 for ac_last_try in false false false false false :; do
52003 cat >conf$$subs.sed <<_ACEOF
52004 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52005 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52006 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52007 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52008 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52009 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52010 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52011 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52012 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52013 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
52014 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
52015 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
52016 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
52017 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
52018 COND_BUILD_release!$COND_BUILD_release$ac_delim
52019 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
52020 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
52021 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
52022 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
52023 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
52024 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
52025 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
52026 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
52027 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52028 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52029 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
52030 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
52031 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
52032 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
52033 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52034 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52035 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52036 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
52037 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52038 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
52039 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52040 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52041 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52042 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52043 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52044 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52045 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52046 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
52047 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52048 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
52049 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52050 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
52051 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
52052 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52053 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
52054 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52055 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
52056 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
52057 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
52058 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
52059 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
52060 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52061 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52062 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52063 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52064 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52065 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52066 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52067 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52068 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52069 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52070 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
52071 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52072 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
52073 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52074 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52075 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52076 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52077 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52078 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52079 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52080 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52081 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52082 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52083 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52084 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52085 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52086 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52087 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52088 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52089 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52090 COND_SHARED_0!$COND_SHARED_0$ac_delim
52091 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52092 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52093 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52094 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52095 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52096 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52097 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52098 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52099 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52100 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52101 _ACEOF
52102
52103 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52104 break
52105 elif $ac_last_try; then
52106 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52107 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52108 { (exit 1); exit 1; }; }
52109 else
52110 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52111 fi
52112 done
52113
52114 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52115 if test -n "$ac_eof"; then
52116 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52117 ac_eof=`expr $ac_eof + 1`
52118 fi
52119
52120 cat >>$CONFIG_STATUS <<_ACEOF
52121 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52122 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52123 _ACEOF
52124 sed '
52125 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52126 s/^/s,@/; s/!/@,|#_!!_#|/
52127 :n
52128 t n
52129 s/'"$ac_delim"'$/,g/; t
52130 s/$/\\/; p
52131 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52132 ' >>$CONFIG_STATUS <conf$$subs.sed
52133 rm -f conf$$subs.sed
52134 cat >>$CONFIG_STATUS <<_ACEOF
52135 CEOF$ac_eof
52136 _ACEOF
52137
52138
52139 ac_delim='%!_!# '
52140 for ac_last_try in false false false false false :; do
52141 cat >conf$$subs.sed <<_ACEOF
52142 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52143 COND_SHARED_1!$COND_SHARED_1$ac_delim
52144 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52145 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52146 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52147 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52148 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52149 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52150 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52151 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52152 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52153 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52154 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52155 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52156 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52157 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52158 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52159 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52160 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52161 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52162 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52163 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52164 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52165 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52166 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52167 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52168 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52169 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52170 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52171 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0$ac_delim
52172 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52173 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52174 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52175 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52176 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52177 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52178 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52179 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52180 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52181 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52182 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52183 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52184 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52185 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52186 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52187 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52188 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52189 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52190 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52191 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52192 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52193 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52194 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52195 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52196 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52197 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52198 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52199 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52200 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52201 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52202 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52203 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52204 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
52205 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52206 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52207 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52208 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52209 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52210 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52211 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52212 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52213 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52214 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52215 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52216 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52217 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52218 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52219 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52220 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52221 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52222 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52223 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52224 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52225 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52226 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52227 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52228 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52229 DEREZ!$DEREZ$ac_delim
52230 SHARED!$SHARED$ac_delim
52231 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52232 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52233 USE_GUI!$USE_GUI$ac_delim
52234 AFMINSTALL!$AFMINSTALL$ac_delim
52235 WIN32INSTALL!$WIN32INSTALL$ac_delim
52236 TOOLKIT!$TOOLKIT$ac_delim
52237 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52238 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52239 _ACEOF
52240
52241 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52242 break
52243 elif $ac_last_try; then
52244 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52245 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52246 { (exit 1); exit 1; }; }
52247 else
52248 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52249 fi
52250 done
52251
52252 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52253 if test -n "$ac_eof"; then
52254 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52255 ac_eof=`expr $ac_eof + 1`
52256 fi
52257
52258 cat >>$CONFIG_STATUS <<_ACEOF
52259 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52260 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52261 _ACEOF
52262 sed '
52263 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52264 s/^/s,@/; s/!/@,|#_!!_#|/
52265 :n
52266 t n
52267 s/'"$ac_delim"'$/,g/; t
52268 s/$/\\/; p
52269 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52270 ' >>$CONFIG_STATUS <conf$$subs.sed
52271 rm -f conf$$subs.sed
52272 cat >>$CONFIG_STATUS <<_ACEOF
52273 CEOF$ac_eof
52274 _ACEOF
52275
52276
52277 ac_delim='%!_!# '
52278 for ac_last_try in false false false false false :; do
52279 cat >conf$$subs.sed <<_ACEOF
52280 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52281 cross_compiling!$cross_compiling$ac_delim
52282 WIDGET_SET!$WIDGET_SET$ac_delim
52283 WX_RELEASE!$WX_RELEASE$ac_delim
52284 WX_VERSION!$WX_VERSION$ac_delim
52285 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52286 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52287 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
52288 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52289 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52290 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52291 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52292 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52293 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52294 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52295 GUIDIST!$GUIDIST$ac_delim
52296 DISTDIR!$DISTDIR$ac_delim
52297 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52298 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52299 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52300 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52301 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52302 RESCOMP!$RESCOMP$ac_delim
52303 RESFLAGS!$RESFLAGS$ac_delim
52304 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52305 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52306 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52307 LIBWXMACRES!$LIBWXMACRES$ac_delim
52308 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52309 MACSETFILE!$MACSETFILE$ac_delim
52310 GCC!$GCC$ac_delim
52311 DLLTOOL!$DLLTOOL$ac_delim
52312 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52313 LIBOBJS!$LIBOBJS$ac_delim
52314 LTLIBOBJS!$LTLIBOBJS$ac_delim
52315 _ACEOF
52316
52317 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 35; then
52318 break
52319 elif $ac_last_try; then
52320 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52321 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52322 { (exit 1); exit 1; }; }
52323 else
52324 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52325 fi
52326 done
52327
52328 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52329 if test -n "$ac_eof"; then
52330 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52331 ac_eof=`expr $ac_eof + 1`
52332 fi
52333
52334 cat >>$CONFIG_STATUS <<_ACEOF
52335 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52336 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52337 _ACEOF
52338 sed '
52339 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52340 s/^/s,@/; s/!/@,|#_!!_#|/
52341 :n
52342 t n
52343 s/'"$ac_delim"'$/,g/; t
52344 s/$/\\/; p
52345 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52346 ' >>$CONFIG_STATUS <conf$$subs.sed
52347 rm -f conf$$subs.sed
52348 cat >>$CONFIG_STATUS <<_ACEOF
52349 :end
52350 s/|#_!!_#|//g
52351 CEOF$ac_eof
52352 _ACEOF
52353
52354
52355 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52356 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52357 # trailing colons and then remove the whole line if VPATH becomes empty
52358 # (actually we leave an empty line to preserve line numbers).
52359 if test "x$srcdir" = x.; then
52360 ac_vpsub='/^[ ]*VPATH[ ]*=/{
52361 s/:*\$(srcdir):*/:/
52362 s/:*\${srcdir}:*/:/
52363 s/:*@srcdir@:*/:/
52364 s/^\([^=]*=[ ]*\):*/\1/
52365 s/:*$//
52366 s/^[^=]*=[ ]*$//
52367 }'
52368 fi
52369
52370 cat >>$CONFIG_STATUS <<\_ACEOF
52371 fi # test -n "$CONFIG_FILES"
52372
52373
52374 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
52375 do
52376 case $ac_tag in
52377 :[FHLC]) ac_mode=$ac_tag; continue;;
52378 esac
52379 case $ac_mode$ac_tag in
52380 :[FHL]*:*);;
52381 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52382 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52383 { (exit 1); exit 1; }; };;
52384 :[FH]-) ac_tag=-:-;;
52385 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
52386 esac
52387 ac_save_IFS=$IFS
52388 IFS=:
52389 set x $ac_tag
52390 IFS=$ac_save_IFS
52391 shift
52392 ac_file=$1
52393 shift
52394
52395 case $ac_mode in
52396 :L) ac_source=$1;;
52397 :[FH])
52398 ac_file_inputs=
52399 for ac_f
52400 do
52401 case $ac_f in
52402 -) ac_f="$tmp/stdin";;
52403 *) # Look for the file first in the build tree, then in the source tree
52404 # (if the path is not absolute). The absolute path cannot be DOS-style,
52405 # because $ac_f cannot contain `:'.
52406 test -f "$ac_f" ||
52407 case $ac_f in
52408 [\\/$]*) false;;
52409 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
52410 esac ||
52411 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52412 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52413 { (exit 1); exit 1; }; };;
52414 esac
52415 ac_file_inputs="$ac_file_inputs $ac_f"
52416 done
52417
52418 # Let's still pretend it is `configure' which instantiates (i.e., don't
52419 # use $as_me), people would be surprised to read:
52420 # /* config.h. Generated by config.status. */
52421 configure_input="Generated from "`IFS=:
52422 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52423 if test x"$ac_file" != x-; then
52424 configure_input="$ac_file. $configure_input"
52425 { echo "$as_me:$LINENO: creating $ac_file" >&5
52426 echo "$as_me: creating $ac_file" >&6;}
52427 fi
52428
52429 case $ac_tag in
52430 *:-:* | *:-) cat >"$tmp/stdin";;
52431 esac
52432 ;;
52433 esac
52434
52435 ac_dir=`$as_dirname -- "$ac_file" ||
52436 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52437 X"$ac_file" : 'X\(//\)[^/]' \| \
52438 X"$ac_file" : 'X\(//\)$' \| \
52439 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52440 echo X"$ac_file" |
52441 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52442 s//\1/
52443 q
52444 }
52445 /^X\(\/\/\)[^/].*/{
52446 s//\1/
52447 q
52448 }
52449 /^X\(\/\/\)$/{
52450 s//\1/
52451 q
52452 }
52453 /^X\(\/\).*/{
52454 s//\1/
52455 q
52456 }
52457 s/.*/./; q'`
52458 { as_dir="$ac_dir"
52459 case $as_dir in #(
52460 -*) as_dir=./$as_dir;;
52461 esac
52462 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52463 as_dirs=
52464 while :; do
52465 case $as_dir in #(
52466 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52467 *) as_qdir=$as_dir;;
52468 esac
52469 as_dirs="'$as_qdir' $as_dirs"
52470 as_dir=`$as_dirname -- "$as_dir" ||
52471 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52472 X"$as_dir" : 'X\(//\)[^/]' \| \
52473 X"$as_dir" : 'X\(//\)$' \| \
52474 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52475 echo X"$as_dir" |
52476 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52477 s//\1/
52478 q
52479 }
52480 /^X\(\/\/\)[^/].*/{
52481 s//\1/
52482 q
52483 }
52484 /^X\(\/\/\)$/{
52485 s//\1/
52486 q
52487 }
52488 /^X\(\/\).*/{
52489 s//\1/
52490 q
52491 }
52492 s/.*/./; q'`
52493 test -d "$as_dir" && break
52494 done
52495 test -z "$as_dirs" || eval "mkdir $as_dirs"
52496 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52497 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52498 { (exit 1); exit 1; }; }; }
52499 ac_builddir=.
52500
52501 case "$ac_dir" in
52502 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52503 *)
52504 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52505 # A ".." for each directory in $ac_dir_suffix.
52506 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52507 case $ac_top_builddir_sub in
52508 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52509 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52510 esac ;;
52511 esac
52512 ac_abs_top_builddir=$ac_pwd
52513 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52514 # for backward compatibility:
52515 ac_top_builddir=$ac_top_build_prefix
52516
52517 case $srcdir in
52518 .) # We are building in place.
52519 ac_srcdir=.
52520 ac_top_srcdir=$ac_top_builddir_sub
52521 ac_abs_top_srcdir=$ac_pwd ;;
52522 [\\/]* | ?:[\\/]* ) # Absolute name.
52523 ac_srcdir=$srcdir$ac_dir_suffix;
52524 ac_top_srcdir=$srcdir
52525 ac_abs_top_srcdir=$srcdir ;;
52526 *) # Relative name.
52527 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52528 ac_top_srcdir=$ac_top_build_prefix$srcdir
52529 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52530 esac
52531 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52532
52533
52534 case $ac_mode in
52535 :F)
52536 #
52537 # CONFIG_FILE
52538 #
52539
52540 case $INSTALL in
52541 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
52542 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
52543 esac
52544 _ACEOF
52545
52546 cat >>$CONFIG_STATUS <<\_ACEOF
52547 # If the template does not know about datarootdir, expand it.
52548 # FIXME: This hack should be removed a few years after 2.60.
52549 ac_datarootdir_hack=; ac_datarootdir_seen=
52550
52551 case `sed -n '/datarootdir/ {
52552 p
52553 q
52554 }
52555 /@datadir@/p
52556 /@docdir@/p
52557 /@infodir@/p
52558 /@localedir@/p
52559 /@mandir@/p
52560 ' $ac_file_inputs` in
52561 *datarootdir*) ac_datarootdir_seen=yes;;
52562 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
52563 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52564 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52565 _ACEOF
52566 cat >>$CONFIG_STATUS <<_ACEOF
52567 ac_datarootdir_hack='
52568 s&@datadir@&$datadir&g
52569 s&@docdir@&$docdir&g
52570 s&@infodir@&$infodir&g
52571 s&@localedir@&$localedir&g
52572 s&@mandir@&$mandir&g
52573 s&\\\${datarootdir}&$datarootdir&g' ;;
52574 esac
52575 _ACEOF
52576
52577 # Neutralize VPATH when `$srcdir' = `.'.
52578 # Shell code in configure.ac might set extrasub.
52579 # FIXME: do we really want to maintain this feature?
52580 cat >>$CONFIG_STATUS <<_ACEOF
52581 sed "$ac_vpsub
52582 $extrasub
52583 _ACEOF
52584 cat >>$CONFIG_STATUS <<\_ACEOF
52585 :t
52586 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52587 s&@configure_input@&$configure_input&;t t
52588 s&@top_builddir@&$ac_top_builddir_sub&;t t
52589 s&@srcdir@&$ac_srcdir&;t t
52590 s&@abs_srcdir@&$ac_abs_srcdir&;t t
52591 s&@top_srcdir@&$ac_top_srcdir&;t t
52592 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
52593 s&@builddir@&$ac_builddir&;t t
52594 s&@abs_builddir@&$ac_abs_builddir&;t t
52595 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
52596 s&@INSTALL@&$ac_INSTALL&;t t
52597 $ac_datarootdir_hack
52598 " $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
52599
52600 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52601 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
52602 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
52603 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52604 which seems to be undefined. Please make sure it is defined." >&5
52605 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52606 which seems to be undefined. Please make sure it is defined." >&2;}
52607
52608 rm -f "$tmp/stdin"
52609 case $ac_file in
52610 -) cat "$tmp/out"; rm -f "$tmp/out";;
52611 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52612 esac
52613 ;;
52614 :H)
52615 #
52616 # CONFIG_HEADER
52617 #
52618 _ACEOF
52619
52620 # Transform confdefs.h into a sed script `conftest.defines', that
52621 # substitutes the proper values into config.h.in to produce config.h.
52622 rm -f conftest.defines conftest.tail
52623 # First, append a space to every undef/define line, to ease matching.
52624 echo 's/$/ /' >conftest.defines
52625 # Then, protect against being on the right side of a sed subst, or in
52626 # an unquoted here document, in config.status. If some macros were
52627 # called several times there might be several #defines for the same
52628 # symbol, which is useless. But do not sort them, since the last
52629 # AC_DEFINE must be honored.
52630 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
52631 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52632 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52633 # PARAMS is the parameter list in the macro definition--in most cases, it's
52634 # just an empty string.
52635 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52636 ac_dB='\\)[ (].*,\\1define\\2'
52637 ac_dC=' '
52638 ac_dD=' ,'
52639
52640 uniq confdefs.h |
52641 sed -n '
52642 t rset
52643 :rset
52644 s/^[ ]*#[ ]*define[ ][ ]*//
52645 t ok
52646 d
52647 :ok
52648 s/[\\&,]/\\&/g
52649 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52650 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52651 ' >>conftest.defines
52652
52653 # Remove the space that was appended to ease matching.
52654 # Then replace #undef with comments. This is necessary, for
52655 # example, in the case of _POSIX_SOURCE, which is predefined and required
52656 # on some systems where configure will not decide to define it.
52657 # (The regexp can be short, since the line contains either #define or #undef.)
52658 echo 's/ $//
52659 s,^[ #]*u.*,/* & */,' >>conftest.defines
52660
52661 # Break up conftest.defines:
52662 ac_max_sed_lines=50
52663
52664 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52665 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52666 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52667 # et cetera.
52668 ac_in='$ac_file_inputs'
52669 ac_out='"$tmp/out1"'
52670 ac_nxt='"$tmp/out2"'
52671
52672 while :
52673 do
52674 # Write a here document:
52675 cat >>$CONFIG_STATUS <<_ACEOF
52676 # First, check the format of the line:
52677 cat >"\$tmp/defines.sed" <<\\CEOF
52678 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52679 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52680 b
52681 :def
52682 _ACEOF
52683 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
52684 echo 'CEOF
52685 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52686 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
52687 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
52688 grep . conftest.tail >/dev/null || break
52689 rm -f conftest.defines
52690 mv conftest.tail conftest.defines
52691 done
52692 rm -f conftest.defines conftest.tail
52693
52694 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52695 cat >>$CONFIG_STATUS <<\_ACEOF
52696 if test x"$ac_file" != x-; then
52697 echo "/* $configure_input */" >"$tmp/config.h"
52698 cat "$ac_result" >>"$tmp/config.h"
52699 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
52700 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52701 echo "$as_me: $ac_file is unchanged" >&6;}
52702 else
52703 rm -f $ac_file
52704 mv "$tmp/config.h" $ac_file
52705 fi
52706 else
52707 echo "/* $configure_input */"
52708 cat "$ac_result"
52709 fi
52710 rm -f "$tmp/out12"
52711 ;;
52712
52713 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52714 echo "$as_me: executing $ac_file commands" >&6;}
52715 ;;
52716 esac
52717
52718
52719 case $ac_file$ac_mode in
52720 "rcdefs.h":C)
52721 mkdir -p $outdir &&
52722 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52723 ;;
52724 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52725 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52726 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
52727 "wx-config":C) rm -f wx-config
52728 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52729 ;;
52730
52731 esac
52732 done # for ac_tag
52733
52734
52735 { (exit 0); exit 0; }
52736 _ACEOF
52737 chmod +x $CONFIG_STATUS
52738 ac_clean_files=$ac_clean_files_save
52739
52740
52741 # configure is writing to config.log, and then calls config.status.
52742 # config.status does its own redirection, appending to config.log.
52743 # Unfortunately, on DOS this fails, as config.log is still kept open
52744 # by configure, so config.status won't be able to write to it; its
52745 # output is simply discarded. So we exec the FD to /dev/null,
52746 # effectively closing config.log, so it can be properly (re)opened and
52747 # appended to by config.status. When coming back to configure, we
52748 # need to make the FD available again.
52749 if test "$no_create" != yes; then
52750 ac_cs_success=:
52751 ac_config_status_args=
52752 test "$silent" = yes &&
52753 ac_config_status_args="$ac_config_status_args --quiet"
52754 exec 5>/dev/null
52755 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52756 exec 5>>config.log
52757 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52758 # would make configure fail if this is the last instruction.
52759 $ac_cs_success || { (exit 1); exit 1; }
52760 fi
52761
52762 #
52763 # CONFIG_SUBDIRS section.
52764 #
52765 if test "$no_recursion" != yes; then
52766
52767 # Remove --cache-file and --srcdir arguments so they do not pile up.
52768 ac_sub_configure_args=
52769 ac_prev=
52770 eval "set x $ac_configure_args"
52771 shift
52772 for ac_arg
52773 do
52774 if test -n "$ac_prev"; then
52775 ac_prev=
52776 continue
52777 fi
52778 case $ac_arg in
52779 -cache-file | --cache-file | --cache-fil | --cache-fi \
52780 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52781 ac_prev=cache_file ;;
52782 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52783 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52784 | --c=*)
52785 ;;
52786 --config-cache | -C)
52787 ;;
52788 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52789 ac_prev=srcdir ;;
52790 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52791 ;;
52792 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52793 ac_prev=prefix ;;
52794 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52795 ;;
52796 *)
52797 case $ac_arg in
52798 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52799 esac
52800 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
52801 esac
52802 done
52803
52804 # Always prepend --prefix to ensure using the same prefix
52805 # in subdir configurations.
52806 ac_arg="--prefix=$prefix"
52807 case $ac_arg in
52808 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52809 esac
52810 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
52811
52812 # Pass --silent
52813 if test "$silent" = yes; then
52814 ac_sub_configure_args="--silent $ac_sub_configure_args"
52815 fi
52816
52817 ac_popdir=`pwd`
52818 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52819
52820 # Do not complain, so a configure script can configure whichever
52821 # parts of a large source tree are present.
52822 test -d "$srcdir/$ac_dir" || continue
52823
52824 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52825 echo "$as_me:$LINENO: $ac_msg" >&5
52826 echo "$ac_msg" >&6
52827 { as_dir="$ac_dir"
52828 case $as_dir in #(
52829 -*) as_dir=./$as_dir;;
52830 esac
52831 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52832 as_dirs=
52833 while :; do
52834 case $as_dir in #(
52835 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52836 *) as_qdir=$as_dir;;
52837 esac
52838 as_dirs="'$as_qdir' $as_dirs"
52839 as_dir=`$as_dirname -- "$as_dir" ||
52840 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52841 X"$as_dir" : 'X\(//\)[^/]' \| \
52842 X"$as_dir" : 'X\(//\)$' \| \
52843 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52844 echo X"$as_dir" |
52845 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52846 s//\1/
52847 q
52848 }
52849 /^X\(\/\/\)[^/].*/{
52850 s//\1/
52851 q
52852 }
52853 /^X\(\/\/\)$/{
52854 s//\1/
52855 q
52856 }
52857 /^X\(\/\).*/{
52858 s//\1/
52859 q
52860 }
52861 s/.*/./; q'`
52862 test -d "$as_dir" && break
52863 done
52864 test -z "$as_dirs" || eval "mkdir $as_dirs"
52865 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52866 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52867 { (exit 1); exit 1; }; }; }
52868 ac_builddir=.
52869
52870 case "$ac_dir" in
52871 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52872 *)
52873 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52874 # A ".." for each directory in $ac_dir_suffix.
52875 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52876 case $ac_top_builddir_sub in
52877 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52878 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52879 esac ;;
52880 esac
52881 ac_abs_top_builddir=$ac_pwd
52882 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52883 # for backward compatibility:
52884 ac_top_builddir=$ac_top_build_prefix
52885
52886 case $srcdir in
52887 .) # We are building in place.
52888 ac_srcdir=.
52889 ac_top_srcdir=$ac_top_builddir_sub
52890 ac_abs_top_srcdir=$ac_pwd ;;
52891 [\\/]* | ?:[\\/]* ) # Absolute name.
52892 ac_srcdir=$srcdir$ac_dir_suffix;
52893 ac_top_srcdir=$srcdir
52894 ac_abs_top_srcdir=$srcdir ;;
52895 *) # Relative name.
52896 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52897 ac_top_srcdir=$ac_top_build_prefix$srcdir
52898 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52899 esac
52900 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52901
52902
52903 cd "$ac_dir"
52904
52905 # Check for guested configure; otherwise get Cygnus style configure.
52906 if test -f "$ac_srcdir/configure.gnu"; then
52907 ac_sub_configure=$ac_srcdir/configure.gnu
52908 elif test -f "$ac_srcdir/configure"; then
52909 ac_sub_configure=$ac_srcdir/configure
52910 elif test -f "$ac_srcdir/configure.in"; then
52911 # This should be Cygnus configure.
52912 ac_sub_configure=$ac_aux_dir/configure
52913 else
52914 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52915 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52916 ac_sub_configure=
52917 fi
52918
52919 # The recursion is here.
52920 if test -n "$ac_sub_configure"; then
52921 # Make the cache file name correct relative to the subdirectory.
52922 case $cache_file in
52923 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52924 *) # Relative name.
52925 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
52926 esac
52927
52928 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52929 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52930 # The eval makes quoting arguments work.
52931 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
52932 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
52933 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52934 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52935 { (exit 1); exit 1; }; }
52936 fi
52937
52938 cd "$ac_popdir"
52939 done
52940 fi
52941
52942
52943 echo
52944 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52945 echo ""
52946 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52947 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52948
52949 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52950 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52951 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
52952 if test "$wxUSE_UNICODE" = "yes"; then
52953 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
52954 echo " (using UTF-8)"
52955 else
52956 echo " (using wchar_t)"
52957 fi
52958 else
52959 echo
52960 fi
52961
52962 echo " What level of wxWidgets compatibility should be enabled?"
52963 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
52964 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
52965
52966 echo " Which libraries should wxWidgets use?"
52967 echo " STL ${wxUSE_STL}"
52968 echo " jpeg ${wxUSE_LIBJPEG-none}"
52969 echo " png ${wxUSE_LIBPNG-none}"
52970 echo " regex ${wxUSE_REGEX}"
52971 echo " tiff ${wxUSE_LIBTIFF-none}"
52972 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52973 echo " xpm ${wxUSE_LIBXPM-none}"
52974 fi
52975 echo " zlib ${wxUSE_ZLIB}"
52976 echo " expat ${wxUSE_EXPAT}"
52977 echo " libmspack ${wxUSE_LIBMSPACK}"
52978 echo " sdl ${wxUSE_LIBSDL}"
52979
52980 echo ""
52981